From 64ba70f3b625d52f4b780585b4c651ccdc22a420 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 15 Mar 2026 02:28:09 +0000 Subject: [PATCH 1/2] fix(codegen): always pass 4 type args to FindManyArgs (explicit never for TCondition) When no condition type exists for a table, both model-generator.ts and queries.ts were passing 3 type args to FindManyArgs, which caused OrderBy to land in the TCondition slot (position 3) and TOrderBy to default to never. This broke orderBy on all tables without condition types. Fix: always emit 4 type args, using never for TCondition when absent. --- .../codegen/src/__tests__/codegen/react-query-hooks.test.ts | 4 ++-- graphql/codegen/src/core/codegen/orm/model-generator.ts | 6 +++--- graphql/codegen/src/core/codegen/queries.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/graphql/codegen/src/__tests__/codegen/react-query-hooks.test.ts b/graphql/codegen/src/__tests__/codegen/react-query-hooks.test.ts index 54b279494..cb85512cd 100644 --- a/graphql/codegen/src/__tests__/codegen/react-query-hooks.test.ts +++ b/graphql/codegen/src/__tests__/codegen/react-query-hooks.test.ts @@ -375,9 +375,9 @@ describe('Regression: FindManyArgs TCondition type arg', () => { useCentralizedKeys: false, condition: false, }); - // FindManyArgs should have 3 type args: unknown, UserFilter, UsersOrderBy + // FindManyArgs should have 4 type args with never for TCondition: unknown, UserFilter, never, UsersOrderBy expect(result.content).toMatch( - /FindManyArgs/, + /FindManyArgs/, ); expect(result.content).not.toContain('UserCondition'); }); diff --git a/graphql/codegen/src/core/codegen/orm/model-generator.ts b/graphql/codegen/src/core/codegen/orm/model-generator.ts index d3862a332..4aea56261 100644 --- a/graphql/codegen/src/core/codegen/orm/model-generator.ts +++ b/graphql/codegen/src/core/codegen/orm/model-generator.ts @@ -272,9 +272,9 @@ export function generateModelFile( const findManyTypeArgs: Array<(sel: t.TSType) => t.TSType> = [ (sel: t.TSType) => sel, () => t.tsTypeReference(t.identifier(whereTypeName)), - ...(conditionTypeName - ? [() => t.tsTypeReference(t.identifier(conditionTypeName))] - : []), + conditionTypeName + ? () => t.tsTypeReference(t.identifier(conditionTypeName)) + : () => t.tsNeverKeyword(), () => t.tsTypeReference(t.identifier(orderByTypeName)), ]; const argsType = (sel: t.TSType) => diff --git a/graphql/codegen/src/core/codegen/queries.ts b/graphql/codegen/src/core/codegen/queries.ts index 5d28d5caa..00829e890 100644 --- a/graphql/codegen/src/core/codegen/queries.ts +++ b/graphql/codegen/src/core/codegen/queries.ts @@ -185,7 +185,7 @@ export function generateListQueryHook( const findManyKeyTypeArgs: t.TSType[] = [ t.tsUnknownKeyword(), typeRef(filterTypeName), - ...(conditionTypeName ? [typeRef(conditionTypeName)] : []), + conditionTypeName ? typeRef(conditionTypeName) : t.tsNeverKeyword(), typeRef(orderByTypeName), ]; const keyFn = t.arrowFunctionExpression( From 02b7eb406ad1dd0e726bace7387d6e3e5ec12873 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 15 Mar 2026 02:28:29 +0000 Subject: [PATCH 2/2] chore: regenerate SDK schemas, ORM clients, React hooks, and CLI from latest constructive-db introspection - Fresh introspection includes fields parameter on SecureTableProvisionInput - 103 public tables, 32 admin tables, 7 auth tables, 5 objects tables - All generated code uses fixed FindManyArgs with explicit never for TCondition --- sdk/constructive-cli/src/admin/cli/README.md | 212 +- .../src/admin/cli/commands.ts | 14 +- .../cli/commands/app-level-requirement.ts | 2 + .../src/admin/cli/commands/app-level.ts | 2 + .../src/admin/cli/commands/app-permission.ts | 2 + .../src/admin/cli/commands/invite.ts | 2 + .../src/admin/cli/commands/membership-type.ts | 3 + .../cli/commands/org-chart-edge-grant.ts | 2 + .../src/admin/cli/commands/org-chart-edge.ts | 2 + .../src/admin/cli/commands/org-invite.ts | 2 + .../src/admin/cli/commands/org-permission.ts | 2 + sdk/constructive-cli/src/admin/orm/README.md | 255 +- sdk/constructive-cli/src/admin/orm/index.ts | 12 +- .../src/admin/orm/input-types.ts | 1049 +- .../src/admin/orm/models/appAchievement.ts | 2 +- .../src/admin/orm/models/appAdminGrant.ts | 2 +- .../src/admin/orm/models/appGrant.ts | 2 +- .../src/admin/orm/models/appLevel.ts | 2 +- .../admin/orm/models/appLevelRequirement.ts | 2 +- .../src/admin/orm/models/appLimit.ts | 2 +- .../src/admin/orm/models/appLimitDefault.ts | 2 +- .../src/admin/orm/models/appMembership.ts | 2 +- .../admin/orm/models/appMembershipDefault.ts | 2 +- .../src/admin/orm/models/appOwnerGrant.ts | 2 +- .../src/admin/orm/models/appPermission.ts | 2 +- .../admin/orm/models/appPermissionDefault.ts | 2 +- .../src/admin/orm/models/appStep.ts | 2 +- .../src/admin/orm/models/claimedInvite.ts | 2 +- .../src/admin/orm/models/index.ts | 6 +- .../src/admin/orm/models/invite.ts | 2 +- .../src/admin/orm/models/membershipType.ts | 2 +- .../src/admin/orm/models/orgAdminGrant.ts | 2 +- .../src/admin/orm/models/orgChartEdge.ts | 2 +- .../src/admin/orm/models/orgChartEdgeGrant.ts | 2 +- .../src/admin/orm/models/orgClaimedInvite.ts | 2 +- .../admin/orm/models/orgGetManagersRecord.ts | 2 +- .../orm/models/orgGetSubordinatesRecord.ts | 7 +- .../src/admin/orm/models/orgGrant.ts | 2 +- .../src/admin/orm/models/orgInvite.ts | 2 +- .../src/admin/orm/models/orgLimit.ts | 2 +- .../src/admin/orm/models/orgLimitDefault.ts | 2 +- .../src/admin/orm/models/orgMember.ts | 2 +- .../src/admin/orm/models/orgMembership.ts | 2 +- .../admin/orm/models/orgMembershipDefault.ts | 2 +- .../src/admin/orm/models/orgOwnerGrant.ts | 2 +- .../src/admin/orm/models/orgPermission.ts | 2 +- .../admin/orm/models/orgPermissionDefault.ts | 2 +- .../src/admin/orm/query-builder.ts | 2 - sdk/constructive-cli/src/auth/cli/README.md | 70 +- sdk/constructive-cli/src/auth/cli/commands.ts | 6 +- .../src/auth/cli/commands/audit-log.ts | 2 + .../auth/cli/commands/connected-account.ts | 3 + .../src/auth/cli/commands/crypto-address.ts | 2 + .../src/auth/cli/commands/phone-number.ts | 3 + .../src/auth/cli/commands/user.ts | 6 +- sdk/constructive-cli/src/auth/orm/README.md | 88 +- sdk/constructive-cli/src/auth/orm/index.ts | 4 +- .../src/auth/orm/input-types.ts | 328 +- .../src/auth/orm/models/auditLog.ts | 2 +- .../src/auth/orm/models/connectedAccount.ts | 2 +- .../src/auth/orm/models/cryptoAddress.ts | 2 +- .../src/auth/orm/models/email.ts | 2 +- .../src/auth/orm/models/index.ts | 2 +- .../src/auth/orm/models/phoneNumber.ts | 2 +- .../src/auth/orm/models/roleType.ts | 2 +- .../src/auth/orm/models/user.ts | 2 +- .../src/auth/orm/query-builder.ts | 2 - .../src/objects/cli/README.md | 26 +- .../src/objects/cli/commands/commit.ts | 2 + .../src/objects/cli/commands/object.ts | 4 - .../src/objects/cli/commands/ref.ts | 2 + .../src/objects/cli/commands/store.ts | 2 + .../src/objects/orm/README.md | 24 +- .../src/objects/orm/input-types.ts | 48 +- .../src/objects/orm/models/commit.ts | 2 +- .../src/objects/orm/models/getAllRecord.ts | 2 +- .../src/objects/orm/models/object.ts | 2 +- .../src/objects/orm/models/ref.ts | 2 +- .../src/objects/orm/models/store.ts | 2 +- .../src/objects/orm/query-builder.ts | 2 - sdk/constructive-cli/src/public/README.md | 2 +- sdk/constructive-cli/src/public/cli/README.md | 840 +- .../src/public/cli/commands.ts | 32 +- .../src/public/cli/commands/api-module.ts | 2 + .../src/public/cli/commands/api.ts | 5 + .../cli/commands/app-level-requirement.ts | 2 + .../src/public/cli/commands/app-level.ts | 2 + .../src/public/cli/commands/app-permission.ts | 2 + .../src/public/cli/commands/app.ts | 4 + .../src/public/cli/commands/ast-migration.ts | 2 + .../src/public/cli/commands/audit-log.ts | 2 + .../public/cli/commands/check-constraint.ts | 4 + .../src/public/cli/commands/commit.ts | 2 + .../public/cli/commands/connected-account.ts | 3 + .../cli/commands/connected-accounts-module.ts | 2 + .../src/public/cli/commands/crypto-address.ts | 2 + .../cli/commands/crypto-addresses-module.ts | 3 + .../public/cli/commands/crypto-auth-module.ts | 7 + .../cli/commands/database-provision-module.ts | 6 + .../src/public/cli/commands/database.ts | 4 + .../public/cli/commands/default-privilege.ts | 4 + .../cli/commands/denormalized-table-field.ts | 2 + .../src/public/cli/commands/emails-module.ts | 2 + .../cli/commands/encrypted-secrets-module.ts | 2 + .../src/public/cli/commands/field-module.ts | 2 + .../src/public/cli/commands/field.ts | 7 + .../cli/commands/foreign-key-constraint.ts | 7 + .../public/cli/commands/hierarchy-module.ts | 11 + .../src/public/cli/commands/index.ts | 46 + .../src/public/cli/commands/invite.ts | 2 + .../src/public/cli/commands/invites-module.ts | 5 + .../src/public/cli/commands/levels-module.ts | 16 + .../src/public/cli/commands/limits-module.ts | 10 + .../public/cli/commands/membership-type.ts | 3 + .../cli/commands/membership-types-module.ts | 2 + .../public/cli/commands/memberships-module.ts | 13 + .../public/cli/commands/node-type-registry.ts | 6 + .../src/public/cli/commands/object.ts | 4 - .../cli/commands/org-chart-edge-grant.ts | 2 + .../src/public/cli/commands/org-chart-edge.ts | 2 + .../src/public/cli/commands/org-invite.ts | 2 + .../src/public/cli/commands/org-permission.ts | 2 + .../public/cli/commands/permissions-module.ts | 8 + .../src/public/cli/commands/phone-number.ts | 3 + .../cli/commands/phone-numbers-module.ts | 2 + .../src/public/cli/commands/policy.ts | 6 + .../cli/commands/primary-key-constraint.ts | 4 + .../public/cli/commands/profiles-module.ts | 6 + .../src/public/cli/commands/ref.ts | 2 + .../public/cli/commands/relation-provision.ts | 11 + .../src/public/cli/commands/rls-module.ts | 26 +- .../src/public/cli/commands/schema-grant.ts | 2 + .../src/public/cli/commands/schema.ts | 6 + .../src/public/cli/commands/secrets-module.ts | 2 + .../cli/commands/secure-table-provision.ts | 27 + .../public/cli/commands/sessions-module.ts | 4 + .../src/public/cli/commands/site-metadatum.ts | 3 + .../src/public/cli/commands/site-module.ts | 2 + .../src/public/cli/commands/site.ts | 4 + .../src/public/cli/commands/sql-migration.ts | 7 + .../src/public/cli/commands/store.ts | 2 + .../src/public/cli/commands/table-grant.ts | 3 + .../src/public/cli/commands/table-module.ts | 363 - .../cli/commands/table-template-module.ts | 3 + .../src/public/cli/commands/table.ts | 7 + .../public/cli/commands/trigger-function.ts | 3 + .../src/public/cli/commands/trigger.ts | 5 + .../public/cli/commands/unique-constraint.ts | 5 + .../public/cli/commands/user-auth-module.ts | 17 + .../src/public/cli/commands/user.ts | 6 +- .../src/public/cli/commands/users-module.ts | 3 + .../src/public/cli/commands/uuid-module.ts | 3 + .../src/public/cli/commands/view-grant.ts | 3 + .../src/public/cli/commands/view-rule.ts | 4 + .../src/public/cli/commands/view.ts | 5 + sdk/constructive-cli/src/public/orm/README.md | 1086 +- sdk/constructive-cli/src/public/orm/index.ts | 26 +- .../src/public/orm/input-types.ts | 4132 +- .../src/public/orm/models/api.ts | 2 +- .../src/public/orm/models/apiModule.ts | 2 +- .../src/public/orm/models/apiSchema.ts | 2 +- .../src/public/orm/models/app.ts | 2 +- .../src/public/orm/models/appAchievement.ts | 2 +- .../src/public/orm/models/appAdminGrant.ts | 2 +- .../src/public/orm/models/appGrant.ts | 2 +- .../src/public/orm/models/appLevel.ts | 2 +- .../public/orm/models/appLevelRequirement.ts | 2 +- .../src/public/orm/models/appLimit.ts | 2 +- .../src/public/orm/models/appLimitDefault.ts | 2 +- .../src/public/orm/models/appMembership.ts | 2 +- .../public/orm/models/appMembershipDefault.ts | 2 +- .../src/public/orm/models/appOwnerGrant.ts | 2 +- .../src/public/orm/models/appPermission.ts | 2 +- .../public/orm/models/appPermissionDefault.ts | 2 +- .../src/public/orm/models/appStep.ts | 2 +- .../src/public/orm/models/astMigration.ts | 2 +- .../src/public/orm/models/auditLog.ts | 2 +- .../src/public/orm/models/checkConstraint.ts | 2 +- .../src/public/orm/models/claimedInvite.ts | 2 +- .../src/public/orm/models/commit.ts | 2 +- .../src/public/orm/models/connectedAccount.ts | 2 +- .../orm/models/connectedAccountsModule.ts | 2 +- .../src/public/orm/models/cryptoAddress.ts | 2 +- .../orm/models/cryptoAddressesModule.ts | 2 +- .../src/public/orm/models/cryptoAuthModule.ts | 2 +- .../src/public/orm/models/database.ts | 2 +- .../orm/models/databaseProvisionModule.ts | 2 +- .../src/public/orm/models/defaultIdsModule.ts | 2 +- .../src/public/orm/models/defaultPrivilege.ts | 2 +- .../orm/models/denormalizedTableField.ts | 2 +- .../src/public/orm/models/domain.ts | 2 +- .../src/public/orm/models/email.ts | 2 +- .../src/public/orm/models/emailsModule.ts | 2 +- .../orm/models/encryptedSecretsModule.ts | 2 +- .../src/public/orm/models/field.ts | 2 +- .../src/public/orm/models/fieldModule.ts | 2 +- .../public/orm/models/foreignKeyConstraint.ts | 2 +- .../src/public/orm/models/fullTextSearch.ts | 2 +- .../src/public/orm/models/getAllRecord.ts | 2 +- .../src/public/orm/models/hierarchyModule.ts | 2 +- .../src/public/orm/models/index.ts | 13 +- .../src/public/orm/models/indexModel.ts | 2 +- .../src/public/orm/models/invite.ts | 2 +- .../src/public/orm/models/invitesModule.ts | 2 +- .../src/public/orm/models/levelsModule.ts | 2 +- .../src/public/orm/models/limitsModule.ts | 2 +- .../src/public/orm/models/membershipType.ts | 2 +- .../orm/models/membershipTypesModule.ts | 2 +- .../public/orm/models/membershipsModule.ts | 2 +- .../src/public/orm/models/nodeTypeRegistry.ts | 2 +- .../src/public/orm/models/object.ts | 2 +- .../src/public/orm/models/orgAdminGrant.ts | 2 +- .../src/public/orm/models/orgChartEdge.ts | 2 +- .../public/orm/models/orgChartEdgeGrant.ts | 2 +- .../src/public/orm/models/orgClaimedInvite.ts | 2 +- .../public/orm/models/orgGetManagersRecord.ts | 2 +- .../orm/models/orgGetSubordinatesRecord.ts | 7 +- .../src/public/orm/models/orgGrant.ts | 2 +- .../src/public/orm/models/orgInvite.ts | 2 +- .../src/public/orm/models/orgLimit.ts | 2 +- .../src/public/orm/models/orgLimitDefault.ts | 2 +- .../src/public/orm/models/orgMember.ts | 2 +- .../src/public/orm/models/orgMembership.ts | 2 +- .../public/orm/models/orgMembershipDefault.ts | 2 +- .../src/public/orm/models/orgOwnerGrant.ts | 2 +- .../src/public/orm/models/orgPermission.ts | 2 +- .../public/orm/models/orgPermissionDefault.ts | 2 +- .../public/orm/models/permissionsModule.ts | 2 +- .../src/public/orm/models/phoneNumber.ts | 2 +- .../public/orm/models/phoneNumbersModule.ts | 2 +- .../src/public/orm/models/policy.ts | 2 +- .../public/orm/models/primaryKeyConstraint.ts | 2 +- .../src/public/orm/models/profilesModule.ts | 2 +- .../src/public/orm/models/ref.ts | 2 +- .../public/orm/models/relationProvision.ts | 2 +- .../src/public/orm/models/rlsModule.ts | 2 +- .../src/public/orm/models/roleType.ts | 2 +- .../src/public/orm/models/schema.ts | 2 +- .../src/public/orm/models/schemaGrant.ts | 2 +- .../src/public/orm/models/secretsModule.ts | 2 +- .../public/orm/models/secureTableProvision.ts | 2 +- .../src/public/orm/models/sessionsModule.ts | 2 +- .../src/public/orm/models/site.ts | 2 +- .../src/public/orm/models/siteMetadatum.ts | 2 +- .../src/public/orm/models/siteModule.ts | 2 +- .../src/public/orm/models/siteTheme.ts | 2 +- .../src/public/orm/models/sqlMigration.ts | 2 +- .../src/public/orm/models/store.ts | 2 +- .../src/public/orm/models/table.ts | 2 +- .../src/public/orm/models/tableGrant.ts | 2 +- .../src/public/orm/models/tableModule.ts | 236 - .../public/orm/models/tableTemplateModule.ts | 2 +- .../src/public/orm/models/trigger.ts | 2 +- .../src/public/orm/models/triggerFunction.ts | 2 +- .../src/public/orm/models/uniqueConstraint.ts | 2 +- .../src/public/orm/models/user.ts | 2 +- .../src/public/orm/models/userAuthModule.ts | 2 +- .../src/public/orm/models/usersModule.ts | 2 +- .../src/public/orm/models/uuidModule.ts | 2 +- .../src/public/orm/models/view.ts | 2 +- .../src/public/orm/models/viewGrant.ts | 2 +- .../src/public/orm/models/viewRule.ts | 2 +- .../src/public/orm/models/viewTable.ts | 2 +- .../src/public/orm/mutation/index.ts | 52 +- .../src/public/orm/query-builder.ts | 2 - .../src/admin/hooks/README.md | 180 +- .../src/admin/hooks/index.ts | 2 +- .../src/admin/hooks/invalidation.ts | 118 +- .../src/admin/hooks/mutation-keys.ts | 56 +- .../src/admin/hooks/mutations/index.ts | 18 +- .../src/admin/hooks/queries/index.ts | 12 +- .../src/admin/hooks/query-keys.ts | 60 +- .../src/admin/orm/README.md | 255 +- sdk/constructive-react/src/admin/orm/index.ts | 12 +- .../src/admin/orm/input-types.ts | 1299 +- .../src/admin/orm/models/appAchievement.ts | 2 +- .../src/admin/orm/models/appAdminGrant.ts | 2 +- .../src/admin/orm/models/appGrant.ts | 2 +- .../src/admin/orm/models/appLevel.ts | 2 +- .../admin/orm/models/appLevelRequirement.ts | 2 +- .../src/admin/orm/models/appLimit.ts | 2 +- .../src/admin/orm/models/appLimitDefault.ts | 2 +- .../src/admin/orm/models/appMembership.ts | 2 +- .../admin/orm/models/appMembershipDefault.ts | 2 +- .../src/admin/orm/models/appOwnerGrant.ts | 2 +- .../src/admin/orm/models/appPermission.ts | 2 +- .../admin/orm/models/appPermissionDefault.ts | 2 +- .../src/admin/orm/models/appStep.ts | 2 +- .../src/admin/orm/models/claimedInvite.ts | 2 +- .../src/admin/orm/models/index.ts | 6 +- .../src/admin/orm/models/invite.ts | 2 +- .../src/admin/orm/models/membershipType.ts | 2 +- .../src/admin/orm/models/orgAdminGrant.ts | 2 +- .../src/admin/orm/models/orgChartEdge.ts | 2 +- .../src/admin/orm/models/orgChartEdgeGrant.ts | 2 +- .../src/admin/orm/models/orgClaimedInvite.ts | 2 +- .../admin/orm/models/orgGetManagersRecord.ts | 2 +- .../orm/models/orgGetSubordinatesRecord.ts | 7 +- .../src/admin/orm/models/orgGrant.ts | 2 +- .../src/admin/orm/models/orgInvite.ts | 2 +- .../src/admin/orm/models/orgLimit.ts | 2 +- .../src/admin/orm/models/orgLimitDefault.ts | 2 +- .../src/admin/orm/models/orgMember.ts | 2 +- .../src/admin/orm/models/orgMembership.ts | 2 +- .../admin/orm/models/orgMembershipDefault.ts | 2 +- .../src/admin/orm/models/orgOwnerGrant.ts | 2 +- .../src/admin/orm/models/orgPermission.ts | 2 +- .../admin/orm/models/orgPermissionDefault.ts | 2 +- .../src/admin/orm/query-builder.ts | 39 +- .../src/admin/orm/select-types.ts | 6 +- .../src/admin/schema-types.ts | 1571 +- sdk/constructive-react/src/admin/types.ts | 84 +- .../src/auth/hooks/README.md | 74 +- .../src/auth/hooks/index.ts | 2 +- .../src/auth/hooks/invalidation.ts | 40 +- .../src/auth/hooks/mutation-keys.ts | 18 +- .../src/auth/hooks/mutations/index.ts | 6 +- .../src/auth/hooks/queries/index.ts | 4 +- .../src/auth/hooks/query-keys.ts | 20 +- sdk/constructive-react/src/auth/orm/README.md | 88 +- sdk/constructive-react/src/auth/orm/index.ts | 4 +- .../src/auth/orm/input-types.ts | 399 +- .../src/auth/orm/models/auditLog.ts | 2 +- .../src/auth/orm/models/connectedAccount.ts | 2 +- .../src/auth/orm/models/cryptoAddress.ts | 2 +- .../src/auth/orm/models/email.ts | 2 +- .../src/auth/orm/models/index.ts | 2 +- .../src/auth/orm/models/phoneNumber.ts | 2 +- .../src/auth/orm/models/roleType.ts | 2 +- .../src/auth/orm/models/user.ts | 2 +- .../src/auth/orm/query-builder.ts | 39 +- .../src/auth/orm/select-types.ts | 6 +- .../src/auth/schema-types.ts | 537 +- sdk/constructive-react/src/auth/types.ts | 27 +- .../src/objects/hooks/README.md | 18 +- .../src/objects/orm/README.md | 24 +- .../src/objects/orm/input-types.ts | 95 +- .../src/objects/orm/models/commit.ts | 2 +- .../src/objects/orm/models/getAllRecord.ts | 2 +- .../src/objects/orm/models/object.ts | 2 +- .../src/objects/orm/models/ref.ts | 2 +- .../src/objects/orm/models/store.ts | 2 +- .../src/objects/orm/query-builder.ts | 39 +- .../src/objects/orm/select-types.ts | 6 +- .../src/objects/schema-types.ts | 117 +- sdk/constructive-react/src/objects/types.ts | 13 + sdk/constructive-react/src/public/README.md | 2 +- .../src/public/hooks/README.md | 692 +- .../src/public/hooks/index.ts | 2 +- .../src/public/hooks/invalidation.ts | 236 +- .../src/public/hooks/mutation-keys.ts | 128 +- .../src/public/hooks/mutations/index.ts | 37 +- .../mutations/useCreateTableModuleMutation.ts | 88 - .../mutations/useDeleteTableModuleMutation.ts | 98 - .../mutations/useUpdateTableModuleMutation.ts | 110 - .../src/public/hooks/queries/index.ts | 26 +- .../hooks/queries/useTableModuleQuery.ts | 138 - .../hooks/queries/useTableModulesQuery.ts | 145 - .../src/public/hooks/query-keys.ts | 118 +- .../src/public/orm/README.md | 1086 +- .../src/public/orm/index.ts | 26 +- .../src/public/orm/input-types.ts | 5408 +- .../src/public/orm/models/api.ts | 2 +- .../src/public/orm/models/apiModule.ts | 2 +- .../src/public/orm/models/apiSchema.ts | 2 +- .../src/public/orm/models/app.ts | 2 +- .../src/public/orm/models/appAchievement.ts | 2 +- .../src/public/orm/models/appAdminGrant.ts | 2 +- .../src/public/orm/models/appGrant.ts | 2 +- .../src/public/orm/models/appLevel.ts | 2 +- .../public/orm/models/appLevelRequirement.ts | 2 +- .../src/public/orm/models/appLimit.ts | 2 +- .../src/public/orm/models/appLimitDefault.ts | 2 +- .../src/public/orm/models/appMembership.ts | 2 +- .../public/orm/models/appMembershipDefault.ts | 2 +- .../src/public/orm/models/appOwnerGrant.ts | 2 +- .../src/public/orm/models/appPermission.ts | 2 +- .../public/orm/models/appPermissionDefault.ts | 2 +- .../src/public/orm/models/appStep.ts | 2 +- .../src/public/orm/models/astMigration.ts | 2 +- .../src/public/orm/models/auditLog.ts | 2 +- .../src/public/orm/models/checkConstraint.ts | 2 +- .../src/public/orm/models/claimedInvite.ts | 2 +- .../src/public/orm/models/commit.ts | 2 +- .../src/public/orm/models/connectedAccount.ts | 2 +- .../orm/models/connectedAccountsModule.ts | 2 +- .../src/public/orm/models/cryptoAddress.ts | 2 +- .../orm/models/cryptoAddressesModule.ts | 2 +- .../src/public/orm/models/cryptoAuthModule.ts | 2 +- .../src/public/orm/models/database.ts | 2 +- .../orm/models/databaseProvisionModule.ts | 2 +- .../src/public/orm/models/defaultIdsModule.ts | 2 +- .../src/public/orm/models/defaultPrivilege.ts | 2 +- .../orm/models/denormalizedTableField.ts | 2 +- .../src/public/orm/models/domain.ts | 2 +- .../src/public/orm/models/email.ts | 2 +- .../src/public/orm/models/emailsModule.ts | 2 +- .../orm/models/encryptedSecretsModule.ts | 2 +- .../src/public/orm/models/field.ts | 2 +- .../src/public/orm/models/fieldModule.ts | 2 +- .../public/orm/models/foreignKeyConstraint.ts | 2 +- .../src/public/orm/models/fullTextSearch.ts | 2 +- .../src/public/orm/models/getAllRecord.ts | 2 +- .../src/public/orm/models/hierarchyModule.ts | 2 +- .../src/public/orm/models/index.ts | 13 +- .../src/public/orm/models/indexModel.ts | 2 +- .../src/public/orm/models/invite.ts | 2 +- .../src/public/orm/models/invitesModule.ts | 2 +- .../src/public/orm/models/levelsModule.ts | 2 +- .../src/public/orm/models/limitsModule.ts | 2 +- .../src/public/orm/models/membershipType.ts | 2 +- .../orm/models/membershipTypesModule.ts | 2 +- .../public/orm/models/membershipsModule.ts | 2 +- .../src/public/orm/models/nodeTypeRegistry.ts | 2 +- .../src/public/orm/models/object.ts | 2 +- .../src/public/orm/models/orgAdminGrant.ts | 2 +- .../src/public/orm/models/orgChartEdge.ts | 2 +- .../public/orm/models/orgChartEdgeGrant.ts | 2 +- .../src/public/orm/models/orgClaimedInvite.ts | 2 +- .../public/orm/models/orgGetManagersRecord.ts | 2 +- .../orm/models/orgGetSubordinatesRecord.ts | 7 +- .../src/public/orm/models/orgGrant.ts | 2 +- .../src/public/orm/models/orgInvite.ts | 2 +- .../src/public/orm/models/orgLimit.ts | 2 +- .../src/public/orm/models/orgLimitDefault.ts | 2 +- .../src/public/orm/models/orgMember.ts | 2 +- .../src/public/orm/models/orgMembership.ts | 2 +- .../public/orm/models/orgMembershipDefault.ts | 2 +- .../src/public/orm/models/orgOwnerGrant.ts | 2 +- .../src/public/orm/models/orgPermission.ts | 2 +- .../public/orm/models/orgPermissionDefault.ts | 2 +- .../public/orm/models/permissionsModule.ts | 2 +- .../src/public/orm/models/phoneNumber.ts | 2 +- .../public/orm/models/phoneNumbersModule.ts | 2 +- .../src/public/orm/models/policy.ts | 2 +- .../public/orm/models/primaryKeyConstraint.ts | 2 +- .../src/public/orm/models/profilesModule.ts | 2 +- .../src/public/orm/models/ref.ts | 2 +- .../public/orm/models/relationProvision.ts | 2 +- .../src/public/orm/models/rlsModule.ts | 2 +- .../src/public/orm/models/roleType.ts | 2 +- .../src/public/orm/models/schema.ts | 2 +- .../src/public/orm/models/schemaGrant.ts | 2 +- .../src/public/orm/models/secretsModule.ts | 2 +- .../public/orm/models/secureTableProvision.ts | 2 +- .../src/public/orm/models/sessionsModule.ts | 2 +- .../src/public/orm/models/site.ts | 2 +- .../src/public/orm/models/siteMetadatum.ts | 2 +- .../src/public/orm/models/siteModule.ts | 2 +- .../src/public/orm/models/siteTheme.ts | 2 +- .../src/public/orm/models/sqlMigration.ts | 2 +- .../src/public/orm/models/store.ts | 2 +- .../src/public/orm/models/table.ts | 2 +- .../src/public/orm/models/tableGrant.ts | 2 +- .../src/public/orm/models/tableModule.ts | 236 - .../public/orm/models/tableTemplateModule.ts | 2 +- .../src/public/orm/models/trigger.ts | 2 +- .../src/public/orm/models/triggerFunction.ts | 2 +- .../src/public/orm/models/uniqueConstraint.ts | 2 +- .../src/public/orm/models/user.ts | 2 +- .../src/public/orm/models/userAuthModule.ts | 2 +- .../src/public/orm/models/usersModule.ts | 2 +- .../src/public/orm/models/uuidModule.ts | 2 +- .../src/public/orm/models/view.ts | 2 +- .../src/public/orm/models/viewGrant.ts | 2 +- .../src/public/orm/models/viewRule.ts | 2 +- .../src/public/orm/models/viewTable.ts | 2 +- .../src/public/orm/mutation/index.ts | 52 +- .../src/public/orm/query-builder.ts | 39 +- .../src/public/orm/select-types.ts | 6 +- .../src/public/schema-types.ts | 14256 ++--- sdk/constructive-react/src/public/types.ts | 432 +- sdk/constructive-sdk/schemas/admin.graphql | 3590 +- sdk/constructive-sdk/schemas/auth.graphql | 1301 +- sdk/constructive-sdk/schemas/objects.graphql | 224 +- sdk/constructive-sdk/schemas/private.graphql | 44789 ++++++++++++++++ sdk/constructive-sdk/schemas/public.graphql | 30991 ++++++----- sdk/constructive-sdk/src/admin/orm/README.md | 255 +- sdk/constructive-sdk/src/admin/orm/index.ts | 12 +- .../src/admin/orm/input-types.ts | 1049 +- .../src/admin/orm/models/appAchievement.ts | 2 +- .../src/admin/orm/models/appAdminGrant.ts | 2 +- .../src/admin/orm/models/appGrant.ts | 2 +- .../src/admin/orm/models/appLevel.ts | 2 +- .../admin/orm/models/appLevelRequirement.ts | 2 +- .../src/admin/orm/models/appLimit.ts | 2 +- .../src/admin/orm/models/appLimitDefault.ts | 2 +- .../src/admin/orm/models/appMembership.ts | 2 +- .../admin/orm/models/appMembershipDefault.ts | 2 +- .../src/admin/orm/models/appOwnerGrant.ts | 2 +- .../src/admin/orm/models/appPermission.ts | 2 +- .../admin/orm/models/appPermissionDefault.ts | 2 +- .../src/admin/orm/models/appStep.ts | 2 +- .../src/admin/orm/models/claimedInvite.ts | 2 +- .../src/admin/orm/models/index.ts | 6 +- .../src/admin/orm/models/invite.ts | 2 +- .../src/admin/orm/models/membershipType.ts | 2 +- .../src/admin/orm/models/orgAdminGrant.ts | 2 +- .../src/admin/orm/models/orgChartEdge.ts | 2 +- .../src/admin/orm/models/orgChartEdgeGrant.ts | 2 +- .../src/admin/orm/models/orgClaimedInvite.ts | 2 +- .../admin/orm/models/orgGetManagersRecord.ts | 2 +- .../orm/models/orgGetSubordinatesRecord.ts | 7 +- .../src/admin/orm/models/orgGrant.ts | 2 +- .../src/admin/orm/models/orgInvite.ts | 2 +- .../src/admin/orm/models/orgLimit.ts | 2 +- .../src/admin/orm/models/orgLimitDefault.ts | 2 +- .../src/admin/orm/models/orgMember.ts | 2 +- .../src/admin/orm/models/orgMembership.ts | 2 +- .../admin/orm/models/orgMembershipDefault.ts | 2 +- .../src/admin/orm/models/orgOwnerGrant.ts | 2 +- .../src/admin/orm/models/orgPermission.ts | 2 +- .../admin/orm/models/orgPermissionDefault.ts | 2 +- .../src/admin/orm/query-builder.ts | 2 - sdk/constructive-sdk/src/auth/orm/README.md | 88 +- sdk/constructive-sdk/src/auth/orm/index.ts | 4 +- .../src/auth/orm/input-types.ts | 328 +- .../src/auth/orm/models/auditLog.ts | 2 +- .../src/auth/orm/models/connectedAccount.ts | 2 +- .../src/auth/orm/models/cryptoAddress.ts | 2 +- .../src/auth/orm/models/email.ts | 2 +- .../src/auth/orm/models/index.ts | 2 +- .../src/auth/orm/models/phoneNumber.ts | 2 +- .../src/auth/orm/models/roleType.ts | 2 +- .../src/auth/orm/models/user.ts | 2 +- .../src/auth/orm/query-builder.ts | 2 - .../src/objects/orm/README.md | 24 +- .../src/objects/orm/input-types.ts | 48 +- .../src/objects/orm/models/commit.ts | 2 +- .../src/objects/orm/models/getAllRecord.ts | 2 +- .../src/objects/orm/models/object.ts | 2 +- .../src/objects/orm/models/ref.ts | 2 +- .../src/objects/orm/models/store.ts | 2 +- .../src/objects/orm/query-builder.ts | 2 - sdk/constructive-sdk/src/public/README.md | 2 +- sdk/constructive-sdk/src/public/orm/README.md | 1086 +- sdk/constructive-sdk/src/public/orm/index.ts | 26 +- .../src/public/orm/input-types.ts | 4132 +- .../src/public/orm/models/api.ts | 2 +- .../src/public/orm/models/apiModule.ts | 2 +- .../src/public/orm/models/apiSchema.ts | 2 +- .../src/public/orm/models/app.ts | 2 +- .../src/public/orm/models/appAchievement.ts | 2 +- .../src/public/orm/models/appAdminGrant.ts | 2 +- .../src/public/orm/models/appGrant.ts | 2 +- .../src/public/orm/models/appLevel.ts | 2 +- .../public/orm/models/appLevelRequirement.ts | 2 +- .../src/public/orm/models/appLimit.ts | 2 +- .../src/public/orm/models/appLimitDefault.ts | 2 +- .../src/public/orm/models/appMembership.ts | 2 +- .../public/orm/models/appMembershipDefault.ts | 2 +- .../src/public/orm/models/appOwnerGrant.ts | 2 +- .../src/public/orm/models/appPermission.ts | 2 +- .../public/orm/models/appPermissionDefault.ts | 2 +- .../src/public/orm/models/appStep.ts | 2 +- .../src/public/orm/models/astMigration.ts | 2 +- .../src/public/orm/models/auditLog.ts | 2 +- .../src/public/orm/models/checkConstraint.ts | 2 +- .../src/public/orm/models/claimedInvite.ts | 2 +- .../src/public/orm/models/commit.ts | 2 +- .../src/public/orm/models/connectedAccount.ts | 2 +- .../orm/models/connectedAccountsModule.ts | 2 +- .../src/public/orm/models/cryptoAddress.ts | 2 +- .../orm/models/cryptoAddressesModule.ts | 2 +- .../src/public/orm/models/cryptoAuthModule.ts | 2 +- .../src/public/orm/models/database.ts | 2 +- .../orm/models/databaseProvisionModule.ts | 2 +- .../src/public/orm/models/defaultIdsModule.ts | 2 +- .../src/public/orm/models/defaultPrivilege.ts | 2 +- .../orm/models/denormalizedTableField.ts | 2 +- .../src/public/orm/models/domain.ts | 2 +- .../src/public/orm/models/email.ts | 2 +- .../src/public/orm/models/emailsModule.ts | 2 +- .../orm/models/encryptedSecretsModule.ts | 2 +- .../src/public/orm/models/field.ts | 2 +- .../src/public/orm/models/fieldModule.ts | 2 +- .../public/orm/models/foreignKeyConstraint.ts | 2 +- .../src/public/orm/models/fullTextSearch.ts | 2 +- .../src/public/orm/models/getAllRecord.ts | 2 +- .../src/public/orm/models/hierarchyModule.ts | 2 +- .../src/public/orm/models/index.ts | 13 +- .../src/public/orm/models/indexModel.ts | 2 +- .../src/public/orm/models/invite.ts | 2 +- .../src/public/orm/models/invitesModule.ts | 2 +- .../src/public/orm/models/levelsModule.ts | 2 +- .../src/public/orm/models/limitsModule.ts | 2 +- .../src/public/orm/models/membershipType.ts | 2 +- .../orm/models/membershipTypesModule.ts | 2 +- .../public/orm/models/membershipsModule.ts | 2 +- .../src/public/orm/models/nodeTypeRegistry.ts | 2 +- .../src/public/orm/models/object.ts | 2 +- .../src/public/orm/models/orgAdminGrant.ts | 2 +- .../src/public/orm/models/orgChartEdge.ts | 2 +- .../public/orm/models/orgChartEdgeGrant.ts | 2 +- .../src/public/orm/models/orgClaimedInvite.ts | 2 +- .../public/orm/models/orgGetManagersRecord.ts | 2 +- .../orm/models/orgGetSubordinatesRecord.ts | 7 +- .../src/public/orm/models/orgGrant.ts | 2 +- .../src/public/orm/models/orgInvite.ts | 2 +- .../src/public/orm/models/orgLimit.ts | 2 +- .../src/public/orm/models/orgLimitDefault.ts | 2 +- .../src/public/orm/models/orgMember.ts | 2 +- .../src/public/orm/models/orgMembership.ts | 2 +- .../public/orm/models/orgMembershipDefault.ts | 2 +- .../src/public/orm/models/orgOwnerGrant.ts | 2 +- .../src/public/orm/models/orgPermission.ts | 2 +- .../public/orm/models/orgPermissionDefault.ts | 2 +- .../public/orm/models/permissionsModule.ts | 2 +- .../src/public/orm/models/phoneNumber.ts | 2 +- .../public/orm/models/phoneNumbersModule.ts | 2 +- .../src/public/orm/models/policy.ts | 2 +- .../public/orm/models/primaryKeyConstraint.ts | 2 +- .../src/public/orm/models/profilesModule.ts | 2 +- .../src/public/orm/models/ref.ts | 2 +- .../public/orm/models/relationProvision.ts | 2 +- .../src/public/orm/models/rlsModule.ts | 2 +- .../src/public/orm/models/roleType.ts | 2 +- .../src/public/orm/models/schema.ts | 2 +- .../src/public/orm/models/schemaGrant.ts | 2 +- .../src/public/orm/models/secretsModule.ts | 2 +- .../public/orm/models/secureTableProvision.ts | 2 +- .../src/public/orm/models/sessionsModule.ts | 2 +- .../src/public/orm/models/site.ts | 2 +- .../src/public/orm/models/siteMetadatum.ts | 2 +- .../src/public/orm/models/siteModule.ts | 2 +- .../src/public/orm/models/siteTheme.ts | 2 +- .../src/public/orm/models/sqlMigration.ts | 2 +- .../src/public/orm/models/store.ts | 2 +- .../src/public/orm/models/table.ts | 2 +- .../src/public/orm/models/tableGrant.ts | 2 +- .../src/public/orm/models/tableModule.ts | 236 - .../public/orm/models/tableTemplateModule.ts | 2 +- .../src/public/orm/models/trigger.ts | 2 +- .../src/public/orm/models/triggerFunction.ts | 2 +- .../src/public/orm/models/uniqueConstraint.ts | 2 +- .../src/public/orm/models/user.ts | 2 +- .../src/public/orm/models/userAuthModule.ts | 2 +- .../src/public/orm/models/usersModule.ts | 2 +- .../src/public/orm/models/uuidModule.ts | 2 +- .../src/public/orm/models/view.ts | 2 +- .../src/public/orm/models/viewGrant.ts | 2 +- .../src/public/orm/models/viewRule.ts | 2 +- .../src/public/orm/models/viewTable.ts | 2 +- .../src/public/orm/mutation/index.ts | 52 +- .../src/public/orm/query-builder.ts | 2 - skills/cli-admin/SKILL.md | 11 +- .../references/app-level-requirement.md | 6 +- skills/cli-admin/references/app-level.md | 6 +- skills/cli-admin/references/app-permission.md | 6 +- skills/cli-admin/references/config.md | 29 + skills/cli-admin/references/invite.md | 6 +- .../cli-admin/references/membership-type.md | 6 +- .../references/org-chart-edge-grant.md | 6 +- skills/cli-admin/references/org-chart-edge.md | 6 +- skills/cli-admin/references/org-invite.md | 6 +- skills/cli-admin/references/org-permission.md | 6 +- skills/cli-auth/SKILL.md | 21 +- skills/cli-auth/references/audit-log.md | 6 +- skills/cli-auth/references/config.md | 29 + .../cli-auth/references/connected-account.md | 6 +- skills/cli-auth/references/crypto-address.md | 6 +- skills/cli-auth/references/phone-number.md | 6 +- skills/cli-auth/references/user.md | 6 +- skills/cli-objects/SKILL.md | 5 + skills/cli-objects/references/commit.md | 6 +- skills/cli-objects/references/config.md | 29 + skills/cli-objects/references/ref.md | 6 +- skills/cli-objects/references/store.md | 6 +- skills/cli-public/SKILL.md | 24 +- skills/cli-public/references/api-module.md | 6 +- skills/cli-public/references/api.md | 6 +- .../references/app-level-requirement.md | 6 +- skills/cli-public/references/app-level.md | 6 +- .../cli-public/references/app-permission.md | 6 +- skills/cli-public/references/app.md | 6 +- skills/cli-public/references/ast-migration.md | 6 +- skills/cli-public/references/audit-log.md | 6 +- .../cli-public/references/check-constraint.md | 6 +- skills/cli-public/references/commit.md | 6 +- skills/cli-public/references/config.md | 29 + .../references/connected-account.md | 6 +- .../references/connected-accounts-module.md | 6 +- .../cli-public/references/crypto-address.md | 6 +- .../references/crypto-addresses-module.md | 6 +- .../references/crypto-auth-module.md | 6 +- .../references/database-provision-module.md | 6 +- skills/cli-public/references/database.md | 6 +- .../references/default-privilege.md | 6 +- .../references/denormalized-table-field.md | 6 +- skills/cli-public/references/emails-module.md | 6 +- .../references/encrypted-secrets-module.md | 6 +- skills/cli-public/references/field-module.md | 6 +- skills/cli-public/references/field.md | 6 +- .../references/foreign-key-constraint.md | 6 +- .../cli-public/references/hierarchy-module.md | 6 +- skills/cli-public/references/index.md | 6 +- skills/cli-public/references/invite.md | 6 +- .../cli-public/references/invites-module.md | 6 +- skills/cli-public/references/levels-module.md | 6 +- skills/cli-public/references/limits-module.md | 6 +- .../cli-public/references/membership-type.md | 6 +- .../references/membership-types-module.md | 6 +- .../references/memberships-module.md | 6 +- .../references/node-type-registry.md | 6 +- .../references/org-chart-edge-grant.md | 6 +- .../cli-public/references/org-chart-edge.md | 6 +- skills/cli-public/references/org-invite.md | 6 +- .../cli-public/references/org-permission.md | 6 +- .../references/permissions-module.md | 6 +- skills/cli-public/references/phone-number.md | 6 +- .../references/phone-numbers-module.md | 6 +- skills/cli-public/references/policy.md | 6 +- .../references/primary-key-constraint.md | 6 +- .../cli-public/references/profiles-module.md | 6 +- skills/cli-public/references/ref.md | 6 +- .../references/relation-provision.md | 6 +- skills/cli-public/references/rls-module.md | 6 +- skills/cli-public/references/schema-grant.md | 6 +- skills/cli-public/references/schema.md | 6 +- .../cli-public/references/secrets-module.md | 6 +- .../references/secure-table-provision.md | 6 +- .../cli-public/references/sessions-module.md | 6 +- .../cli-public/references/site-metadatum.md | 6 +- skills/cli-public/references/site-module.md | 6 +- skills/cli-public/references/site.md | 6 +- skills/cli-public/references/sql-migration.md | 6 +- skills/cli-public/references/store.md | 6 +- skills/cli-public/references/table-grant.md | 6 +- .../references/table-template-module.md | 6 +- skills/cli-public/references/table.md | 6 +- .../cli-public/references/trigger-function.md | 6 +- skills/cli-public/references/trigger.md | 6 +- .../references/unique-constraint.md | 6 +- .../cli-public/references/user-auth-module.md | 6 +- skills/cli-public/references/user.md | 6 +- skills/cli-public/references/users-module.md | 6 +- skills/cli-public/references/uuid-module.md | 6 +- skills/cli-public/references/view-grant.md | 6 +- skills/cli-public/references/view-rule.md | 6 +- skills/cli-public/references/view.md | 6 +- skills/hooks-admin/SKILL.md | 6 +- .../references/app-level-requirement.md | 8 +- skills/hooks-admin/references/app-level.md | 8 +- .../hooks-admin/references/app-permission.md | 8 +- skills/hooks-admin/references/invite.md | 8 +- .../hooks-admin/references/membership-type.md | 8 +- .../references/org-chart-edge-grant.md | 8 +- .../hooks-admin/references/org-chart-edge.md | 8 +- skills/hooks-admin/references/org-invite.md | 8 +- .../hooks-admin/references/org-permission.md | 8 +- skills/hooks-auth/SKILL.md | 8 +- skills/hooks-auth/references/audit-log.md | 8 +- .../references/connected-account.md | 8 +- .../hooks-auth/references/crypto-address.md | 8 +- skills/hooks-auth/references/phone-number.md | 8 +- skills/hooks-auth/references/user.md | 8 +- skills/hooks-objects/references/commit.md | 8 +- skills/hooks-objects/references/ref.md | 8 +- skills/hooks-objects/references/store.md | 8 +- skills/hooks-public/SKILL.md | 19 +- skills/hooks-public/references/api-module.md | 8 +- skills/hooks-public/references/api.md | 8 +- .../references/app-level-requirement.md | 8 +- skills/hooks-public/references/app-level.md | 8 +- .../hooks-public/references/app-permission.md | 8 +- skills/hooks-public/references/app.md | 8 +- .../hooks-public/references/ast-migration.md | 8 +- skills/hooks-public/references/audit-log.md | 8 +- .../references/check-constraint.md | 8 +- skills/hooks-public/references/commit.md | 8 +- .../references/connected-account.md | 8 +- .../references/connected-accounts-module.md | 8 +- .../hooks-public/references/crypto-address.md | 8 +- .../references/crypto-addresses-module.md | 8 +- .../references/crypto-auth-module.md | 8 +- .../references/database-provision-module.md | 8 +- skills/hooks-public/references/database.md | 8 +- .../references/default-privilege.md | 8 +- .../references/denormalized-table-field.md | 8 +- .../hooks-public/references/emails-module.md | 8 +- .../references/encrypted-secrets-module.md | 8 +- .../hooks-public/references/field-module.md | 8 +- skills/hooks-public/references/field.md | 8 +- .../references/foreign-key-constraint.md | 8 +- .../references/hierarchy-module.md | 8 +- skills/hooks-public/references/index.md | 8 +- skills/hooks-public/references/invite.md | 8 +- .../hooks-public/references/invites-module.md | 8 +- .../hooks-public/references/levels-module.md | 8 +- .../hooks-public/references/limits-module.md | 8 +- .../references/membership-type.md | 8 +- .../references/membership-types-module.md | 8 +- .../references/memberships-module.md | 8 +- .../references/node-type-registry.md | 8 +- .../references/org-chart-edge-grant.md | 8 +- .../hooks-public/references/org-chart-edge.md | 8 +- skills/hooks-public/references/org-invite.md | 8 +- .../hooks-public/references/org-permission.md | 8 +- .../references/permissions-module.md | 8 +- .../hooks-public/references/phone-number.md | 8 +- .../references/phone-numbers-module.md | 8 +- skills/hooks-public/references/policy.md | 8 +- .../references/primary-key-constraint.md | 8 +- .../references/profiles-module.md | 8 +- skills/hooks-public/references/ref.md | 8 +- .../references/relation-provision.md | 8 +- skills/hooks-public/references/rls-module.md | 8 +- .../hooks-public/references/schema-grant.md | 8 +- skills/hooks-public/references/schema.md | 8 +- .../hooks-public/references/secrets-module.md | 8 +- .../references/secure-table-provision.md | 8 +- .../references/sessions-module.md | 8 +- .../hooks-public/references/site-metadatum.md | 8 +- skills/hooks-public/references/site-module.md | 8 +- skills/hooks-public/references/site.md | 8 +- .../hooks-public/references/sql-migration.md | 8 +- skills/hooks-public/references/store.md | 8 +- skills/hooks-public/references/table-grant.md | 8 +- .../references/table-template-module.md | 8 +- skills/hooks-public/references/table.md | 8 +- .../references/trigger-function.md | 8 +- skills/hooks-public/references/trigger.md | 8 +- .../references/unique-constraint.md | 8 +- .../references/user-auth-module.md | 8 +- skills/hooks-public/references/user.md | 8 +- .../hooks-public/references/users-module.md | 8 +- skills/hooks-public/references/uuid-module.md | 8 +- skills/hooks-public/references/view-grant.md | 8 +- skills/hooks-public/references/view-rule.md | 8 +- skills/hooks-public/references/view.md | 8 +- skills/orm-admin/SKILL.md | 6 +- .../references/app-level-requirement.md | 4 +- skills/orm-admin/references/app-level.md | 4 +- skills/orm-admin/references/app-permission.md | 4 +- skills/orm-admin/references/invite.md | 4 +- .../orm-admin/references/membership-type.md | 4 +- .../references/org-chart-edge-grant.md | 4 +- skills/orm-admin/references/org-chart-edge.md | 4 +- skills/orm-admin/references/org-invite.md | 4 +- skills/orm-admin/references/org-permission.md | 4 +- skills/orm-auth/SKILL.md | 6 +- skills/orm-auth/references/audit-log.md | 4 +- .../orm-auth/references/connected-account.md | 4 +- skills/orm-auth/references/crypto-address.md | 4 +- skills/orm-auth/references/phone-number.md | 4 +- skills/orm-auth/references/user.md | 4 +- skills/orm-objects/references/commit.md | 4 +- skills/orm-objects/references/ref.md | 4 +- skills/orm-objects/references/store.md | 4 +- skills/orm-public/SKILL.md | 19 +- skills/orm-public/references/api-module.md | 4 +- skills/orm-public/references/api.md | 4 +- .../references/app-level-requirement.md | 4 +- skills/orm-public/references/app-level.md | 4 +- .../orm-public/references/app-permission.md | 4 +- skills/orm-public/references/app.md | 4 +- skills/orm-public/references/ast-migration.md | 4 +- skills/orm-public/references/audit-log.md | 4 +- .../orm-public/references/check-constraint.md | 4 +- skills/orm-public/references/commit.md | 4 +- .../references/connected-account.md | 4 +- .../references/connected-accounts-module.md | 4 +- .../orm-public/references/crypto-address.md | 4 +- .../references/crypto-addresses-module.md | 4 +- .../references/crypto-auth-module.md | 4 +- .../references/database-provision-module.md | 4 +- skills/orm-public/references/database.md | 4 +- .../references/default-privilege.md | 4 +- .../references/denormalized-table-field.md | 4 +- skills/orm-public/references/emails-module.md | 4 +- .../references/encrypted-secrets-module.md | 4 +- skills/orm-public/references/field-module.md | 4 +- skills/orm-public/references/field.md | 4 +- .../references/foreign-key-constraint.md | 4 +- .../orm-public/references/hierarchy-module.md | 4 +- skills/orm-public/references/index.md | 4 +- skills/orm-public/references/invite.md | 4 +- .../orm-public/references/invites-module.md | 4 +- skills/orm-public/references/levels-module.md | 4 +- skills/orm-public/references/limits-module.md | 4 +- .../orm-public/references/membership-type.md | 4 +- .../references/membership-types-module.md | 4 +- .../references/memberships-module.md | 4 +- .../references/node-type-registry.md | 4 +- .../references/org-chart-edge-grant.md | 4 +- .../orm-public/references/org-chart-edge.md | 4 +- skills/orm-public/references/org-invite.md | 4 +- .../orm-public/references/org-permission.md | 4 +- .../references/permissions-module.md | 4 +- skills/orm-public/references/phone-number.md | 4 +- .../references/phone-numbers-module.md | 4 +- skills/orm-public/references/policy.md | 4 +- .../references/primary-key-constraint.md | 4 +- .../orm-public/references/profiles-module.md | 4 +- skills/orm-public/references/ref.md | 4 +- .../references/relation-provision.md | 4 +- skills/orm-public/references/rls-module.md | 4 +- skills/orm-public/references/schema-grant.md | 4 +- skills/orm-public/references/schema.md | 4 +- .../orm-public/references/secrets-module.md | 4 +- .../references/secure-table-provision.md | 4 +- .../orm-public/references/sessions-module.md | 4 +- .../orm-public/references/site-metadatum.md | 4 +- skills/orm-public/references/site-module.md | 4 +- skills/orm-public/references/site.md | 4 +- skills/orm-public/references/sql-migration.md | 4 +- skills/orm-public/references/store.md | 4 +- skills/orm-public/references/table-grant.md | 4 +- .../references/table-template-module.md | 4 +- skills/orm-public/references/table.md | 4 +- .../orm-public/references/trigger-function.md | 4 +- skills/orm-public/references/trigger.md | 4 +- .../references/unique-constraint.md | 4 +- .../orm-public/references/user-auth-module.md | 4 +- skills/orm-public/references/user.md | 4 +- skills/orm-public/references/users-module.md | 4 +- skills/orm-public/references/uuid-module.md | 4 +- skills/orm-public/references/view-grant.md | 4 +- skills/orm-public/references/view-rule.md | 4 +- skills/orm-public/references/view.md | 4 +- 920 files changed, 90533 insertions(+), 38501 deletions(-) delete mode 100644 sdk/constructive-cli/src/public/cli/commands/table-module.ts delete mode 100644 sdk/constructive-cli/src/public/orm/models/tableModule.ts delete mode 100644 sdk/constructive-react/src/public/hooks/mutations/useCreateTableModuleMutation.ts delete mode 100644 sdk/constructive-react/src/public/hooks/mutations/useDeleteTableModuleMutation.ts delete mode 100644 sdk/constructive-react/src/public/hooks/mutations/useUpdateTableModuleMutation.ts delete mode 100644 sdk/constructive-react/src/public/hooks/queries/useTableModuleQuery.ts delete mode 100644 sdk/constructive-react/src/public/hooks/queries/useTableModulesQuery.ts delete mode 100644 sdk/constructive-react/src/public/orm/models/tableModule.ts create mode 100644 sdk/constructive-sdk/schemas/private.graphql delete mode 100644 sdk/constructive-sdk/src/public/orm/models/tableModule.ts create mode 100644 skills/cli-admin/references/config.md create mode 100644 skills/cli-auth/references/config.md create mode 100644 skills/cli-objects/references/config.md create mode 100644 skills/cli-public/references/config.md diff --git a/sdk/constructive-cli/src/admin/cli/README.md b/sdk/constructive-cli/src/admin/cli/README.md index ba17c8e75..81f093232 100644 --- a/sdk/constructive-cli/src/admin/cli/README.md +++ b/sdk/constructive-cli/src/admin/cli/README.md @@ -25,6 +25,7 @@ csdk auth set-token |---------|-------------| | `context` | Manage API contexts (endpoints) | | `auth` | Manage authentication tokens | +| `config` | Manage config key-value store (per-context) | | `org-get-managers-record` | orgGetManagersRecord CRUD operations | | `org-get-subordinates-record` | orgGetSubordinatesRecord CRUD operations | | `app-permission` | appPermission CRUD operations | @@ -39,8 +40,8 @@ csdk auth set-token | `org-owner-grant` | orgOwnerGrant CRUD operations | | `app-limit-default` | appLimitDefault CRUD operations | | `org-limit-default` | orgLimitDefault CRUD operations | -| `membership-type` | membershipType CRUD operations | | `org-chart-edge-grant` | orgChartEdgeGrant CRUD operations | +| `membership-type` | membershipType CRUD operations | | `app-limit` | appLimit CRUD operations | | `app-achievement` | appAchievement CRUD operations | | `app-step` | appStep CRUD operations | @@ -52,10 +53,10 @@ csdk auth set-token | `org-grant` | orgGrant CRUD operations | | `org-chart-edge` | orgChartEdge CRUD operations | | `org-membership-default` | orgMembershipDefault CRUD operations | -| `invite` | invite CRUD operations | -| `app-level` | appLevel CRUD operations | | `app-membership` | appMembership CRUD operations | | `org-membership` | orgMembership CRUD operations | +| `invite` | invite CRUD operations | +| `app-level` | appLevel CRUD operations | | `org-invite` | orgInvite CRUD operations | | `app-permissions-get-padded-mask` | appPermissionsGetPaddedMask | | `org-permissions-get-padded-mask` | orgPermissionsGetPaddedMask | @@ -97,6 +98,19 @@ Manage authentication tokens per context. | `status` | Show auth status across all contexts | | `logout` | Remove credentials for current context | +### `config` + +Manage per-context key-value configuration variables. + +| Subcommand | Description | +|------------|-------------| +| `get ` | Get a config value | +| `set ` | Set a config value | +| `list` | List all config values | +| `delete ` | Delete a config value | + +Variables are scoped to the active context and stored at `~/.csdk/config/`. + ## Table Commands ### `org-get-managers-record` @@ -162,7 +176,10 @@ CRUD operations for AppPermission records. | `bitnum` | Int | | `bitstr` | BitString | | `description` | String | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | +**Required create fields:** `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `name`, `bitnum`, `bitstr`, `description` ### `org-permission` @@ -186,7 +203,10 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | | `bitstr` | BitString | | `description` | String | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | +**Required create fields:** `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `name`, `bitnum`, `bitstr`, `description` ### `app-level-requirement` @@ -213,8 +233,10 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name`, `level` +**Required create fields:** `name`, `level`, `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `description`, `requiredCount`, `priority` ### `org-member` @@ -437,29 +459,6 @@ CRUD operations for OrgLimitDefault records. **Required create fields:** `name` **Optional create fields (backend defaults):** `max` -### `membership-type` - -CRUD operations for MembershipType records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all membershipType records | -| `get` | Get a membershipType by id | -| `create` | Create a new membershipType | -| `update` | Update an existing membershipType | -| `delete` | Delete a membershipType | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | Int | -| `name` | String | -| `description` | String | -| `prefix` | String | - -**Required create fields:** `name`, `description`, `prefix` - ### `org-chart-edge-grant` CRUD operations for OrgChartEdgeGrant records. @@ -485,10 +484,38 @@ CRUD operations for OrgChartEdgeGrant records. | `positionTitle` | String | | `positionLevel` | Int | | `createdAt` | Datetime | +| `positionTitleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `entityId`, `childId`, `grantorId` +**Required create fields:** `entityId`, `childId`, `grantorId`, `positionTitleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `parentId`, `isGrant`, `positionTitle`, `positionLevel` +### `membership-type` + +CRUD operations for MembershipType records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all membershipType records | +| `get` | Get a membershipType by id | +| `create` | Create a new membershipType | +| `update` | Update an existing membershipType | +| `delete` | Delete a membershipType | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | Int | +| `name` | String | +| `description` | String | +| `prefix` | String | +| `descriptionTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `name`, `description`, `prefix`, `descriptionTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore` + ### `app-limit` CRUD operations for AppLimit records. @@ -749,8 +776,10 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | | `positionTitle` | String | | `positionLevel` | Int | +| `positionTitleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `entityId`, `childId` +**Required create fields:** `entityId`, `childId`, `positionTitleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `parentId`, `positionTitle`, `positionLevel` ### `org-membership-default` @@ -782,64 +811,6 @@ CRUD operations for OrgMembershipDefault records. **Required create fields:** `entityId` **Optional create fields (backend defaults):** `createdBy`, `updatedBy`, `isApproved`, `deleteMemberCascadeGroups`, `createGroupsCascadeMembers` -### `invite` - -CRUD operations for Invite records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all invite records | -| `get` | Get a invite by id | -| `create` | Create a new invite | -| `update` | Update an existing invite | -| `delete` | Delete a invite | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | UUID | -| `email` | Email | -| `senderId` | UUID | -| `inviteToken` | String | -| `inviteValid` | Boolean | -| `inviteLimit` | Int | -| `inviteCount` | Int | -| `multiple` | Boolean | -| `data` | JSON | -| `expiresAt` | Datetime | -| `createdAt` | Datetime | -| `updatedAt` | Datetime | - -**Optional create fields (backend defaults):** `email`, `senderId`, `inviteToken`, `inviteValid`, `inviteLimit`, `inviteCount`, `multiple`, `data`, `expiresAt` - -### `app-level` - -CRUD operations for AppLevel records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all appLevel records | -| `get` | Get a appLevel by id | -| `create` | Create a new appLevel | -| `update` | Update an existing appLevel | -| `delete` | Delete a appLevel | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | UUID | -| `name` | String | -| `description` | String | -| `image` | Image | -| `ownerId` | UUID | -| `createdAt` | Datetime | -| `updatedAt` | Datetime | - -**Required create fields:** `name` -**Optional create fields (backend defaults):** `description`, `image`, `ownerId` - ### `app-membership` CRUD operations for AppMembership records. @@ -912,6 +883,69 @@ CRUD operations for OrgMembership records. **Required create fields:** `actorId`, `entityId` **Optional create fields (backend defaults):** `createdBy`, `updatedBy`, `isApproved`, `isBanned`, `isDisabled`, `isActive`, `isOwner`, `isAdmin`, `permissions`, `granted`, `profileId` +### `invite` + +CRUD operations for Invite records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all invite records | +| `get` | Get a invite by id | +| `create` | Create a new invite | +| `update` | Update an existing invite | +| `delete` | Delete a invite | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | UUID | +| `email` | Email | +| `senderId` | UUID | +| `inviteToken` | String | +| `inviteValid` | Boolean | +| `inviteLimit` | Int | +| `inviteCount` | Int | +| `multiple` | Boolean | +| `data` | JSON | +| `expiresAt` | Datetime | +| `createdAt` | Datetime | +| `updatedAt` | Datetime | +| `inviteTokenTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `inviteTokenTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `email`, `senderId`, `inviteToken`, `inviteValid`, `inviteLimit`, `inviteCount`, `multiple`, `data`, `expiresAt` + +### `app-level` + +CRUD operations for AppLevel records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all appLevel records | +| `get` | Get a appLevel by id | +| `create` | Create a new appLevel | +| `update` | Update an existing appLevel | +| `delete` | Delete a appLevel | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | UUID | +| `name` | String | +| `description` | String | +| `image` | Image | +| `ownerId` | UUID | +| `createdAt` | Datetime | +| `updatedAt` | Datetime | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `name`, `descriptionTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `description`, `image`, `ownerId` + ### `org-invite` CRUD operations for OrgInvite records. @@ -942,8 +976,10 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | | `updatedAt` | Datetime | | `entityId` | UUID | +| `inviteTokenTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `entityId` +**Required create fields:** `entityId`, `inviteTokenTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `email`, `senderId`, `receiverId`, `inviteToken`, `inviteValid`, `inviteLimit`, `inviteCount`, `multiple`, `data`, `expiresAt` ## Custom Operations diff --git a/sdk/constructive-cli/src/admin/cli/commands.ts b/sdk/constructive-cli/src/admin/cli/commands.ts index 75ae01229..b3afd30f7 100644 --- a/sdk/constructive-cli/src/admin/cli/commands.ts +++ b/sdk/constructive-cli/src/admin/cli/commands.ts @@ -20,8 +20,8 @@ import orgAdminGrantCmd from './commands/org-admin-grant'; import orgOwnerGrantCmd from './commands/org-owner-grant'; import appLimitDefaultCmd from './commands/app-limit-default'; import orgLimitDefaultCmd from './commands/org-limit-default'; -import membershipTypeCmd from './commands/membership-type'; import orgChartEdgeGrantCmd from './commands/org-chart-edge-grant'; +import membershipTypeCmd from './commands/membership-type'; import appLimitCmd from './commands/app-limit'; import appAchievementCmd from './commands/app-achievement'; import appStepCmd from './commands/app-step'; @@ -33,10 +33,10 @@ import orgClaimedInviteCmd from './commands/org-claimed-invite'; import orgGrantCmd from './commands/org-grant'; import orgChartEdgeCmd from './commands/org-chart-edge'; import orgMembershipDefaultCmd from './commands/org-membership-default'; -import inviteCmd from './commands/invite'; -import appLevelCmd from './commands/app-level'; import appMembershipCmd from './commands/app-membership'; import orgMembershipCmd from './commands/org-membership'; +import inviteCmd from './commands/invite'; +import appLevelCmd from './commands/app-level'; import orgInviteCmd from './commands/org-invite'; import appPermissionsGetPaddedMaskCmd from './commands/app-permissions-get-padded-mask'; import orgPermissionsGetPaddedMaskCmd from './commands/org-permissions-get-padded-mask'; @@ -75,8 +75,8 @@ const createCommandMap: () => Record< 'org-owner-grant': orgOwnerGrantCmd, 'app-limit-default': appLimitDefaultCmd, 'org-limit-default': orgLimitDefaultCmd, - 'membership-type': membershipTypeCmd, 'org-chart-edge-grant': orgChartEdgeGrantCmd, + 'membership-type': membershipTypeCmd, 'app-limit': appLimitCmd, 'app-achievement': appAchievementCmd, 'app-step': appStepCmd, @@ -88,10 +88,10 @@ const createCommandMap: () => Record< 'org-grant': orgGrantCmd, 'org-chart-edge': orgChartEdgeCmd, 'org-membership-default': orgMembershipDefaultCmd, - invite: inviteCmd, - 'app-level': appLevelCmd, 'app-membership': appMembershipCmd, 'org-membership': orgMembershipCmd, + invite: inviteCmd, + 'app-level': appLevelCmd, 'org-invite': orgInviteCmd, 'app-permissions-get-padded-mask': appPermissionsGetPaddedMaskCmd, 'org-permissions-get-padded-mask': orgPermissionsGetPaddedMaskCmd, @@ -108,7 +108,7 @@ const createCommandMap: () => Record< 'submit-org-invite-code': submitOrgInviteCodeCmd, }); const usage = - '\ncsdk \n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n membership-type membershipType CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n app-limit appLimit CRUD operations\n app-achievement appAchievement CRUD operations\n app-step appStep CRUD operations\n claimed-invite claimedInvite CRUD operations\n app-grant appGrant CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-limit orgLimit CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n invite invite CRUD operations\n app-level appLevel CRUD operations\n app-membership appMembership CRUD operations\n org-membership orgMembership CRUD operations\n org-invite orgInvite CRUD operations\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n org-is-manager-of orgIsManagerOf\n steps-achieved stepsAchieved\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n\n --help, -h Show this help message\n --version, -v Show version\n'; + '\ncsdk \n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n membership-type membershipType CRUD operations\n app-limit appLimit CRUD operations\n app-achievement appAchievement CRUD operations\n app-step appStep CRUD operations\n claimed-invite claimedInvite CRUD operations\n app-grant appGrant CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-limit orgLimit CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n app-membership appMembership CRUD operations\n org-membership orgMembership CRUD operations\n invite invite CRUD operations\n app-level appLevel CRUD operations\n org-invite orgInvite CRUD operations\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n org-is-manager-of orgIsManagerOf\n steps-achieved stepsAchieved\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n\n --help, -h Show this help message\n --version, -v Show version\n'; export const commands = async ( argv: Partial>, prompter: Inquirerer, diff --git a/sdk/constructive-cli/src/admin/cli/commands/app-level-requirement.ts b/sdk/constructive-cli/src/admin/cli/commands/app-level-requirement.ts index 1e6781802..f41f9c940 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/app-level-requirement.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/app-level-requirement.ts @@ -20,6 +20,8 @@ const fieldSchema: FieldSchema = { priority: 'int', createdAt: 'string', updatedAt: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napp-level-requirement \n\nCommands:\n list List all appLevelRequirement records\n get Get a appLevelRequirement by ID\n create Create a new appLevelRequirement\n update Update an existing appLevelRequirement\n delete Delete a appLevelRequirement\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/app-level.ts b/sdk/constructive-cli/src/admin/cli/commands/app-level.ts index 346ad0c7f..c21b85d0a 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/app-level.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/app-level.ts @@ -16,6 +16,8 @@ const fieldSchema: FieldSchema = { ownerId: 'uuid', createdAt: 'string', updatedAt: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napp-level \n\nCommands:\n list List all appLevel records\n get Get a appLevel by ID\n create Create a new appLevel\n update Update an existing appLevel\n delete Delete a appLevel\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/app-permission.ts b/sdk/constructive-cli/src/admin/cli/commands/app-permission.ts index 61f8849ca..652e5a821 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/app-permission.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/app-permission.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { bitnum: 'int', bitstr: 'string', description: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napp-permission \n\nCommands:\n list List all appPermission records\n get Get a appPermission by ID\n create Create a new appPermission\n update Update an existing appPermission\n delete Delete a appPermission\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/invite.ts b/sdk/constructive-cli/src/admin/cli/commands/invite.ts index 7d243bdd3..e70bc595b 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/invite.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/invite.ts @@ -21,6 +21,8 @@ const fieldSchema: FieldSchema = { expiresAt: 'string', createdAt: 'string', updatedAt: 'string', + inviteTokenTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ninvite \n\nCommands:\n list List all invite records\n get Get a invite by ID\n create Create a new invite\n update Update an existing invite\n delete Delete a invite\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/membership-type.ts b/sdk/constructive-cli/src/admin/cli/commands/membership-type.ts index 118aade21..a8c9714c4 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/membership-type.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/membership-type.ts @@ -13,6 +13,9 @@ const fieldSchema: FieldSchema = { name: 'string', description: 'string', prefix: 'string', + descriptionTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nmembership-type \n\nCommands:\n list List all membershipType records\n get Get a membershipType by ID\n create Create a new membershipType\n update Update an existing membershipType\n delete Delete a membershipType\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge-grant.ts b/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge-grant.ts index f0373baa9..4f16e2d0f 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge-grant.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge-grant.ts @@ -18,6 +18,8 @@ const fieldSchema: FieldSchema = { positionTitle: 'string', positionLevel: 'int', createdAt: 'string', + positionTitleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-chart-edge-grant \n\nCommands:\n list List all orgChartEdgeGrant records\n get Get a orgChartEdgeGrant by ID\n create Create a new orgChartEdgeGrant\n update Update an existing orgChartEdgeGrant\n delete Delete a orgChartEdgeGrant\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge.ts b/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge.ts index 72fa13a5e..98f69b143 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/org-chart-edge.ts @@ -17,6 +17,8 @@ const fieldSchema: FieldSchema = { parentId: 'uuid', positionTitle: 'string', positionLevel: 'int', + positionTitleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-chart-edge \n\nCommands:\n list List all orgChartEdge records\n get Get a orgChartEdge by ID\n create Create a new orgChartEdge\n update Update an existing orgChartEdge\n delete Delete a orgChartEdge\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/org-invite.ts b/sdk/constructive-cli/src/admin/cli/commands/org-invite.ts index 9b512b138..ce3056594 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/org-invite.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/org-invite.ts @@ -23,6 +23,8 @@ const fieldSchema: FieldSchema = { createdAt: 'string', updatedAt: 'string', entityId: 'uuid', + inviteTokenTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-invite \n\nCommands:\n list List all orgInvite records\n get Get a orgInvite by ID\n create Create a new orgInvite\n update Update an existing orgInvite\n delete Delete a orgInvite\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/cli/commands/org-permission.ts b/sdk/constructive-cli/src/admin/cli/commands/org-permission.ts index 91a56140e..a07b31182 100644 --- a/sdk/constructive-cli/src/admin/cli/commands/org-permission.ts +++ b/sdk/constructive-cli/src/admin/cli/commands/org-permission.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { bitnum: 'int', bitstr: 'string', description: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-permission \n\nCommands:\n list List all orgPermission records\n get Get a orgPermission by ID\n create Create a new orgPermission\n update Update an existing orgPermission\n delete Delete a orgPermission\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/admin/orm/README.md b/sdk/constructive-cli/src/admin/orm/README.md index 4269dd02c..02cd23d7a 100644 --- a/sdk/constructive-cli/src/admin/orm/README.md +++ b/sdk/constructive-cli/src/admin/orm/README.md @@ -35,8 +35,8 @@ const db = createClient({ | `orgOwnerGrant` | findMany, findOne, create, update, delete | | `appLimitDefault` | findMany, findOne, create, update, delete | | `orgLimitDefault` | findMany, findOne, create, update, delete | -| `membershipType` | findMany, findOne, create, update, delete | | `orgChartEdgeGrant` | findMany, findOne, create, update, delete | +| `membershipType` | findMany, findOne, create, update, delete | | `appLimit` | findMany, findOne, create, update, delete | | `appAchievement` | findMany, findOne, create, update, delete | | `appStep` | findMany, findOne, create, update, delete | @@ -48,10 +48,10 @@ const db = createClient({ | `orgGrant` | findMany, findOne, create, update, delete | | `orgChartEdge` | findMany, findOne, create, update, delete | | `orgMembershipDefault` | findMany, findOne, create, update, delete | -| `invite` | findMany, findOne, create, update, delete | -| `appLevel` | findMany, findOne, create, update, delete | | `appMembership` | findMany, findOne, create, update, delete | | `orgMembership` | findMany, findOne, create, update, delete | +| `invite` | findMany, findOne, create, update, delete | +| `appLevel` | findMany, findOne, create, update, delete | | `orgInvite` | findMany, findOne, create, update, delete | ## Table Operations @@ -129,18 +129,20 @@ CRUD operations for AppPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appPermission records -const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -162,18 +164,20 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgPermission records -const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -198,18 +202,20 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevelRequirement records -const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute(); +const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -511,73 +517,78 @@ const updated = await db.orgLimitDefault.update({ where: { id: '' }, data const deleted = await db.orgLimitDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.membershipType` +### `db.orgChartEdgeGrant` -CRUD operations for MembershipType records. +CRUD operations for OrgChartEdgeGrant records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | -| `description` | String | Yes | -| `prefix` | String | Yes | +| `id` | UUID | No | +| `entityId` | UUID | Yes | +| `childId` | UUID | Yes | +| `parentId` | UUID | Yes | +| `grantorId` | UUID | Yes | +| `isGrant` | Boolean | Yes | +| `positionTitle` | String | Yes | +| `positionLevel` | Int | Yes | +| `createdAt` | Datetime | No | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all membershipType records -const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true } }).execute(); +// List all orgChartEdgeGrant records +const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true } }).execute(); +const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); +const deleted = await db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute(); ``` -### `db.orgChartEdgeGrant` +### `db.membershipType` -CRUD operations for OrgChartEdgeGrant records. +CRUD operations for MembershipType records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `entityId` | UUID | Yes | -| `childId` | UUID | Yes | -| `parentId` | UUID | Yes | -| `grantorId` | UUID | Yes | -| `isGrant` | Boolean | Yes | -| `positionTitle` | String | Yes | -| `positionLevel` | Int | Yes | -| `createdAt` | Datetime | No | +| `id` | Int | No | +| `name` | String | Yes | +| `description` | String | Yes | +| `prefix` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all orgChartEdgeGrant records -const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +// List all membershipType records +const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); +const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute(); +const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` ### `db.appLimit` @@ -906,18 +917,20 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | Yes | | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdge records -const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -963,167 +976,171 @@ const updated = await db.orgMembershipDefault.update({ where: { id: '' }, const deleted = await db.orgMembershipDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.invite` +### `db.appMembership` -CRUD operations for Invite records. +CRUD operations for AppMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `email` | ConstructiveInternalTypeEmail | Yes | -| `senderId` | UUID | Yes | -| `inviteToken` | String | Yes | -| `inviteValid` | Boolean | Yes | -| `inviteLimit` | Int | Yes | -| `inviteCount` | Int | Yes | -| `multiple` | Boolean | Yes | -| `data` | JSON | Yes | -| `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isVerified` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all invite records -const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +// List all appMembership records +const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Get one by id -const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Create -const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute(); +const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); +const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.invite.delete({ where: { id: '' } }).execute(); +const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appLevel` +### `db.orgMembership` -CRUD operations for AppLevel records. +CRUD operations for OrgMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `name` | String | Yes | -| `description` | String | Yes | -| `image` | ConstructiveInternalTypeImage | Yes | -| `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `entityId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all appLevel records -const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +// List all orgMembership records +const items = await db.orgMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); // Get one by id -const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.orgMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); // Create -const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute(); +const created = await db.orgMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.orgMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); +const deleted = await db.orgMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembership` +### `db.invite` -CRUD operations for AppMembership records. +CRUD operations for Invite records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `email` | ConstructiveInternalTypeEmail | Yes | +| `senderId` | UUID | Yes | +| `inviteToken` | String | Yes | +| `inviteValid` | Boolean | Yes | +| `inviteLimit` | Int | Yes | +| `inviteCount` | Int | Yes | +| `multiple` | Boolean | Yes | +| `data` | JSON | Yes | +| `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isVerified` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembership records -const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +// List all invite records +const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.invite.delete({ where: { id: '' } }).execute(); ``` -### `db.orgMembership` +### `db.appLevel` -CRUD operations for OrgMembership records. +CRUD operations for AppLevel records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `name` | String | Yes | +| `description` | String | Yes | +| `image` | ConstructiveInternalTypeImage | Yes | +| `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `entityId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all orgMembership records -const items = await db.orgMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); +// List all appLevel records +const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); +const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.orgMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.orgMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); ``` ### `db.orgInvite` @@ -1148,18 +1165,20 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `entityId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgInvite records -const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute(); +const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-cli/src/admin/orm/index.ts b/sdk/constructive-cli/src/admin/orm/index.ts index f049c867c..307d74578 100644 --- a/sdk/constructive-cli/src/admin/orm/index.ts +++ b/sdk/constructive-cli/src/admin/orm/index.ts @@ -19,8 +19,8 @@ import { OrgAdminGrantModel } from './models/orgAdminGrant'; import { OrgOwnerGrantModel } from './models/orgOwnerGrant'; import { AppLimitDefaultModel } from './models/appLimitDefault'; import { OrgLimitDefaultModel } from './models/orgLimitDefault'; -import { MembershipTypeModel } from './models/membershipType'; import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant'; +import { MembershipTypeModel } from './models/membershipType'; import { AppLimitModel } from './models/appLimit'; import { AppAchievementModel } from './models/appAchievement'; import { AppStepModel } from './models/appStep'; @@ -32,10 +32,10 @@ import { OrgClaimedInviteModel } from './models/orgClaimedInvite'; import { OrgGrantModel } from './models/orgGrant'; import { OrgChartEdgeModel } from './models/orgChartEdge'; import { OrgMembershipDefaultModel } from './models/orgMembershipDefault'; -import { InviteModel } from './models/invite'; -import { AppLevelModel } from './models/appLevel'; import { AppMembershipModel } from './models/appMembership'; import { OrgMembershipModel } from './models/orgMembership'; +import { InviteModel } from './models/invite'; +import { AppLevelModel } from './models/appLevel'; import { OrgInviteModel } from './models/orgInvite'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -87,8 +87,8 @@ export function createClient(config: OrmClientConfig) { orgOwnerGrant: new OrgOwnerGrantModel(client), appLimitDefault: new AppLimitDefaultModel(client), orgLimitDefault: new OrgLimitDefaultModel(client), - membershipType: new MembershipTypeModel(client), orgChartEdgeGrant: new OrgChartEdgeGrantModel(client), + membershipType: new MembershipTypeModel(client), appLimit: new AppLimitModel(client), appAchievement: new AppAchievementModel(client), appStep: new AppStepModel(client), @@ -100,10 +100,10 @@ export function createClient(config: OrmClientConfig) { orgGrant: new OrgGrantModel(client), orgChartEdge: new OrgChartEdgeModel(client), orgMembershipDefault: new OrgMembershipDefaultModel(client), - invite: new InviteModel(client), - appLevel: new AppLevelModel(client), appMembership: new AppMembershipModel(client), orgMembership: new OrgMembershipModel(client), + invite: new InviteModel(client), + appLevel: new AppLevelModel(client), orgInvite: new OrgInviteModel(client), query: createQueryOperations(client), mutation: createMutationOperations(client), diff --git a/sdk/constructive-cli/src/admin/orm/input-types.ts b/sdk/constructive-cli/src/admin/orm/input-types.ts index e6d8e8279..7948bd36c 100644 --- a/sdk/constructive-cli/src/admin/orm/input-types.ts +++ b/sdk/constructive-cli/src/admin/orm/input-types.ts @@ -253,6 +253,10 @@ export interface AppPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface OrgPermission { @@ -265,6 +269,10 @@ export interface OrgPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines the specific requirements that must be met to achieve a level */ export interface AppLevelRequirement { @@ -281,6 +289,10 @@ export interface AppLevelRequirement { priority?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Simplified view of active members in an entity, used for listing who belongs to an org or group */ export interface OrgMember { @@ -370,17 +382,6 @@ export interface OrgLimitDefault { /** Default maximum usage allowed for this limit */ max?: number | null; } -/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ -export interface MembershipType { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ - name?: string | null; - /** Description of what this membership type represents */ - description?: string | null; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string | null; -} /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */ export interface OrgChartEdgeGrant { id: string; @@ -400,6 +401,27 @@ export interface OrgChartEdgeGrant { positionLevel?: number | null; /** Timestamp when this grant or revocation was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ +export interface MembershipType { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name?: string | null; + /** Description of what this membership type represents */ + description?: string | null; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface AppLimit { @@ -528,6 +550,10 @@ export interface OrgChartEdge { positionTitle?: string | null; /** Numeric seniority level for this position (higher = more senior) */ positionLevel?: number | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface OrgMembershipDefault { @@ -545,44 +571,6 @@ export interface OrgMembershipDefault { /** When a group is created, whether to auto-add existing org members as group members */ createGroupsCascadeMembers?: boolean | null; } -/** Invitation records sent to prospective members via email, with token-based redemption and expiration */ -export interface Invite { - id: string; - /** Email address of the invited recipient */ - email?: ConstructiveInternalTypeEmail | null; - /** User ID of the member who sent this invitation */ - senderId?: string | null; - /** Unique random hex token used to redeem this invitation */ - inviteToken?: string | null; - /** Whether this invitation is still valid and can be redeemed */ - inviteValid?: boolean | null; - /** Maximum number of times this invite can be claimed; -1 means unlimited */ - inviteLimit?: number | null; - /** Running count of how many times this invite has been claimed */ - inviteCount?: number | null; - /** Whether this invite can be claimed by multiple recipients */ - multiple?: boolean | null; - /** Optional JSON payload of additional invite metadata */ - data?: Record | null; - /** Timestamp after which this invitation can no longer be redeemed */ - expiresAt?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -/** Defines available levels that users can achieve by completing requirements */ -export interface AppLevel { - id: string; - /** Unique name of the level */ - name?: string | null; - /** Human-readable description of what this level represents */ - description?: string | null; - /** Badge or icon image associated with this level */ - image?: ConstructiveInternalTypeImage | null; - /** Optional owner (actor) who created or manages this level */ - ownerId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */ export interface AppMembership { id: string; @@ -642,6 +630,52 @@ export interface OrgMembership { profileId?: string | null; } /** Invitation records sent to prospective members via email, with token-based redemption and expiration */ +export interface Invite { + id: string; + /** Email address of the invited recipient */ + email?: ConstructiveInternalTypeEmail | null; + /** User ID of the member who sent this invitation */ + senderId?: string | null; + /** Unique random hex token used to redeem this invitation */ + inviteToken?: string | null; + /** Whether this invitation is still valid and can be redeemed */ + inviteValid?: boolean | null; + /** Maximum number of times this invite can be claimed; -1 means unlimited */ + inviteLimit?: number | null; + /** Running count of how many times this invite has been claimed */ + inviteCount?: number | null; + /** Whether this invite can be claimed by multiple recipients */ + multiple?: boolean | null; + /** Optional JSON payload of additional invite metadata */ + data?: Record | null; + /** Timestamp after which this invitation can no longer be redeemed */ + expiresAt?: string | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines available levels that users can achieve by completing requirements */ +export interface AppLevel { + id: string; + /** Unique name of the level */ + name?: string | null; + /** Human-readable description of what this level represents */ + description?: string | null; + /** Badge or icon image associated with this level */ + image?: ConstructiveInternalTypeImage | null; + /** Optional owner (actor) who created or manages this level */ + ownerId?: string | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Invitation records sent to prospective members via email, with token-based redemption and expiration */ export interface OrgInvite { id: string; /** Email address of the invited recipient */ @@ -667,6 +701,10 @@ export interface OrgInvite { createdAt?: string | null; updatedAt?: string | null; entityId?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -695,8 +733,8 @@ export interface OrgAdminGrantRelations {} export interface OrgOwnerGrantRelations {} export interface AppLimitDefaultRelations {} export interface OrgLimitDefaultRelations {} -export interface MembershipTypeRelations {} export interface OrgChartEdgeGrantRelations {} +export interface MembershipTypeRelations {} export interface AppLimitRelations {} export interface AppAchievementRelations {} export interface AppStepRelations {} @@ -708,10 +746,10 @@ export interface OrgClaimedInviteRelations {} export interface OrgGrantRelations {} export interface OrgChartEdgeRelations {} export interface OrgMembershipDefaultRelations {} -export interface InviteRelations {} -export interface AppLevelRelations {} export interface AppMembershipRelations {} export interface OrgMembershipRelations {} +export interface InviteRelations {} +export interface AppLevelRelations {} export interface OrgInviteRelations {} // ============ Entity Types With Relations ============ export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & @@ -732,8 +770,8 @@ export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations; export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations; export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations; export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations; -export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations; +export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type AppLimitWithRelations = AppLimit & AppLimitRelations; export type AppAchievementWithRelations = AppAchievement & AppAchievementRelations; export type AppStepWithRelations = AppStep & AppStepRelations; @@ -747,10 +785,10 @@ export type OrgGrantWithRelations = OrgGrant & OrgGrantRelations; export type OrgChartEdgeWithRelations = OrgChartEdge & OrgChartEdgeRelations; export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations; -export type InviteWithRelations = Invite & InviteRelations; -export type AppLevelWithRelations = AppLevel & AppLevelRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations; +export type InviteWithRelations = Invite & InviteRelations; +export type AppLevelWithRelations = AppLevel & AppLevelRelations; export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -767,6 +805,8 @@ export type AppPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgPermissionSelect = { id?: boolean; @@ -774,6 +814,8 @@ export type OrgPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppLevelRequirementSelect = { id?: boolean; @@ -784,6 +826,8 @@ export type AppLevelRequirementSelect = { priority?: boolean; createdAt?: boolean; updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMemberSelect = { id?: boolean; @@ -844,12 +888,6 @@ export type OrgLimitDefaultSelect = { name?: boolean; max?: boolean; }; -export type MembershipTypeSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - prefix?: boolean; -}; export type OrgChartEdgeGrantSelect = { id?: boolean; entityId?: boolean; @@ -860,6 +898,17 @@ export type OrgChartEdgeGrantSelect = { positionTitle?: boolean; positionLevel?: boolean; createdAt?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type MembershipTypeSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + prefix?: boolean; + descriptionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppLimitSelect = { id?: boolean; @@ -946,6 +995,8 @@ export type OrgChartEdgeSelect = { parentId?: boolean; positionTitle?: boolean; positionLevel?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMembershipDefaultSelect = { id?: boolean; @@ -958,29 +1009,6 @@ export type OrgMembershipDefaultSelect = { deleteMemberCascadeGroups?: boolean; createGroupsCascadeMembers?: boolean; }; -export type InviteSelect = { - id?: boolean; - email?: boolean; - senderId?: boolean; - inviteToken?: boolean; - inviteValid?: boolean; - inviteLimit?: boolean; - inviteCount?: boolean; - multiple?: boolean; - data?: boolean; - expiresAt?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; -export type AppLevelSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - image?: boolean; - ownerId?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; export type AppMembershipSelect = { id?: boolean; createdAt?: boolean; @@ -1017,6 +1045,33 @@ export type OrgMembershipSelect = { entityId?: boolean; profileId?: boolean; }; +export type InviteSelect = { + id?: boolean; + email?: boolean; + senderId?: boolean; + inviteToken?: boolean; + inviteValid?: boolean; + inviteLimit?: boolean; + inviteCount?: boolean; + multiple?: boolean; + data?: boolean; + expiresAt?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type AppLevelSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + image?: boolean; + ownerId?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; export type OrgInviteSelect = { id?: boolean; email?: boolean; @@ -1032,6 +1087,8 @@ export type OrgInviteSelect = { createdAt?: boolean; updatedAt?: boolean; entityId?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; // ============ Table Filter Types ============ export interface OrgGetManagersRecordFilter { @@ -1054,6 +1111,8 @@ export interface AppPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppPermissionFilter[]; or?: AppPermissionFilter[]; not?: AppPermissionFilter; @@ -1064,6 +1123,8 @@ export interface OrgPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgPermissionFilter[]; or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; @@ -1077,6 +1138,8 @@ export interface AppLevelRequirementFilter { priority?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelRequirementFilter[]; or?: AppLevelRequirementFilter[]; not?: AppLevelRequirementFilter; @@ -1167,15 +1230,6 @@ export interface OrgLimitDefaultFilter { or?: OrgLimitDefaultFilter[]; not?: OrgLimitDefaultFilter; } -export interface MembershipTypeFilter { - id?: IntFilter; - name?: StringFilter; - description?: StringFilter; - prefix?: StringFilter; - and?: MembershipTypeFilter[]; - or?: MembershipTypeFilter[]; - not?: MembershipTypeFilter; -} export interface OrgChartEdgeGrantFilter { id?: UUIDFilter; entityId?: UUIDFilter; @@ -1186,10 +1240,24 @@ export interface OrgChartEdgeGrantFilter { positionTitle?: StringFilter; positionLevel?: IntFilter; createdAt?: DatetimeFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeGrantFilter[]; or?: OrgChartEdgeGrantFilter[]; not?: OrgChartEdgeGrantFilter; } +export interface MembershipTypeFilter { + id?: IntFilter; + name?: StringFilter; + description?: StringFilter; + prefix?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: MembershipTypeFilter[]; + or?: MembershipTypeFilter[]; + not?: MembershipTypeFilter; +} export interface AppLimitFilter { id?: UUIDFilter; name?: StringFilter; @@ -1302,6 +1370,8 @@ export interface OrgChartEdgeFilter { parentId?: UUIDFilter; positionTitle?: StringFilter; positionLevel?: IntFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeFilter[]; or?: OrgChartEdgeFilter[]; not?: OrgChartEdgeFilter; @@ -1320,35 +1390,6 @@ export interface OrgMembershipDefaultFilter { or?: OrgMembershipDefaultFilter[]; not?: OrgMembershipDefaultFilter; } -export interface InviteFilter { - id?: UUIDFilter; - email?: StringFilter; - senderId?: UUIDFilter; - inviteToken?: StringFilter; - inviteValid?: BooleanFilter; - inviteLimit?: IntFilter; - inviteCount?: IntFilter; - multiple?: BooleanFilter; - data?: JSONFilter; - expiresAt?: DatetimeFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: InviteFilter[]; - or?: InviteFilter[]; - not?: InviteFilter; -} -export interface AppLevelFilter { - id?: UUIDFilter; - name?: StringFilter; - description?: StringFilter; - image?: StringFilter; - ownerId?: UUIDFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: AppLevelFilter[]; - or?: AppLevelFilter[]; - not?: AppLevelFilter; -} export interface AppMembershipFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -1391,6 +1432,39 @@ export interface OrgMembershipFilter { or?: OrgMembershipFilter[]; not?: OrgMembershipFilter; } +export interface InviteFilter { + id?: UUIDFilter; + email?: StringFilter; + senderId?: UUIDFilter; + inviteToken?: StringFilter; + inviteValid?: BooleanFilter; + inviteLimit?: IntFilter; + inviteCount?: IntFilter; + multiple?: BooleanFilter; + data?: JSONFilter; + expiresAt?: DatetimeFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: InviteFilter[]; + or?: InviteFilter[]; + not?: InviteFilter; +} +export interface AppLevelFilter { + id?: UUIDFilter; + name?: StringFilter; + description?: StringFilter; + image?: StringFilter; + ownerId?: UUIDFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: AppLevelFilter[]; + or?: AppLevelFilter[]; + not?: AppLevelFilter; +} export interface OrgInviteFilter { id?: UUIDFilter; email?: StringFilter; @@ -1406,6 +1480,8 @@ export interface OrgInviteFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; entityId?: UUIDFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgInviteFilter[]; or?: OrgInviteFilter[]; not?: OrgInviteFilter; @@ -1440,7 +1516,11 @@ export type AppPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1454,7 +1534,11 @@ export type OrgPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLevelRequirementOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1474,7 +1558,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMemberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1593,19 +1681,7 @@ export type OrgLimitDefaultOrderBy = | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC'; -export type MembershipTypeOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'PREFIX_ASC' - | 'PREFIX_DESC'; -export type OrgChartEdgeGrantOrderBy = +export type OrgChartEdgeGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' @@ -1626,7 +1702,29 @@ export type OrgChartEdgeGrantOrderBy = | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +export type MembershipTypeOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'PREFIX_ASC' + | 'PREFIX_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'PREFIX_TRGM_SIMILARITY_ASC' + | 'PREFIX_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLimitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1798,7 +1896,11 @@ export type OrgChartEdgeOrderBy = | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' - | 'POSITION_LEVEL_DESC'; + | 'POSITION_LEVEL_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1821,52 +1923,6 @@ export type OrgMembershipDefaultOrderBy = | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC'; -export type InviteOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'EMAIL_ASC' - | 'EMAIL_DESC' - | 'SENDER_ID_ASC' - | 'SENDER_ID_DESC' - | 'INVITE_TOKEN_ASC' - | 'INVITE_TOKEN_DESC' - | 'INVITE_VALID_ASC' - | 'INVITE_VALID_DESC' - | 'INVITE_LIMIT_ASC' - | 'INVITE_LIMIT_DESC' - | 'INVITE_COUNT_ASC' - | 'INVITE_COUNT_DESC' - | 'MULTIPLE_ASC' - | 'MULTIPLE_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'EXPIRES_AT_ASC' - | 'EXPIRES_AT_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type AppLevelOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'IMAGE_ASC' - | 'IMAGE_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; export type AppMembershipOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1939,6 +1995,60 @@ export type OrgMembershipOrderBy = | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +export type InviteOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'EMAIL_ASC' + | 'EMAIL_DESC' + | 'SENDER_ID_ASC' + | 'SENDER_ID_DESC' + | 'INVITE_TOKEN_ASC' + | 'INVITE_TOKEN_DESC' + | 'INVITE_VALID_ASC' + | 'INVITE_VALID_DESC' + | 'INVITE_LIMIT_ASC' + | 'INVITE_LIMIT_DESC' + | 'INVITE_COUNT_ASC' + | 'INVITE_COUNT_DESC' + | 'MULTIPLE_ASC' + | 'MULTIPLE_DESC' + | 'DATA_ASC' + | 'DATA_DESC' + | 'EXPIRES_AT_ASC' + | 'EXPIRES_AT_DESC' + | 'CREATED_AT_ASC' + | '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'; +export type AppLevelOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'IMAGE_ASC' + | 'IMAGE_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'; export type OrgInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1970,7 +2080,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ export interface CreateOrgGetManagersRecordInput { clientMutationId?: string; @@ -2026,6 +2140,8 @@ export interface AppPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppPermissionInput { clientMutationId?: string; @@ -2050,6 +2166,8 @@ export interface OrgPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgPermissionInput { clientMutationId?: string; @@ -2076,6 +2194,8 @@ export interface AppLevelRequirementPatch { description?: string | null; requiredCount?: number | null; priority?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelRequirementInput { clientMutationId?: string; @@ -2278,28 +2398,6 @@ export interface DeleteOrgLimitDefaultInput { clientMutationId?: string; id: string; } -export interface CreateMembershipTypeInput { - clientMutationId?: string; - membershipType: { - name: string; - description: string; - prefix: string; - }; -} -export interface MembershipTypePatch { - name?: string | null; - description?: string | null; - prefix?: string | null; -} -export interface UpdateMembershipTypeInput { - clientMutationId?: string; - id: number; - membershipTypePatch: MembershipTypePatch; -} -export interface DeleteMembershipTypeInput { - clientMutationId?: string; - id: number; -} export interface CreateOrgChartEdgeGrantInput { clientMutationId?: string; orgChartEdgeGrant: { @@ -2320,6 +2418,8 @@ export interface OrgChartEdgeGrantPatch { isGrant?: boolean | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeGrantInput { clientMutationId?: string; @@ -2330,6 +2430,31 @@ export interface DeleteOrgChartEdgeGrantInput { clientMutationId?: string; id: string; } +export interface CreateMembershipTypeInput { + clientMutationId?: string; + membershipType: { + name: string; + description: string; + prefix: string; + }; +} +export interface MembershipTypePatch { + name?: string | null; + description?: string | null; + prefix?: string | null; + descriptionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateMembershipTypeInput { + clientMutationId?: string; + id: number; + membershipTypePatch: MembershipTypePatch; +} +export interface DeleteMembershipTypeInput { + clientMutationId?: string; + id: number; +} export interface CreateAppLimitInput { clientMutationId?: string; appLimit: { @@ -2560,6 +2685,8 @@ export interface OrgChartEdgePatch { parentId?: string | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeInput { clientMutationId?: string; @@ -2598,64 +2725,6 @@ export interface DeleteOrgMembershipDefaultInput { clientMutationId?: string; id: string; } -export interface CreateInviteInput { - clientMutationId?: string; - invite: { - email?: ConstructiveInternalTypeEmail; - senderId?: string; - inviteToken?: string; - inviteValid?: boolean; - inviteLimit?: number; - inviteCount?: number; - multiple?: boolean; - data?: Record; - expiresAt?: string; - }; -} -export interface InvitePatch { - email?: ConstructiveInternalTypeEmail | null; - senderId?: string | null; - inviteToken?: string | null; - inviteValid?: boolean | null; - inviteLimit?: number | null; - inviteCount?: number | null; - multiple?: boolean | null; - data?: Record | null; - expiresAt?: string | null; -} -export interface UpdateInviteInput { - clientMutationId?: string; - id: string; - invitePatch: InvitePatch; -} -export interface DeleteInviteInput { - clientMutationId?: string; - id: string; -} -export interface CreateAppLevelInput { - clientMutationId?: string; - appLevel: { - name: string; - description?: string; - image?: ConstructiveInternalTypeImage; - ownerId?: string; - }; -} -export interface AppLevelPatch { - name?: string | null; - description?: string | null; - image?: ConstructiveInternalTypeImage | null; - ownerId?: string | null; -} -export interface UpdateAppLevelInput { - clientMutationId?: string; - id: string; - appLevelPatch: AppLevelPatch; -} -export interface DeleteAppLevelInput { - clientMutationId?: string; - id: string; -} export interface CreateAppMembershipInput { clientMutationId?: string; appMembership: { @@ -2740,12 +2809,11 @@ export interface DeleteOrgMembershipInput { clientMutationId?: string; id: string; } -export interface CreateOrgInviteInput { +export interface CreateInviteInput { clientMutationId?: string; - orgInvite: { + invite: { email?: ConstructiveInternalTypeEmail; senderId?: string; - receiverId?: string; inviteToken?: string; inviteValid?: boolean; inviteLimit?: number; @@ -2753,13 +2821,11 @@ export interface CreateOrgInviteInput { multiple?: boolean; data?: Record; expiresAt?: string; - entityId: string; }; } -export interface OrgInvitePatch { +export interface InvitePatch { email?: ConstructiveInternalTypeEmail | null; senderId?: string | null; - receiverId?: string | null; inviteToken?: string | null; inviteValid?: boolean | null; inviteLimit?: number | null; @@ -2767,31 +2833,98 @@ export interface OrgInvitePatch { multiple?: boolean | null; data?: Record | null; expiresAt?: string | null; - entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } -export interface UpdateOrgInviteInput { +export interface UpdateInviteInput { clientMutationId?: string; id: string; - orgInvitePatch: OrgInvitePatch; + invitePatch: InvitePatch; } -export interface DeleteOrgInviteInput { +export interface DeleteInviteInput { clientMutationId?: string; id: string; } -// ============ Connection Fields Map ============ -export const connectionFieldsMap = {} as Record>; -// ============ Custom Input Types (from schema) ============ -export interface SubmitInviteCodeInput { +export interface CreateAppLevelInput { clientMutationId?: string; - token?: string; + appLevel: { + name: string; + description?: string; + image?: ConstructiveInternalTypeImage; + ownerId?: string; + }; } -export interface SubmitOrgInviteCodeInput { +export interface AppLevelPatch { + name?: string | null; + description?: string | null; + image?: ConstructiveInternalTypeImage | null; + ownerId?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateAppLevelInput { clientMutationId?: string; - token?: string; + id: string; + appLevelPatch: AppLevelPatch; } -/** A connection to a list of `AppPermission` values. */ -// ============ Payload/Return Types (for custom operations) ============ -export interface AppPermissionConnection { +export interface DeleteAppLevelInput { + clientMutationId?: string; + id: string; +} +export interface CreateOrgInviteInput { + clientMutationId?: string; + orgInvite: { + email?: ConstructiveInternalTypeEmail; + senderId?: string; + receiverId?: string; + inviteToken?: string; + inviteValid?: boolean; + inviteLimit?: number; + inviteCount?: number; + multiple?: boolean; + data?: Record; + expiresAt?: string; + entityId: string; + }; +} +export interface OrgInvitePatch { + email?: ConstructiveInternalTypeEmail | null; + senderId?: string | null; + receiverId?: string | null; + inviteToken?: string | null; + inviteValid?: boolean | null; + inviteLimit?: number | null; + inviteCount?: number | null; + multiple?: boolean | null; + data?: Record | null; + expiresAt?: string | null; + entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateOrgInviteInput { + clientMutationId?: string; + id: string; + orgInvitePatch: OrgInvitePatch; +} +export interface DeleteOrgInviteInput { + clientMutationId?: string; + id: string; +} +// ============ Connection Fields Map ============ +export const connectionFieldsMap = {} as Record>; +// ============ Custom Input Types (from schema) ============ +export interface SubmitInviteCodeInput { + clientMutationId?: string; + token?: string; +} +export interface SubmitOrgInviteCodeInput { + clientMutationId?: string; + token?: string; +} +/** A connection to a list of `AppPermission` values. */ +// ============ Payload/Return Types (for custom operations) ============ +export interface AppPermissionConnection { nodes: AppPermission[]; edges: AppPermissionEdge[]; pageInfo: PageInfo; @@ -3403,51 +3536,6 @@ export type DeleteOrgLimitDefaultPayloadSelect = { select: OrgLimitDefaultEdgeSelect; }; }; -export interface CreateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was created by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type CreateMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; -export interface UpdateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was updated by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type UpdateMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; -export interface DeleteMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was deleted by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type DeleteMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; export interface CreateOrgChartEdgeGrantPayload { clientMutationId?: string | null; /** The `OrgChartEdgeGrant` that was created by this mutation. */ @@ -3493,6 +3581,51 @@ export type DeleteOrgChartEdgeGrantPayloadSelect = { select: OrgChartEdgeGrantEdgeSelect; }; }; +export interface CreateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was created by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type CreateMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; +export interface UpdateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was updated by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type UpdateMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; +export interface DeleteMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was deleted by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type DeleteMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; export interface CreateAppLimitPayload { clientMutationId?: string | null; /** The `AppLimit` that was created by this mutation. */ @@ -3988,96 +4121,6 @@ export type DeleteOrgMembershipDefaultPayloadSelect = { select: OrgMembershipDefaultEdgeSelect; }; }; -export interface CreateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was created by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type CreateInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface UpdateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was updated by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type UpdateInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface DeleteInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was deleted by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type DeleteInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface CreateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was created by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type CreateAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; -export interface UpdateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was updated by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type UpdateAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; -export interface DeleteAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was deleted by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type DeleteAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; export interface CreateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was created by this mutation. */ @@ -4168,6 +4211,96 @@ export type DeleteOrgMembershipPayloadSelect = { select: OrgMembershipEdgeSelect; }; }; +export interface CreateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was created by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type CreateInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface UpdateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was updated by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type UpdateInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface DeleteInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was deleted by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type DeleteInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface CreateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was created by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type CreateAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; +export interface UpdateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was updated by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type UpdateAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; +export interface DeleteAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was deleted by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type DeleteAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; export interface CreateOrgInvitePayload { clientMutationId?: string | null; /** The `OrgInvite` that was created by this mutation. */ @@ -4374,18 +4507,6 @@ export type OrgLimitDefaultEdgeSelect = { select: OrgLimitDefaultSelect; }; }; -/** A `MembershipType` edge in the connection. */ -export interface MembershipTypeEdge { - cursor?: string | null; - /** The `MembershipType` at the end of the edge. */ - node?: MembershipType | null; -} -export type MembershipTypeEdgeSelect = { - cursor?: boolean; - node?: { - select: MembershipTypeSelect; - }; -}; /** A `OrgChartEdgeGrant` edge in the connection. */ export interface OrgChartEdgeGrantEdge { cursor?: string | null; @@ -4398,6 +4519,18 @@ export type OrgChartEdgeGrantEdgeSelect = { select: OrgChartEdgeGrantSelect; }; }; +/** A `MembershipType` edge in the connection. */ +export interface MembershipTypeEdge { + cursor?: string | null; + /** The `MembershipType` at the end of the edge. */ + node?: MembershipType | null; +} +export type MembershipTypeEdgeSelect = { + cursor?: boolean; + node?: { + select: MembershipTypeSelect; + }; +}; /** A `AppLimit` edge in the connection. */ export interface AppLimitEdge { cursor?: string | null; @@ -4530,30 +4663,6 @@ export type OrgMembershipDefaultEdgeSelect = { select: OrgMembershipDefaultSelect; }; }; -/** A `Invite` edge in the connection. */ -export interface InviteEdge { - cursor?: string | null; - /** The `Invite` at the end of the edge. */ - node?: Invite | null; -} -export type InviteEdgeSelect = { - cursor?: boolean; - node?: { - select: InviteSelect; - }; -}; -/** A `AppLevel` edge in the connection. */ -export interface AppLevelEdge { - cursor?: string | null; - /** The `AppLevel` at the end of the edge. */ - node?: AppLevel | null; -} -export type AppLevelEdgeSelect = { - cursor?: boolean; - node?: { - select: AppLevelSelect; - }; -}; /** A `AppMembership` edge in the connection. */ export interface AppMembershipEdge { cursor?: string | null; @@ -4578,6 +4687,30 @@ export type OrgMembershipEdgeSelect = { select: OrgMembershipSelect; }; }; +/** A `Invite` edge in the connection. */ +export interface InviteEdge { + cursor?: string | null; + /** The `Invite` at the end of the edge. */ + node?: Invite | null; +} +export type InviteEdgeSelect = { + cursor?: boolean; + node?: { + select: InviteSelect; + }; +}; +/** A `AppLevel` edge in the connection. */ +export interface AppLevelEdge { + cursor?: string | null; + /** The `AppLevel` at the end of the edge. */ + node?: AppLevel | null; +} +export type AppLevelEdgeSelect = { + cursor?: boolean; + node?: { + select: AppLevelSelect; + }; +}; /** A `OrgInvite` edge in the connection. */ export interface OrgInviteEdge { cursor?: string | null; diff --git a/sdk/constructive-cli/src/admin/orm/models/appAchievement.ts b/sdk/constructive-cli/src/admin/orm/models/appAchievement.ts index c26bd04df..b6b13c6ca 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appAchievement.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appAchievement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAchievementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appAdminGrant.ts b/sdk/constructive-cli/src/admin/orm/models/appAdminGrant.ts index 994dcd67d..e109a5074 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appAdminGrant.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appGrant.ts b/sdk/constructive-cli/src/admin/orm/models/appGrant.ts index df4f3ac72..d6c381d48 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appGrant.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appLevel.ts b/sdk/constructive-cli/src/admin/orm/models/appLevel.ts index 16a46df57..69e6100e0 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appLevel.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appLevel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appLevelRequirement.ts b/sdk/constructive-cli/src/admin/orm/models/appLevelRequirement.ts index a67824ec2..085346af5 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appLevelRequirement.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appLevelRequirement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelRequirementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appLimit.ts b/sdk/constructive-cli/src/admin/orm/models/appLimit.ts index 6671f9d37..667cf913e 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appLimit.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appLimitDefault.ts b/sdk/constructive-cli/src/admin/orm/models/appLimitDefault.ts index 8d926da0a..b2ca4d794 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appLimitDefault.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appMembership.ts b/sdk/constructive-cli/src/admin/orm/models/appMembership.ts index 2631ec415..fe22a66c1 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appMembership.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appMembershipDefault.ts b/sdk/constructive-cli/src/admin/orm/models/appMembershipDefault.ts index ba0c3ce53..333231b61 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appMembershipDefault.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appOwnerGrant.ts b/sdk/constructive-cli/src/admin/orm/models/appOwnerGrant.ts index a18dd21c4..0c2e436d0 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appOwnerGrant.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appPermission.ts b/sdk/constructive-cli/src/admin/orm/models/appPermission.ts index ab24d7bfc..c1740e8cc 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appPermission.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appPermissionDefault.ts b/sdk/constructive-cli/src/admin/orm/models/appPermissionDefault.ts index 3951ef4bb..926a76f55 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appPermissionDefault.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/appStep.ts b/sdk/constructive-cli/src/admin/orm/models/appStep.ts index 7c4ab983c..a6895d488 100644 --- a/sdk/constructive-cli/src/admin/orm/models/appStep.ts +++ b/sdk/constructive-cli/src/admin/orm/models/appStep.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppStepModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/claimedInvite.ts b/sdk/constructive-cli/src/admin/orm/models/claimedInvite.ts index 9a679a488..2acbbcddc 100644 --- a/sdk/constructive-cli/src/admin/orm/models/claimedInvite.ts +++ b/sdk/constructive-cli/src/admin/orm/models/claimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/index.ts b/sdk/constructive-cli/src/admin/orm/models/index.ts index f20a6d0a4..e04c1406f 100644 --- a/sdk/constructive-cli/src/admin/orm/models/index.ts +++ b/sdk/constructive-cli/src/admin/orm/models/index.ts @@ -17,8 +17,8 @@ export { OrgAdminGrantModel } from './orgAdminGrant'; export { OrgOwnerGrantModel } from './orgOwnerGrant'; export { AppLimitDefaultModel } from './appLimitDefault'; export { OrgLimitDefaultModel } from './orgLimitDefault'; -export { MembershipTypeModel } from './membershipType'; export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant'; +export { MembershipTypeModel } from './membershipType'; export { AppLimitModel } from './appLimit'; export { AppAchievementModel } from './appAchievement'; export { AppStepModel } from './appStep'; @@ -30,8 +30,8 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite'; export { OrgGrantModel } from './orgGrant'; export { OrgChartEdgeModel } from './orgChartEdge'; export { OrgMembershipDefaultModel } from './orgMembershipDefault'; -export { InviteModel } from './invite'; -export { AppLevelModel } from './appLevel'; export { AppMembershipModel } from './appMembership'; export { OrgMembershipModel } from './orgMembership'; +export { InviteModel } from './invite'; +export { AppLevelModel } from './appLevel'; export { OrgInviteModel } from './orgInvite'; diff --git a/sdk/constructive-cli/src/admin/orm/models/invite.ts b/sdk/constructive-cli/src/admin/orm/models/invite.ts index ffacfa690..7cb652492 100644 --- a/sdk/constructive-cli/src/admin/orm/models/invite.ts +++ b/sdk/constructive-cli/src/admin/orm/models/invite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/membershipType.ts b/sdk/constructive-cli/src/admin/orm/models/membershipType.ts index c8f385b4e..9bb48d29b 100644 --- a/sdk/constructive-cli/src/admin/orm/models/membershipType.ts +++ b/sdk/constructive-cli/src/admin/orm/models/membershipType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgAdminGrant.ts b/sdk/constructive-cli/src/admin/orm/models/orgAdminGrant.ts index ad34ec08c..5547eb6b9 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgAdminGrant.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgChartEdge.ts b/sdk/constructive-cli/src/admin/orm/models/orgChartEdge.ts index 3ff845429..00b00dfc8 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgChartEdge.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgChartEdge.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgChartEdgeGrant.ts b/sdk/constructive-cli/src/admin/orm/models/orgChartEdgeGrant.ts index 40dba3391..be92222db 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgChartEdgeGrant.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgChartEdgeGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgClaimedInvite.ts b/sdk/constructive-cli/src/admin/orm/models/orgClaimedInvite.ts index 7b1a668ce..3f4277848 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgClaimedInvite.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgClaimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgGetManagersRecord.ts b/sdk/constructive-cli/src/admin/orm/models/orgGetManagersRecord.ts index 9a0cefa8a..e8f5a29ec 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgGetManagersRecord.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgGetManagersRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetManagersRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgGetSubordinatesRecord.ts b/sdk/constructive-cli/src/admin/orm/models/orgGetSubordinatesRecord.ts index 5eeec50ca..be9fa6a62 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgGetSubordinatesRecord.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgGetSubordinatesRecord.ts @@ -37,7 +37,12 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetSubordinatesRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs< + S, + OrgGetSubordinatesRecordFilter, + never, + OrgGetSubordinatesRecordsOrderBy + > & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgGrant.ts b/sdk/constructive-cli/src/admin/orm/models/orgGrant.ts index 51ffe25e0..7142f7a22 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgGrant.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgInvite.ts b/sdk/constructive-cli/src/admin/orm/models/orgInvite.ts index 351f866ab..abf2f2e35 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgInvite.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgLimit.ts b/sdk/constructive-cli/src/admin/orm/models/orgLimit.ts index 787dd2e18..4fa9be97a 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgLimit.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgLimitDefault.ts b/sdk/constructive-cli/src/admin/orm/models/orgLimitDefault.ts index b66e270b4..d0e0a1a77 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgLimitDefault.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgMember.ts b/sdk/constructive-cli/src/admin/orm/models/orgMember.ts index 9045b10e0..4e8e3b6e5 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgMember.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgMember.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMemberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgMembership.ts b/sdk/constructive-cli/src/admin/orm/models/orgMembership.ts index 7c5133b07..9ae89014b 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgMembership.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgMembershipDefault.ts b/sdk/constructive-cli/src/admin/orm/models/orgMembershipDefault.ts index c4863e35b..c4afaaad7 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgMembershipDefault.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgOwnerGrant.ts b/sdk/constructive-cli/src/admin/orm/models/orgOwnerGrant.ts index 57596aecd..d62bd3ab3 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgOwnerGrant.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgPermission.ts b/sdk/constructive-cli/src/admin/orm/models/orgPermission.ts index 9a2c0461f..6c4cbf204 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgPermission.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/models/orgPermissionDefault.ts b/sdk/constructive-cli/src/admin/orm/models/orgPermissionDefault.ts index d6c204515..92af6e0db 100644 --- a/sdk/constructive-cli/src/admin/orm/models/orgPermissionDefault.ts +++ b/sdk/constructive-cli/src/admin/orm/models/orgPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/admin/orm/query-builder.ts b/sdk/constructive-cli/src/admin/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-cli/src/admin/orm/query-builder.ts +++ b/sdk/constructive-cli/src/admin/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/sdk/constructive-cli/src/auth/cli/README.md b/sdk/constructive-cli/src/auth/cli/README.md index f52370249..c8d38e366 100644 --- a/sdk/constructive-cli/src/auth/cli/README.md +++ b/sdk/constructive-cli/src/auth/cli/README.md @@ -25,8 +25,9 @@ csdk auth set-token |---------|-------------| | `context` | Manage API contexts (endpoints) | | `auth` | Manage authentication tokens | -| `role-type` | roleType CRUD operations | +| `config` | Manage config key-value store (per-context) | | `crypto-address` | cryptoAddress CRUD operations | +| `role-type` | roleType CRUD operations | | `phone-number` | phoneNumber CRUD operations | | `connected-account` | connectedAccount CRUD operations | | `audit-log` | auditLog CRUD operations | @@ -79,28 +80,20 @@ Manage authentication tokens per context. | `status` | Show auth status across all contexts | | `logout` | Remove credentials for current context | -## Table Commands - -### `role-type` +### `config` -CRUD operations for RoleType records. +Manage per-context key-value configuration variables. | Subcommand | Description | |------------|-------------| -| `list` | List all roleType records | -| `get` | Get a roleType by id | -| `create` | Create a new roleType | -| `update` | Update an existing roleType | -| `delete` | Delete a roleType | - -**Fields:** +| `get ` | Get a config value | +| `set ` | Set a config value | +| `list` | List all config values | +| `delete ` | Delete a config value | -| Field | Type | -|-------|------| -| `id` | Int | -| `name` | String | +Variables are scoped to the active context and stored at `~/.csdk/config/`. -**Required create fields:** `name` +## Table Commands ### `crypto-address` @@ -125,10 +118,33 @@ CRUD operations for CryptoAddress records. | `isPrimary` | Boolean | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `addressTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `address` +**Required create fields:** `address`, `addressTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` +### `role-type` + +CRUD operations for RoleType records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all roleType records | +| `get` | Get a roleType by id | +| `create` | Create a new roleType | +| `update` | Update an existing roleType | +| `delete` | Delete a roleType | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | Int | +| `name` | String | + +**Required create fields:** `name` + ### `phone-number` CRUD operations for PhoneNumber records. @@ -153,8 +169,11 @@ CRUD operations for PhoneNumber records. | `isPrimary` | Boolean | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `ccTrgmSimilarity` | Float | +| `numberTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `cc`, `number` +**Required create fields:** `cc`, `number`, `ccTrgmSimilarity`, `numberTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` ### `connected-account` @@ -181,8 +200,11 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `serviceTrgmSimilarity` | Float | +| `identifierTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `service`, `identifier`, `details` +**Required create fields:** `service`, `identifier`, `details`, `serviceTrgmSimilarity`, `identifierTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `ownerId`, `isVerified` ### `audit-log` @@ -209,8 +231,10 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | | `success` | Boolean | | `createdAt` | Datetime | +| `userAgentTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `event`, `success` +**Required create fields:** `event`, `success`, `userAgentTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `actorId`, `origin`, `userAgent`, `ipAddress` ### `email` @@ -265,8 +289,10 @@ CRUD operations for User records. | `createdAt` | Datetime | | `updatedAt` | Datetime | | `searchTsvRank` | Float | +| `displayNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `searchTsvRank` +**Required create fields:** `searchTsvRank`, `displayNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `username`, `displayName`, `profilePicture`, `searchTsv`, `type` ## Custom Operations diff --git a/sdk/constructive-cli/src/auth/cli/commands.ts b/sdk/constructive-cli/src/auth/cli/commands.ts index c00935fda..9db1cc8fe 100644 --- a/sdk/constructive-cli/src/auth/cli/commands.ts +++ b/sdk/constructive-cli/src/auth/cli/commands.ts @@ -6,8 +6,8 @@ import { CLIOptions, Inquirerer, extractFirst } from 'inquirerer'; import contextCmd from './commands/context'; import authCmd from './commands/auth'; -import roleTypeCmd from './commands/role-type'; import cryptoAddressCmd from './commands/crypto-address'; +import roleTypeCmd from './commands/role-type'; import phoneNumberCmd from './commands/phone-number'; import connectedAccountCmd from './commands/connected-account'; import auditLogCmd from './commands/audit-log'; @@ -43,8 +43,8 @@ const createCommandMap: () => Record< > = () => ({ context: contextCmd, auth: authCmd, - 'role-type': roleTypeCmd, 'crypto-address': cryptoAddressCmd, + 'role-type': roleTypeCmd, 'phone-number': phoneNumberCmd, 'connected-account': connectedAccountCmd, 'audit-log': auditLogCmd, @@ -72,7 +72,7 @@ const createCommandMap: () => Record< 'verify-totp': verifyTotpCmd, }); const usage = - '\ncsdk \n\nCommands:\n context Manage API contexts\n auth Manage authentication\n role-type roleType CRUD operations\n crypto-address cryptoAddress CRUD operations\n phone-number phoneNumber CRUD operations\n connected-account connectedAccount CRUD operations\n audit-log auditLog CRUD operations\n email email CRUD operations\n user user CRUD operations\n current-ip-address currentIpAddress\n current-user-agent currentUserAgent\n current-user-id currentUserId\n current-user currentUser\n sign-out signOut\n send-account-deletion-email sendAccountDeletionEmail\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n reset-password resetPassword\n sign-in-one-time-token signInOneTimeToken\n sign-in signIn\n sign-up signUp\n one-time-token oneTimeToken\n extend-token-expires extendTokenExpires\n forgot-password forgotPassword\n send-verification-email sendVerificationEmail\n verify-password verifyPassword\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n'; + '\ncsdk \n\nCommands:\n context Manage API contexts\n auth Manage authentication\n crypto-address cryptoAddress CRUD operations\n role-type roleType CRUD operations\n phone-number phoneNumber CRUD operations\n connected-account connectedAccount CRUD operations\n audit-log auditLog CRUD operations\n email email CRUD operations\n user user CRUD operations\n current-ip-address currentIpAddress\n current-user-agent currentUserAgent\n current-user-id currentUserId\n current-user currentUser\n sign-out signOut\n send-account-deletion-email sendAccountDeletionEmail\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n reset-password resetPassword\n sign-in-one-time-token signInOneTimeToken\n sign-in signIn\n sign-up signUp\n one-time-token oneTimeToken\n extend-token-expires extendTokenExpires\n forgot-password forgotPassword\n send-verification-email sendVerificationEmail\n verify-password verifyPassword\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n'; export const commands = async ( argv: Partial>, prompter: Inquirerer, diff --git a/sdk/constructive-cli/src/auth/cli/commands/audit-log.ts b/sdk/constructive-cli/src/auth/cli/commands/audit-log.ts index d4e2566ef..a90edd0c4 100644 --- a/sdk/constructive-cli/src/auth/cli/commands/audit-log.ts +++ b/sdk/constructive-cli/src/auth/cli/commands/audit-log.ts @@ -17,6 +17,8 @@ const fieldSchema: FieldSchema = { ipAddress: 'string', success: 'boolean', createdAt: 'string', + userAgentTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\naudit-log \n\nCommands:\n list List all auditLog records\n get Get a auditLog by ID\n create Create a new auditLog\n update Update an existing auditLog\n delete Delete a auditLog\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/auth/cli/commands/connected-account.ts b/sdk/constructive-cli/src/auth/cli/commands/connected-account.ts index 373ce17f3..536be726e 100644 --- a/sdk/constructive-cli/src/auth/cli/commands/connected-account.ts +++ b/sdk/constructive-cli/src/auth/cli/commands/connected-account.ts @@ -17,6 +17,9 @@ const fieldSchema: FieldSchema = { isVerified: 'boolean', createdAt: 'string', updatedAt: 'string', + serviceTrgmSimilarity: 'float', + identifierTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nconnected-account \n\nCommands:\n list List all connectedAccount records\n get Get a connectedAccount by ID\n create Create a new connectedAccount\n update Update an existing connectedAccount\n delete Delete a connectedAccount\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/auth/cli/commands/crypto-address.ts b/sdk/constructive-cli/src/auth/cli/commands/crypto-address.ts index a4d171639..3f9110c83 100644 --- a/sdk/constructive-cli/src/auth/cli/commands/crypto-address.ts +++ b/sdk/constructive-cli/src/auth/cli/commands/crypto-address.ts @@ -16,6 +16,8 @@ const fieldSchema: FieldSchema = { isPrimary: 'boolean', createdAt: 'string', updatedAt: 'string', + addressTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ncrypto-address \n\nCommands:\n list List all cryptoAddress records\n get Get a cryptoAddress by ID\n create Create a new cryptoAddress\n update Update an existing cryptoAddress\n delete Delete a cryptoAddress\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/auth/cli/commands/phone-number.ts b/sdk/constructive-cli/src/auth/cli/commands/phone-number.ts index 80e0b5a76..e03d15b3e 100644 --- a/sdk/constructive-cli/src/auth/cli/commands/phone-number.ts +++ b/sdk/constructive-cli/src/auth/cli/commands/phone-number.ts @@ -17,6 +17,9 @@ const fieldSchema: FieldSchema = { isPrimary: 'boolean', createdAt: 'string', updatedAt: 'string', + ccTrgmSimilarity: 'float', + numberTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nphone-number \n\nCommands:\n list List all phoneNumber records\n get Get a phoneNumber by ID\n create Create a new phoneNumber\n update Update an existing phoneNumber\n delete Delete a phoneNumber\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/auth/cli/commands/user.ts b/sdk/constructive-cli/src/auth/cli/commands/user.ts index c43f34f98..f3dd19c53 100644 --- a/sdk/constructive-cli/src/auth/cli/commands/user.ts +++ b/sdk/constructive-cli/src/auth/cli/commands/user.ts @@ -18,6 +18,8 @@ const fieldSchema: FieldSchema = { createdAt: 'string', updatedAt: 'string', searchTsvRank: 'float', + displayNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nuser \n\nCommands:\n list List all user records\n get Get a user by ID\n create Create a new user\n update Update an existing user\n delete Delete a user\n\n --help, -h Show this help message\n'; @@ -79,7 +81,6 @@ async function handleList(_argv: Partial>, _prompter: In type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); @@ -115,7 +116,6 @@ async function handleGet(argv: Partial>, prompter: Inqui type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); @@ -188,7 +188,6 @@ async function handleCreate(argv: Partial>, prompter: In type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); @@ -270,7 +269,6 @@ async function handleUpdate(argv: Partial>, prompter: In type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); diff --git a/sdk/constructive-cli/src/auth/orm/README.md b/sdk/constructive-cli/src/auth/orm/README.md index 19b4a6b78..a9eb59719 100644 --- a/sdk/constructive-cli/src/auth/orm/README.md +++ b/sdk/constructive-cli/src/auth/orm/README.md @@ -21,8 +21,8 @@ const db = createClient({ | Model | Operations | |-------|------------| -| `roleType` | findMany, findOne, create, update, delete | | `cryptoAddress` | findMany, findOne, create, update, delete | +| `roleType` | findMany, findOne, create, update, delete | | `phoneNumber` | findMany, findOne, create, update, delete | | `connectedAccount` | findMany, findOne, create, update, delete | | `auditLog` | findMany, findOne, create, update, delete | @@ -31,69 +31,71 @@ const db = createClient({ ## Table Operations -### `db.roleType` +### `db.cryptoAddress` -CRUD operations for RoleType records. +CRUD operations for CryptoAddress records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `address` | String | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | +| `createdAt` | Datetime | No | +| `updatedAt` | Datetime | No | +| `addressTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all roleType records -const items = await db.roleType.findMany({ select: { id: true, name: true } }).execute(); +// List all cryptoAddress records +const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.roleType.findOne({ id: '', select: { id: true, name: true } }).execute(); +const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.roleType.create({ data: { name: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.roleType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.roleType.delete({ where: { id: '' } }).execute(); +const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); ``` -### `db.cryptoAddress` +### `db.roleType` -CRUD operations for CryptoAddress records. +CRUD operations for RoleType records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `address` | String | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | -| `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | +| `id` | Int | No | +| `name` | String | Yes | **Operations:** ```typescript -// List all cryptoAddress records -const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all roleType records +const items = await db.roleType.findMany({ select: { id: true, name: true } }).execute(); // Get one by id -const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.roleType.findOne({ id: '', select: { id: true, name: true } }).execute(); // Create -const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.roleType.create({ data: { name: '' }, select: { id: true } }).execute(); // Update -const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.roleType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +const deleted = await db.roleType.delete({ where: { id: '' } }).execute(); ``` ### `db.phoneNumber` @@ -112,18 +114,21 @@ CRUD operations for PhoneNumber records. | `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `ccTrgmSimilarity` | Float | Yes | +| `numberTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all phoneNumber records -const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -148,18 +153,21 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `serviceTrgmSimilarity` | Float | Yes | +| `identifierTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccount records -const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -184,18 +192,20 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | Yes | | `success` | Boolean | Yes | | `createdAt` | Datetime | No | +| `userAgentTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all auditLog records -const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute(); +const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute(); @@ -256,18 +266,20 @@ CRUD operations for User records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `searchTsvRank` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all user records -const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute(); +const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-cli/src/auth/orm/index.ts b/sdk/constructive-cli/src/auth/orm/index.ts index e2f7a2c1a..89be8162a 100644 --- a/sdk/constructive-cli/src/auth/orm/index.ts +++ b/sdk/constructive-cli/src/auth/orm/index.ts @@ -5,8 +5,8 @@ */ import { OrmClient } from './client'; import type { OrmClientConfig } from './client'; -import { RoleTypeModel } from './models/roleType'; import { CryptoAddressModel } from './models/cryptoAddress'; +import { RoleTypeModel } from './models/roleType'; import { PhoneNumberModel } from './models/phoneNumber'; import { ConnectedAccountModel } from './models/connectedAccount'; import { AuditLogModel } from './models/auditLog'; @@ -48,8 +48,8 @@ export { createMutationOperations } from './mutation'; export function createClient(config: OrmClientConfig) { const client = new OrmClient(config); return { - roleType: new RoleTypeModel(client), cryptoAddress: new CryptoAddressModel(client), + roleType: new RoleTypeModel(client), phoneNumber: new PhoneNumberModel(client), connectedAccount: new ConnectedAccountModel(client), auditLog: new AuditLogModel(client), diff --git a/sdk/constructive-cli/src/auth/orm/input-types.ts b/sdk/constructive-cli/src/auth/orm/input-types.ts index 94ef7c3b0..0f48b534f 100644 --- a/sdk/constructive-cli/src/auth/orm/input-types.ts +++ b/sdk/constructive-cli/src/auth/orm/input-types.ts @@ -234,12 +234,8 @@ export interface UUIDListFilter { export type ConstructiveInternalTypeEmail = unknown; export type ConstructiveInternalTypeImage = unknown; export type ConstructiveInternalTypeOrigin = unknown; -// ============ Entity Types ============ -export interface RoleType { - id: number; - name?: string | null; -} /** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ +// ============ Entity Types ============ export interface CryptoAddress { id: string; ownerId?: string | null; @@ -251,6 +247,14 @@ export interface CryptoAddress { isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `address`. Returns null when no trgm search filter is active. */ + addressTrgmSimilarity?: number | null; + /** 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?: number | null; +} +export interface RoleType { + id: number; + name?: string | null; } /** User phone numbers with country code, verification, and primary-number management */ export interface PhoneNumber { @@ -266,6 +270,12 @@ export interface PhoneNumber { isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. */ + ccTrgmSimilarity?: number | null; + /** TRGM similarity when searching `number`. Returns null when no trgm search filter is active. */ + numberTrgmSimilarity?: number | null; + /** 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?: number | null; } /** OAuth and social login connections linking external service accounts to users */ export interface ConnectedAccount { @@ -281,6 +291,12 @@ export interface ConnectedAccount { isVerified?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `service`. Returns null when no trgm search filter is active. */ + serviceTrgmSimilarity?: number | null; + /** TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. */ + identifierTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) */ export interface AuditLog { @@ -299,6 +315,10 @@ export interface AuditLog { success?: boolean | null; /** Timestamp when the audit event was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. */ + userAgentTrgmSimilarity?: number | null; + /** 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?: number | null; } /** User email addresses with verification and primary-email management */ export interface Email { @@ -322,8 +342,12 @@ export interface User { type?: number | null; createdAt?: string | null; updatedAt?: string | null; - /** Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. */ + /** TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. */ searchTsvRank?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -338,10 +362,10 @@ export interface PageInfo { endCursor?: string | null; } // ============ Entity Relation Types ============ -export interface RoleTypeRelations {} export interface CryptoAddressRelations { owner?: User | null; } +export interface RoleTypeRelations {} export interface PhoneNumberRelations { owner?: User | null; } @@ -358,18 +382,14 @@ export interface UserRelations { roleType?: RoleType | null; } // ============ Entity Types With Relations ============ -export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; +export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; export type AuditLogWithRelations = AuditLog & AuditLogRelations; export type EmailWithRelations = Email & EmailRelations; export type UserWithRelations = User & UserRelations; // ============ Entity Select Types ============ -export type RoleTypeSelect = { - id?: boolean; - name?: boolean; -}; export type CryptoAddressSelect = { id?: boolean; ownerId?: boolean; @@ -378,10 +398,16 @@ export type CryptoAddressSelect = { isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + addressTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; }; +export type RoleTypeSelect = { + id?: boolean; + name?: boolean; +}; export type PhoneNumberSelect = { id?: boolean; ownerId?: boolean; @@ -391,6 +417,9 @@ export type PhoneNumberSelect = { isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + ccTrgmSimilarity?: boolean; + numberTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -404,6 +433,9 @@ export type ConnectedAccountSelect = { isVerified?: boolean; createdAt?: boolean; updatedAt?: boolean; + serviceTrgmSimilarity?: boolean; + identifierTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -417,6 +449,8 @@ export type AuditLogSelect = { ipAddress?: boolean; success?: boolean; createdAt?: boolean; + userAgentTrgmSimilarity?: boolean; + searchScore?: boolean; actor?: { select: UserSelect; }; @@ -443,18 +477,13 @@ export type UserSelect = { createdAt?: boolean; updatedAt?: boolean; searchTsvRank?: boolean; + displayNameTrgmSimilarity?: boolean; + searchScore?: boolean; roleType?: { select: RoleTypeSelect; }; }; // ============ Table Filter Types ============ -export interface RoleTypeFilter { - id?: IntFilter; - name?: StringFilter; - and?: RoleTypeFilter[]; - or?: RoleTypeFilter[]; - not?: RoleTypeFilter; -} export interface CryptoAddressFilter { id?: UUIDFilter; ownerId?: UUIDFilter; @@ -463,10 +492,19 @@ export interface CryptoAddressFilter { isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + addressTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAddressFilter[]; or?: CryptoAddressFilter[]; not?: CryptoAddressFilter; } +export interface RoleTypeFilter { + id?: IntFilter; + name?: StringFilter; + and?: RoleTypeFilter[]; + or?: RoleTypeFilter[]; + not?: RoleTypeFilter; +} export interface PhoneNumberFilter { id?: UUIDFilter; ownerId?: UUIDFilter; @@ -476,6 +514,9 @@ export interface PhoneNumberFilter { isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + ccTrgmSimilarity?: FloatFilter; + numberTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PhoneNumberFilter[]; or?: PhoneNumberFilter[]; not?: PhoneNumberFilter; @@ -489,6 +530,9 @@ export interface ConnectedAccountFilter { isVerified?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + serviceTrgmSimilarity?: FloatFilter; + identifierTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountFilter[]; or?: ConnectedAccountFilter[]; not?: ConnectedAccountFilter; @@ -502,6 +546,8 @@ export interface AuditLogFilter { ipAddress?: InternetAddressFilter; success?: BooleanFilter; createdAt?: DatetimeFilter; + userAgentTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AuditLogFilter[]; or?: AuditLogFilter[]; not?: AuditLogFilter; @@ -528,19 +574,13 @@ export interface UserFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; searchTsvRank?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UserFilter[]; or?: UserFilter[]; not?: UserFilter; } // ============ OrderBy Types ============ -export type RoleTypeOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC'; export type CryptoAddressOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -558,7 +598,19 @@ export type CryptoAddressOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'ADDRESS_TRGM_SIMILARITY_ASC' + | 'ADDRESS_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +export type RoleTypeOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC'; export type PhoneNumberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -578,7 +630,13 @@ export type PhoneNumberOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ConnectedAccountOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -598,7 +656,13 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type AuditLogOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -618,7 +682,11 @@ export type AuditLogOrderBy = | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EmailOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -658,26 +726,12 @@ export type UserOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ -export interface CreateRoleTypeInput { - clientMutationId?: string; - roleType: { - name: string; - }; -} -export interface RoleTypePatch { - name?: string | null; -} -export interface UpdateRoleTypeInput { - clientMutationId?: string; - id: number; - roleTypePatch: RoleTypePatch; -} -export interface DeleteRoleTypeInput { - clientMutationId?: string; - id: number; -} export interface CreateCryptoAddressInput { clientMutationId?: string; cryptoAddress: { @@ -692,6 +746,8 @@ export interface CryptoAddressPatch { address?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + addressTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAddressInput { clientMutationId?: string; @@ -702,6 +758,24 @@ export interface DeleteCryptoAddressInput { clientMutationId?: string; id: string; } +export interface CreateRoleTypeInput { + clientMutationId?: string; + roleType: { + name: string; + }; +} +export interface RoleTypePatch { + name?: string | null; +} +export interface UpdateRoleTypeInput { + clientMutationId?: string; + id: number; + roleTypePatch: RoleTypePatch; +} +export interface DeleteRoleTypeInput { + clientMutationId?: string; + id: number; +} export interface CreatePhoneNumberInput { clientMutationId?: string; phoneNumber: { @@ -718,6 +792,9 @@ export interface PhoneNumberPatch { number?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + ccTrgmSimilarity?: number | null; + numberTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePhoneNumberInput { clientMutationId?: string; @@ -744,6 +821,9 @@ export interface ConnectedAccountPatch { identifier?: string | null; details?: Record | null; isVerified?: boolean | null; + serviceTrgmSimilarity?: number | null; + identifierTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountInput { clientMutationId?: string; @@ -772,6 +852,8 @@ export interface AuditLogPatch { userAgent?: string | null; ipAddress?: string | null; success?: boolean | null; + userAgentTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAuditLogInput { clientMutationId?: string; @@ -823,6 +905,8 @@ export interface UserPatch { searchTsv?: string | null; type?: number | null; searchTsvRank?: number | null; + displayNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUserInput { clientMutationId?: string; @@ -1069,51 +1153,6 @@ export type VerifyTotpPayloadSelect = { select: SessionSelect; }; }; -export interface CreateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was created by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type CreateRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; -export interface UpdateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was updated by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type UpdateRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; -export interface DeleteRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was deleted by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type DeleteRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; export interface CreateCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was created by this mutation. */ @@ -1159,6 +1198,51 @@ export type DeleteCryptoAddressPayloadSelect = { select: CryptoAddressEdgeSelect; }; }; +export interface CreateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was created by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type CreateRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; +export interface UpdateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was updated by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type UpdateRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; +export interface DeleteRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was deleted by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type DeleteRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; export interface CreatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was created by this mutation. */ @@ -1391,6 +1475,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInOneTimeTokenRecordSelect = { id?: boolean; @@ -1399,6 +1487,8 @@ export type SignInOneTimeTokenRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignInRecord { id?: string | null; @@ -1407,6 +1497,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInRecordSelect = { id?: boolean; @@ -1415,6 +1509,8 @@ export type SignInRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignUpRecord { id?: string | null; @@ -1423,6 +1519,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignUpRecordSelect = { id?: boolean; @@ -1431,6 +1531,8 @@ export type SignUpRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ExtendTokenExpiresRecord { id?: string | null; @@ -1469,6 +1571,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SessionSelect = { id?: boolean; @@ -1485,18 +1595,10 @@ export type SessionSelect = { csrfSecret?: boolean; createdAt?: boolean; updatedAt?: boolean; -}; -/** A `RoleType` edge in the connection. */ -export interface RoleTypeEdge { - cursor?: string | null; - /** The `RoleType` at the end of the edge. */ - node?: RoleType | null; -} -export type RoleTypeEdgeSelect = { - cursor?: boolean; - node?: { - select: RoleTypeSelect; - }; + uagentTrgmSimilarity?: boolean; + fingerprintModeTrgmSimilarity?: boolean; + csrfSecretTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** A `CryptoAddress` edge in the connection. */ export interface CryptoAddressEdge { @@ -1510,6 +1612,18 @@ export type CryptoAddressEdgeSelect = { select: CryptoAddressSelect; }; }; +/** A `RoleType` edge in the connection. */ +export interface RoleTypeEdge { + cursor?: string | null; + /** The `RoleType` at the end of the edge. */ + node?: RoleType | null; +} +export type RoleTypeEdgeSelect = { + cursor?: boolean; + node?: { + select: RoleTypeSelect; + }; +}; /** A `PhoneNumber` edge in the connection. */ export interface PhoneNumberEdge { cursor?: string | null; diff --git a/sdk/constructive-cli/src/auth/orm/models/auditLog.ts b/sdk/constructive-cli/src/auth/orm/models/auditLog.ts index 3d6aacb4e..6923d2902 100644 --- a/sdk/constructive-cli/src/auth/orm/models/auditLog.ts +++ b/sdk/constructive-cli/src/auth/orm/models/auditLog.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AuditLogModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/auth/orm/models/connectedAccount.ts b/sdk/constructive-cli/src/auth/orm/models/connectedAccount.ts index 0f2523553..2c68e0072 100644 --- a/sdk/constructive-cli/src/auth/orm/models/connectedAccount.ts +++ b/sdk/constructive-cli/src/auth/orm/models/connectedAccount.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/auth/orm/models/cryptoAddress.ts b/sdk/constructive-cli/src/auth/orm/models/cryptoAddress.ts index 8d0c9b387..612da9a59 100644 --- a/sdk/constructive-cli/src/auth/orm/models/cryptoAddress.ts +++ b/sdk/constructive-cli/src/auth/orm/models/cryptoAddress.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/auth/orm/models/email.ts b/sdk/constructive-cli/src/auth/orm/models/email.ts index d03c2180b..c73b51b9d 100644 --- a/sdk/constructive-cli/src/auth/orm/models/email.ts +++ b/sdk/constructive-cli/src/auth/orm/models/email.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/auth/orm/models/index.ts b/sdk/constructive-cli/src/auth/orm/models/index.ts index 67ded861a..5ef4dde11 100644 --- a/sdk/constructive-cli/src/auth/orm/models/index.ts +++ b/sdk/constructive-cli/src/auth/orm/models/index.ts @@ -3,8 +3,8 @@ * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ -export { RoleTypeModel } from './roleType'; export { CryptoAddressModel } from './cryptoAddress'; +export { RoleTypeModel } from './roleType'; export { PhoneNumberModel } from './phoneNumber'; export { ConnectedAccountModel } from './connectedAccount'; export { AuditLogModel } from './auditLog'; diff --git a/sdk/constructive-cli/src/auth/orm/models/phoneNumber.ts b/sdk/constructive-cli/src/auth/orm/models/phoneNumber.ts index 8122dff00..8b59ca891 100644 --- a/sdk/constructive-cli/src/auth/orm/models/phoneNumber.ts +++ b/sdk/constructive-cli/src/auth/orm/models/phoneNumber.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/auth/orm/models/roleType.ts b/sdk/constructive-cli/src/auth/orm/models/roleType.ts index dce555ddb..90a0b01dc 100644 --- a/sdk/constructive-cli/src/auth/orm/models/roleType.ts +++ b/sdk/constructive-cli/src/auth/orm/models/roleType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RoleTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/auth/orm/models/user.ts b/sdk/constructive-cli/src/auth/orm/models/user.ts index 7adeca16a..bc2dacdba 100644 --- a/sdk/constructive-cli/src/auth/orm/models/user.ts +++ b/sdk/constructive-cli/src/auth/orm/models/user.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/auth/orm/query-builder.ts b/sdk/constructive-cli/src/auth/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-cli/src/auth/orm/query-builder.ts +++ b/sdk/constructive-cli/src/auth/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/sdk/constructive-cli/src/objects/cli/README.md b/sdk/constructive-cli/src/objects/cli/README.md index 96810c452..8b747b2bb 100644 --- a/sdk/constructive-cli/src/objects/cli/README.md +++ b/sdk/constructive-cli/src/objects/cli/README.md @@ -25,6 +25,7 @@ csdk auth set-token |---------|-------------| | `context` | Manage API contexts (endpoints) | | `auth` | Manage authentication tokens | +| `config` | Manage config key-value store (per-context) | | `get-all-record` | getAllRecord CRUD operations | | `object` | object CRUD operations | | `ref` | ref CRUD operations | @@ -69,6 +70,19 @@ Manage authentication tokens per context. | `status` | Show auth status across all contexts | | `logout` | Remove credentials for current context | +### `config` + +Manage per-context key-value configuration variables. + +| Subcommand | Description | +|------------|-------------| +| `get ` | Get a config value | +| `set ` | Set a config value | +| `list` | List all config values | +| `delete ` | Delete a config value | + +Variables are scoped to the active context and stored at `~/.csdk/config/`. + ## Table Commands ### `get-all-record` @@ -141,8 +155,10 @@ CRUD operations for Ref records. | `databaseId` | UUID | | `storeId` | UUID | | `commitId` | UUID | +| `nameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name`, `databaseId`, `storeId` +**Required create fields:** `name`, `databaseId`, `storeId`, `nameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `commitId` ### `store` @@ -166,8 +182,10 @@ CRUD operations for Store records. | `databaseId` | UUID | | `hash` | UUID | | `createdAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name`, `databaseId` +**Required create fields:** `name`, `databaseId`, `nameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `hash` ### `commit` @@ -195,8 +213,10 @@ CRUD operations for Commit records. | `committerId` | UUID | | `treeId` | UUID | | `date` | Datetime | +| `messageTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `storeId` +**Required create fields:** `databaseId`, `storeId`, `messageTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `message`, `parentIds`, `authorId`, `committerId`, `treeId`, `date` ## Custom Operations diff --git a/sdk/constructive-cli/src/objects/cli/commands/commit.ts b/sdk/constructive-cli/src/objects/cli/commands/commit.ts index 41e83a4f2..905cf9fc1 100644 --- a/sdk/constructive-cli/src/objects/cli/commands/commit.ts +++ b/sdk/constructive-cli/src/objects/cli/commands/commit.ts @@ -18,6 +18,8 @@ const fieldSchema: FieldSchema = { committerId: 'uuid', treeId: 'uuid', date: 'string', + messageTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ncommit \n\nCommands:\n list List all commit records\n get Get a commit by ID\n create Create a new commit\n update Update an existing commit\n delete Delete a commit\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/objects/cli/commands/object.ts b/sdk/constructive-cli/src/objects/cli/commands/object.ts index 31d5c64aa..098b310d5 100644 --- a/sdk/constructive-cli/src/objects/cli/commands/object.ts +++ b/sdk/constructive-cli/src/objects/cli/commands/object.ts @@ -70,7 +70,6 @@ async function handleList(_argv: Partial>, _prompter: In const result = await client.object .findMany({ select: { - hashUuid: true, id: true, databaseId: true, kids: true, @@ -105,7 +104,6 @@ async function handleGet(argv: Partial>, prompter: Inqui .findOne({ id: answers.id as string, select: { - hashUuid: true, id: true, databaseId: true, kids: true, @@ -176,7 +174,6 @@ async function handleCreate(argv: Partial>, prompter: In frzn: cleanedData.frzn, }, select: { - hashUuid: true, id: true, databaseId: true, kids: true, @@ -256,7 +253,6 @@ async function handleUpdate(argv: Partial>, prompter: In frzn: cleanedData.frzn, }, select: { - hashUuid: true, id: true, databaseId: true, kids: true, diff --git a/sdk/constructive-cli/src/objects/cli/commands/ref.ts b/sdk/constructive-cli/src/objects/cli/commands/ref.ts index 7ad388281..1caaf0437 100644 --- a/sdk/constructive-cli/src/objects/cli/commands/ref.ts +++ b/sdk/constructive-cli/src/objects/cli/commands/ref.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { databaseId: 'uuid', storeId: 'uuid', commitId: 'uuid', + nameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nref \n\nCommands:\n list List all ref records\n get Get a ref by ID\n create Create a new ref\n update Update an existing ref\n delete Delete a ref\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/objects/cli/commands/store.ts b/sdk/constructive-cli/src/objects/cli/commands/store.ts index 2ca10cb6d..78086e121 100644 --- a/sdk/constructive-cli/src/objects/cli/commands/store.ts +++ b/sdk/constructive-cli/src/objects/cli/commands/store.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { databaseId: 'uuid', hash: 'uuid', createdAt: 'string', + nameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nstore \n\nCommands:\n list List all store records\n get Get a store by ID\n create Create a new store\n update Update an existing store\n delete Delete a store\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/objects/orm/README.md b/sdk/constructive-cli/src/objects/orm/README.md index fcdcb1d99..21100fb3f 100644 --- a/sdk/constructive-cli/src/objects/orm/README.md +++ b/sdk/constructive-cli/src/objects/orm/README.md @@ -108,18 +108,20 @@ CRUD operations for Ref records. | `databaseId` | UUID | Yes | | `storeId` | UUID | Yes | | `commitId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all ref records -const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute(); +const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -141,18 +143,20 @@ CRUD operations for Store records. | `databaseId` | UUID | Yes | | `hash` | UUID | Yes | | `createdAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all store records -const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -178,18 +182,20 @@ CRUD operations for Commit records. | `committerId` | UUID | Yes | | `treeId` | UUID | Yes | | `date` | Datetime | Yes | +| `messageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all commit records -const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute(); +const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-cli/src/objects/orm/input-types.ts b/sdk/constructive-cli/src/objects/orm/input-types.ts index ac3146648..89e77a3f8 100644 --- a/sdk/constructive-cli/src/objects/orm/input-types.ts +++ b/sdk/constructive-cli/src/objects/orm/input-types.ts @@ -254,6 +254,10 @@ export interface Ref { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A store represents an isolated object repository within a database. */ export interface Store { @@ -266,6 +270,10 @@ export interface Store { /** The current head tree_id for this store. */ hash?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A commit records changes to the repository. */ export interface Commit { @@ -285,6 +293,10 @@ export interface Commit { /** The root of the tree */ treeId?: string | null; date?: string | null; + /** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */ + messageTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -331,6 +343,8 @@ export type RefSelect = { databaseId?: boolean; storeId?: boolean; commitId?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type StoreSelect = { id?: boolean; @@ -338,6 +352,8 @@ export type StoreSelect = { databaseId?: boolean; hash?: boolean; createdAt?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type CommitSelect = { id?: boolean; @@ -349,6 +365,8 @@ export type CommitSelect = { committerId?: boolean; treeId?: boolean; date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; }; // ============ Table Filter Types ============ export interface GetAllRecordFilter { @@ -377,6 +395,8 @@ export interface RefFilter { databaseId?: UUIDFilter; storeId?: UUIDFilter; commitId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RefFilter[]; or?: RefFilter[]; not?: RefFilter; @@ -387,6 +407,8 @@ export interface StoreFilter { databaseId?: UUIDFilter; hash?: UUIDFilter; createdAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: StoreFilter[]; or?: StoreFilter[]; not?: StoreFilter; @@ -401,6 +423,8 @@ export interface CommitFilter { committerId?: UUIDFilter; treeId?: UUIDFilter; date?: DatetimeFilter; + messageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CommitFilter[]; or?: CommitFilter[]; not?: CommitFilter; @@ -447,7 +471,11 @@ export type RefOrderBy = | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' - | 'COMMIT_ID_DESC'; + | 'COMMIT_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type StoreOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -461,7 +489,11 @@ export type StoreOrderBy = | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type CommitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -483,7 +515,11 @@ export type CommitOrderBy = | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' - | 'DATE_DESC'; + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ export interface CreateGetAllRecordInput { clientMutationId?: string; @@ -546,6 +582,8 @@ export interface RefPatch { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRefInput { clientMutationId?: string; @@ -568,6 +606,8 @@ export interface StorePatch { name?: string | null; databaseId?: string | null; hash?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateStoreInput { clientMutationId?: string; @@ -600,6 +640,8 @@ export interface CommitPatch { committerId?: string | null; treeId?: string | null; date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCommitInput { clientMutationId?: string; diff --git a/sdk/constructive-cli/src/objects/orm/models/commit.ts b/sdk/constructive-cli/src/objects/orm/models/commit.ts index 257e233ae..ea9aa22d2 100644 --- a/sdk/constructive-cli/src/objects/orm/models/commit.ts +++ b/sdk/constructive-cli/src/objects/orm/models/commit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CommitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/objects/orm/models/getAllRecord.ts b/sdk/constructive-cli/src/objects/orm/models/getAllRecord.ts index 53873a0f3..94a06bdd9 100644 --- a/sdk/constructive-cli/src/objects/orm/models/getAllRecord.ts +++ b/sdk/constructive-cli/src/objects/orm/models/getAllRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class GetAllRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/objects/orm/models/object.ts b/sdk/constructive-cli/src/objects/orm/models/object.ts index 72f7b0da4..e6ffa470b 100644 --- a/sdk/constructive-cli/src/objects/orm/models/object.ts +++ b/sdk/constructive-cli/src/objects/orm/models/object.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ObjectModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/objects/orm/models/ref.ts b/sdk/constructive-cli/src/objects/orm/models/ref.ts index ec666a8e7..bbbefc91f 100644 --- a/sdk/constructive-cli/src/objects/orm/models/ref.ts +++ b/sdk/constructive-cli/src/objects/orm/models/ref.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RefModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/objects/orm/models/store.ts b/sdk/constructive-cli/src/objects/orm/models/store.ts index d6f5e0450..5481b44b9 100644 --- a/sdk/constructive-cli/src/objects/orm/models/store.ts +++ b/sdk/constructive-cli/src/objects/orm/models/store.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class StoreModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/objects/orm/query-builder.ts b/sdk/constructive-cli/src/objects/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-cli/src/objects/orm/query-builder.ts +++ b/sdk/constructive-cli/src/objects/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/sdk/constructive-cli/src/public/README.md b/sdk/constructive-cli/src/public/README.md index fc05bc60b..9f9e1e235 100644 --- a/sdk/constructive-cli/src/public/README.md +++ b/sdk/constructive-cli/src/public/README.md @@ -8,7 +8,7 @@ ## Overview -- **Tables:** 104 +- **Tables:** 103 - **Custom queries:** 19 - **Custom mutations:** 31 diff --git a/sdk/constructive-cli/src/public/cli/README.md b/sdk/constructive-cli/src/public/cli/README.md index afa7a1b14..2c205b056 100644 --- a/sdk/constructive-cli/src/public/cli/README.md +++ b/sdk/constructive-cli/src/public/cli/README.md @@ -25,6 +25,7 @@ csdk auth set-token |---------|-------------| | `context` | Manage API contexts (endpoints) | | `auth` | Manage authentication tokens | +| `config` | Manage config key-value store (per-context) | | `org-get-managers-record` | orgGetManagersRecord CRUD operations | | `org-get-subordinates-record` | orgGetSubordinatesRecord CRUD operations | | `get-all-record` | getAllRecord CRUD operations | @@ -49,7 +50,6 @@ csdk auth set-token | `view-table` | viewTable CRUD operations | | `view-grant` | viewGrant CRUD operations | | `view-rule` | viewRule CRUD operations | -| `table-module` | tableModule CRUD operations | | `table-template-module` | tableTemplateModule CRUD operations | | `secure-table-provision` | secureTableProvision CRUD operations | | `relation-provision` | relationProvision CRUD operations | @@ -81,7 +81,6 @@ csdk auth set-token | `permissions-module` | permissionsModule CRUD operations | | `phone-numbers-module` | phoneNumbersModule CRUD operations | | `profiles-module` | profilesModule CRUD operations | -| `rls-module` | rlsModule CRUD operations | | `secrets-module` | secretsModule CRUD operations | | `sessions-module` | sessionsModule CRUD operations | | `user-auth-module` | userAuthModule CRUD operations | @@ -109,25 +108,26 @@ csdk auth set-token | `ref` | ref CRUD operations | | `store` | store CRUD operations | | `app-permission-default` | appPermissionDefault CRUD operations | +| `crypto-address` | cryptoAddress CRUD operations | | `role-type` | roleType CRUD operations | | `org-permission-default` | orgPermissionDefault CRUD operations | -| `crypto-address` | cryptoAddress CRUD operations | +| `phone-number` | phoneNumber CRUD operations | | `app-limit-default` | appLimitDefault CRUD operations | | `org-limit-default` | orgLimitDefault CRUD operations | | `connected-account` | connectedAccount CRUD operations | -| `phone-number` | phoneNumber CRUD operations | -| `membership-type` | membershipType CRUD operations | | `node-type-registry` | nodeTypeRegistry CRUD operations | +| `membership-type` | membershipType CRUD operations | | `app-membership-default` | appMembershipDefault CRUD operations | +| `rls-module` | rlsModule CRUD operations | | `commit` | commit CRUD operations | | `org-membership-default` | orgMembershipDefault CRUD operations | | `audit-log` | auditLog CRUD operations | | `app-level` | appLevel CRUD operations | -| `email` | email CRUD operations | | `sql-migration` | sqlMigration CRUD operations | +| `email` | email CRUD operations | | `ast-migration` | astMigration CRUD operations | -| `user` | user CRUD operations | | `app-membership` | appMembership CRUD operations | +| `user` | user CRUD operations | | `hierarchy-module` | hierarchyModule CRUD operations | | `current-user-id` | currentUserId | | `current-ip-address` | currentIpAddress | @@ -159,8 +159,8 @@ csdk auth set-token | `set-password` | setPassword | | `verify-email` | verifyEmail | | `reset-password` | resetPassword | -| `remove-node-at-path` | removeNodeAtPath | | `bootstrap-user` | bootstrapUser | +| `remove-node-at-path` | removeNodeAtPath | | `set-data-at-path` | setDataAtPath | | `set-props-and-commit` | setPropsAndCommit | | `provision-database-with-user` | provisionDatabaseWithUser | @@ -222,6 +222,19 @@ Manage authentication tokens per context. | `status` | Show auth status across all contexts | | `logout` | Remove credentials for current context | +### `config` + +Manage per-context key-value configuration variables. + +| Subcommand | Description | +|------------|-------------| +| `get ` | Get a config value | +| `set ` | Set a config value | +| `list` | List all config values | +| `delete ` | Delete a config value | + +Variables are scoped to the active context and stored at `~/.csdk/config/`. + ## Table Commands ### `org-get-managers-record` @@ -308,7 +321,10 @@ CRUD operations for AppPermission records. | `bitnum` | Int | | `bitstr` | BitString | | `description` | String | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | +**Required create fields:** `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `name`, `bitnum`, `bitstr`, `description` ### `org-permission` @@ -332,7 +348,10 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | | `bitstr` | BitString | | `description` | String | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | +**Required create fields:** `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `name`, `bitnum`, `bitstr`, `description` ### `object` @@ -387,8 +406,10 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name`, `level` +**Required create fields:** `name`, `level`, `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `description`, `requiredCount`, `priority` ### `database` @@ -415,7 +436,12 @@ CRUD operations for Database records. | `hash` | UUID | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `schemaHashTrgmSimilarity` | Float | +| `nameTrgmSimilarity` | Float | +| `labelTrgmSimilarity` | Float | +| `searchScore` | Float | +**Required create fields:** `schemaHashTrgmSimilarity`, `nameTrgmSimilarity`, `labelTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `ownerId`, `schemaHash`, `name`, `label`, `hash` ### `schema` @@ -448,8 +474,14 @@ CRUD operations for Schema records. | `isPublic` | Boolean | | `createdAt` | Datetime | | `updatedAt` | Datetime | - -**Required create fields:** `databaseId`, `name`, `schemaName` +| `nameTrgmSimilarity` | Float | +| `schemaNameTrgmSimilarity` | Float | +| `labelTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `name`, `schemaName`, `nameTrgmSimilarity`, `schemaNameTrgmSimilarity`, `labelTrgmSimilarity`, `descriptionTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `label`, `description`, `smartTags`, `category`, `module`, `scope`, `tags`, `isPublic` ### `table` @@ -487,8 +519,15 @@ CRUD operations for Table records. | `inheritsId` | UUID | | `createdAt` | Datetime | | `updatedAt` | Datetime | - -**Required create fields:** `schemaId`, `name` +| `nameTrgmSimilarity` | Float | +| `labelTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `pluralNameTrgmSimilarity` | Float | +| `singularNameTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `schemaId`, `name`, `nameTrgmSimilarity`, `labelTrgmSimilarity`, `descriptionTrgmSimilarity`, `moduleTrgmSimilarity`, `pluralNameTrgmSimilarity`, `singularNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `label`, `description`, `smartTags`, `category`, `module`, `scope`, `useRls`, `timestamps`, `peoplestamps`, `pluralName`, `singularName`, `tags`, `inheritsId` ### `check-constraint` @@ -521,8 +560,12 @@ CRUD operations for CheckConstraint records. | `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `typeTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `tableId`, `fieldIds` +**Required create fields:** `tableId`, `fieldIds`, `nameTrgmSimilarity`, `typeTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `name`, `type`, `expr`, `smartTags`, `category`, `module`, `scope`, `tags` ### `field` @@ -565,8 +608,15 @@ CRUD operations for Field records. | `scope` | Int | | `createdAt` | Datetime | | `updatedAt` | Datetime | - -**Required create fields:** `tableId`, `name`, `type` +| `nameTrgmSimilarity` | Float | +| `labelTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `defaultValueTrgmSimilarity` | Float | +| `regexpTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `tableId`, `name`, `type`, `nameTrgmSimilarity`, `labelTrgmSimilarity`, `descriptionTrgmSimilarity`, `defaultValueTrgmSimilarity`, `regexpTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `label`, `description`, `smartTags`, `isRequired`, `defaultValue`, `defaultValueAst`, `isHidden`, `fieldOrder`, `regexp`, `chk`, `chkExpr`, `min`, `max`, `tags`, `category`, `module`, `scope` ### `foreign-key-constraint` @@ -603,8 +653,15 @@ CRUD operations for ForeignKeyConstraint records. | `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | - -**Required create fields:** `tableId`, `fieldIds`, `refTableId`, `refFieldIds` +| `nameTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `typeTrgmSimilarity` | Float | +| `deleteActionTrgmSimilarity` | Float | +| `updateActionTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `tableId`, `fieldIds`, `refTableId`, `refFieldIds`, `nameTrgmSimilarity`, `descriptionTrgmSimilarity`, `typeTrgmSimilarity`, `deleteActionTrgmSimilarity`, `updateActionTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `name`, `description`, `smartTags`, `type`, `deleteAction`, `updateAction`, `category`, `module`, `scope`, `tags` ### `full-text-search` @@ -662,6 +719,8 @@ CRUD operations for Index records. | `indexParams` | JSON | | `whereClause` | JSON | | `isUnique` | Boolean | +| `options` | JSON | +| `opClasses` | String | | `smartTags` | JSON | | `category` | ObjectCategory | | `module` | String | @@ -669,9 +728,13 @@ CRUD operations for Index records. | `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `accessMethodTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `tableId` -**Optional create fields (backend defaults):** `name`, `fieldIds`, `includeFieldIds`, `accessMethod`, `indexParams`, `whereClause`, `isUnique`, `smartTags`, `category`, `module`, `scope`, `tags` +**Required create fields:** `databaseId`, `tableId`, `nameTrgmSimilarity`, `accessMethodTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `name`, `fieldIds`, `includeFieldIds`, `accessMethod`, `indexParams`, `whereClause`, `isUnique`, `options`, `opClasses`, `smartTags`, `category`, `module`, `scope`, `tags` ### `policy` @@ -706,8 +769,14 @@ CRUD operations for Policy records. | `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | - -**Required create fields:** `tableId` +| `nameTrgmSimilarity` | Float | +| `granteeNameTrgmSimilarity` | Float | +| `privilegeTrgmSimilarity` | Float | +| `policyTypeTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `tableId`, `nameTrgmSimilarity`, `granteeNameTrgmSimilarity`, `privilegeTrgmSimilarity`, `policyTypeTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `name`, `granteeName`, `privilege`, `permissive`, `disabled`, `policyType`, `data`, `smartTags`, `category`, `module`, `scope`, `tags` ### `primary-key-constraint` @@ -739,8 +808,12 @@ CRUD operations for PrimaryKeyConstraint records. | `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `typeTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `tableId`, `fieldIds` +**Required create fields:** `tableId`, `fieldIds`, `nameTrgmSimilarity`, `typeTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `name`, `type`, `smartTags`, `category`, `module`, `scope`, `tags` ### `table-grant` @@ -768,8 +841,11 @@ CRUD operations for TableGrant records. | `isGrant` | Boolean | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `privilegeTrgmSimilarity` | Float | +| `granteeNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `tableId`, `privilege`, `granteeName` +**Required create fields:** `tableId`, `privilege`, `granteeName`, `privilegeTrgmSimilarity`, `granteeNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `fieldIds`, `isGrant` ### `trigger` @@ -801,8 +877,13 @@ CRUD operations for Trigger records. | `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `eventTrgmSimilarity` | Float | +| `functionNameTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `tableId`, `name` +**Required create fields:** `tableId`, `name`, `nameTrgmSimilarity`, `eventTrgmSimilarity`, `functionNameTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `event`, `functionName`, `smartTags`, `category`, `module`, `scope`, `tags` ### `unique-constraint` @@ -835,8 +916,13 @@ CRUD operations for UniqueConstraint records. | `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `typeTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `tableId`, `fieldIds` +**Required create fields:** `tableId`, `fieldIds`, `nameTrgmSimilarity`, `descriptionTrgmSimilarity`, `typeTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `name`, `description`, `smartTags`, `type`, `category`, `module`, `scope`, `tags` ### `view` @@ -871,8 +957,13 @@ CRUD operations for View records. | `module` | String | | `scope` | Int | | `tags` | String | +| `nameTrgmSimilarity` | Float | +| `viewTypeTrgmSimilarity` | Float | +| `filterTypeTrgmSimilarity` | Float | +| `moduleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `schemaId`, `name`, `viewType` +**Required create fields:** `schemaId`, `name`, `viewType`, `nameTrgmSimilarity`, `viewTypeTrgmSimilarity`, `filterTypeTrgmSimilarity`, `moduleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `tableId`, `data`, `filterType`, `filterData`, `securityInvoker`, `isReadOnly`, `smartTags`, `category`, `module`, `scope`, `tags` ### `view-table` @@ -922,8 +1013,11 @@ CRUD operations for ViewGrant records. | `privilege` | String | | `withGrantOption` | Boolean | | `isGrant` | Boolean | +| `granteeNameTrgmSimilarity` | Float | +| `privilegeTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `viewId`, `granteeName`, `privilege` +**Required create fields:** `viewId`, `granteeName`, `privilege`, `granteeNameTrgmSimilarity`, `privilegeTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `withGrantOption`, `isGrant` ### `view-rule` @@ -948,39 +1042,14 @@ CRUD operations for ViewRule records. | `name` | String | | `event` | String | | `action` | String | +| `nameTrgmSimilarity` | Float | +| `eventTrgmSimilarity` | Float | +| `actionTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `viewId`, `name`, `event` +**Required create fields:** `viewId`, `name`, `event`, `nameTrgmSimilarity`, `eventTrgmSimilarity`, `actionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `action` -### `table-module` - -CRUD operations for TableModule records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all tableModule records | -| `get` | Get a tableModule by id | -| `create` | Create a new tableModule | -| `update` | Update an existing tableModule | -| `delete` | Delete a tableModule | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | UUID | -| `databaseId` | UUID | -| `schemaId` | UUID | -| `tableId` | UUID | -| `tableName` | String | -| `nodeType` | String | -| `useRls` | Boolean | -| `data` | JSON | -| `fields` | UUID | - -**Required create fields:** `databaseId`, `nodeType` -**Optional create fields (backend defaults):** `schemaId`, `tableId`, `tableName`, `useRls`, `data`, `fields` - ### `table-template-module` CRUD operations for TableTemplateModule records. @@ -1006,8 +1075,11 @@ CRUD operations for TableTemplateModule records. | `tableName` | String | | `nodeType` | String | | `data` | JSON | +| `tableNameTrgmSimilarity` | Float | +| `nodeTypeTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `tableName`, `nodeType` +**Required create fields:** `databaseId`, `tableName`, `nodeType`, `tableNameTrgmSimilarity`, `nodeTypeTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `ownerTableId`, `data` ### `secure-table-provision` @@ -1034,6 +1106,7 @@ CRUD operations for SecureTableProvision records. | `nodeType` | String | | `useRls` | Boolean | | `nodeData` | JSON | +| `fields` | JSON | | `grantRoles` | String | | `grantPrivileges` | JSON | | `policyType` | String | @@ -1043,9 +1116,15 @@ CRUD operations for SecureTableProvision records. | `policyName` | String | | `policyData` | JSON | | `outFields` | UUID | +| `tableNameTrgmSimilarity` | Float | +| `nodeTypeTrgmSimilarity` | Float | +| `policyTypeTrgmSimilarity` | Float | +| `policyRoleTrgmSimilarity` | Float | +| `policyNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId` -**Optional create fields (backend defaults):** `schemaId`, `tableId`, `tableName`, `nodeType`, `useRls`, `nodeData`, `grantRoles`, `grantPrivileges`, `policyType`, `policyPrivileges`, `policyRole`, `policyPermissive`, `policyName`, `policyData`, `outFields` +**Required create fields:** `databaseId`, `tableNameTrgmSimilarity`, `nodeTypeTrgmSimilarity`, `policyTypeTrgmSimilarity`, `policyRoleTrgmSimilarity`, `policyNameTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `schemaId`, `tableId`, `tableName`, `nodeType`, `useRls`, `nodeData`, `fields`, `grantRoles`, `grantPrivileges`, `policyType`, `policyPrivileges`, `policyRole`, `policyPermissive`, `policyName`, `policyData`, `outFields` ### `relation-provision` @@ -1091,8 +1170,19 @@ CRUD operations for RelationProvision records. | `outJunctionTableId` | UUID | | `outSourceFieldId` | UUID | | `outTargetFieldId` | UUID | - -**Required create fields:** `databaseId`, `relationType`, `sourceTableId`, `targetTableId` +| `relationTypeTrgmSimilarity` | Float | +| `fieldNameTrgmSimilarity` | Float | +| `deleteActionTrgmSimilarity` | Float | +| `junctionTableNameTrgmSimilarity` | Float | +| `sourceFieldNameTrgmSimilarity` | Float | +| `targetFieldNameTrgmSimilarity` | Float | +| `nodeTypeTrgmSimilarity` | Float | +| `policyTypeTrgmSimilarity` | Float | +| `policyRoleTrgmSimilarity` | Float | +| `policyNameTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `relationType`, `sourceTableId`, `targetTableId`, `relationTypeTrgmSimilarity`, `fieldNameTrgmSimilarity`, `deleteActionTrgmSimilarity`, `junctionTableNameTrgmSimilarity`, `sourceFieldNameTrgmSimilarity`, `targetFieldNameTrgmSimilarity`, `nodeTypeTrgmSimilarity`, `policyTypeTrgmSimilarity`, `policyRoleTrgmSimilarity`, `policyNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `fieldName`, `deleteAction`, `isRequired`, `junctionTableId`, `junctionTableName`, `junctionSchemaId`, `sourceFieldName`, `targetFieldName`, `useCompositeKey`, `nodeType`, `nodeData`, `grantRoles`, `grantPrivileges`, `policyType`, `policyPrivileges`, `policyRole`, `policyPermissive`, `policyName`, `policyData`, `outFieldId`, `outJunctionTableId`, `outSourceFieldId`, `outTargetFieldId` ### `schema-grant` @@ -1117,8 +1207,10 @@ CRUD operations for SchemaGrant records. | `granteeName` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `granteeNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `schemaId`, `granteeName` +**Required create fields:** `schemaId`, `granteeName`, `granteeNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId` ### `default-privilege` @@ -1144,8 +1236,12 @@ CRUD operations for DefaultPrivilege records. | `privilege` | String | | `granteeName` | String | | `isGrant` | Boolean | +| `objectTypeTrgmSimilarity` | Float | +| `privilegeTrgmSimilarity` | Float | +| `granteeNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `schemaId`, `objectType`, `privilege`, `granteeName` +**Required create fields:** `schemaId`, `objectType`, `privilege`, `granteeName`, `objectTypeTrgmSimilarity`, `privilegeTrgmSimilarity`, `granteeNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `isGrant` ### `api-schema` @@ -1192,8 +1288,10 @@ CRUD operations for ApiModule records. | `apiId` | UUID | | `name` | String | | `data` | JSON | +| `nameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `apiId`, `name`, `data` +**Required create fields:** `databaseId`, `apiId`, `name`, `data`, `nameTrgmSimilarity`, `searchScore` ### `domain` @@ -1243,8 +1341,11 @@ CRUD operations for SiteMetadatum records. | `title` | String | | `description` | String | | `ogImage` | Image | +| `titleTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `siteId` +**Required create fields:** `databaseId`, `siteId`, `titleTrgmSimilarity`, `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `title`, `description`, `ogImage` ### `site-module` @@ -1268,8 +1369,10 @@ CRUD operations for SiteModule records. | `siteId` | UUID | | `name` | String | | `data` | JSON | +| `nameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `siteId`, `name`, `data` +**Required create fields:** `databaseId`, `siteId`, `name`, `data`, `nameTrgmSimilarity`, `searchScore` ### `site-theme` @@ -1316,8 +1419,11 @@ CRUD operations for TriggerFunction records. | `code` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `codeTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `name` +**Required create fields:** `databaseId`, `name`, `nameTrgmSimilarity`, `codeTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `code` ### `api` @@ -1343,8 +1449,13 @@ CRUD operations for Api records. | `roleName` | String | | `anonRole` | String | | `isPublic` | Boolean | +| `nameTrgmSimilarity` | Float | +| `dbnameTrgmSimilarity` | Float | +| `roleNameTrgmSimilarity` | Float | +| `anonRoleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `name` +**Required create fields:** `databaseId`, `name`, `nameTrgmSimilarity`, `dbnameTrgmSimilarity`, `roleNameTrgmSimilarity`, `anonRoleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `dbname`, `roleName`, `anonRole`, `isPublic` ### `site` @@ -1372,8 +1483,12 @@ CRUD operations for Site records. | `appleTouchIcon` | Image | | `logo` | Image | | `dbname` | String | +| `titleTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `dbnameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId` +**Required create fields:** `databaseId`, `titleTrgmSimilarity`, `descriptionTrgmSimilarity`, `dbnameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `title`, `description`, `ogImage`, `favicon`, `appleTouchIcon`, `logo`, `dbname` ### `app` @@ -1401,8 +1516,12 @@ CRUD operations for App records. | `appStoreId` | String | | `appIdPrefix` | String | | `playStoreLink` | Url | +| `nameTrgmSimilarity` | Float | +| `appStoreIdTrgmSimilarity` | Float | +| `appIdPrefixTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `siteId` +**Required create fields:** `databaseId`, `siteId`, `nameTrgmSimilarity`, `appStoreIdTrgmSimilarity`, `appIdPrefixTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `name`, `appImage`, `appStoreLink`, `appStoreId`, `appIdPrefix`, `playStoreLink` ### `connected-accounts-module` @@ -1428,8 +1547,10 @@ CRUD operations for ConnectedAccountsModule records. | `tableId` | UUID | | `ownerTableId` | UUID | | `tableName` | String | +| `tableNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `tableName` +**Required create fields:** `databaseId`, `tableName`, `tableNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `ownerTableId` ### `crypto-addresses-module` @@ -1456,8 +1577,11 @@ CRUD operations for CryptoAddressesModule records. | `ownerTableId` | UUID | | `tableName` | String | | `cryptoNetwork` | String | +| `tableNameTrgmSimilarity` | Float | +| `cryptoNetworkTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `tableName` +**Required create fields:** `databaseId`, `tableName`, `tableNameTrgmSimilarity`, `cryptoNetworkTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `ownerTableId`, `cryptoNetwork` ### `crypto-auth-module` @@ -1490,8 +1614,15 @@ CRUD operations for CryptoAuthModule records. | `signInRecordFailure` | String | | `signUpWithKey` | String | | `signInWithChallenge` | String | - -**Required create fields:** `databaseId`, `userField` +| `userFieldTrgmSimilarity` | Float | +| `cryptoNetworkTrgmSimilarity` | Float | +| `signInRequestChallengeTrgmSimilarity` | Float | +| `signInRecordFailureTrgmSimilarity` | Float | +| `signUpWithKeyTrgmSimilarity` | Float | +| `signInWithChallengeTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `userField`, `userFieldTrgmSimilarity`, `cryptoNetworkTrgmSimilarity`, `signInRequestChallengeTrgmSimilarity`, `signInRecordFailureTrgmSimilarity`, `signUpWithKeyTrgmSimilarity`, `signInWithChallengeTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `usersTableId`, `secretsTableId`, `sessionsTableId`, `sessionCredentialsTableId`, `addressesTableId`, `cryptoNetwork`, `signInRequestChallenge`, `signInRecordFailure`, `signUpWithKey`, `signInWithChallenge` ### `default-ids-module` @@ -1543,8 +1674,10 @@ CRUD operations for DenormalizedTableField records. | `updateDefaults` | Boolean | | `funcName` | String | | `funcOrder` | Int | +| `funcNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `tableId`, `fieldId`, `refTableId`, `refFieldId` +**Required create fields:** `databaseId`, `tableId`, `fieldId`, `refTableId`, `refFieldId`, `funcNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `setIds`, `refIds`, `useUpdates`, `updateDefaults`, `funcName`, `funcOrder` ### `emails-module` @@ -1570,8 +1703,10 @@ CRUD operations for EmailsModule records. | `tableId` | UUID | | `ownerTableId` | UUID | | `tableName` | String | +| `tableNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `tableName` +**Required create fields:** `databaseId`, `tableName`, `tableNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `ownerTableId` ### `encrypted-secrets-module` @@ -1595,8 +1730,10 @@ CRUD operations for EncryptedSecretsModule records. | `schemaId` | UUID | | `tableId` | UUID | | `tableName` | String | +| `tableNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId` +**Required create fields:** `databaseId`, `tableNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `tableId`, `tableName` ### `field-module` @@ -1624,8 +1761,10 @@ CRUD operations for FieldModule records. | `data` | JSON | | `triggers` | String | | `functions` | String | +| `nodeTypeTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `nodeType` +**Required create fields:** `databaseId`, `nodeType`, `nodeTypeTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `privateSchemaId`, `tableId`, `fieldId`, `data`, `triggers`, `functions` ### `invites-module` @@ -1658,8 +1797,13 @@ CRUD operations for InvitesModule records. | `prefix` | String | | `membershipType` | Int | | `entityTableId` | UUID | +| `invitesTableNameTrgmSimilarity` | Float | +| `claimedInvitesTableNameTrgmSimilarity` | Float | +| `submitInviteCodeFunctionTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `membershipType` +**Required create fields:** `databaseId`, `membershipType`, `invitesTableNameTrgmSimilarity`, `claimedInvitesTableNameTrgmSimilarity`, `submitInviteCodeFunctionTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `emailsTableId`, `usersTableId`, `invitesTableId`, `claimedInvitesTableId`, `invitesTableName`, `claimedInvitesTableName`, `submitInviteCodeFunction`, `prefix`, `entityTableId` ### `levels-module` @@ -1704,8 +1848,24 @@ CRUD operations for LevelsModule records. | `membershipType` | Int | | `entityTableId` | UUID | | `actorTableId` | UUID | - -**Required create fields:** `databaseId`, `membershipType` +| `stepsTableNameTrgmSimilarity` | Float | +| `achievementsTableNameTrgmSimilarity` | Float | +| `levelsTableNameTrgmSimilarity` | Float | +| `levelRequirementsTableNameTrgmSimilarity` | Float | +| `completedStepTrgmSimilarity` | Float | +| `incompletedStepTrgmSimilarity` | Float | +| `tgAchievementTrgmSimilarity` | Float | +| `tgAchievementToggleTrgmSimilarity` | Float | +| `tgAchievementToggleBooleanTrgmSimilarity` | Float | +| `tgAchievementBooleanTrgmSimilarity` | Float | +| `upsertAchievementTrgmSimilarity` | Float | +| `tgUpdateAchievementsTrgmSimilarity` | Float | +| `stepsRequiredTrgmSimilarity` | Float | +| `levelAchievedTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `membershipType`, `stepsTableNameTrgmSimilarity`, `achievementsTableNameTrgmSimilarity`, `levelsTableNameTrgmSimilarity`, `levelRequirementsTableNameTrgmSimilarity`, `completedStepTrgmSimilarity`, `incompletedStepTrgmSimilarity`, `tgAchievementTrgmSimilarity`, `tgAchievementToggleTrgmSimilarity`, `tgAchievementToggleBooleanTrgmSimilarity`, `tgAchievementBooleanTrgmSimilarity`, `upsertAchievementTrgmSimilarity`, `tgUpdateAchievementsTrgmSimilarity`, `stepsRequiredTrgmSimilarity`, `levelAchievedTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `stepsTableId`, `stepsTableName`, `achievementsTableId`, `achievementsTableName`, `levelsTableId`, `levelsTableName`, `levelRequirementsTableId`, `levelRequirementsTableName`, `completedStep`, `incompletedStep`, `tgAchievement`, `tgAchievementToggle`, `tgAchievementToggleBoolean`, `tgAchievementBoolean`, `upsertAchievement`, `tgUpdateAchievements`, `stepsRequired`, `levelAchieved`, `prefix`, `entityTableId`, `actorTableId` ### `limits-module` @@ -1742,8 +1902,18 @@ CRUD operations for LimitsModule records. | `membershipType` | Int | | `entityTableId` | UUID | | `actorTableId` | UUID | - -**Required create fields:** `databaseId`, `membershipType` +| `tableNameTrgmSimilarity` | Float | +| `defaultTableNameTrgmSimilarity` | Float | +| `limitIncrementFunctionTrgmSimilarity` | Float | +| `limitDecrementFunctionTrgmSimilarity` | Float | +| `limitIncrementTriggerTrgmSimilarity` | Float | +| `limitDecrementTriggerTrgmSimilarity` | Float | +| `limitUpdateTriggerTrgmSimilarity` | Float | +| `limitCheckFunctionTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `membershipType`, `tableNameTrgmSimilarity`, `defaultTableNameTrgmSimilarity`, `limitIncrementFunctionTrgmSimilarity`, `limitDecrementFunctionTrgmSimilarity`, `limitIncrementTriggerTrgmSimilarity`, `limitDecrementTriggerTrgmSimilarity`, `limitUpdateTriggerTrgmSimilarity`, `limitCheckFunctionTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `tableName`, `defaultTableId`, `defaultTableName`, `limitIncrementFunction`, `limitDecrementFunction`, `limitIncrementTrigger`, `limitDecrementTrigger`, `limitUpdateTrigger`, `limitCheckFunction`, `prefix`, `entityTableId`, `actorTableId` ### `membership-types-module` @@ -1767,8 +1937,10 @@ CRUD operations for MembershipTypesModule records. | `schemaId` | UUID | | `tableId` | UUID | | `tableName` | String | +| `tableNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId` +**Required create fields:** `databaseId`, `tableNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `tableId`, `tableName` ### `memberships-module` @@ -1818,8 +1990,21 @@ CRUD operations for MembershipsModule records. | `entityIdsByMask` | String | | `entityIdsByPerm` | String | | `entityIdsFunction` | String | - -**Required create fields:** `databaseId`, `membershipType` +| `membershipsTableNameTrgmSimilarity` | Float | +| `membersTableNameTrgmSimilarity` | Float | +| `membershipDefaultsTableNameTrgmSimilarity` | Float | +| `grantsTableNameTrgmSimilarity` | Float | +| `adminGrantsTableNameTrgmSimilarity` | Float | +| `ownerGrantsTableNameTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `actorMaskCheckTrgmSimilarity` | Float | +| `actorPermCheckTrgmSimilarity` | Float | +| `entityIdsByMaskTrgmSimilarity` | Float | +| `entityIdsByPermTrgmSimilarity` | Float | +| `entityIdsFunctionTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `membershipType`, `membershipsTableNameTrgmSimilarity`, `membersTableNameTrgmSimilarity`, `membershipDefaultsTableNameTrgmSimilarity`, `grantsTableNameTrgmSimilarity`, `adminGrantsTableNameTrgmSimilarity`, `ownerGrantsTableNameTrgmSimilarity`, `prefixTrgmSimilarity`, `actorMaskCheckTrgmSimilarity`, `actorPermCheckTrgmSimilarity`, `entityIdsByMaskTrgmSimilarity`, `entityIdsByPermTrgmSimilarity`, `entityIdsFunctionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `membershipsTableId`, `membershipsTableName`, `membersTableId`, `membersTableName`, `membershipDefaultsTableId`, `membershipDefaultsTableName`, `grantsTableId`, `grantsTableName`, `actorTableId`, `limitsTableId`, `defaultLimitsTableId`, `permissionsTableId`, `defaultPermissionsTableId`, `sprtTableId`, `adminGrantsTableId`, `adminGrantsTableName`, `ownerGrantsTableId`, `ownerGrantsTableName`, `entityTableId`, `entityTableOwnerId`, `prefix`, `actorMaskCheck`, `actorPermCheck`, `entityIdsByMask`, `entityIdsByPerm`, `entityIdsFunction` ### `permissions-module` @@ -1855,8 +2040,16 @@ CRUD operations for PermissionsModule records. | `getMask` | String | | `getByMask` | String | | `getMaskByName` | String | - -**Required create fields:** `databaseId`, `membershipType` +| `tableNameTrgmSimilarity` | Float | +| `defaultTableNameTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `getPaddedMaskTrgmSimilarity` | Float | +| `getMaskTrgmSimilarity` | Float | +| `getByMaskTrgmSimilarity` | Float | +| `getMaskByNameTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `membershipType`, `tableNameTrgmSimilarity`, `defaultTableNameTrgmSimilarity`, `prefixTrgmSimilarity`, `getPaddedMaskTrgmSimilarity`, `getMaskTrgmSimilarity`, `getByMaskTrgmSimilarity`, `getMaskByNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `tableName`, `defaultTableId`, `defaultTableName`, `bitlen`, `entityTableId`, `actorTableId`, `prefix`, `getPaddedMask`, `getMask`, `getByMask`, `getMaskByName` ### `phone-numbers-module` @@ -1882,8 +2075,10 @@ CRUD operations for PhoneNumbersModule records. | `tableId` | UUID | | `ownerTableId` | UUID | | `tableName` | String | +| `tableNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `tableName` +**Required create fields:** `databaseId`, `tableName`, `tableNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `ownerTableId` ### `profiles-module` @@ -1920,42 +2115,16 @@ CRUD operations for ProfilesModule records. | `permissionsTableId` | UUID | | `membershipsTableId` | UUID | | `prefix` | String | - -**Required create fields:** `databaseId`, `membershipType` +| `tableNameTrgmSimilarity` | Float | +| `profilePermissionsTableNameTrgmSimilarity` | Float | +| `profileGrantsTableNameTrgmSimilarity` | Float | +| `profileDefinitionGrantsTableNameTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `membershipType`, `tableNameTrgmSimilarity`, `profilePermissionsTableNameTrgmSimilarity`, `profileGrantsTableNameTrgmSimilarity`, `profileDefinitionGrantsTableNameTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `tableId`, `tableName`, `profilePermissionsTableId`, `profilePermissionsTableName`, `profileGrantsTableId`, `profileGrantsTableName`, `profileDefinitionGrantsTableId`, `profileDefinitionGrantsTableName`, `entityTableId`, `actorTableId`, `permissionsTableId`, `membershipsTableId`, `prefix` -### `rls-module` - -CRUD operations for RlsModule records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all rlsModule records | -| `get` | Get a rlsModule by id | -| `create` | Create a new rlsModule | -| `update` | Update an existing rlsModule | -| `delete` | Delete a rlsModule | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | UUID | -| `databaseId` | UUID | -| `apiId` | UUID | -| `schemaId` | UUID | -| `privateSchemaId` | UUID | -| `sessionCredentialsTableId` | UUID | -| `sessionsTableId` | UUID | -| `usersTableId` | UUID | -| `authenticate` | String | -| `authenticateStrict` | String | -| `currentRole` | String | -| `currentRoleId` | String | - -**Required create fields:** `databaseId` -**Optional create fields (backend defaults):** `apiId`, `schemaId`, `privateSchemaId`, `sessionCredentialsTableId`, `sessionsTableId`, `usersTableId`, `authenticate`, `authenticateStrict`, `currentRole`, `currentRoleId` - ### `secrets-module` CRUD operations for SecretsModule records. @@ -1977,8 +2146,10 @@ CRUD operations for SecretsModule records. | `schemaId` | UUID | | `tableId` | UUID | | `tableName` | String | +| `tableNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId` +**Required create fields:** `databaseId`, `tableNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `tableId`, `tableName` ### `sessions-module` @@ -2008,8 +2179,12 @@ CRUD operations for SessionsModule records. | `sessionsTable` | String | | `sessionCredentialsTable` | String | | `authSettingsTable` | String | +| `sessionsTableTrgmSimilarity` | Float | +| `sessionCredentialsTableTrgmSimilarity` | Float | +| `authSettingsTableTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId` +**Required create fields:** `databaseId`, `sessionsTableTrgmSimilarity`, `sessionCredentialsTableTrgmSimilarity`, `authSettingsTableTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `sessionsTableId`, `sessionCredentialsTableId`, `authSettingsTableId`, `usersTableId`, `sessionsDefaultExpiration`, `sessionsTable`, `sessionCredentialsTable`, `authSettingsTable` ### `user-auth-module` @@ -2054,8 +2229,25 @@ CRUD operations for UserAuthModule records. | `signInOneTimeTokenFunction` | String | | `oneTimeTokenFunction` | String | | `extendTokenExpires` | String | - -**Required create fields:** `databaseId` +| `auditsTableNameTrgmSimilarity` | Float | +| `signInFunctionTrgmSimilarity` | Float | +| `signUpFunctionTrgmSimilarity` | Float | +| `signOutFunctionTrgmSimilarity` | Float | +| `setPasswordFunctionTrgmSimilarity` | Float | +| `resetPasswordFunctionTrgmSimilarity` | Float | +| `forgotPasswordFunctionTrgmSimilarity` | Float | +| `sendVerificationEmailFunctionTrgmSimilarity` | Float | +| `verifyEmailFunctionTrgmSimilarity` | Float | +| `verifyPasswordFunctionTrgmSimilarity` | Float | +| `checkPasswordFunctionTrgmSimilarity` | Float | +| `sendAccountDeletionEmailFunctionTrgmSimilarity` | Float | +| `deleteAccountFunctionTrgmSimilarity` | Float | +| `signInOneTimeTokenFunctionTrgmSimilarity` | Float | +| `oneTimeTokenFunctionTrgmSimilarity` | Float | +| `extendTokenExpiresTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `auditsTableNameTrgmSimilarity`, `signInFunctionTrgmSimilarity`, `signUpFunctionTrgmSimilarity`, `signOutFunctionTrgmSimilarity`, `setPasswordFunctionTrgmSimilarity`, `resetPasswordFunctionTrgmSimilarity`, `forgotPasswordFunctionTrgmSimilarity`, `sendVerificationEmailFunctionTrgmSimilarity`, `verifyEmailFunctionTrgmSimilarity`, `verifyPasswordFunctionTrgmSimilarity`, `checkPasswordFunctionTrgmSimilarity`, `sendAccountDeletionEmailFunctionTrgmSimilarity`, `deleteAccountFunctionTrgmSimilarity`, `signInOneTimeTokenFunctionTrgmSimilarity`, `oneTimeTokenFunctionTrgmSimilarity`, `extendTokenExpiresTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `emailsTableId`, `usersTableId`, `secretsTableId`, `encryptedTableId`, `sessionsTableId`, `sessionCredentialsTableId`, `auditsTableId`, `auditsTableName`, `signInFunction`, `signUpFunction`, `signOutFunction`, `setPasswordFunction`, `resetPasswordFunction`, `forgotPasswordFunction`, `sendVerificationEmailFunction`, `verifyEmailFunction`, `verifyPasswordFunction`, `checkPasswordFunction`, `sendAccountDeletionEmailFunction`, `deleteAccountFunction`, `signInOneTimeTokenFunction`, `oneTimeTokenFunction`, `extendTokenExpires` ### `users-module` @@ -2081,8 +2273,11 @@ CRUD operations for UsersModule records. | `tableName` | String | | `typeTableId` | UUID | | `typeTableName` | String | +| `tableNameTrgmSimilarity` | Float | +| `typeTableNameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId` +**Required create fields:** `databaseId`, `tableNameTrgmSimilarity`, `typeTableNameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `tableId`, `tableName`, `typeTableId`, `typeTableName` ### `uuid-module` @@ -2106,8 +2301,11 @@ CRUD operations for UuidModule records. | `schemaId` | UUID | | `uuidFunction` | String | | `uuidSeed` | String | +| `uuidFunctionTrgmSimilarity` | Float | +| `uuidSeedTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `uuidSeed` +**Required create fields:** `databaseId`, `uuidSeed`, `uuidFunctionTrgmSimilarity`, `uuidSeedTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `uuidFunction` ### `database-provision-module` @@ -2140,8 +2338,14 @@ CRUD operations for DatabaseProvisionModule records. | `createdAt` | Datetime | | `updatedAt` | Datetime | | `completedAt` | Datetime | - -**Required create fields:** `databaseName`, `ownerId`, `domain` +| `databaseNameTrgmSimilarity` | Float | +| `subdomainTrgmSimilarity` | Float | +| `domainTrgmSimilarity` | Float | +| `statusTrgmSimilarity` | Float | +| `errorMessageTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseName`, `ownerId`, `domain`, `databaseNameTrgmSimilarity`, `subdomainTrgmSimilarity`, `domainTrgmSimilarity`, `statusTrgmSimilarity`, `errorMessageTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `subdomain`, `modules`, `options`, `bootstrapUser`, `status`, `errorMessage`, `databaseId`, `completedAt` ### `app-admin-grant` @@ -2389,8 +2593,10 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | | `positionTitle` | String | | `positionLevel` | Int | +| `positionTitleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `entityId`, `childId` +**Required create fields:** `entityId`, `childId`, `positionTitleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `parentId`, `positionTitle`, `positionLevel` ### `org-chart-edge-grant` @@ -2418,8 +2624,10 @@ CRUD operations for OrgChartEdgeGrant records. | `positionTitle` | String | | `positionLevel` | Int | | `createdAt` | Datetime | +| `positionTitleTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `entityId`, `childId`, `grantorId` +**Required create fields:** `entityId`, `childId`, `grantorId`, `positionTitleTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `parentId`, `isGrant`, `positionTitle`, `positionLevel` ### `app-limit` @@ -2553,7 +2761,10 @@ CRUD operations for Invite records. | `expiresAt` | Datetime | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `inviteTokenTrgmSimilarity` | Float | +| `searchScore` | Float | +**Required create fields:** `inviteTokenTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `email`, `senderId`, `inviteToken`, `inviteValid`, `inviteLimit`, `inviteCount`, `multiple`, `data`, `expiresAt` ### `claimed-invite` @@ -2611,8 +2822,10 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | | `updatedAt` | Datetime | | `entityId` | UUID | +| `inviteTokenTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `entityId` +**Required create fields:** `entityId`, `inviteTokenTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `email`, `senderId`, `receiverId`, `inviteToken`, `inviteValid`, `inviteLimit`, `inviteCount`, `multiple`, `data`, `expiresAt` ### `org-claimed-invite` @@ -2663,8 +2876,10 @@ CRUD operations for Ref records. | `databaseId` | UUID | | `storeId` | UUID | | `commitId` | UUID | +| `nameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name`, `databaseId`, `storeId` +**Required create fields:** `name`, `databaseId`, `storeId`, `nameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `commitId` ### `store` @@ -2688,8 +2903,10 @@ CRUD operations for Store records. | `databaseId` | UUID | | `hash` | UUID | | `createdAt` | Datetime | +| `nameTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name`, `databaseId` +**Required create fields:** `name`, `databaseId`, `nameTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `hash` ### `app-permission-default` @@ -2713,6 +2930,35 @@ CRUD operations for AppPermissionDefault records. **Optional create fields (backend defaults):** `permissions` +### `crypto-address` + +CRUD operations for CryptoAddress records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all cryptoAddress records | +| `get` | Get a cryptoAddress by id | +| `create` | Create a new cryptoAddress | +| `update` | Update an existing cryptoAddress | +| `delete` | Delete a cryptoAddress | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | UUID | +| `ownerId` | UUID | +| `address` | String | +| `isVerified` | Boolean | +| `isPrimary` | Boolean | +| `createdAt` | Datetime | +| `updatedAt` | Datetime | +| `addressTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `address`, `addressTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` + ### `role-type` CRUD operations for RoleType records. @@ -2757,17 +3003,17 @@ CRUD operations for OrgPermissionDefault records. **Required create fields:** `entityId` **Optional create fields (backend defaults):** `permissions` -### `crypto-address` +### `phone-number` -CRUD operations for CryptoAddress records. +CRUD operations for PhoneNumber records. | Subcommand | Description | |------------|-------------| -| `list` | List all cryptoAddress records | -| `get` | Get a cryptoAddress by id | -| `create` | Create a new cryptoAddress | -| `update` | Update an existing cryptoAddress | -| `delete` | Delete a cryptoAddress | +| `list` | List all phoneNumber records | +| `get` | Get a phoneNumber by id | +| `create` | Create a new phoneNumber | +| `update` | Update an existing phoneNumber | +| `delete` | Delete a phoneNumber | **Fields:** @@ -2775,13 +3021,17 @@ CRUD operations for CryptoAddress records. |-------|------| | `id` | UUID | | `ownerId` | UUID | -| `address` | String | +| `cc` | String | +| `number` | String | | `isVerified` | Boolean | | `isPrimary` | Boolean | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `ccTrgmSimilarity` | Float | +| `numberTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `address` +**Required create fields:** `cc`, `number`, `ccTrgmSimilarity`, `numberTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` ### `app-limit-default` @@ -2854,37 +3104,47 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `serviceTrgmSimilarity` | Float | +| `identifierTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `service`, `identifier`, `details` +**Required create fields:** `service`, `identifier`, `details`, `serviceTrgmSimilarity`, `identifierTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `ownerId`, `isVerified` -### `phone-number` +### `node-type-registry` -CRUD operations for PhoneNumber records. +CRUD operations for NodeTypeRegistry records. | Subcommand | Description | |------------|-------------| -| `list` | List all phoneNumber records | -| `get` | Get a phoneNumber by id | -| `create` | Create a new phoneNumber | -| `update` | Update an existing phoneNumber | -| `delete` | Delete a phoneNumber | +| `list` | List all nodeTypeRegistry records | +| `get` | Get a nodeTypeRegistry by name | +| `create` | Create a new nodeTypeRegistry | +| `update` | Update an existing nodeTypeRegistry | +| `delete` | Delete a nodeTypeRegistry | **Fields:** | Field | Type | |-------|------| -| `id` | UUID | -| `ownerId` | UUID | -| `cc` | String | -| `number` | String | -| `isVerified` | Boolean | -| `isPrimary` | Boolean | +| `name` | String | +| `slug` | String | +| `category` | String | +| `displayName` | String | +| `description` | String | +| `parameterSchema` | JSON | +| `tags` | String | | `createdAt` | Datetime | | `updatedAt` | Datetime | - -**Required create fields:** `cc`, `number` -**Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` +| `nameTrgmSimilarity` | Float | +| `slugTrgmSimilarity` | Float | +| `categoryTrgmSimilarity` | Float | +| `displayNameTrgmSimilarity` | Float | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `slug`, `category`, `nameTrgmSimilarity`, `slugTrgmSimilarity`, `categoryTrgmSimilarity`, `displayNameTrgmSimilarity`, `descriptionTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `displayName`, `description`, `parameterSchema`, `tags` ### `membership-type` @@ -2906,37 +3166,11 @@ CRUD operations for MembershipType records. | `name` | String | | `description` | String | | `prefix` | String | +| `descriptionTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name`, `description`, `prefix` - -### `node-type-registry` - -CRUD operations for NodeTypeRegistry records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all nodeTypeRegistry records | -| `get` | Get a nodeTypeRegistry by name | -| `create` | Create a new nodeTypeRegistry | -| `update` | Update an existing nodeTypeRegistry | -| `delete` | Delete a nodeTypeRegistry | - -**Fields:** - -| Field | Type | -|-------|------| -| `name` | String | -| `slug` | String | -| `category` | String | -| `displayName` | String | -| `description` | String | -| `parameterSchema` | JSON | -| `tags` | String | -| `createdAt` | Datetime | -| `updatedAt` | Datetime | - -**Required create fields:** `slug`, `category` -**Optional create fields (backend defaults):** `displayName`, `description`, `parameterSchema`, `tags` +**Required create fields:** `name`, `description`, `prefix`, `descriptionTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore` ### `app-membership-default` @@ -2964,6 +3198,42 @@ CRUD operations for AppMembershipDefault records. **Optional create fields (backend defaults):** `createdBy`, `updatedBy`, `isApproved`, `isVerified` +### `rls-module` + +CRUD operations for RlsModule records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all rlsModule records | +| `get` | Get a rlsModule by id | +| `create` | Create a new rlsModule | +| `update` | Update an existing rlsModule | +| `delete` | Delete a rlsModule | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | UUID | +| `databaseId` | UUID | +| `schemaId` | UUID | +| `privateSchemaId` | UUID | +| `sessionCredentialsTableId` | UUID | +| `sessionsTableId` | UUID | +| `usersTableId` | UUID | +| `authenticate` | String | +| `authenticateStrict` | String | +| `currentRole` | String | +| `currentRoleId` | String | +| `authenticateTrgmSimilarity` | Float | +| `authenticateStrictTrgmSimilarity` | Float | +| `currentRoleTrgmSimilarity` | Float | +| `currentRoleIdTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `authenticateTrgmSimilarity`, `authenticateStrictTrgmSimilarity`, `currentRoleTrgmSimilarity`, `currentRoleIdTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `sessionCredentialsTableId`, `sessionsTableId`, `usersTableId`, `authenticate`, `authenticateStrict`, `currentRole`, `currentRoleId` + ### `commit` CRUD operations for Commit records. @@ -2989,8 +3259,10 @@ CRUD operations for Commit records. | `committerId` | UUID | | `treeId` | UUID | | `date` | Datetime | +| `messageTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `databaseId`, `storeId` +**Required create fields:** `databaseId`, `storeId`, `messageTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `message`, `parentIds`, `authorId`, `committerId`, `treeId`, `date` ### `org-membership-default` @@ -3046,8 +3318,10 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | | `success` | Boolean | | `createdAt` | Datetime | +| `userAgentTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `event`, `success` +**Required create fields:** `event`, `success`, `userAgentTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `actorId`, `origin`, `userAgent`, `ipAddress` ### `app-level` @@ -3073,37 +3347,12 @@ CRUD operations for AppLevel records. | `ownerId` | UUID | | `createdAt` | Datetime | | `updatedAt` | Datetime | +| `descriptionTrgmSimilarity` | Float | +| `searchScore` | Float | -**Required create fields:** `name` +**Required create fields:** `name`, `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `description`, `image`, `ownerId` -### `email` - -CRUD operations for Email records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all email records | -| `get` | Get a email by id | -| `create` | Create a new email | -| `update` | Update an existing email | -| `delete` | Delete a email | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | UUID | -| `ownerId` | UUID | -| `email` | Email | -| `isVerified` | Boolean | -| `isPrimary` | Boolean | -| `createdAt` | Datetime | -| `updatedAt` | Datetime | - -**Required create fields:** `email` -**Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` - ### `sql-migration` CRUD operations for SqlMigration records. @@ -3133,9 +3382,44 @@ CRUD operations for SqlMigration records. | `action` | String | | `actionId` | UUID | | `actorId` | UUID | - +| `nameTrgmSimilarity` | Float | +| `deployTrgmSimilarity` | Float | +| `contentTrgmSimilarity` | Float | +| `revertTrgmSimilarity` | Float | +| `verifyTrgmSimilarity` | Float | +| `actionTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `nameTrgmSimilarity`, `deployTrgmSimilarity`, `contentTrgmSimilarity`, `revertTrgmSimilarity`, `verifyTrgmSimilarity`, `actionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `name`, `databaseId`, `deploy`, `deps`, `payload`, `content`, `revert`, `verify`, `action`, `actionId`, `actorId` +### `email` + +CRUD operations for Email records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all email records | +| `get` | Get a email by id | +| `create` | Create a new email | +| `update` | Update an existing email | +| `delete` | Delete a email | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | UUID | +| `ownerId` | UUID | +| `email` | Email | +| `isVerified` | Boolean | +| `isPrimary` | Boolean | +| `createdAt` | Datetime | +| `updatedAt` | Datetime | + +**Required create fields:** `email` +**Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` + ### `ast-migration` CRUD operations for AstMigration records. @@ -3165,38 +3449,12 @@ CRUD operations for AstMigration records. | `action` | String | | `actionId` | UUID | | `actorId` | UUID | +| `actionTrgmSimilarity` | Float | +| `searchScore` | Float | +**Required create fields:** `actionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `databaseId`, `name`, `requires`, `payload`, `deploys`, `deploy`, `revert`, `verify`, `action`, `actionId`, `actorId` -### `user` - -CRUD operations for User records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all user records | -| `get` | Get a user by id | -| `create` | Create a new user | -| `update` | Update an existing user | -| `delete` | Delete a user | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | UUID | -| `username` | String | -| `displayName` | String | -| `profilePicture` | Image | -| `searchTsv` | FullText | -| `type` | Int | -| `createdAt` | Datetime | -| `updatedAt` | Datetime | -| `searchTsvRank` | Float | - -**Required create fields:** `searchTsvRank` -**Optional create fields (backend defaults):** `username`, `displayName`, `profilePicture`, `searchTsv`, `type` - ### `app-membership` CRUD operations for AppMembership records. @@ -3233,6 +3491,37 @@ CRUD operations for AppMembership records. **Required create fields:** `actorId` **Optional create fields (backend defaults):** `createdBy`, `updatedBy`, `isApproved`, `isBanned`, `isDisabled`, `isVerified`, `isActive`, `isOwner`, `isAdmin`, `permissions`, `granted`, `profileId` +### `user` + +CRUD operations for User records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all user records | +| `get` | Get a user by id | +| `create` | Create a new user | +| `update` | Update an existing user | +| `delete` | Delete a user | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | UUID | +| `username` | String | +| `displayName` | String | +| `profilePicture` | Image | +| `searchTsv` | FullText | +| `type` | Int | +| `createdAt` | Datetime | +| `updatedAt` | Datetime | +| `searchTsvRank` | Float | +| `displayNameTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `searchTsvRank`, `displayNameTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `username`, `displayName`, `profilePicture`, `searchTsv`, `type` + ### `hierarchy-module` CRUD operations for HierarchyModule records. @@ -3269,8 +3558,19 @@ CRUD operations for HierarchyModule records. | `getManagersFunction` | String | | `isManagerOfFunction` | String | | `createdAt` | Datetime | - -**Required create fields:** `databaseId`, `entityTableId`, `usersTableId` +| `chartEdgesTableNameTrgmSimilarity` | Float | +| `hierarchySprtTableNameTrgmSimilarity` | Float | +| `chartEdgeGrantsTableNameTrgmSimilarity` | Float | +| `prefixTrgmSimilarity` | Float | +| `privateSchemaNameTrgmSimilarity` | Float | +| `sprtTableNameTrgmSimilarity` | Float | +| `rebuildHierarchyFunctionTrgmSimilarity` | Float | +| `getSubordinatesFunctionTrgmSimilarity` | Float | +| `getManagersFunctionTrgmSimilarity` | Float | +| `isManagerOfFunctionTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `entityTableId`, `usersTableId`, `chartEdgesTableNameTrgmSimilarity`, `hierarchySprtTableNameTrgmSimilarity`, `chartEdgeGrantsTableNameTrgmSimilarity`, `prefixTrgmSimilarity`, `privateSchemaNameTrgmSimilarity`, `sprtTableNameTrgmSimilarity`, `rebuildHierarchyFunctionTrgmSimilarity`, `getSubordinatesFunctionTrgmSimilarity`, `getManagersFunctionTrgmSimilarity`, `isManagerOfFunctionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `schemaId`, `privateSchemaId`, `chartEdgesTableId`, `chartEdgesTableName`, `hierarchySprtTableId`, `hierarchySprtTableName`, `chartEdgeGrantsTableId`, `chartEdgeGrantsTableName`, `prefix`, `privateSchemaName`, `sprtTableName`, `rebuildHierarchyFunction`, `getSubordinatesFunction`, `getManagersFunction`, `isManagerOfFunction` ## Custom Operations @@ -3633,20 +3933,6 @@ resetPassword | `--input.resetToken` | String | | `--input.newPassword` | String | -### `remove-node-at-path` - -removeNodeAtPath - -- **Type:** mutation -- **Arguments:** - - | Argument | Type | - |----------|------| - | `--input.clientMutationId` | String | - | `--input.dbId` | UUID | - | `--input.root` | UUID | - | `--input.path` | String | - ### `bootstrap-user` bootstrapUser @@ -3665,6 +3951,20 @@ bootstrapUser | `--input.displayName` | String | | `--input.returnApiKey` | Boolean | +### `remove-node-at-path` + +removeNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `--input.clientMutationId` | String | + | `--input.dbId` | UUID | + | `--input.root` | UUID | + | `--input.path` | String | + ### `set-data-at-path` setDataAtPath diff --git a/sdk/constructive-cli/src/public/cli/commands.ts b/sdk/constructive-cli/src/public/cli/commands.ts index 09033c0f4..bf9e77146 100644 --- a/sdk/constructive-cli/src/public/cli/commands.ts +++ b/sdk/constructive-cli/src/public/cli/commands.ts @@ -30,7 +30,6 @@ import viewCmd from './commands/view'; import viewTableCmd from './commands/view-table'; import viewGrantCmd from './commands/view-grant'; import viewRuleCmd from './commands/view-rule'; -import tableModuleCmd from './commands/table-module'; import tableTemplateModuleCmd from './commands/table-template-module'; import secureTableProvisionCmd from './commands/secure-table-provision'; import relationProvisionCmd from './commands/relation-provision'; @@ -62,7 +61,6 @@ import membershipsModuleCmd from './commands/memberships-module'; import permissionsModuleCmd from './commands/permissions-module'; import phoneNumbersModuleCmd from './commands/phone-numbers-module'; import profilesModuleCmd from './commands/profiles-module'; -import rlsModuleCmd from './commands/rls-module'; import secretsModuleCmd from './commands/secrets-module'; import sessionsModuleCmd from './commands/sessions-module'; import userAuthModuleCmd from './commands/user-auth-module'; @@ -90,25 +88,26 @@ import orgClaimedInviteCmd from './commands/org-claimed-invite'; import refCmd from './commands/ref'; import storeCmd from './commands/store'; import appPermissionDefaultCmd from './commands/app-permission-default'; +import cryptoAddressCmd from './commands/crypto-address'; import roleTypeCmd from './commands/role-type'; import orgPermissionDefaultCmd from './commands/org-permission-default'; -import cryptoAddressCmd from './commands/crypto-address'; +import phoneNumberCmd from './commands/phone-number'; import appLimitDefaultCmd from './commands/app-limit-default'; import orgLimitDefaultCmd from './commands/org-limit-default'; import connectedAccountCmd from './commands/connected-account'; -import phoneNumberCmd from './commands/phone-number'; -import membershipTypeCmd from './commands/membership-type'; import nodeTypeRegistryCmd from './commands/node-type-registry'; +import membershipTypeCmd from './commands/membership-type'; import appMembershipDefaultCmd from './commands/app-membership-default'; +import rlsModuleCmd from './commands/rls-module'; import commitCmd from './commands/commit'; import orgMembershipDefaultCmd from './commands/org-membership-default'; import auditLogCmd from './commands/audit-log'; import appLevelCmd from './commands/app-level'; -import emailCmd from './commands/email'; import sqlMigrationCmd from './commands/sql-migration'; +import emailCmd from './commands/email'; import astMigrationCmd from './commands/ast-migration'; -import userCmd from './commands/user'; import appMembershipCmd from './commands/app-membership'; +import userCmd from './commands/user'; import hierarchyModuleCmd from './commands/hierarchy-module'; import currentUserIdCmd from './commands/current-user-id'; import currentIpAddressCmd from './commands/current-ip-address'; @@ -140,8 +139,8 @@ import confirmDeleteAccountCmd from './commands/confirm-delete-account'; import setPasswordCmd from './commands/set-password'; import verifyEmailCmd from './commands/verify-email'; import resetPasswordCmd from './commands/reset-password'; -import removeNodeAtPathCmd from './commands/remove-node-at-path'; import bootstrapUserCmd from './commands/bootstrap-user'; +import removeNodeAtPathCmd from './commands/remove-node-at-path'; import setDataAtPathCmd from './commands/set-data-at-path'; import setPropsAndCommitCmd from './commands/set-props-and-commit'; import provisionDatabaseWithUserCmd from './commands/provision-database-with-user'; @@ -194,7 +193,6 @@ const createCommandMap: () => Record< 'view-table': viewTableCmd, 'view-grant': viewGrantCmd, 'view-rule': viewRuleCmd, - 'table-module': tableModuleCmd, 'table-template-module': tableTemplateModuleCmd, 'secure-table-provision': secureTableProvisionCmd, 'relation-provision': relationProvisionCmd, @@ -226,7 +224,6 @@ const createCommandMap: () => Record< 'permissions-module': permissionsModuleCmd, 'phone-numbers-module': phoneNumbersModuleCmd, 'profiles-module': profilesModuleCmd, - 'rls-module': rlsModuleCmd, 'secrets-module': secretsModuleCmd, 'sessions-module': sessionsModuleCmd, 'user-auth-module': userAuthModuleCmd, @@ -254,25 +251,26 @@ const createCommandMap: () => Record< ref: refCmd, store: storeCmd, 'app-permission-default': appPermissionDefaultCmd, + 'crypto-address': cryptoAddressCmd, 'role-type': roleTypeCmd, 'org-permission-default': orgPermissionDefaultCmd, - 'crypto-address': cryptoAddressCmd, + 'phone-number': phoneNumberCmd, 'app-limit-default': appLimitDefaultCmd, 'org-limit-default': orgLimitDefaultCmd, 'connected-account': connectedAccountCmd, - 'phone-number': phoneNumberCmd, - 'membership-type': membershipTypeCmd, 'node-type-registry': nodeTypeRegistryCmd, + 'membership-type': membershipTypeCmd, 'app-membership-default': appMembershipDefaultCmd, + 'rls-module': rlsModuleCmd, commit: commitCmd, 'org-membership-default': orgMembershipDefaultCmd, 'audit-log': auditLogCmd, 'app-level': appLevelCmd, - email: emailCmd, 'sql-migration': sqlMigrationCmd, + email: emailCmd, 'ast-migration': astMigrationCmd, - user: userCmd, 'app-membership': appMembershipCmd, + user: userCmd, 'hierarchy-module': hierarchyModuleCmd, 'current-user-id': currentUserIdCmd, 'current-ip-address': currentIpAddressCmd, @@ -304,8 +302,8 @@ const createCommandMap: () => Record< 'set-password': setPasswordCmd, 'verify-email': verifyEmailCmd, 'reset-password': resetPasswordCmd, - 'remove-node-at-path': removeNodeAtPathCmd, 'bootstrap-user': bootstrapUserCmd, + 'remove-node-at-path': removeNodeAtPathCmd, 'set-data-at-path': setDataAtPathCmd, 'set-props-and-commit': setPropsAndCommitCmd, 'provision-database-with-user': provisionDatabaseWithUserCmd, @@ -326,7 +324,7 @@ const createCommandMap: () => Record< 'verify-totp': verifyTotpCmd, }); const usage = - "\ncsdk \n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n table-module tableModule CRUD operations\n table-template-module tableTemplateModule CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n field-module fieldModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n rls-module rlsModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n uuid-module uuidModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n invite invite CRUD operations\n claimed-invite claimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n role-type roleType CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n crypto-address cryptoAddress CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n connected-account connectedAccount CRUD operations\n phone-number phoneNumber CRUD operations\n membership-type membershipType CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n commit commit CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n audit-log auditLog CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n sql-migration sqlMigration CRUD operations\n ast-migration astMigration CRUD operations\n user user CRUD operations\n app-membership appMembership CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-ip-address currentIpAddress\n current-user-agent currentUserAgent\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n sign-out signOut\n send-account-deletion-email sendAccountDeletionEmail\n check-password checkPassword\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n bootstrap-user bootstrapUser\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n sign-in-one-time-token signInOneTimeToken\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n sign-in signIn\n sign-up signUp\n set-field-order setFieldOrder\n one-time-token oneTimeToken\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n apply-rls applyRls\n forgot-password forgotPassword\n send-verification-email sendVerificationEmail\n verify-password verifyPassword\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n"; + "\ncsdk \n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n table-template-module tableTemplateModule CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n field-module fieldModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n uuid-module uuidModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n invite invite CRUD operations\n claimed-invite claimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n crypto-address cryptoAddress CRUD operations\n role-type roleType CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n phone-number phoneNumber CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n connected-account connectedAccount CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n membership-type membershipType CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n rls-module rlsModule CRUD operations\n commit commit CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n audit-log auditLog CRUD operations\n app-level appLevel CRUD operations\n sql-migration sqlMigration CRUD operations\n email email CRUD operations\n ast-migration astMigration CRUD operations\n app-membership appMembership CRUD operations\n user user CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-ip-address currentIpAddress\n current-user-agent currentUserAgent\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n sign-out signOut\n send-account-deletion-email sendAccountDeletionEmail\n check-password checkPassword\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n reset-password resetPassword\n bootstrap-user bootstrapUser\n remove-node-at-path removeNodeAtPath\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n sign-in-one-time-token signInOneTimeToken\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n sign-in signIn\n sign-up signUp\n set-field-order setFieldOrder\n one-time-token oneTimeToken\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n apply-rls applyRls\n forgot-password forgotPassword\n send-verification-email sendVerificationEmail\n verify-password verifyPassword\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n"; export const commands = async ( argv: Partial>, prompter: Inquirerer, diff --git a/sdk/constructive-cli/src/public/cli/commands/api-module.ts b/sdk/constructive-cli/src/public/cli/commands/api-module.ts index 1131ae3fa..6b09d15b0 100644 --- a/sdk/constructive-cli/src/public/cli/commands/api-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/api-module.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { apiId: 'uuid', name: 'string', data: 'json', + nameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napi-module \n\nCommands:\n list List all apiModule records\n get Get a apiModule by ID\n create Create a new apiModule\n update Update an existing apiModule\n delete Delete a apiModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/api.ts b/sdk/constructive-cli/src/public/cli/commands/api.ts index cdb904246..da63e76d7 100644 --- a/sdk/constructive-cli/src/public/cli/commands/api.ts +++ b/sdk/constructive-cli/src/public/cli/commands/api.ts @@ -16,6 +16,11 @@ const fieldSchema: FieldSchema = { roleName: 'string', anonRole: 'string', isPublic: 'boolean', + nameTrgmSimilarity: 'float', + dbnameTrgmSimilarity: 'float', + roleNameTrgmSimilarity: 'float', + anonRoleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napi \n\nCommands:\n list List all api records\n get Get a api by ID\n create Create a new api\n update Update an existing api\n delete Delete a api\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/app-level-requirement.ts b/sdk/constructive-cli/src/public/cli/commands/app-level-requirement.ts index 1e6781802..f41f9c940 100644 --- a/sdk/constructive-cli/src/public/cli/commands/app-level-requirement.ts +++ b/sdk/constructive-cli/src/public/cli/commands/app-level-requirement.ts @@ -20,6 +20,8 @@ const fieldSchema: FieldSchema = { priority: 'int', createdAt: 'string', updatedAt: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napp-level-requirement \n\nCommands:\n list List all appLevelRequirement records\n get Get a appLevelRequirement by ID\n create Create a new appLevelRequirement\n update Update an existing appLevelRequirement\n delete Delete a appLevelRequirement\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/app-level.ts b/sdk/constructive-cli/src/public/cli/commands/app-level.ts index 346ad0c7f..c21b85d0a 100644 --- a/sdk/constructive-cli/src/public/cli/commands/app-level.ts +++ b/sdk/constructive-cli/src/public/cli/commands/app-level.ts @@ -16,6 +16,8 @@ const fieldSchema: FieldSchema = { ownerId: 'uuid', createdAt: 'string', updatedAt: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napp-level \n\nCommands:\n list List all appLevel records\n get Get a appLevel by ID\n create Create a new appLevel\n update Update an existing appLevel\n delete Delete a appLevel\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/app-permission.ts b/sdk/constructive-cli/src/public/cli/commands/app-permission.ts index 61f8849ca..652e5a821 100644 --- a/sdk/constructive-cli/src/public/cli/commands/app-permission.ts +++ b/sdk/constructive-cli/src/public/cli/commands/app-permission.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { bitnum: 'int', bitstr: 'string', description: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napp-permission \n\nCommands:\n list List all appPermission records\n get Get a appPermission by ID\n create Create a new appPermission\n update Update an existing appPermission\n delete Delete a appPermission\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/app.ts b/sdk/constructive-cli/src/public/cli/commands/app.ts index 33d9b5c1b..41ad93cdd 100644 --- a/sdk/constructive-cli/src/public/cli/commands/app.ts +++ b/sdk/constructive-cli/src/public/cli/commands/app.ts @@ -18,6 +18,10 @@ const fieldSchema: FieldSchema = { appStoreId: 'string', appIdPrefix: 'string', playStoreLink: 'string', + nameTrgmSimilarity: 'float', + appStoreIdTrgmSimilarity: 'float', + appIdPrefixTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\napp \n\nCommands:\n list List all app records\n get Get a app by ID\n create Create a new app\n update Update an existing app\n delete Delete a app\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/ast-migration.ts b/sdk/constructive-cli/src/public/cli/commands/ast-migration.ts index 3ef3cc590..52bab20dd 100644 --- a/sdk/constructive-cli/src/public/cli/commands/ast-migration.ts +++ b/sdk/constructive-cli/src/public/cli/commands/ast-migration.ts @@ -22,6 +22,8 @@ const fieldSchema: FieldSchema = { action: 'string', actionId: 'uuid', actorId: 'uuid', + actionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nast-migration \n\nCommands:\n list List all astMigration records\n create Create a new astMigration\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/audit-log.ts b/sdk/constructive-cli/src/public/cli/commands/audit-log.ts index d4e2566ef..a90edd0c4 100644 --- a/sdk/constructive-cli/src/public/cli/commands/audit-log.ts +++ b/sdk/constructive-cli/src/public/cli/commands/audit-log.ts @@ -17,6 +17,8 @@ const fieldSchema: FieldSchema = { ipAddress: 'string', success: 'boolean', createdAt: 'string', + userAgentTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\naudit-log \n\nCommands:\n list List all auditLog records\n get Get a auditLog by ID\n create Create a new auditLog\n update Update an existing auditLog\n delete Delete a auditLog\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/check-constraint.ts b/sdk/constructive-cli/src/public/cli/commands/check-constraint.ts index 27e7683c9..f2652c62b 100644 --- a/sdk/constructive-cli/src/public/cli/commands/check-constraint.ts +++ b/sdk/constructive-cli/src/public/cli/commands/check-constraint.ts @@ -23,6 +23,10 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + typeTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ncheck-constraint \n\nCommands:\n list List all checkConstraint records\n get Get a checkConstraint by ID\n create Create a new checkConstraint\n update Update an existing checkConstraint\n delete Delete a checkConstraint\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/commit.ts b/sdk/constructive-cli/src/public/cli/commands/commit.ts index 41e83a4f2..905cf9fc1 100644 --- a/sdk/constructive-cli/src/public/cli/commands/commit.ts +++ b/sdk/constructive-cli/src/public/cli/commands/commit.ts @@ -18,6 +18,8 @@ const fieldSchema: FieldSchema = { committerId: 'uuid', treeId: 'uuid', date: 'string', + messageTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ncommit \n\nCommands:\n list List all commit records\n get Get a commit by ID\n create Create a new commit\n update Update an existing commit\n delete Delete a commit\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/connected-account.ts b/sdk/constructive-cli/src/public/cli/commands/connected-account.ts index 373ce17f3..536be726e 100644 --- a/sdk/constructive-cli/src/public/cli/commands/connected-account.ts +++ b/sdk/constructive-cli/src/public/cli/commands/connected-account.ts @@ -17,6 +17,9 @@ const fieldSchema: FieldSchema = { isVerified: 'boolean', createdAt: 'string', updatedAt: 'string', + serviceTrgmSimilarity: 'float', + identifierTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nconnected-account \n\nCommands:\n list List all connectedAccount records\n get Get a connectedAccount by ID\n create Create a new connectedAccount\n update Update an existing connectedAccount\n delete Delete a connectedAccount\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/connected-accounts-module.ts b/sdk/constructive-cli/src/public/cli/commands/connected-accounts-module.ts index eda2d569e..f195e5063 100644 --- a/sdk/constructive-cli/src/public/cli/commands/connected-accounts-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/connected-accounts-module.ts @@ -19,6 +19,8 @@ const fieldSchema: FieldSchema = { tableId: 'uuid', ownerTableId: 'uuid', tableName: 'string', + tableNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nconnected-accounts-module \n\nCommands:\n list List all connectedAccountsModule records\n get Get a connectedAccountsModule by ID\n create Create a new connectedAccountsModule\n update Update an existing connectedAccountsModule\n delete Delete a connectedAccountsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/crypto-address.ts b/sdk/constructive-cli/src/public/cli/commands/crypto-address.ts index a4d171639..3f9110c83 100644 --- a/sdk/constructive-cli/src/public/cli/commands/crypto-address.ts +++ b/sdk/constructive-cli/src/public/cli/commands/crypto-address.ts @@ -16,6 +16,8 @@ const fieldSchema: FieldSchema = { isPrimary: 'boolean', createdAt: 'string', updatedAt: 'string', + addressTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ncrypto-address \n\nCommands:\n list List all cryptoAddress records\n get Get a cryptoAddress by ID\n create Create a new cryptoAddress\n update Update an existing cryptoAddress\n delete Delete a cryptoAddress\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/crypto-addresses-module.ts b/sdk/constructive-cli/src/public/cli/commands/crypto-addresses-module.ts index e444c2331..d907bca89 100644 --- a/sdk/constructive-cli/src/public/cli/commands/crypto-addresses-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/crypto-addresses-module.ts @@ -20,6 +20,9 @@ const fieldSchema: FieldSchema = { ownerTableId: 'uuid', tableName: 'string', cryptoNetwork: 'string', + tableNameTrgmSimilarity: 'float', + cryptoNetworkTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ncrypto-addresses-module \n\nCommands:\n list List all cryptoAddressesModule records\n get Get a cryptoAddressesModule by ID\n create Create a new cryptoAddressesModule\n update Update an existing cryptoAddressesModule\n delete Delete a cryptoAddressesModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/crypto-auth-module.ts b/sdk/constructive-cli/src/public/cli/commands/crypto-auth-module.ts index e86a195d1..dc3a4fb3c 100644 --- a/sdk/constructive-cli/src/public/cli/commands/crypto-auth-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/crypto-auth-module.ts @@ -23,6 +23,13 @@ const fieldSchema: FieldSchema = { signInRecordFailure: 'string', signUpWithKey: 'string', signInWithChallenge: 'string', + userFieldTrgmSimilarity: 'float', + cryptoNetworkTrgmSimilarity: 'float', + signInRequestChallengeTrgmSimilarity: 'float', + signInRecordFailureTrgmSimilarity: 'float', + signUpWithKeyTrgmSimilarity: 'float', + signInWithChallengeTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ncrypto-auth-module \n\nCommands:\n list List all cryptoAuthModule records\n get Get a cryptoAuthModule by ID\n create Create a new cryptoAuthModule\n update Update an existing cryptoAuthModule\n delete Delete a cryptoAuthModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/database-provision-module.ts b/sdk/constructive-cli/src/public/cli/commands/database-provision-module.ts index e1ad016a3..d27c55497 100644 --- a/sdk/constructive-cli/src/public/cli/commands/database-provision-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/database-provision-module.ts @@ -26,6 +26,12 @@ const fieldSchema: FieldSchema = { createdAt: 'string', updatedAt: 'string', completedAt: 'string', + databaseNameTrgmSimilarity: 'float', + subdomainTrgmSimilarity: 'float', + domainTrgmSimilarity: 'float', + statusTrgmSimilarity: 'float', + errorMessageTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ndatabase-provision-module \n\nCommands:\n list List all databaseProvisionModule records\n get Get a databaseProvisionModule by ID\n create Create a new databaseProvisionModule\n update Update an existing databaseProvisionModule\n delete Delete a databaseProvisionModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/database.ts b/sdk/constructive-cli/src/public/cli/commands/database.ts index 012a358c8..0bf0b59d5 100644 --- a/sdk/constructive-cli/src/public/cli/commands/database.ts +++ b/sdk/constructive-cli/src/public/cli/commands/database.ts @@ -17,6 +17,10 @@ const fieldSchema: FieldSchema = { hash: 'uuid', createdAt: 'string', updatedAt: 'string', + schemaHashTrgmSimilarity: 'float', + nameTrgmSimilarity: 'float', + labelTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ndatabase \n\nCommands:\n list List all database records\n get Get a database by ID\n create Create a new database\n update Update an existing database\n delete Delete a database\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/default-privilege.ts b/sdk/constructive-cli/src/public/cli/commands/default-privilege.ts index 8a30d6a43..eb96dbe22 100644 --- a/sdk/constructive-cli/src/public/cli/commands/default-privilege.ts +++ b/sdk/constructive-cli/src/public/cli/commands/default-privilege.ts @@ -16,6 +16,10 @@ const fieldSchema: FieldSchema = { privilege: 'string', granteeName: 'string', isGrant: 'boolean', + objectTypeTrgmSimilarity: 'float', + privilegeTrgmSimilarity: 'float', + granteeNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ndefault-privilege \n\nCommands:\n list List all defaultPrivilege records\n get Get a defaultPrivilege by ID\n create Create a new defaultPrivilege\n update Update an existing defaultPrivilege\n delete Delete a defaultPrivilege\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/denormalized-table-field.ts b/sdk/constructive-cli/src/public/cli/commands/denormalized-table-field.ts index e372f5669..a60dcf8e3 100644 --- a/sdk/constructive-cli/src/public/cli/commands/denormalized-table-field.ts +++ b/sdk/constructive-cli/src/public/cli/commands/denormalized-table-field.ts @@ -24,6 +24,8 @@ const fieldSchema: FieldSchema = { updateDefaults: 'boolean', funcName: 'string', funcOrder: 'int', + funcNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ndenormalized-table-field \n\nCommands:\n list List all denormalizedTableField records\n get Get a denormalizedTableField by ID\n create Create a new denormalizedTableField\n update Update an existing denormalizedTableField\n delete Delete a denormalizedTableField\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/emails-module.ts b/sdk/constructive-cli/src/public/cli/commands/emails-module.ts index 2c36361cf..ff0cfd49e 100644 --- a/sdk/constructive-cli/src/public/cli/commands/emails-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/emails-module.ts @@ -16,6 +16,8 @@ const fieldSchema: FieldSchema = { tableId: 'uuid', ownerTableId: 'uuid', tableName: 'string', + tableNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nemails-module \n\nCommands:\n list List all emailsModule records\n get Get a emailsModule by ID\n create Create a new emailsModule\n update Update an existing emailsModule\n delete Delete a emailsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/encrypted-secrets-module.ts b/sdk/constructive-cli/src/public/cli/commands/encrypted-secrets-module.ts index e40046902..77585c3d2 100644 --- a/sdk/constructive-cli/src/public/cli/commands/encrypted-secrets-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/encrypted-secrets-module.ts @@ -17,6 +17,8 @@ const fieldSchema: FieldSchema = { schemaId: 'uuid', tableId: 'uuid', tableName: 'string', + tableNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nencrypted-secrets-module \n\nCommands:\n list List all encryptedSecretsModule records\n get Get a encryptedSecretsModule by ID\n create Create a new encryptedSecretsModule\n update Update an existing encryptedSecretsModule\n delete Delete a encryptedSecretsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/field-module.ts b/sdk/constructive-cli/src/public/cli/commands/field-module.ts index 003bd07b4..c493bfe01 100644 --- a/sdk/constructive-cli/src/public/cli/commands/field-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/field-module.ts @@ -18,6 +18,8 @@ const fieldSchema: FieldSchema = { data: 'json', triggers: 'string', functions: 'string', + nodeTypeTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nfield-module \n\nCommands:\n list List all fieldModule records\n get Get a fieldModule by ID\n create Create a new fieldModule\n update Update an existing fieldModule\n delete Delete a fieldModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/field.ts b/sdk/constructive-cli/src/public/cli/commands/field.ts index 53047ffa1..014579f7d 100644 --- a/sdk/constructive-cli/src/public/cli/commands/field.ts +++ b/sdk/constructive-cli/src/public/cli/commands/field.ts @@ -33,6 +33,13 @@ const fieldSchema: FieldSchema = { scope: 'int', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + labelTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + defaultValueTrgmSimilarity: 'float', + regexpTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nfield \n\nCommands:\n list List all field records\n get Get a field by ID\n create Create a new field\n update Update an existing field\n delete Delete a field\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/foreign-key-constraint.ts b/sdk/constructive-cli/src/public/cli/commands/foreign-key-constraint.ts index 168394874..c960f2f70 100644 --- a/sdk/constructive-cli/src/public/cli/commands/foreign-key-constraint.ts +++ b/sdk/constructive-cli/src/public/cli/commands/foreign-key-constraint.ts @@ -30,6 +30,13 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + typeTrgmSimilarity: 'float', + deleteActionTrgmSimilarity: 'float', + updateActionTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nforeign-key-constraint \n\nCommands:\n list List all foreignKeyConstraint records\n get Get a foreignKeyConstraint by ID\n create Create a new foreignKeyConstraint\n update Update an existing foreignKeyConstraint\n delete Delete a foreignKeyConstraint\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/hierarchy-module.ts b/sdk/constructive-cli/src/public/cli/commands/hierarchy-module.ts index d009ea620..e3e9c8915 100644 --- a/sdk/constructive-cli/src/public/cli/commands/hierarchy-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/hierarchy-module.ts @@ -29,6 +29,17 @@ const fieldSchema: FieldSchema = { getManagersFunction: 'string', isManagerOfFunction: 'string', createdAt: 'string', + chartEdgesTableNameTrgmSimilarity: 'float', + hierarchySprtTableNameTrgmSimilarity: 'float', + chartEdgeGrantsTableNameTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + privateSchemaNameTrgmSimilarity: 'float', + sprtTableNameTrgmSimilarity: 'float', + rebuildHierarchyFunctionTrgmSimilarity: 'float', + getSubordinatesFunctionTrgmSimilarity: 'float', + getManagersFunctionTrgmSimilarity: 'float', + isManagerOfFunctionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nhierarchy-module \n\nCommands:\n list List all hierarchyModule records\n get Get a hierarchyModule by ID\n create Create a new hierarchyModule\n update Update an existing hierarchyModule\n delete Delete a hierarchyModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/index.ts b/sdk/constructive-cli/src/public/cli/commands/index.ts index 77f7ab004..b28d07278 100644 --- a/sdk/constructive-cli/src/public/cli/commands/index.ts +++ b/sdk/constructive-cli/src/public/cli/commands/index.ts @@ -19,6 +19,8 @@ const fieldSchema: FieldSchema = { indexParams: 'json', whereClause: 'json', isUnique: 'boolean', + options: 'json', + opClasses: 'string', smartTags: 'json', category: 'string', module: 'string', @@ -26,6 +28,10 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + accessMethodTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nindex \n\nCommands:\n list List all index records\n get Get a index by ID\n create Create a new index\n update Update an existing index\n delete Delete a index\n\n --help, -h Show this help message\n'; @@ -89,6 +95,8 @@ async function handleList(_argv: Partial>, _prompter: In indexParams: true, whereClause: true, isUnique: true, + options: true, + opClasses: true, smartTags: true, category: true, module: true, @@ -133,6 +141,8 @@ async function handleGet(argv: Partial>, prompter: Inqui indexParams: true, whereClause: true, isUnique: true, + options: true, + opClasses: true, smartTags: true, category: true, module: true, @@ -216,6 +226,20 @@ async function handleCreate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, + { + type: 'json', + name: 'options', + message: 'options', + required: false, + skipPrompt: true, + }, + { + type: 'text', + name: 'opClasses', + message: 'opClasses', + required: false, + skipPrompt: true, + }, { type: 'json', name: 'smartTags', @@ -267,6 +291,8 @@ async function handleCreate(argv: Partial>, prompter: In indexParams: cleanedData.indexParams, whereClause: cleanedData.whereClause, isUnique: cleanedData.isUnique, + options: cleanedData.options, + opClasses: cleanedData.opClasses, smartTags: cleanedData.smartTags, category: cleanedData.category, module: cleanedData.module, @@ -284,6 +310,8 @@ async function handleCreate(argv: Partial>, prompter: In indexParams: true, whereClause: true, isUnique: true, + options: true, + opClasses: true, smartTags: true, category: true, module: true, @@ -373,6 +401,20 @@ async function handleUpdate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, + { + type: 'json', + name: 'options', + message: 'options', + required: false, + skipPrompt: true, + }, + { + type: 'text', + name: 'opClasses', + message: 'opClasses', + required: false, + skipPrompt: true, + }, { type: 'json', name: 'smartTags', @@ -427,6 +469,8 @@ async function handleUpdate(argv: Partial>, prompter: In indexParams: cleanedData.indexParams, whereClause: cleanedData.whereClause, isUnique: cleanedData.isUnique, + options: cleanedData.options, + opClasses: cleanedData.opClasses, smartTags: cleanedData.smartTags, category: cleanedData.category, module: cleanedData.module, @@ -444,6 +488,8 @@ async function handleUpdate(argv: Partial>, prompter: In indexParams: true, whereClause: true, isUnique: true, + options: true, + opClasses: true, smartTags: true, category: true, module: true, diff --git a/sdk/constructive-cli/src/public/cli/commands/invite.ts b/sdk/constructive-cli/src/public/cli/commands/invite.ts index 7d243bdd3..e70bc595b 100644 --- a/sdk/constructive-cli/src/public/cli/commands/invite.ts +++ b/sdk/constructive-cli/src/public/cli/commands/invite.ts @@ -21,6 +21,8 @@ const fieldSchema: FieldSchema = { expiresAt: 'string', createdAt: 'string', updatedAt: 'string', + inviteTokenTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ninvite \n\nCommands:\n list List all invite records\n get Get a invite by ID\n create Create a new invite\n update Update an existing invite\n delete Delete a invite\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/invites-module.ts b/sdk/constructive-cli/src/public/cli/commands/invites-module.ts index 299bcadcd..6914f616c 100644 --- a/sdk/constructive-cli/src/public/cli/commands/invites-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/invites-module.ts @@ -23,6 +23,11 @@ const fieldSchema: FieldSchema = { prefix: 'string', membershipType: 'int', entityTableId: 'uuid', + invitesTableNameTrgmSimilarity: 'float', + claimedInvitesTableNameTrgmSimilarity: 'float', + submitInviteCodeFunctionTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ninvites-module \n\nCommands:\n list List all invitesModule records\n get Get a invitesModule by ID\n create Create a new invitesModule\n update Update an existing invitesModule\n delete Delete a invitesModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/levels-module.ts b/sdk/constructive-cli/src/public/cli/commands/levels-module.ts index 0c932d1e6..6cd4c4123 100644 --- a/sdk/constructive-cli/src/public/cli/commands/levels-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/levels-module.ts @@ -35,6 +35,22 @@ const fieldSchema: FieldSchema = { membershipType: 'int', entityTableId: 'uuid', actorTableId: 'uuid', + stepsTableNameTrgmSimilarity: 'float', + achievementsTableNameTrgmSimilarity: 'float', + levelsTableNameTrgmSimilarity: 'float', + levelRequirementsTableNameTrgmSimilarity: 'float', + completedStepTrgmSimilarity: 'float', + incompletedStepTrgmSimilarity: 'float', + tgAchievementTrgmSimilarity: 'float', + tgAchievementToggleTrgmSimilarity: 'float', + tgAchievementToggleBooleanTrgmSimilarity: 'float', + tgAchievementBooleanTrgmSimilarity: 'float', + upsertAchievementTrgmSimilarity: 'float', + tgUpdateAchievementsTrgmSimilarity: 'float', + stepsRequiredTrgmSimilarity: 'float', + levelAchievedTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nlevels-module \n\nCommands:\n list List all levelsModule records\n get Get a levelsModule by ID\n create Create a new levelsModule\n update Update an existing levelsModule\n delete Delete a levelsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/limits-module.ts b/sdk/constructive-cli/src/public/cli/commands/limits-module.ts index f1eb9e2e5..032335bc3 100644 --- a/sdk/constructive-cli/src/public/cli/commands/limits-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/limits-module.ts @@ -27,6 +27,16 @@ const fieldSchema: FieldSchema = { membershipType: 'int', entityTableId: 'uuid', actorTableId: 'uuid', + tableNameTrgmSimilarity: 'float', + defaultTableNameTrgmSimilarity: 'float', + limitIncrementFunctionTrgmSimilarity: 'float', + limitDecrementFunctionTrgmSimilarity: 'float', + limitIncrementTriggerTrgmSimilarity: 'float', + limitDecrementTriggerTrgmSimilarity: 'float', + limitUpdateTriggerTrgmSimilarity: 'float', + limitCheckFunctionTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nlimits-module \n\nCommands:\n list List all limitsModule records\n get Get a limitsModule by ID\n create Create a new limitsModule\n update Update an existing limitsModule\n delete Delete a limitsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/membership-type.ts b/sdk/constructive-cli/src/public/cli/commands/membership-type.ts index 118aade21..a8c9714c4 100644 --- a/sdk/constructive-cli/src/public/cli/commands/membership-type.ts +++ b/sdk/constructive-cli/src/public/cli/commands/membership-type.ts @@ -13,6 +13,9 @@ const fieldSchema: FieldSchema = { name: 'string', description: 'string', prefix: 'string', + descriptionTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nmembership-type \n\nCommands:\n list List all membershipType records\n get Get a membershipType by ID\n create Create a new membershipType\n update Update an existing membershipType\n delete Delete a membershipType\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/membership-types-module.ts b/sdk/constructive-cli/src/public/cli/commands/membership-types-module.ts index 420be0778..2dc5573c3 100644 --- a/sdk/constructive-cli/src/public/cli/commands/membership-types-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/membership-types-module.ts @@ -17,6 +17,8 @@ const fieldSchema: FieldSchema = { schemaId: 'uuid', tableId: 'uuid', tableName: 'string', + tableNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nmembership-types-module \n\nCommands:\n list List all membershipTypesModule records\n get Get a membershipTypesModule by ID\n create Create a new membershipTypesModule\n update Update an existing membershipTypesModule\n delete Delete a membershipTypesModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/memberships-module.ts b/sdk/constructive-cli/src/public/cli/commands/memberships-module.ts index 30413fae3..94d500ed4 100644 --- a/sdk/constructive-cli/src/public/cli/commands/memberships-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/memberships-module.ts @@ -40,6 +40,19 @@ const fieldSchema: FieldSchema = { entityIdsByMask: 'string', entityIdsByPerm: 'string', entityIdsFunction: 'string', + membershipsTableNameTrgmSimilarity: 'float', + membersTableNameTrgmSimilarity: 'float', + membershipDefaultsTableNameTrgmSimilarity: 'float', + grantsTableNameTrgmSimilarity: 'float', + adminGrantsTableNameTrgmSimilarity: 'float', + ownerGrantsTableNameTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + actorMaskCheckTrgmSimilarity: 'float', + actorPermCheckTrgmSimilarity: 'float', + entityIdsByMaskTrgmSimilarity: 'float', + entityIdsByPermTrgmSimilarity: 'float', + entityIdsFunctionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nmemberships-module \n\nCommands:\n list List all membershipsModule records\n get Get a membershipsModule by ID\n create Create a new membershipsModule\n update Update an existing membershipsModule\n delete Delete a membershipsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/node-type-registry.ts b/sdk/constructive-cli/src/public/cli/commands/node-type-registry.ts index 2e69f9b20..d07c4e6c9 100644 --- a/sdk/constructive-cli/src/public/cli/commands/node-type-registry.ts +++ b/sdk/constructive-cli/src/public/cli/commands/node-type-registry.ts @@ -18,6 +18,12 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + slugTrgmSimilarity: 'float', + categoryTrgmSimilarity: 'float', + displayNameTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nnode-type-registry \n\nCommands:\n list List all nodeTypeRegistry records\n get Get a nodeTypeRegistry by ID\n create Create a new nodeTypeRegistry\n update Update an existing nodeTypeRegistry\n delete Delete a nodeTypeRegistry\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/object.ts b/sdk/constructive-cli/src/public/cli/commands/object.ts index 31d5c64aa..098b310d5 100644 --- a/sdk/constructive-cli/src/public/cli/commands/object.ts +++ b/sdk/constructive-cli/src/public/cli/commands/object.ts @@ -70,7 +70,6 @@ async function handleList(_argv: Partial>, _prompter: In const result = await client.object .findMany({ select: { - hashUuid: true, id: true, databaseId: true, kids: true, @@ -105,7 +104,6 @@ async function handleGet(argv: Partial>, prompter: Inqui .findOne({ id: answers.id as string, select: { - hashUuid: true, id: true, databaseId: true, kids: true, @@ -176,7 +174,6 @@ async function handleCreate(argv: Partial>, prompter: In frzn: cleanedData.frzn, }, select: { - hashUuid: true, id: true, databaseId: true, kids: true, @@ -256,7 +253,6 @@ async function handleUpdate(argv: Partial>, prompter: In frzn: cleanedData.frzn, }, select: { - hashUuid: true, id: true, databaseId: true, kids: true, diff --git a/sdk/constructive-cli/src/public/cli/commands/org-chart-edge-grant.ts b/sdk/constructive-cli/src/public/cli/commands/org-chart-edge-grant.ts index f0373baa9..4f16e2d0f 100644 --- a/sdk/constructive-cli/src/public/cli/commands/org-chart-edge-grant.ts +++ b/sdk/constructive-cli/src/public/cli/commands/org-chart-edge-grant.ts @@ -18,6 +18,8 @@ const fieldSchema: FieldSchema = { positionTitle: 'string', positionLevel: 'int', createdAt: 'string', + positionTitleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-chart-edge-grant \n\nCommands:\n list List all orgChartEdgeGrant records\n get Get a orgChartEdgeGrant by ID\n create Create a new orgChartEdgeGrant\n update Update an existing orgChartEdgeGrant\n delete Delete a orgChartEdgeGrant\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/org-chart-edge.ts b/sdk/constructive-cli/src/public/cli/commands/org-chart-edge.ts index 72fa13a5e..98f69b143 100644 --- a/sdk/constructive-cli/src/public/cli/commands/org-chart-edge.ts +++ b/sdk/constructive-cli/src/public/cli/commands/org-chart-edge.ts @@ -17,6 +17,8 @@ const fieldSchema: FieldSchema = { parentId: 'uuid', positionTitle: 'string', positionLevel: 'int', + positionTitleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-chart-edge \n\nCommands:\n list List all orgChartEdge records\n get Get a orgChartEdge by ID\n create Create a new orgChartEdge\n update Update an existing orgChartEdge\n delete Delete a orgChartEdge\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/org-invite.ts b/sdk/constructive-cli/src/public/cli/commands/org-invite.ts index 9b512b138..ce3056594 100644 --- a/sdk/constructive-cli/src/public/cli/commands/org-invite.ts +++ b/sdk/constructive-cli/src/public/cli/commands/org-invite.ts @@ -23,6 +23,8 @@ const fieldSchema: FieldSchema = { createdAt: 'string', updatedAt: 'string', entityId: 'uuid', + inviteTokenTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-invite \n\nCommands:\n list List all orgInvite records\n get Get a orgInvite by ID\n create Create a new orgInvite\n update Update an existing orgInvite\n delete Delete a orgInvite\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/org-permission.ts b/sdk/constructive-cli/src/public/cli/commands/org-permission.ts index 91a56140e..a07b31182 100644 --- a/sdk/constructive-cli/src/public/cli/commands/org-permission.ts +++ b/sdk/constructive-cli/src/public/cli/commands/org-permission.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { bitnum: 'int', bitstr: 'string', description: 'string', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\norg-permission \n\nCommands:\n list List all orgPermission records\n get Get a orgPermission by ID\n create Create a new orgPermission\n update Update an existing orgPermission\n delete Delete a orgPermission\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/permissions-module.ts b/sdk/constructive-cli/src/public/cli/commands/permissions-module.ts index b9eadb294..14d288fe4 100644 --- a/sdk/constructive-cli/src/public/cli/commands/permissions-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/permissions-module.ts @@ -26,6 +26,14 @@ const fieldSchema: FieldSchema = { getMask: 'string', getByMask: 'string', getMaskByName: 'string', + tableNameTrgmSimilarity: 'float', + defaultTableNameTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + getPaddedMaskTrgmSimilarity: 'float', + getMaskTrgmSimilarity: 'float', + getByMaskTrgmSimilarity: 'float', + getMaskByNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\npermissions-module \n\nCommands:\n list List all permissionsModule records\n get Get a permissionsModule by ID\n create Create a new permissionsModule\n update Update an existing permissionsModule\n delete Delete a permissionsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/phone-number.ts b/sdk/constructive-cli/src/public/cli/commands/phone-number.ts index 80e0b5a76..e03d15b3e 100644 --- a/sdk/constructive-cli/src/public/cli/commands/phone-number.ts +++ b/sdk/constructive-cli/src/public/cli/commands/phone-number.ts @@ -17,6 +17,9 @@ const fieldSchema: FieldSchema = { isPrimary: 'boolean', createdAt: 'string', updatedAt: 'string', + ccTrgmSimilarity: 'float', + numberTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nphone-number \n\nCommands:\n list List all phoneNumber records\n get Get a phoneNumber by ID\n create Create a new phoneNumber\n update Update an existing phoneNumber\n delete Delete a phoneNumber\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/phone-numbers-module.ts b/sdk/constructive-cli/src/public/cli/commands/phone-numbers-module.ts index a9bf30c6c..8c143fe82 100644 --- a/sdk/constructive-cli/src/public/cli/commands/phone-numbers-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/phone-numbers-module.ts @@ -16,6 +16,8 @@ const fieldSchema: FieldSchema = { tableId: 'uuid', ownerTableId: 'uuid', tableName: 'string', + tableNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nphone-numbers-module \n\nCommands:\n list List all phoneNumbersModule records\n get Get a phoneNumbersModule by ID\n create Create a new phoneNumbersModule\n update Update an existing phoneNumbersModule\n delete Delete a phoneNumbersModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/policy.ts b/sdk/constructive-cli/src/public/cli/commands/policy.ts index 008fce8d4..fef5ddf27 100644 --- a/sdk/constructive-cli/src/public/cli/commands/policy.ts +++ b/sdk/constructive-cli/src/public/cli/commands/policy.ts @@ -26,6 +26,12 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + granteeNameTrgmSimilarity: 'float', + privilegeTrgmSimilarity: 'float', + policyTypeTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\npolicy \n\nCommands:\n list List all policy records\n get Get a policy by ID\n create Create a new policy\n update Update an existing policy\n delete Delete a policy\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/primary-key-constraint.ts b/sdk/constructive-cli/src/public/cli/commands/primary-key-constraint.ts index 5e2c830cb..6dcf92fe5 100644 --- a/sdk/constructive-cli/src/public/cli/commands/primary-key-constraint.ts +++ b/sdk/constructive-cli/src/public/cli/commands/primary-key-constraint.ts @@ -25,6 +25,10 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + typeTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nprimary-key-constraint \n\nCommands:\n list List all primaryKeyConstraint records\n get Get a primaryKeyConstraint by ID\n create Create a new primaryKeyConstraint\n update Update an existing primaryKeyConstraint\n delete Delete a primaryKeyConstraint\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/profiles-module.ts b/sdk/constructive-cli/src/public/cli/commands/profiles-module.ts index edc7e345e..c46aaf4a7 100644 --- a/sdk/constructive-cli/src/public/cli/commands/profiles-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/profiles-module.ts @@ -27,6 +27,12 @@ const fieldSchema: FieldSchema = { permissionsTableId: 'uuid', membershipsTableId: 'uuid', prefix: 'string', + tableNameTrgmSimilarity: 'float', + profilePermissionsTableNameTrgmSimilarity: 'float', + profileGrantsTableNameTrgmSimilarity: 'float', + profileDefinitionGrantsTableNameTrgmSimilarity: 'float', + prefixTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nprofiles-module \n\nCommands:\n list List all profilesModule records\n get Get a profilesModule by ID\n create Create a new profilesModule\n update Update an existing profilesModule\n delete Delete a profilesModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/ref.ts b/sdk/constructive-cli/src/public/cli/commands/ref.ts index 7ad388281..1caaf0437 100644 --- a/sdk/constructive-cli/src/public/cli/commands/ref.ts +++ b/sdk/constructive-cli/src/public/cli/commands/ref.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { databaseId: 'uuid', storeId: 'uuid', commitId: 'uuid', + nameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nref \n\nCommands:\n list List all ref records\n get Get a ref by ID\n create Create a new ref\n update Update an existing ref\n delete Delete a ref\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/relation-provision.ts b/sdk/constructive-cli/src/public/cli/commands/relation-provision.ts index 4f3a511c7..7b81cf84b 100644 --- a/sdk/constructive-cli/src/public/cli/commands/relation-provision.ts +++ b/sdk/constructive-cli/src/public/cli/commands/relation-provision.ts @@ -37,6 +37,17 @@ const fieldSchema: FieldSchema = { outJunctionTableId: 'uuid', outSourceFieldId: 'uuid', outTargetFieldId: 'uuid', + relationTypeTrgmSimilarity: 'float', + fieldNameTrgmSimilarity: 'float', + deleteActionTrgmSimilarity: 'float', + junctionTableNameTrgmSimilarity: 'float', + sourceFieldNameTrgmSimilarity: 'float', + targetFieldNameTrgmSimilarity: 'float', + nodeTypeTrgmSimilarity: 'float', + policyTypeTrgmSimilarity: 'float', + policyRoleTrgmSimilarity: 'float', + policyNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nrelation-provision \n\nCommands:\n list List all relationProvision records\n get Get a relationProvision by ID\n create Create a new relationProvision\n update Update an existing relationProvision\n delete Delete a relationProvision\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/rls-module.ts b/sdk/constructive-cli/src/public/cli/commands/rls-module.ts index fb3494dcd..5076cbdef 100644 --- a/sdk/constructive-cli/src/public/cli/commands/rls-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/rls-module.ts @@ -11,7 +11,6 @@ import type { CreateRlsModuleInput, RlsModulePatch } from '../../orm/input-types const fieldSchema: FieldSchema = { id: 'uuid', databaseId: 'uuid', - apiId: 'uuid', schemaId: 'uuid', privateSchemaId: 'uuid', sessionCredentialsTableId: 'uuid', @@ -21,6 +20,11 @@ const fieldSchema: FieldSchema = { authenticateStrict: 'string', currentRole: 'string', currentRoleId: 'string', + authenticateTrgmSimilarity: 'float', + authenticateStrictTrgmSimilarity: 'float', + currentRoleTrgmSimilarity: 'float', + currentRoleIdTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nrls-module \n\nCommands:\n list List all rlsModule records\n get Get a rlsModule by ID\n create Create a new rlsModule\n update Update an existing rlsModule\n delete Delete a rlsModule\n\n --help, -h Show this help message\n'; @@ -76,7 +80,6 @@ async function handleList(_argv: Partial>, _prompter: In select: { id: true, databaseId: true, - apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, @@ -115,7 +118,6 @@ async function handleGet(argv: Partial>, prompter: Inqui select: { id: true, databaseId: true, - apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, @@ -146,13 +148,6 @@ async function handleCreate(argv: Partial>, prompter: In message: 'databaseId', required: true, }, - { - type: 'text', - name: 'apiId', - message: 'apiId', - required: false, - skipPrompt: true, - }, { type: 'text', name: 'schemaId', @@ -224,7 +219,6 @@ async function handleCreate(argv: Partial>, prompter: In .create({ data: { databaseId: cleanedData.databaseId, - apiId: cleanedData.apiId, schemaId: cleanedData.schemaId, privateSchemaId: cleanedData.privateSchemaId, sessionCredentialsTableId: cleanedData.sessionCredentialsTableId, @@ -238,7 +232,6 @@ async function handleCreate(argv: Partial>, prompter: In select: { id: true, databaseId: true, - apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, @@ -275,13 +268,6 @@ async function handleUpdate(argv: Partial>, prompter: In message: 'databaseId', required: false, }, - { - type: 'text', - name: 'apiId', - message: 'apiId', - required: false, - skipPrompt: true, - }, { type: 'text', name: 'schemaId', @@ -356,7 +342,6 @@ async function handleUpdate(argv: Partial>, prompter: In }, data: { databaseId: cleanedData.databaseId, - apiId: cleanedData.apiId, schemaId: cleanedData.schemaId, privateSchemaId: cleanedData.privateSchemaId, sessionCredentialsTableId: cleanedData.sessionCredentialsTableId, @@ -370,7 +355,6 @@ async function handleUpdate(argv: Partial>, prompter: In select: { id: true, databaseId: true, - apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, diff --git a/sdk/constructive-cli/src/public/cli/commands/schema-grant.ts b/sdk/constructive-cli/src/public/cli/commands/schema-grant.ts index c0b7ad62f..ce5047db4 100644 --- a/sdk/constructive-cli/src/public/cli/commands/schema-grant.ts +++ b/sdk/constructive-cli/src/public/cli/commands/schema-grant.ts @@ -15,6 +15,8 @@ const fieldSchema: FieldSchema = { granteeName: 'string', createdAt: 'string', updatedAt: 'string', + granteeNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nschema-grant \n\nCommands:\n list List all schemaGrant records\n get Get a schemaGrant by ID\n create Create a new schemaGrant\n update Update an existing schemaGrant\n delete Delete a schemaGrant\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/schema.ts b/sdk/constructive-cli/src/public/cli/commands/schema.ts index cd4fe21d0..f2407af7f 100644 --- a/sdk/constructive-cli/src/public/cli/commands/schema.ts +++ b/sdk/constructive-cli/src/public/cli/commands/schema.ts @@ -23,6 +23,12 @@ const fieldSchema: FieldSchema = { isPublic: 'boolean', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + schemaNameTrgmSimilarity: 'float', + labelTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nschema \n\nCommands:\n list List all schema records\n get Get a schema by ID\n create Create a new schema\n update Update an existing schema\n delete Delete a schema\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/secrets-module.ts b/sdk/constructive-cli/src/public/cli/commands/secrets-module.ts index 15995ece2..e6d5ebbad 100644 --- a/sdk/constructive-cli/src/public/cli/commands/secrets-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/secrets-module.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { schemaId: 'uuid', tableId: 'uuid', tableName: 'string', + tableNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nsecrets-module \n\nCommands:\n list List all secretsModule records\n get Get a secretsModule by ID\n create Create a new secretsModule\n update Update an existing secretsModule\n delete Delete a secretsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/secure-table-provision.ts b/sdk/constructive-cli/src/public/cli/commands/secure-table-provision.ts index 0a75de7d5..f13005056 100644 --- a/sdk/constructive-cli/src/public/cli/commands/secure-table-provision.ts +++ b/sdk/constructive-cli/src/public/cli/commands/secure-table-provision.ts @@ -20,6 +20,7 @@ const fieldSchema: FieldSchema = { nodeType: 'string', useRls: 'boolean', nodeData: 'json', + fields: 'json', grantRoles: 'string', grantPrivileges: 'json', policyType: 'string', @@ -29,6 +30,12 @@ const fieldSchema: FieldSchema = { policyName: 'string', policyData: 'json', outFields: 'uuid', + tableNameTrgmSimilarity: 'float', + nodeTypeTrgmSimilarity: 'float', + policyTypeTrgmSimilarity: 'float', + policyRoleTrgmSimilarity: 'float', + policyNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nsecure-table-provision \n\nCommands:\n list List all secureTableProvision records\n get Get a secureTableProvision by ID\n create Create a new secureTableProvision\n update Update an existing secureTableProvision\n delete Delete a secureTableProvision\n\n --help, -h Show this help message\n'; @@ -90,6 +97,7 @@ async function handleList(_argv: Partial>, _prompter: In nodeType: true, useRls: true, nodeData: true, + fields: true, grantRoles: true, grantPrivileges: true, policyType: true, @@ -134,6 +142,7 @@ async function handleGet(argv: Partial>, prompter: Inqui nodeType: true, useRls: true, nodeData: true, + fields: true, grantRoles: true, grantPrivileges: true, policyType: true, @@ -206,6 +215,13 @@ async function handleCreate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, + { + type: 'json', + name: 'fields', + message: 'fields', + required: false, + skipPrompt: true, + }, { type: 'text', name: 'grantRoles', @@ -286,6 +302,7 @@ async function handleCreate(argv: Partial>, prompter: In nodeType: cleanedData.nodeType, useRls: cleanedData.useRls, nodeData: cleanedData.nodeData, + fields: cleanedData.fields, grantRoles: cleanedData.grantRoles, grantPrivileges: cleanedData.grantPrivileges, policyType: cleanedData.policyType, @@ -305,6 +322,7 @@ async function handleCreate(argv: Partial>, prompter: In nodeType: true, useRls: true, nodeData: true, + fields: true, grantRoles: true, grantPrivileges: true, policyType: true, @@ -383,6 +401,13 @@ async function handleUpdate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, + { + type: 'json', + name: 'fields', + message: 'fields', + required: false, + skipPrompt: true, + }, { type: 'text', name: 'grantRoles', @@ -463,6 +488,7 @@ async function handleUpdate(argv: Partial>, prompter: In nodeType: cleanedData.nodeType, useRls: cleanedData.useRls, nodeData: cleanedData.nodeData, + fields: cleanedData.fields, grantRoles: cleanedData.grantRoles, grantPrivileges: cleanedData.grantPrivileges, policyType: cleanedData.policyType, @@ -482,6 +508,7 @@ async function handleUpdate(argv: Partial>, prompter: In nodeType: true, useRls: true, nodeData: true, + fields: true, grantRoles: true, grantPrivileges: true, policyType: true, diff --git a/sdk/constructive-cli/src/public/cli/commands/sessions-module.ts b/sdk/constructive-cli/src/public/cli/commands/sessions-module.ts index c346bee74..2184512d8 100644 --- a/sdk/constructive-cli/src/public/cli/commands/sessions-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/sessions-module.ts @@ -20,6 +20,10 @@ const fieldSchema: FieldSchema = { sessionsTable: 'string', sessionCredentialsTable: 'string', authSettingsTable: 'string', + sessionsTableTrgmSimilarity: 'float', + sessionCredentialsTableTrgmSimilarity: 'float', + authSettingsTableTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nsessions-module \n\nCommands:\n list List all sessionsModule records\n get Get a sessionsModule by ID\n create Create a new sessionsModule\n update Update an existing sessionsModule\n delete Delete a sessionsModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/site-metadatum.ts b/sdk/constructive-cli/src/public/cli/commands/site-metadatum.ts index ef98d4816..1a8da2815 100644 --- a/sdk/constructive-cli/src/public/cli/commands/site-metadatum.ts +++ b/sdk/constructive-cli/src/public/cli/commands/site-metadatum.ts @@ -15,6 +15,9 @@ const fieldSchema: FieldSchema = { title: 'string', description: 'string', ogImage: 'string', + titleTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nsite-metadatum \n\nCommands:\n list List all siteMetadatum records\n get Get a siteMetadatum by ID\n create Create a new siteMetadatum\n update Update an existing siteMetadatum\n delete Delete a siteMetadatum\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/site-module.ts b/sdk/constructive-cli/src/public/cli/commands/site-module.ts index 20c3c40eb..63285d175 100644 --- a/sdk/constructive-cli/src/public/cli/commands/site-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/site-module.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { siteId: 'uuid', name: 'string', data: 'json', + nameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nsite-module \n\nCommands:\n list List all siteModule records\n get Get a siteModule by ID\n create Create a new siteModule\n update Update an existing siteModule\n delete Delete a siteModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/site.ts b/sdk/constructive-cli/src/public/cli/commands/site.ts index 846a631a5..f7d0656ff 100644 --- a/sdk/constructive-cli/src/public/cli/commands/site.ts +++ b/sdk/constructive-cli/src/public/cli/commands/site.ts @@ -18,6 +18,10 @@ const fieldSchema: FieldSchema = { appleTouchIcon: 'string', logo: 'string', dbname: 'string', + titleTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + dbnameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nsite \n\nCommands:\n list List all site records\n get Get a site by ID\n create Create a new site\n update Update an existing site\n delete Delete a site\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/sql-migration.ts b/sdk/constructive-cli/src/public/cli/commands/sql-migration.ts index 8d7653a2a..22eaf6ea9 100644 --- a/sdk/constructive-cli/src/public/cli/commands/sql-migration.ts +++ b/sdk/constructive-cli/src/public/cli/commands/sql-migration.ts @@ -22,6 +22,13 @@ const fieldSchema: FieldSchema = { action: 'string', actionId: 'uuid', actorId: 'uuid', + nameTrgmSimilarity: 'float', + deployTrgmSimilarity: 'float', + contentTrgmSimilarity: 'float', + revertTrgmSimilarity: 'float', + verifyTrgmSimilarity: 'float', + actionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nsql-migration \n\nCommands:\n list List all sqlMigration records\n create Create a new sqlMigration\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/store.ts b/sdk/constructive-cli/src/public/cli/commands/store.ts index 2ca10cb6d..78086e121 100644 --- a/sdk/constructive-cli/src/public/cli/commands/store.ts +++ b/sdk/constructive-cli/src/public/cli/commands/store.ts @@ -14,6 +14,8 @@ const fieldSchema: FieldSchema = { databaseId: 'uuid', hash: 'uuid', createdAt: 'string', + nameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nstore \n\nCommands:\n list List all store records\n get Get a store by ID\n create Create a new store\n update Update an existing store\n delete Delete a store\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/table-grant.ts b/sdk/constructive-cli/src/public/cli/commands/table-grant.ts index bcb916b5b..079324f74 100644 --- a/sdk/constructive-cli/src/public/cli/commands/table-grant.ts +++ b/sdk/constructive-cli/src/public/cli/commands/table-grant.ts @@ -18,6 +18,9 @@ const fieldSchema: FieldSchema = { isGrant: 'boolean', createdAt: 'string', updatedAt: 'string', + privilegeTrgmSimilarity: 'float', + granteeNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ntable-grant \n\nCommands:\n list List all tableGrant records\n get Get a tableGrant by ID\n create Create a new tableGrant\n update Update an existing tableGrant\n delete Delete a tableGrant\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/table-module.ts b/sdk/constructive-cli/src/public/cli/commands/table-module.ts deleted file mode 100644 index e4f20f592..000000000 --- a/sdk/constructive-cli/src/public/cli/commands/table-module.ts +++ /dev/null @@ -1,363 +0,0 @@ -/** - * CLI commands for TableModule - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ -import { CLIOptions, Inquirerer, extractFirst } from 'inquirerer'; -import { getClient } from '../executor'; -import { coerceAnswers, stripUndefined } from '../utils'; -import type { FieldSchema } from '../utils'; -import type { CreateTableModuleInput, TableModulePatch } from '../../orm/input-types'; -const fieldSchema: FieldSchema = { - id: 'uuid', - databaseId: 'uuid', - schemaId: 'uuid', - tableId: 'uuid', - tableName: 'string', - nodeType: 'string', - useRls: 'boolean', - data: 'json', - fields: 'uuid', -}; -const usage = - '\ntable-module \n\nCommands:\n list List all tableModule records\n get Get a tableModule by ID\n create Create a new tableModule\n update Update an existing tableModule\n delete Delete a tableModule\n\n --help, -h Show this help message\n'; -export default async ( - argv: Partial>, - prompter: Inquirerer, - _options: CLIOptions -) => { - if (argv.help || argv.h) { - console.log(usage); - process.exit(0); - } - const { first: subcommand, newArgv } = extractFirst(argv); - if (!subcommand) { - const answer = await prompter.prompt(argv, [ - { - type: 'autocomplete', - name: 'subcommand', - message: 'What do you want to do?', - options: ['list', 'get', 'create', 'update', 'delete'], - }, - ]); - return handleTableSubcommand(answer.subcommand as string, newArgv, prompter); - } - return handleTableSubcommand(subcommand, newArgv, prompter); -}; -async function handleTableSubcommand( - subcommand: string, - argv: Partial>, - prompter: Inquirerer -) { - switch (subcommand) { - case 'list': - return handleList(argv, prompter); - case 'get': - return handleGet(argv, prompter); - case 'create': - return handleCreate(argv, prompter); - case 'update': - return handleUpdate(argv, prompter); - case 'delete': - return handleDelete(argv, prompter); - default: - console.log(usage); - process.exit(1); - } -} -async function handleList(_argv: Partial>, _prompter: Inquirerer) { - try { - const client = getClient(); - const result = await client.tableModule - .findMany({ - select: { - id: true, - databaseId: true, - schemaId: true, - tableId: true, - tableName: true, - nodeType: true, - useRls: true, - data: true, - fields: true, - }, - }) - .execute(); - console.log(JSON.stringify(result, null, 2)); - } catch (error) { - console.error('Failed to list records.'); - if (error instanceof Error) { - console.error(error.message); - } - process.exit(1); - } -} -async function handleGet(argv: Partial>, prompter: Inquirerer) { - try { - const answers = await prompter.prompt(argv, [ - { - type: 'text', - name: 'id', - message: 'id', - required: true, - }, - ]); - const client = getClient(); - const result = await client.tableModule - .findOne({ - id: answers.id as string, - select: { - id: true, - databaseId: true, - schemaId: true, - tableId: true, - tableName: true, - nodeType: true, - useRls: true, - data: true, - fields: true, - }, - }) - .execute(); - console.log(JSON.stringify(result, null, 2)); - } catch (error) { - console.error('Record not found.'); - if (error instanceof Error) { - console.error(error.message); - } - process.exit(1); - } -} -async function handleCreate(argv: Partial>, prompter: Inquirerer) { - try { - const rawAnswers = await prompter.prompt(argv, [ - { - type: 'text', - name: 'databaseId', - message: 'databaseId', - required: true, - }, - { - type: 'text', - name: 'schemaId', - message: 'schemaId', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'tableId', - message: 'tableId', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'tableName', - message: 'tableName', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'nodeType', - message: 'nodeType', - required: true, - }, - { - type: 'boolean', - name: 'useRls', - message: 'useRls', - required: false, - skipPrompt: true, - }, - { - type: 'json', - name: 'data', - message: 'data', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'fields', - message: 'fields', - required: false, - skipPrompt: true, - }, - ]); - const answers = coerceAnswers(rawAnswers, fieldSchema); - const cleanedData = stripUndefined( - answers, - fieldSchema - ) as CreateTableModuleInput['tableModule']; - const client = getClient(); - const result = await client.tableModule - .create({ - data: { - databaseId: cleanedData.databaseId, - schemaId: cleanedData.schemaId, - tableId: cleanedData.tableId, - tableName: cleanedData.tableName, - nodeType: cleanedData.nodeType, - useRls: cleanedData.useRls, - data: cleanedData.data, - fields: cleanedData.fields, - }, - select: { - id: true, - databaseId: true, - schemaId: true, - tableId: true, - tableName: true, - nodeType: true, - useRls: true, - data: true, - fields: true, - }, - }) - .execute(); - console.log(JSON.stringify(result, null, 2)); - } catch (error) { - console.error('Failed to create record.'); - if (error instanceof Error) { - console.error(error.message); - } - process.exit(1); - } -} -async function handleUpdate(argv: Partial>, prompter: Inquirerer) { - try { - const rawAnswers = await prompter.prompt(argv, [ - { - type: 'text', - name: 'id', - message: 'id', - required: true, - }, - { - type: 'text', - name: 'databaseId', - message: 'databaseId', - required: false, - }, - { - type: 'text', - name: 'schemaId', - message: 'schemaId', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'tableId', - message: 'tableId', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'tableName', - message: 'tableName', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'nodeType', - message: 'nodeType', - required: false, - }, - { - type: 'boolean', - name: 'useRls', - message: 'useRls', - required: false, - skipPrompt: true, - }, - { - type: 'json', - name: 'data', - message: 'data', - required: false, - skipPrompt: true, - }, - { - type: 'text', - name: 'fields', - message: 'fields', - required: false, - skipPrompt: true, - }, - ]); - const answers = coerceAnswers(rawAnswers, fieldSchema); - const cleanedData = stripUndefined(answers, fieldSchema) as TableModulePatch; - const client = getClient(); - const result = await client.tableModule - .update({ - where: { - id: answers.id as string, - }, - data: { - databaseId: cleanedData.databaseId, - schemaId: cleanedData.schemaId, - tableId: cleanedData.tableId, - tableName: cleanedData.tableName, - nodeType: cleanedData.nodeType, - useRls: cleanedData.useRls, - data: cleanedData.data, - fields: cleanedData.fields, - }, - select: { - id: true, - databaseId: true, - schemaId: true, - tableId: true, - tableName: true, - nodeType: true, - useRls: true, - data: true, - fields: true, - }, - }) - .execute(); - console.log(JSON.stringify(result, null, 2)); - } catch (error) { - console.error('Failed to update record.'); - if (error instanceof Error) { - console.error(error.message); - } - process.exit(1); - } -} -async function handleDelete(argv: Partial>, prompter: Inquirerer) { - try { - const rawAnswers = await prompter.prompt(argv, [ - { - type: 'text', - name: 'id', - message: 'id', - required: true, - }, - ]); - const answers = coerceAnswers(rawAnswers, fieldSchema); - const client = getClient(); - const result = await client.tableModule - .delete({ - where: { - id: answers.id as string, - }, - select: { - id: true, - }, - }) - .execute(); - console.log(JSON.stringify(result, null, 2)); - } catch (error) { - console.error('Failed to delete record.'); - if (error instanceof Error) { - console.error(error.message); - } - process.exit(1); - } -} diff --git a/sdk/constructive-cli/src/public/cli/commands/table-template-module.ts b/sdk/constructive-cli/src/public/cli/commands/table-template-module.ts index a98d2ff63..d970280da 100644 --- a/sdk/constructive-cli/src/public/cli/commands/table-template-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/table-template-module.ts @@ -21,6 +21,9 @@ const fieldSchema: FieldSchema = { tableName: 'string', nodeType: 'string', data: 'json', + tableNameTrgmSimilarity: 'float', + nodeTypeTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ntable-template-module \n\nCommands:\n list List all tableTemplateModule records\n get Get a tableTemplateModule by ID\n create Create a new tableTemplateModule\n update Update an existing tableTemplateModule\n delete Delete a tableTemplateModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/table.ts b/sdk/constructive-cli/src/public/cli/commands/table.ts index 4efc0a267..e2a754c45 100644 --- a/sdk/constructive-cli/src/public/cli/commands/table.ts +++ b/sdk/constructive-cli/src/public/cli/commands/table.ts @@ -28,6 +28,13 @@ const fieldSchema: FieldSchema = { inheritsId: 'uuid', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + labelTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + pluralNameTrgmSimilarity: 'float', + singularNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ntable \n\nCommands:\n list List all table records\n get Get a table by ID\n create Create a new table\n update Update an existing table\n delete Delete a table\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/trigger-function.ts b/sdk/constructive-cli/src/public/cli/commands/trigger-function.ts index 64b204c31..e50a589ac 100644 --- a/sdk/constructive-cli/src/public/cli/commands/trigger-function.ts +++ b/sdk/constructive-cli/src/public/cli/commands/trigger-function.ts @@ -15,6 +15,9 @@ const fieldSchema: FieldSchema = { code: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + codeTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ntrigger-function \n\nCommands:\n list List all triggerFunction records\n get Get a triggerFunction by ID\n create Create a new triggerFunction\n update Update an existing triggerFunction\n delete Delete a triggerFunction\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/trigger.ts b/sdk/constructive-cli/src/public/cli/commands/trigger.ts index ca97022b7..ffa7db793 100644 --- a/sdk/constructive-cli/src/public/cli/commands/trigger.ts +++ b/sdk/constructive-cli/src/public/cli/commands/trigger.ts @@ -22,6 +22,11 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + eventTrgmSimilarity: 'float', + functionNameTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\ntrigger \n\nCommands:\n list List all trigger records\n get Get a trigger by ID\n create Create a new trigger\n update Update an existing trigger\n delete Delete a trigger\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/unique-constraint.ts b/sdk/constructive-cli/src/public/cli/commands/unique-constraint.ts index 5ce4f0450..93e3c98bc 100644 --- a/sdk/constructive-cli/src/public/cli/commands/unique-constraint.ts +++ b/sdk/constructive-cli/src/public/cli/commands/unique-constraint.ts @@ -23,6 +23,11 @@ const fieldSchema: FieldSchema = { tags: 'string', createdAt: 'string', updatedAt: 'string', + nameTrgmSimilarity: 'float', + descriptionTrgmSimilarity: 'float', + typeTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nunique-constraint \n\nCommands:\n list List all uniqueConstraint records\n get Get a uniqueConstraint by ID\n create Create a new uniqueConstraint\n update Update an existing uniqueConstraint\n delete Delete a uniqueConstraint\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/user-auth-module.ts b/sdk/constructive-cli/src/public/cli/commands/user-auth-module.ts index 0bb6a404f..bd587c53f 100644 --- a/sdk/constructive-cli/src/public/cli/commands/user-auth-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/user-auth-module.ts @@ -35,6 +35,23 @@ const fieldSchema: FieldSchema = { signInOneTimeTokenFunction: 'string', oneTimeTokenFunction: 'string', extendTokenExpires: 'string', + auditsTableNameTrgmSimilarity: 'float', + signInFunctionTrgmSimilarity: 'float', + signUpFunctionTrgmSimilarity: 'float', + signOutFunctionTrgmSimilarity: 'float', + setPasswordFunctionTrgmSimilarity: 'float', + resetPasswordFunctionTrgmSimilarity: 'float', + forgotPasswordFunctionTrgmSimilarity: 'float', + sendVerificationEmailFunctionTrgmSimilarity: 'float', + verifyEmailFunctionTrgmSimilarity: 'float', + verifyPasswordFunctionTrgmSimilarity: 'float', + checkPasswordFunctionTrgmSimilarity: 'float', + sendAccountDeletionEmailFunctionTrgmSimilarity: 'float', + deleteAccountFunctionTrgmSimilarity: 'float', + signInOneTimeTokenFunctionTrgmSimilarity: 'float', + oneTimeTokenFunctionTrgmSimilarity: 'float', + extendTokenExpiresTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nuser-auth-module \n\nCommands:\n list List all userAuthModule records\n get Get a userAuthModule by ID\n create Create a new userAuthModule\n update Update an existing userAuthModule\n delete Delete a userAuthModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/user.ts b/sdk/constructive-cli/src/public/cli/commands/user.ts index c43f34f98..f3dd19c53 100644 --- a/sdk/constructive-cli/src/public/cli/commands/user.ts +++ b/sdk/constructive-cli/src/public/cli/commands/user.ts @@ -18,6 +18,8 @@ const fieldSchema: FieldSchema = { createdAt: 'string', updatedAt: 'string', searchTsvRank: 'float', + displayNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nuser \n\nCommands:\n list List all user records\n get Get a user by ID\n create Create a new user\n update Update an existing user\n delete Delete a user\n\n --help, -h Show this help message\n'; @@ -79,7 +81,6 @@ async function handleList(_argv: Partial>, _prompter: In type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); @@ -115,7 +116,6 @@ async function handleGet(argv: Partial>, prompter: Inqui type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); @@ -188,7 +188,6 @@ async function handleCreate(argv: Partial>, prompter: In type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); @@ -270,7 +269,6 @@ async function handleUpdate(argv: Partial>, prompter: In type: true, createdAt: true, updatedAt: true, - searchTsvRank: true, }, }) .execute(); diff --git a/sdk/constructive-cli/src/public/cli/commands/users-module.ts b/sdk/constructive-cli/src/public/cli/commands/users-module.ts index 29c270530..a63321bea 100644 --- a/sdk/constructive-cli/src/public/cli/commands/users-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/users-module.ts @@ -16,6 +16,9 @@ const fieldSchema: FieldSchema = { tableName: 'string', typeTableId: 'uuid', typeTableName: 'string', + tableNameTrgmSimilarity: 'float', + typeTableNameTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nusers-module \n\nCommands:\n list List all usersModule records\n get Get a usersModule by ID\n create Create a new usersModule\n update Update an existing usersModule\n delete Delete a usersModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/uuid-module.ts b/sdk/constructive-cli/src/public/cli/commands/uuid-module.ts index 74fc77867..3600a96af 100644 --- a/sdk/constructive-cli/src/public/cli/commands/uuid-module.ts +++ b/sdk/constructive-cli/src/public/cli/commands/uuid-module.ts @@ -14,6 +14,9 @@ const fieldSchema: FieldSchema = { schemaId: 'uuid', uuidFunction: 'string', uuidSeed: 'string', + uuidFunctionTrgmSimilarity: 'float', + uuidSeedTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nuuid-module \n\nCommands:\n list List all uuidModule records\n get Get a uuidModule by ID\n create Create a new uuidModule\n update Update an existing uuidModule\n delete Delete a uuidModule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/view-grant.ts b/sdk/constructive-cli/src/public/cli/commands/view-grant.ts index b38000dd3..4cfb95fe0 100644 --- a/sdk/constructive-cli/src/public/cli/commands/view-grant.ts +++ b/sdk/constructive-cli/src/public/cli/commands/view-grant.ts @@ -16,6 +16,9 @@ const fieldSchema: FieldSchema = { privilege: 'string', withGrantOption: 'boolean', isGrant: 'boolean', + granteeNameTrgmSimilarity: 'float', + privilegeTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nview-grant \n\nCommands:\n list List all viewGrant records\n get Get a viewGrant by ID\n create Create a new viewGrant\n update Update an existing viewGrant\n delete Delete a viewGrant\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/view-rule.ts b/sdk/constructive-cli/src/public/cli/commands/view-rule.ts index 19b6407f9..899b8542b 100644 --- a/sdk/constructive-cli/src/public/cli/commands/view-rule.ts +++ b/sdk/constructive-cli/src/public/cli/commands/view-rule.ts @@ -15,6 +15,10 @@ const fieldSchema: FieldSchema = { name: 'string', event: 'string', action: 'string', + nameTrgmSimilarity: 'float', + eventTrgmSimilarity: 'float', + actionTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nview-rule \n\nCommands:\n list List all viewRule records\n get Get a viewRule by ID\n create Create a new viewRule\n update Update an existing viewRule\n delete Delete a viewRule\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/cli/commands/view.ts b/sdk/constructive-cli/src/public/cli/commands/view.ts index c7b6424e5..d4b72b305 100644 --- a/sdk/constructive-cli/src/public/cli/commands/view.ts +++ b/sdk/constructive-cli/src/public/cli/commands/view.ts @@ -25,6 +25,11 @@ const fieldSchema: FieldSchema = { module: 'string', scope: 'int', tags: 'string', + nameTrgmSimilarity: 'float', + viewTypeTrgmSimilarity: 'float', + filterTypeTrgmSimilarity: 'float', + moduleTrgmSimilarity: 'float', + searchScore: 'float', }; const usage = '\nview \n\nCommands:\n list List all view records\n get Get a view by ID\n create Create a new view\n update Update an existing view\n delete Delete a view\n\n --help, -h Show this help message\n'; diff --git a/sdk/constructive-cli/src/public/orm/README.md b/sdk/constructive-cli/src/public/orm/README.md index dbb346bd5..091da1716 100644 --- a/sdk/constructive-cli/src/public/orm/README.md +++ b/sdk/constructive-cli/src/public/orm/README.md @@ -45,7 +45,6 @@ const db = createClient({ | `viewTable` | findMany, findOne, create, update, delete | | `viewGrant` | findMany, findOne, create, update, delete | | `viewRule` | findMany, findOne, create, update, delete | -| `tableModule` | findMany, findOne, create, update, delete | | `tableTemplateModule` | findMany, findOne, create, update, delete | | `secureTableProvision` | findMany, findOne, create, update, delete | | `relationProvision` | findMany, findOne, create, update, delete | @@ -77,7 +76,6 @@ const db = createClient({ | `permissionsModule` | findMany, findOne, create, update, delete | | `phoneNumbersModule` | findMany, findOne, create, update, delete | | `profilesModule` | findMany, findOne, create, update, delete | -| `rlsModule` | findMany, findOne, create, update, delete | | `secretsModule` | findMany, findOne, create, update, delete | | `sessionsModule` | findMany, findOne, create, update, delete | | `userAuthModule` | findMany, findOne, create, update, delete | @@ -105,25 +103,26 @@ const db = createClient({ | `ref` | findMany, findOne, create, update, delete | | `store` | findMany, findOne, create, update, delete | | `appPermissionDefault` | findMany, findOne, create, update, delete | +| `cryptoAddress` | findMany, findOne, create, update, delete | | `roleType` | findMany, findOne, create, update, delete | | `orgPermissionDefault` | findMany, findOne, create, update, delete | -| `cryptoAddress` | findMany, findOne, create, update, delete | +| `phoneNumber` | findMany, findOne, create, update, delete | | `appLimitDefault` | findMany, findOne, create, update, delete | | `orgLimitDefault` | findMany, findOne, create, update, delete | | `connectedAccount` | findMany, findOne, create, update, delete | -| `phoneNumber` | findMany, findOne, create, update, delete | -| `membershipType` | findMany, findOne, create, update, delete | | `nodeTypeRegistry` | findMany, findOne, create, update, delete | +| `membershipType` | findMany, findOne, create, update, delete | | `appMembershipDefault` | findMany, findOne, create, update, delete | +| `rlsModule` | findMany, findOne, create, update, delete | | `commit` | findMany, findOne, create, update, delete | | `orgMembershipDefault` | findMany, findOne, create, update, delete | | `auditLog` | findMany, findOne, create, update, delete | | `appLevel` | findMany, findOne, create, update, delete | -| `email` | findMany, findOne, create, update, delete | | `sqlMigration` | findMany, findOne, create, update, delete | +| `email` | findMany, findOne, create, update, delete | | `astMigration` | findMany, findOne, create, update, delete | -| `user` | findMany, findOne, create, update, delete | | `appMembership` | findMany, findOne, create, update, delete | +| `user` | findMany, findOne, create, update, delete | | `hierarchyModule` | findMany, findOne, create, update, delete | ## Table Operations @@ -231,18 +230,20 @@ CRUD operations for AppPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appPermission records -const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -264,18 +265,20 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgPermission records -const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -336,18 +339,20 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevelRequirement records -const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute(); +const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -372,18 +377,22 @@ CRUD operations for Database records. | `hash` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `schemaHashTrgmSimilarity` | Float | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all database records -const items = await db.database.findMany({ select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.database.findMany({ select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.database.findOne({ id: '', select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.database.findOne({ id: '', select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '', schemaHashTrgmSimilarity: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.database.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -414,18 +423,24 @@ CRUD operations for Schema records. | `isPublic` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `schemaNameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all schema records -const items = await db.schema.findMany({ select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.schema.findMany({ select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.schema.findOne({ id: '', select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.schema.findOne({ id: '', select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '' }, select: { id: true } }).execute(); +const created = await db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '', nameTrgmSimilarity: '', schemaNameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.schema.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -461,18 +476,25 @@ CRUD operations for Table records. | `inheritsId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `pluralNameTrgmSimilarity` | Float | Yes | +| `singularNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all table records -const items = await db.table.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.table.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.table.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.table.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '' }, select: { id: true } }).execute(); +const created = await db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', pluralNameTrgmSimilarity: '', singularNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.table.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -503,18 +525,22 @@ CRUD operations for CheckConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all checkConstraint records -const items = await db.checkConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.checkConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.checkConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.checkConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.checkConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -555,18 +581,25 @@ CRUD operations for Field records. | `scope` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `defaultValueTrgmSimilarity` | Float | Yes | +| `regexpTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all field records -const items = await db.field.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.field.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.field.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.field.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '' }, select: { id: true } }).execute(); +const created = await db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', defaultValueTrgmSimilarity: '', regexpTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.field.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -601,18 +634,25 @@ CRUD operations for ForeignKeyConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `deleteActionTrgmSimilarity` | Float | Yes | +| `updateActionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all foreignKeyConstraint records -const items = await db.foreignKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.foreignKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.foreignKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.foreignKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', deleteActionTrgmSimilarity: '', updateActionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.foreignKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -676,6 +716,8 @@ CRUD operations for Index records. | `indexParams` | JSON | Yes | | `whereClause` | JSON | Yes | | `isUnique` | Boolean | Yes | +| `options` | JSON | Yes | +| `opClasses` | String | Yes | | `smartTags` | JSON | Yes | | `category` | ObjectCategory | Yes | | `module` | String | Yes | @@ -683,18 +725,22 @@ CRUD operations for Index records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `accessMethodTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all index records -const items = await db.index.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.index.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.index.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.index.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', options: '', opClasses: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', accessMethodTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.index.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -728,18 +774,24 @@ CRUD operations for Policy records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all policy records -const items = await db.policy.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.policy.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.policy.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.policy.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.policy.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -769,18 +821,22 @@ CRUD operations for PrimaryKeyConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all primaryKeyConstraint records -const items = await db.primaryKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.primaryKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.primaryKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.primaryKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.primaryKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -806,18 +862,21 @@ CRUD operations for TableGrant records. | `isGrant` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `privilegeTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all tableGrant records -const items = await db.tableGrant.findMany({ select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.tableGrant.findMany({ select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.tableGrant.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.tableGrant.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.tableGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -847,18 +906,23 @@ CRUD operations for Trigger records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `eventTrgmSimilarity` | Float | Yes | +| `functionNameTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all trigger records -const items = await db.trigger.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.trigger.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.trigger.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.trigger.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', functionNameTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.trigger.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -889,18 +953,23 @@ CRUD operations for UniqueConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all uniqueConstraint records -const items = await db.uniqueConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.uniqueConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.uniqueConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.uniqueConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.uniqueConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -933,18 +1002,23 @@ CRUD operations for View records. | `module` | String | Yes | | `scope` | Int | Yes | | `tags` | String | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `viewTypeTrgmSimilarity` | Float | Yes | +| `filterTypeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all view records -const items = await db.view.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }).execute(); +const items = await db.view.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.view.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }).execute(); +const item = await db.view.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', viewTypeTrgmSimilarity: '', filterTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.view.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1000,18 +1074,21 @@ CRUD operations for ViewGrant records. | `privilege` | String | Yes | | `withGrantOption` | Boolean | Yes | | `isGrant` | Boolean | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all viewGrant records -const items = await db.viewGrant.findMany({ select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }).execute(); +const items = await db.viewGrant.findMany({ select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.viewGrant.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }).execute(); +const item = await db.viewGrant.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.viewGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1034,18 +1111,22 @@ CRUD operations for ViewRule records. | `name` | String | Yes | | `event` | String | Yes | | `action` | String | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `eventTrgmSimilarity` | Float | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all viewRule records -const items = await db.viewRule.findMany({ select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }).execute(); +const items = await db.viewRule.findMany({ select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.viewRule.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }).execute(); +const item = await db.viewRule.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '' }, select: { id: true } }).execute(); +const created = await db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.viewRule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1054,43 +1135,6 @@ const updated = await db.viewRule.update({ where: { id: '' }, data: { dat const deleted = await db.viewRule.delete({ where: { id: '' } }).execute(); ``` -### `db.tableModule` - -CRUD operations for TableModule records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `schemaId` | UUID | Yes | -| `tableId` | UUID | Yes | -| `tableName` | String | Yes | -| `nodeType` | String | Yes | -| `useRls` | Boolean | Yes | -| `data` | JSON | Yes | -| `fields` | UUID | Yes | - -**Operations:** - -```typescript -// List all tableModule records -const items = await db.tableModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }).execute(); - -// Get one by id -const item = await db.tableModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }).execute(); - -// Create -const created = await db.tableModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', data: '', fields: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.tableModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.tableModule.delete({ where: { id: '' } }).execute(); -``` - ### `db.tableTemplateModule` CRUD operations for TableTemplateModule records. @@ -1108,18 +1152,21 @@ CRUD operations for TableTemplateModule records. | `tableName` | String | Yes | | `nodeType` | String | Yes | | `data` | JSON | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all tableTemplateModule records -const items = await db.tableTemplateModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }).execute(); +const items = await db.tableTemplateModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.tableTemplateModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }).execute(); +const item = await db.tableTemplateModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '' }, select: { id: true } }).execute(); +const created = await db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.tableTemplateModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1144,6 +1191,7 @@ CRUD operations for SecureTableProvision records. | `nodeType` | String | Yes | | `useRls` | Boolean | Yes | | `nodeData` | JSON | Yes | +| `fields` | JSON | Yes | | `grantRoles` | String | Yes | | `grantPrivileges` | JSON | Yes | | `policyType` | String | Yes | @@ -1153,18 +1201,24 @@ CRUD operations for SecureTableProvision records. | `policyName` | String | Yes | | `policyData` | JSON | Yes | | `outFields` | UUID | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `policyRoleTrgmSimilarity` | Float | Yes | +| `policyNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all secureTableProvision records -const items = await db.secureTableProvision.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }).execute(); +const items = await db.secureTableProvision.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.secureTableProvision.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }).execute(); +const item = await db.secureTableProvision.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '' }, select: { id: true } }).execute(); +const created = await db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', fields: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.secureTableProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1209,18 +1263,29 @@ CRUD operations for RelationProvision records. | `outJunctionTableId` | UUID | Yes | | `outSourceFieldId` | UUID | Yes | | `outTargetFieldId` | UUID | Yes | +| `relationTypeTrgmSimilarity` | Float | Yes | +| `fieldNameTrgmSimilarity` | Float | Yes | +| `deleteActionTrgmSimilarity` | Float | Yes | +| `junctionTableNameTrgmSimilarity` | Float | Yes | +| `sourceFieldNameTrgmSimilarity` | Float | Yes | +| `targetFieldNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `policyRoleTrgmSimilarity` | Float | Yes | +| `policyNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all relationProvision records -const items = await db.relationProvision.findMany({ select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }).execute(); +const items = await db.relationProvision.findMany({ select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.relationProvision.findOne({ id: '', select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }).execute(); +const item = await db.relationProvision.findOne({ id: '', select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '' }, select: { id: true } }).execute(); +const created = await db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '', relationTypeTrgmSimilarity: '', fieldNameTrgmSimilarity: '', deleteActionTrgmSimilarity: '', junctionTableNameTrgmSimilarity: '', sourceFieldNameTrgmSimilarity: '', targetFieldNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.relationProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1243,18 +1308,20 @@ CRUD operations for SchemaGrant records. | `granteeName` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all schemaGrant records -const items = await db.schemaGrant.findMany({ select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.schemaGrant.findMany({ select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.schemaGrant.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.schemaGrant.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '' }, select: { id: true } }).execute(); +const created = await db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.schemaGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1278,18 +1345,22 @@ CRUD operations for DefaultPrivilege records. | `privilege` | String | Yes | | `granteeName` | String | Yes | | `isGrant` | Boolean | Yes | +| `objectTypeTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all defaultPrivilege records -const items = await db.defaultPrivilege.findMany({ select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }).execute(); +const items = await db.defaultPrivilege.findMany({ select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.defaultPrivilege.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }).execute(); +const item = await db.defaultPrivilege.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '', objectTypeTrgmSimilarity: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.defaultPrivilege.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1343,18 +1414,20 @@ CRUD operations for ApiModule records. | `apiId` | UUID | Yes | | `name` | String | Yes | | `data` | JSON | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all apiModule records -const items = await db.apiModule.findMany({ select: { id: true, databaseId: true, apiId: true, name: true, data: true } }).execute(); +const items = await db.apiModule.findMany({ select: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.apiModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, name: true, data: true } }).execute(); +const item = await db.apiModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '' }, select: { id: true } }).execute(); +const created = await db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.apiModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1411,18 +1484,21 @@ CRUD operations for SiteMetadatum records. | `title` | String | Yes | | `description` | String | Yes | | `ogImage` | ConstructiveInternalTypeImage | Yes | +| `titleTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all siteMetadatum records -const items = await db.siteMetadatum.findMany({ select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }).execute(); +const items = await db.siteMetadatum.findMany({ select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.siteMetadatum.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }).execute(); +const item = await db.siteMetadatum.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '' }, select: { id: true } }).execute(); +const created = await db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.siteMetadatum.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1444,18 +1520,20 @@ CRUD operations for SiteModule records. | `siteId` | UUID | Yes | | `name` | String | Yes | | `data` | JSON | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all siteModule records -const items = await db.siteModule.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, data: true } }).execute(); +const items = await db.siteModule.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.siteModule.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, data: true } }).execute(); +const item = await db.siteModule.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '' }, select: { id: true } }).execute(); +const created = await db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.siteModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1510,18 +1588,21 @@ CRUD operations for TriggerFunction records. | `code` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `codeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all triggerFunction records -const items = await db.triggerFunction.findMany({ select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.triggerFunction.findMany({ select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.triggerFunction.findOne({ id: '', select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.triggerFunction.findOne({ id: '', select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.triggerFunction.create({ data: { databaseId: '', name: '', code: '' }, select: { id: true } }).execute(); +const created = await db.triggerFunction.create({ data: { databaseId: '', name: '', code: '', nameTrgmSimilarity: '', codeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.triggerFunction.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1545,18 +1626,23 @@ CRUD operations for Api records. | `roleName` | String | Yes | | `anonRole` | String | Yes | | `isPublic` | Boolean | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `dbnameTrgmSimilarity` | Float | Yes | +| `roleNameTrgmSimilarity` | Float | Yes | +| `anonRoleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all api records -const items = await db.api.findMany({ select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }).execute(); +const items = await db.api.findMany({ select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.api.findOne({ id: '', select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }).execute(); +const item = await db.api.findOne({ id: '', select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '' }, select: { id: true } }).execute(); +const created = await db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '', nameTrgmSimilarity: '', dbnameTrgmSimilarity: '', roleNameTrgmSimilarity: '', anonRoleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.api.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1582,18 +1668,22 @@ CRUD operations for Site records. | `appleTouchIcon` | ConstructiveInternalTypeImage | Yes | | `logo` | ConstructiveInternalTypeImage | Yes | | `dbname` | String | Yes | +| `titleTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `dbnameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all site records -const items = await db.site.findMany({ select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }).execute(); +const items = await db.site.findMany({ select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.site.findOne({ id: '', select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }).execute(); +const item = await db.site.findOne({ id: '', select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '' }, select: { id: true } }).execute(); +const created = await db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', dbnameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.site.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1619,18 +1709,22 @@ CRUD operations for App records. | `appStoreId` | String | Yes | | `appIdPrefix` | String | Yes | | `playStoreLink` | ConstructiveInternalTypeUrl | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `appStoreIdTrgmSimilarity` | Float | Yes | +| `appIdPrefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all app records -const items = await db.app.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }).execute(); +const items = await db.app.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.app.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }).execute(); +const item = await db.app.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '' }, select: { id: true } }).execute(); +const created = await db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '', nameTrgmSimilarity: '', appStoreIdTrgmSimilarity: '', appIdPrefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.app.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1654,18 +1748,20 @@ CRUD operations for ConnectedAccountsModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccountsModule records -const items = await db.connectedAccountsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.connectedAccountsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccountsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.connectedAccountsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccountsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1690,18 +1786,21 @@ CRUD operations for CryptoAddressesModule records. | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | | `cryptoNetwork` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `cryptoNetworkTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all cryptoAddressesModule records -const items = await db.cryptoAddressesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }).execute(); +const items = await db.cryptoAddressesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAddressesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }).execute(); +const item = await db.cryptoAddressesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '', tableNameTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.cryptoAddressesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1732,18 +1831,25 @@ CRUD operations for CryptoAuthModule records. | `signInRecordFailure` | String | Yes | | `signUpWithKey` | String | Yes | | `signInWithChallenge` | String | Yes | +| `userFieldTrgmSimilarity` | Float | Yes | +| `cryptoNetworkTrgmSimilarity` | Float | Yes | +| `signInRequestChallengeTrgmSimilarity` | Float | Yes | +| `signInRecordFailureTrgmSimilarity` | Float | Yes | +| `signUpWithKeyTrgmSimilarity` | Float | Yes | +| `signInWithChallengeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all cryptoAuthModule records -const items = await db.cryptoAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }).execute(); +const items = await db.cryptoAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }).execute(); +const item = await db.cryptoAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '', userFieldTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', signInRequestChallengeTrgmSimilarity: '', signInRecordFailureTrgmSimilarity: '', signUpWithKeyTrgmSimilarity: '', signInWithChallengeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.cryptoAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1802,18 +1908,20 @@ CRUD operations for DenormalizedTableField records. | `updateDefaults` | Boolean | Yes | | `funcName` | String | Yes | | `funcOrder` | Int | Yes | +| `funcNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all denormalizedTableField records -const items = await db.denormalizedTableField.findMany({ select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }).execute(); +const items = await db.denormalizedTableField.findMany({ select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.denormalizedTableField.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }).execute(); +const item = await db.denormalizedTableField.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '' }, select: { id: true } }).execute(); +const created = await db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '', funcNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.denormalizedTableField.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1837,18 +1945,20 @@ CRUD operations for EmailsModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all emailsModule records -const items = await db.emailsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.emailsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.emailsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.emailsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.emailsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1870,18 +1980,20 @@ CRUD operations for EncryptedSecretsModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all encryptedSecretsModule records -const items = await db.encryptedSecretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.encryptedSecretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.encryptedSecretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.encryptedSecretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.encryptedSecretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1907,18 +2019,20 @@ CRUD operations for FieldModule records. | `data` | JSON | Yes | | `triggers` | String | Yes | | `functions` | String | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all fieldModule records -const items = await db.fieldModule.findMany({ select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }).execute(); +const items = await db.fieldModule.findMany({ select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.fieldModule.findOne({ id: '', select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }).execute(); +const item = await db.fieldModule.findOne({ id: '', select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '' }, select: { id: true } }).execute(); +const created = await db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.fieldModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1949,18 +2063,23 @@ CRUD operations for InvitesModule records. | `prefix` | String | Yes | | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | +| `invitesTableNameTrgmSimilarity` | Float | Yes | +| `claimedInvitesTableNameTrgmSimilarity` | Float | Yes | +| `submitInviteCodeFunctionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all invitesModule records -const items = await db.invitesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }).execute(); +const items = await db.invitesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.invitesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }).execute(); +const item = await db.invitesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '' }, select: { id: true } }).execute(); +const created = await db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '', invitesTableNameTrgmSimilarity: '', claimedInvitesTableNameTrgmSimilarity: '', submitInviteCodeFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.invitesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2003,18 +2122,34 @@ CRUD operations for LevelsModule records. | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | | `actorTableId` | UUID | Yes | +| `stepsTableNameTrgmSimilarity` | Float | Yes | +| `achievementsTableNameTrgmSimilarity` | Float | Yes | +| `levelsTableNameTrgmSimilarity` | Float | Yes | +| `levelRequirementsTableNameTrgmSimilarity` | Float | Yes | +| `completedStepTrgmSimilarity` | Float | Yes | +| `incompletedStepTrgmSimilarity` | Float | Yes | +| `tgAchievementTrgmSimilarity` | Float | Yes | +| `tgAchievementToggleTrgmSimilarity` | Float | Yes | +| `tgAchievementToggleBooleanTrgmSimilarity` | Float | Yes | +| `tgAchievementBooleanTrgmSimilarity` | Float | Yes | +| `upsertAchievementTrgmSimilarity` | Float | Yes | +| `tgUpdateAchievementsTrgmSimilarity` | Float | Yes | +| `stepsRequiredTrgmSimilarity` | Float | Yes | +| `levelAchievedTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all levelsModule records -const items = await db.levelsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const items = await db.levelsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.levelsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const item = await db.levelsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute(); +const created = await db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', stepsTableNameTrgmSimilarity: '', achievementsTableNameTrgmSimilarity: '', levelsTableNameTrgmSimilarity: '', levelRequirementsTableNameTrgmSimilarity: '', completedStepTrgmSimilarity: '', incompletedStepTrgmSimilarity: '', tgAchievementTrgmSimilarity: '', tgAchievementToggleTrgmSimilarity: '', tgAchievementToggleBooleanTrgmSimilarity: '', tgAchievementBooleanTrgmSimilarity: '', upsertAchievementTrgmSimilarity: '', tgUpdateAchievementsTrgmSimilarity: '', stepsRequiredTrgmSimilarity: '', levelAchievedTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.levelsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2049,18 +2184,28 @@ CRUD operations for LimitsModule records. | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | | `actorTableId` | UUID | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `defaultTableNameTrgmSimilarity` | Float | Yes | +| `limitIncrementFunctionTrgmSimilarity` | Float | Yes | +| `limitDecrementFunctionTrgmSimilarity` | Float | Yes | +| `limitIncrementTriggerTrgmSimilarity` | Float | Yes | +| `limitDecrementTriggerTrgmSimilarity` | Float | Yes | +| `limitUpdateTriggerTrgmSimilarity` | Float | Yes | +| `limitCheckFunctionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all limitsModule records -const items = await db.limitsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const items = await db.limitsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.limitsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const item = await db.limitsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute(); +const created = await db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', limitIncrementFunctionTrgmSimilarity: '', limitDecrementFunctionTrgmSimilarity: '', limitIncrementTriggerTrgmSimilarity: '', limitDecrementTriggerTrgmSimilarity: '', limitUpdateTriggerTrgmSimilarity: '', limitCheckFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.limitsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2082,18 +2227,20 @@ CRUD operations for MembershipTypesModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipTypesModule records -const items = await db.membershipTypesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.membershipTypesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipTypesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.membershipTypesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipTypesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2141,18 +2288,31 @@ CRUD operations for MembershipsModule records. | `entityIdsByMask` | String | Yes | | `entityIdsByPerm` | String | Yes | | `entityIdsFunction` | String | Yes | +| `membershipsTableNameTrgmSimilarity` | Float | Yes | +| `membersTableNameTrgmSimilarity` | Float | Yes | +| `membershipDefaultsTableNameTrgmSimilarity` | Float | Yes | +| `grantsTableNameTrgmSimilarity` | Float | Yes | +| `adminGrantsTableNameTrgmSimilarity` | Float | Yes | +| `ownerGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `actorMaskCheckTrgmSimilarity` | Float | Yes | +| `actorPermCheckTrgmSimilarity` | Float | Yes | +| `entityIdsByMaskTrgmSimilarity` | Float | Yes | +| `entityIdsByPermTrgmSimilarity` | Float | Yes | +| `entityIdsFunctionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipsModule records -const items = await db.membershipsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }).execute(); +const items = await db.membershipsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }).execute(); +const item = await db.membershipsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '' }, select: { id: true } }).execute(); +const created = await db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '', membershipsTableNameTrgmSimilarity: '', membersTableNameTrgmSimilarity: '', membershipDefaultsTableNameTrgmSimilarity: '', grantsTableNameTrgmSimilarity: '', adminGrantsTableNameTrgmSimilarity: '', ownerGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', actorMaskCheckTrgmSimilarity: '', actorPermCheckTrgmSimilarity: '', entityIdsByMaskTrgmSimilarity: '', entityIdsByPermTrgmSimilarity: '', entityIdsFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2186,18 +2346,26 @@ CRUD operations for PermissionsModule records. | `getMask` | String | Yes | | `getByMask` | String | Yes | | `getMaskByName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `defaultTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `getPaddedMaskTrgmSimilarity` | Float | Yes | +| `getMaskTrgmSimilarity` | Float | Yes | +| `getByMaskTrgmSimilarity` | Float | Yes | +| `getMaskByNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all permissionsModule records -const items = await db.permissionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }).execute(); +const items = await db.permissionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.permissionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }).execute(); +const item = await db.permissionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '' }, select: { id: true } }).execute(); +const created = await db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', getPaddedMaskTrgmSimilarity: '', getMaskTrgmSimilarity: '', getByMaskTrgmSimilarity: '', getMaskByNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.permissionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2221,18 +2389,20 @@ CRUD operations for PhoneNumbersModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all phoneNumbersModule records -const items = await db.phoneNumbersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.phoneNumbersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.phoneNumbersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.phoneNumbersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.phoneNumbersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2267,18 +2437,24 @@ CRUD operations for ProfilesModule records. | `permissionsTableId` | UUID | Yes | | `membershipsTableId` | UUID | Yes | | `prefix` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `profilePermissionsTableNameTrgmSimilarity` | Float | Yes | +| `profileGrantsTableNameTrgmSimilarity` | Float | Yes | +| `profileDefinitionGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all profilesModule records -const items = await db.profilesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }).execute(); +const items = await db.profilesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.profilesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }).execute(); +const item = await db.profilesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '', tableNameTrgmSimilarity: '', profilePermissionsTableNameTrgmSimilarity: '', profileGrantsTableNameTrgmSimilarity: '', profileDefinitionGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.profilesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2287,46 +2463,6 @@ const updated = await db.profilesModule.update({ where: { id: '' }, data: const deleted = await db.profilesModule.delete({ where: { id: '' } }).execute(); ``` -### `db.rlsModule` - -CRUD operations for RlsModule records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `apiId` | UUID | Yes | -| `schemaId` | UUID | Yes | -| `privateSchemaId` | UUID | Yes | -| `sessionCredentialsTableId` | UUID | Yes | -| `sessionsTableId` | UUID | Yes | -| `usersTableId` | UUID | Yes | -| `authenticate` | String | Yes | -| `authenticateStrict` | String | Yes | -| `currentRole` | String | Yes | -| `currentRoleId` | String | Yes | - -**Operations:** - -```typescript -// List all rlsModule records -const items = await db.rlsModule.findMany({ select: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }).execute(); - -// Get one by id -const item = await db.rlsModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }).execute(); - -// Create -const created = await db.rlsModule.create({ data: { databaseId: '', apiId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.rlsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); -``` - ### `db.secretsModule` CRUD operations for SecretsModule records. @@ -2340,18 +2476,20 @@ CRUD operations for SecretsModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all secretsModule records -const items = await db.secretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.secretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.secretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.secretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.secretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2379,18 +2517,22 @@ CRUD operations for SessionsModule records. | `sessionsTable` | String | Yes | | `sessionCredentialsTable` | String | Yes | | `authSettingsTable` | String | Yes | +| `sessionsTableTrgmSimilarity` | Float | Yes | +| `sessionCredentialsTableTrgmSimilarity` | Float | Yes | +| `authSettingsTableTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all sessionsModule records -const items = await db.sessionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }).execute(); +const items = await db.sessionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.sessionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }).execute(); +const item = await db.sessionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '' }, select: { id: true } }).execute(); +const created = await db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '', sessionsTableTrgmSimilarity: '', sessionCredentialsTableTrgmSimilarity: '', authSettingsTableTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.sessionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2433,18 +2575,35 @@ CRUD operations for UserAuthModule records. | `signInOneTimeTokenFunction` | String | Yes | | `oneTimeTokenFunction` | String | Yes | | `extendTokenExpires` | String | Yes | +| `auditsTableNameTrgmSimilarity` | Float | Yes | +| `signInFunctionTrgmSimilarity` | Float | Yes | +| `signUpFunctionTrgmSimilarity` | Float | Yes | +| `signOutFunctionTrgmSimilarity` | Float | Yes | +| `setPasswordFunctionTrgmSimilarity` | Float | Yes | +| `resetPasswordFunctionTrgmSimilarity` | Float | Yes | +| `forgotPasswordFunctionTrgmSimilarity` | Float | Yes | +| `sendVerificationEmailFunctionTrgmSimilarity` | Float | Yes | +| `verifyEmailFunctionTrgmSimilarity` | Float | Yes | +| `verifyPasswordFunctionTrgmSimilarity` | Float | Yes | +| `checkPasswordFunctionTrgmSimilarity` | Float | Yes | +| `sendAccountDeletionEmailFunctionTrgmSimilarity` | Float | Yes | +| `deleteAccountFunctionTrgmSimilarity` | Float | Yes | +| `signInOneTimeTokenFunctionTrgmSimilarity` | Float | Yes | +| `oneTimeTokenFunctionTrgmSimilarity` | Float | Yes | +| `extendTokenExpiresTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all userAuthModule records -const items = await db.userAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }).execute(); +const items = await db.userAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.userAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }).execute(); +const item = await db.userAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '' }, select: { id: true } }).execute(); +const created = await db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '', auditsTableNameTrgmSimilarity: '', signInFunctionTrgmSimilarity: '', signUpFunctionTrgmSimilarity: '', signOutFunctionTrgmSimilarity: '', setPasswordFunctionTrgmSimilarity: '', resetPasswordFunctionTrgmSimilarity: '', forgotPasswordFunctionTrgmSimilarity: '', sendVerificationEmailFunctionTrgmSimilarity: '', verifyEmailFunctionTrgmSimilarity: '', verifyPasswordFunctionTrgmSimilarity: '', checkPasswordFunctionTrgmSimilarity: '', sendAccountDeletionEmailFunctionTrgmSimilarity: '', deleteAccountFunctionTrgmSimilarity: '', signInOneTimeTokenFunctionTrgmSimilarity: '', oneTimeTokenFunctionTrgmSimilarity: '', extendTokenExpiresTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.userAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2468,18 +2627,21 @@ CRUD operations for UsersModule records. | `tableName` | String | Yes | | `typeTableId` | UUID | Yes | | `typeTableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `typeTableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all usersModule records -const items = await db.usersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }).execute(); +const items = await db.usersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.usersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }).execute(); +const item = await db.usersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '' }, select: { id: true } }).execute(); +const created = await db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '', tableNameTrgmSimilarity: '', typeTableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.usersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2501,18 +2663,21 @@ CRUD operations for UuidModule records. | `schemaId` | UUID | Yes | | `uuidFunction` | String | Yes | | `uuidSeed` | String | Yes | +| `uuidFunctionTrgmSimilarity` | Float | Yes | +| `uuidSeedTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all uuidModule records -const items = await db.uuidModule.findMany({ select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }).execute(); +const items = await db.uuidModule.findMany({ select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.uuidModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }).execute(); +const item = await db.uuidModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '' }, select: { id: true } }).execute(); +const created = await db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '', uuidFunctionTrgmSimilarity: '', uuidSeedTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.uuidModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2543,18 +2708,24 @@ CRUD operations for DatabaseProvisionModule records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `completedAt` | Datetime | Yes | +| `databaseNameTrgmSimilarity` | Float | Yes | +| `subdomainTrgmSimilarity` | Float | Yes | +| `domainTrgmSimilarity` | Float | Yes | +| `statusTrgmSimilarity` | Float | Yes | +| `errorMessageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all databaseProvisionModule records -const items = await db.databaseProvisionModule.findMany({ select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }).execute(); +const items = await db.databaseProvisionModule.findMany({ select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.databaseProvisionModule.findOne({ id: '', select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }).execute(); +const item = await db.databaseProvisionModule.findOne({ id: '', select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '' }, select: { id: true } }).execute(); +const created = await db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '', databaseNameTrgmSimilarity: '', subdomainTrgmSimilarity: '', domainTrgmSimilarity: '', statusTrgmSimilarity: '', errorMessageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.databaseProvisionModule.update({ where: { id: '' }, data: { databaseName: '' }, select: { id: true } }).execute(); @@ -2864,18 +3035,20 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | Yes | | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdge records -const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -2901,18 +3074,20 @@ CRUD operations for OrgChartEdgeGrant records. | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | | `createdAt` | Datetime | No | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdgeGrant records -const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -3076,18 +3251,20 @@ CRUD operations for Invite records. | `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all invite records -const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute(); +const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); @@ -3152,18 +3329,20 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `entityId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgInvite records -const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute(); +const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); @@ -3220,18 +3399,20 @@ CRUD operations for Ref records. | `databaseId` | UUID | Yes | | `storeId` | UUID | Yes | | `commitId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all ref records -const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute(); +const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3253,18 +3434,20 @@ CRUD operations for Store records. | `databaseId` | UUID | Yes | | `hash` | UUID | Yes | | `createdAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all store records -const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3303,6 +3486,43 @@ const updated = await db.appPermissionDefault.update({ where: { id: '' }, const deleted = await db.appPermissionDefault.delete({ where: { id: '' } }).execute(); ``` +### `db.cryptoAddress` + +CRUD operations for CryptoAddress records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `address` | String | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | +| `createdAt` | Datetime | No | +| `updatedAt` | Datetime | No | +| `addressTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | + +**Operations:** + +```typescript +// List all cryptoAddress records +const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); + +// Get one by id +const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); + +// Update +const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); + +// Delete +const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +``` + ### `db.roleType` CRUD operations for RoleType records. @@ -3364,9 +3584,9 @@ const updated = await db.orgPermissionDefault.update({ where: { id: '' }, const deleted = await db.orgPermissionDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.cryptoAddress` +### `db.phoneNumber` -CRUD operations for CryptoAddress records. +CRUD operations for PhoneNumber records. **Fields:** @@ -3374,29 +3594,33 @@ CRUD operations for CryptoAddress records. |-------|------|----------| | `id` | UUID | No | | `ownerId` | UUID | Yes | -| `address` | String | Yes | +| `cc` | String | Yes | +| `number` | String | Yes | | `isVerified` | Boolean | Yes | | `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `ccTrgmSimilarity` | Float | Yes | +| `numberTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all cryptoAddress records -const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all phoneNumber records +const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +const deleted = await db.phoneNumber.delete({ where: { id: '' } }).execute(); ``` ### `db.appLimitDefault` @@ -3477,18 +3701,21 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `serviceTrgmSimilarity` | Float | Yes | +| `identifierTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccount records -const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -3497,40 +3724,47 @@ const updated = await db.connectedAccount.update({ where: { id: '' }, dat const deleted = await db.connectedAccount.delete({ where: { id: '' } }).execute(); ``` -### `db.phoneNumber` +### `db.nodeTypeRegistry` -CRUD operations for PhoneNumber records. +CRUD operations for NodeTypeRegistry records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `cc` | String | Yes | -| `number` | String | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | +| `name` | String | No | +| `slug` | String | Yes | +| `category` | String | Yes | +| `displayName` | String | Yes | +| `description` | String | Yes | +| `parameterSchema` | JSON | Yes | +| `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `slugTrgmSimilarity` | Float | Yes | +| `categoryTrgmSimilarity` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all phoneNumber records -const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all nodeTypeRegistry records +const items = await db.nodeTypeRegistry.findMany({ select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); -// Get one by id -const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// Get one by name +const item = await db.nodeTypeRegistry.findOne({ name: '', select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '', nameTrgmSimilarity: '', slugTrgmSimilarity: '', categoryTrgmSimilarity: '', displayNameTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { name: true } }).execute(); // Update -const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.nodeTypeRegistry.update({ where: { name: '' }, data: { slug: '' }, select: { name: true } }).execute(); // Delete -const deleted = await db.phoneNumber.delete({ where: { id: '' } }).execute(); +const deleted = await db.nodeTypeRegistry.delete({ where: { name: '' } }).execute(); ``` ### `db.membershipType` @@ -3545,18 +3779,21 @@ CRUD operations for MembershipType records. | `name` | String | Yes | | `description` | String | Yes | | `prefix` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipType records -const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true } }).execute(); +const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true } }).execute(); +const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3565,76 +3802,83 @@ const updated = await db.membershipType.update({ where: { id: '' }, data: const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` -### `db.nodeTypeRegistry` +### `db.appMembershipDefault` -CRUD operations for NodeTypeRegistry records. +CRUD operations for AppMembershipDefault records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `name` | String | No | -| `slug` | String | Yes | -| `category` | String | Yes | -| `displayName` | String | Yes | -| `description` | String | Yes | -| `parameterSchema` | JSON | Yes | -| `tags` | String | Yes | +| `id` | UUID | No | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isVerified` | Boolean | Yes | **Operations:** ```typescript -// List all nodeTypeRegistry records -const items = await db.nodeTypeRegistry.findMany({ select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +// List all appMembershipDefault records +const items = await db.appMembershipDefault.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); -// Get one by name -const item = await db.nodeTypeRegistry.findOne({ name: '', select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +// Get one by id +const item = await db.appMembershipDefault.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); // Create -const created = await db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '' }, select: { name: true } }).execute(); +const created = await db.appMembershipDefault.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isVerified: '' }, select: { id: true } }).execute(); // Update -const updated = await db.nodeTypeRegistry.update({ where: { name: '' }, data: { slug: '' }, select: { name: true } }).execute(); +const updated = await db.appMembershipDefault.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.nodeTypeRegistry.delete({ where: { name: '' } }).execute(); +const deleted = await db.appMembershipDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembershipDefault` +### `db.rlsModule` -CRUD operations for AppMembershipDefault records. +CRUD operations for RlsModule records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isVerified` | Boolean | Yes | +| `databaseId` | UUID | Yes | +| `schemaId` | UUID | Yes | +| `privateSchemaId` | UUID | Yes | +| `sessionCredentialsTableId` | UUID | Yes | +| `sessionsTableId` | UUID | Yes | +| `usersTableId` | UUID | Yes | +| `authenticate` | String | Yes | +| `authenticateStrict` | String | Yes | +| `currentRole` | String | Yes | +| `currentRoleId` | String | Yes | +| `authenticateTrgmSimilarity` | Float | Yes | +| `authenticateStrictTrgmSimilarity` | Float | Yes | +| `currentRoleTrgmSimilarity` | Float | Yes | +| `currentRoleIdTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembershipDefault records -const items = await db.appMembershipDefault.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); +// List all rlsModule records +const items = await db.rlsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembershipDefault.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); +const item = await db.rlsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembershipDefault.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.rlsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '', authenticateTrgmSimilarity: '', authenticateStrictTrgmSimilarity: '', currentRoleTrgmSimilarity: '', currentRoleIdTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembershipDefault.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.rlsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembershipDefault.delete({ where: { id: '' } }).execute(); +const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); ``` ### `db.commit` @@ -3654,18 +3898,20 @@ CRUD operations for Commit records. | `committerId` | UUID | Yes | | `treeId` | UUID | Yes | | `date` | Datetime | Yes | +| `messageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all commit records -const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute(); +const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute(); @@ -3727,18 +3973,20 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | Yes | | `success` | Boolean | Yes | | `createdAt` | Datetime | No | +| `userAgentTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all auditLog records -const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute(); +const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute(); @@ -3762,18 +4010,20 @@ CRUD operations for AppLevel records. | `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevel records -const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute(); +const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3782,80 +4032,87 @@ const updated = await db.appLevel.update({ where: { id: '' }, data: { nam const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); ``` -### `db.email` +### `db.sqlMigration` -CRUD operations for Email records. +CRUD operations for SqlMigration records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `email` | ConstructiveInternalTypeEmail | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | +| `id` | Int | No | +| `name` | String | Yes | +| `databaseId` | UUID | Yes | +| `deploy` | String | Yes | +| `deps` | String | Yes | +| `payload` | JSON | Yes | +| `content` | String | Yes | +| `revert` | String | Yes | +| `verify` | String | Yes | | `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | +| `action` | String | Yes | +| `actionId` | UUID | Yes | +| `actorId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `deployTrgmSimilarity` | Float | Yes | +| `contentTrgmSimilarity` | Float | Yes | +| `revertTrgmSimilarity` | Float | Yes | +| `verifyTrgmSimilarity` | Float | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all email records -const items = await db.email.findMany({ select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all sqlMigration records +const items = await db.sqlMigration.findMany({ select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.email.findOne({ id: '', select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.sqlMigration.findOne({ id: '', select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.email.create({ data: { ownerId: '', email: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '', nameTrgmSimilarity: '', deployTrgmSimilarity: '', contentTrgmSimilarity: '', revertTrgmSimilarity: '', verifyTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.email.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.sqlMigration.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.email.delete({ where: { id: '' } }).execute(); +const deleted = await db.sqlMigration.delete({ where: { id: '' } }).execute(); ``` -### `db.sqlMigration` +### `db.email` -CRUD operations for SqlMigration records. +CRUD operations for Email records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | -| `databaseId` | UUID | Yes | -| `deploy` | String | Yes | -| `deps` | String | Yes | -| `payload` | JSON | Yes | -| `content` | String | Yes | -| `revert` | String | Yes | -| `verify` | String | Yes | +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `email` | ConstructiveInternalTypeEmail | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | -| `action` | String | Yes | -| `actionId` | UUID | Yes | -| `actorId` | UUID | Yes | +| `updatedAt` | Datetime | No | **Operations:** ```typescript -// List all sqlMigration records -const items = await db.sqlMigration.findMany({ select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +// List all email records +const items = await db.email.findMany({ select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.sqlMigration.findOne({ id: '', select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const item = await db.email.findOne({ id: '', select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); // Create -const created = await db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute(); +const created = await db.email.create({ data: { ownerId: '', email: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); // Update -const updated = await db.sqlMigration.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.email.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.sqlMigration.delete({ where: { id: '' } }).execute(); +const deleted = await db.email.delete({ where: { id: '' } }).execute(); ``` ### `db.astMigration` @@ -3879,18 +4136,20 @@ CRUD operations for AstMigration records. | `action` | String | Yes | | `actionId` | UUID | Yes | | `actorId` | UUID | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all astMigration records -const items = await db.astMigration.findMany({ select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const items = await db.astMigration.findMany({ select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.astMigration.findOne({ id: '', select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const item = await db.astMigration.findOne({ id: '', select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute(); +const created = await db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.astMigration.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -3899,85 +4158,87 @@ const updated = await db.astMigration.update({ where: { id: '' }, data: { const deleted = await db.astMigration.delete({ where: { id: '' } }).execute(); ``` -### `db.user` +### `db.appMembership` -CRUD operations for User records. +CRUD operations for AppMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `username` | String | Yes | -| `displayName` | String | Yes | -| `profilePicture` | ConstructiveInternalTypeImage | Yes | -| `searchTsv` | FullText | Yes | -| `type` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `searchTsvRank` | Float | Yes | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isVerified` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all user records -const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +// List all appMembership records +const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Get one by id -const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Create -const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute(); +const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); +const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.user.delete({ where: { id: '' } }).execute(); +const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembership` +### `db.user` -CRUD operations for AppMembership records. +CRUD operations for User records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `username` | String | Yes | +| `displayName` | String | Yes | +| `profilePicture` | ConstructiveInternalTypeImage | Yes | +| `searchTsv` | FullText | Yes | +| `type` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isVerified` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `searchTsvRank` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembership records -const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +// List all user records +const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.user.delete({ where: { id: '' } }).execute(); ``` ### `db.hierarchyModule` @@ -4008,18 +4269,29 @@ CRUD operations for HierarchyModule records. | `getManagersFunction` | String | Yes | | `isManagerOfFunction` | String | Yes | | `createdAt` | Datetime | No | +| `chartEdgesTableNameTrgmSimilarity` | Float | Yes | +| `hierarchySprtTableNameTrgmSimilarity` | Float | Yes | +| `chartEdgeGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `privateSchemaNameTrgmSimilarity` | Float | Yes | +| `sprtTableNameTrgmSimilarity` | Float | Yes | +| `rebuildHierarchyFunctionTrgmSimilarity` | Float | Yes | +| `getSubordinatesFunctionTrgmSimilarity` | Float | Yes | +| `getManagersFunctionTrgmSimilarity` | Float | Yes | +| `isManagerOfFunctionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all hierarchyModule records -const items = await db.hierarchyModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }).execute(); +const items = await db.hierarchyModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.hierarchyModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }).execute(); +const item = await db.hierarchyModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '' }, select: { id: true } }).execute(); +const created = await db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '', chartEdgesTableNameTrgmSimilarity: '', hierarchySprtTableNameTrgmSimilarity: '', chartEdgeGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', privateSchemaNameTrgmSimilarity: '', sprtTableNameTrgmSimilarity: '', rebuildHierarchyFunctionTrgmSimilarity: '', getSubordinatesFunctionTrgmSimilarity: '', getManagersFunctionTrgmSimilarity: '', isManagerOfFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.hierarchyModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -4492,34 +4764,34 @@ resetPassword const result = await db.mutation.resetPassword({ input: '' }).execute(); ``` -### `db.mutation.removeNodeAtPath` +### `db.mutation.bootstrapUser` -removeNodeAtPath +bootstrapUser - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | BootstrapUserInput (required) | ```typescript -const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.bootstrapUser({ input: '' }).execute(); ``` -### `db.mutation.bootstrapUser` +### `db.mutation.removeNodeAtPath` -bootstrapUser +removeNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | BootstrapUserInput (required) | + | `input` | RemoveNodeAtPathInput (required) | ```typescript -const result = await db.mutation.bootstrapUser({ input: '' }).execute(); +const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); ``` ### `db.mutation.setDataAtPath` diff --git a/sdk/constructive-cli/src/public/orm/index.ts b/sdk/constructive-cli/src/public/orm/index.ts index 9714c6644..ea4e03fbe 100644 --- a/sdk/constructive-cli/src/public/orm/index.ts +++ b/sdk/constructive-cli/src/public/orm/index.ts @@ -29,7 +29,6 @@ import { ViewModel } from './models/view'; import { ViewTableModel } from './models/viewTable'; import { ViewGrantModel } from './models/viewGrant'; import { ViewRuleModel } from './models/viewRule'; -import { TableModuleModel } from './models/tableModule'; import { TableTemplateModuleModel } from './models/tableTemplateModule'; import { SecureTableProvisionModel } from './models/secureTableProvision'; import { RelationProvisionModel } from './models/relationProvision'; @@ -61,7 +60,6 @@ import { MembershipsModuleModel } from './models/membershipsModule'; import { PermissionsModuleModel } from './models/permissionsModule'; import { PhoneNumbersModuleModel } from './models/phoneNumbersModule'; import { ProfilesModuleModel } from './models/profilesModule'; -import { RlsModuleModel } from './models/rlsModule'; import { SecretsModuleModel } from './models/secretsModule'; import { SessionsModuleModel } from './models/sessionsModule'; import { UserAuthModuleModel } from './models/userAuthModule'; @@ -89,25 +87,26 @@ import { OrgClaimedInviteModel } from './models/orgClaimedInvite'; import { RefModel } from './models/ref'; import { StoreModel } from './models/store'; import { AppPermissionDefaultModel } from './models/appPermissionDefault'; +import { CryptoAddressModel } from './models/cryptoAddress'; import { RoleTypeModel } from './models/roleType'; import { OrgPermissionDefaultModel } from './models/orgPermissionDefault'; -import { CryptoAddressModel } from './models/cryptoAddress'; +import { PhoneNumberModel } from './models/phoneNumber'; import { AppLimitDefaultModel } from './models/appLimitDefault'; import { OrgLimitDefaultModel } from './models/orgLimitDefault'; import { ConnectedAccountModel } from './models/connectedAccount'; -import { PhoneNumberModel } from './models/phoneNumber'; -import { MembershipTypeModel } from './models/membershipType'; import { NodeTypeRegistryModel } from './models/nodeTypeRegistry'; +import { MembershipTypeModel } from './models/membershipType'; import { AppMembershipDefaultModel } from './models/appMembershipDefault'; +import { RlsModuleModel } from './models/rlsModule'; import { CommitModel } from './models/commit'; import { OrgMembershipDefaultModel } from './models/orgMembershipDefault'; import { AuditLogModel } from './models/auditLog'; import { AppLevelModel } from './models/appLevel'; -import { EmailModel } from './models/email'; import { SqlMigrationModel } from './models/sqlMigration'; +import { EmailModel } from './models/email'; import { AstMigrationModel } from './models/astMigration'; -import { UserModel } from './models/user'; import { AppMembershipModel } from './models/appMembership'; +import { UserModel } from './models/user'; import { HierarchyModuleModel } from './models/hierarchyModule'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -169,7 +168,6 @@ export function createClient(config: OrmClientConfig) { viewTable: new ViewTableModel(client), viewGrant: new ViewGrantModel(client), viewRule: new ViewRuleModel(client), - tableModule: new TableModuleModel(client), tableTemplateModule: new TableTemplateModuleModel(client), secureTableProvision: new SecureTableProvisionModel(client), relationProvision: new RelationProvisionModel(client), @@ -201,7 +199,6 @@ export function createClient(config: OrmClientConfig) { permissionsModule: new PermissionsModuleModel(client), phoneNumbersModule: new PhoneNumbersModuleModel(client), profilesModule: new ProfilesModuleModel(client), - rlsModule: new RlsModuleModel(client), secretsModule: new SecretsModuleModel(client), sessionsModule: new SessionsModuleModel(client), userAuthModule: new UserAuthModuleModel(client), @@ -229,25 +226,26 @@ export function createClient(config: OrmClientConfig) { ref: new RefModel(client), store: new StoreModel(client), appPermissionDefault: new AppPermissionDefaultModel(client), + cryptoAddress: new CryptoAddressModel(client), roleType: new RoleTypeModel(client), orgPermissionDefault: new OrgPermissionDefaultModel(client), - cryptoAddress: new CryptoAddressModel(client), + phoneNumber: new PhoneNumberModel(client), appLimitDefault: new AppLimitDefaultModel(client), orgLimitDefault: new OrgLimitDefaultModel(client), connectedAccount: new ConnectedAccountModel(client), - phoneNumber: new PhoneNumberModel(client), - membershipType: new MembershipTypeModel(client), nodeTypeRegistry: new NodeTypeRegistryModel(client), + membershipType: new MembershipTypeModel(client), appMembershipDefault: new AppMembershipDefaultModel(client), + rlsModule: new RlsModuleModel(client), commit: new CommitModel(client), orgMembershipDefault: new OrgMembershipDefaultModel(client), auditLog: new AuditLogModel(client), appLevel: new AppLevelModel(client), - email: new EmailModel(client), sqlMigration: new SqlMigrationModel(client), + email: new EmailModel(client), astMigration: new AstMigrationModel(client), - user: new UserModel(client), appMembership: new AppMembershipModel(client), + user: new UserModel(client), hierarchyModule: new HierarchyModuleModel(client), query: createQueryOperations(client), mutation: createMutationOperations(client), diff --git a/sdk/constructive-cli/src/public/orm/input-types.ts b/sdk/constructive-cli/src/public/orm/input-types.ts index fb0771ab1..57cdc3b90 100644 --- a/sdk/constructive-cli/src/public/orm/input-types.ts +++ b/sdk/constructive-cli/src/public/orm/input-types.ts @@ -263,6 +263,10 @@ export interface AppPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface OrgPermission { @@ -275,6 +279,10 @@ export interface OrgPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Object { hashUuid?: string | null; @@ -301,6 +309,10 @@ export interface AppLevelRequirement { priority?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Database { id: string; @@ -311,6 +323,14 @@ export interface Database { hash?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `schemaHash`. Returns null when no trgm search filter is active. */ + schemaHashTrgmSimilarity?: number | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Schema { id: string; @@ -327,6 +347,18 @@ export interface Schema { isPublic?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `schemaName`. Returns null when no trgm search filter is active. */ + schemaNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Table { id: string; @@ -348,6 +380,20 @@ export interface Table { inheritsId?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `pluralName`. Returns null when no trgm search filter is active. */ + pluralNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `singularName`. Returns null when no trgm search filter is active. */ + singularNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CheckConstraint { id: string; @@ -364,6 +410,14 @@ export interface CheckConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Field { id: string; @@ -390,6 +444,20 @@ export interface Field { scope?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultValue`. Returns null when no trgm search filter is active. */ + defaultValueTrgmSimilarity?: number | null; + /** TRGM similarity when searching `regexp`. Returns null when no trgm search filter is active. */ + regexpTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ForeignKeyConstraint { id: string; @@ -410,6 +478,20 @@ export interface ForeignKeyConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. */ + deleteActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `updateAction`. Returns null when no trgm search filter is active. */ + updateActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface FullTextSearch { id: string; @@ -433,6 +515,8 @@ export interface Index { indexParams?: Record | null; whereClause?: Record | null; isUnique?: boolean | null; + options?: Record | null; + opClasses?: string | null; smartTags?: Record | null; category?: ObjectCategory | null; module?: string | null; @@ -440,6 +524,14 @@ export interface Index { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `accessMethod`. Returns null when no trgm search filter is active. */ + accessMethodTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Policy { id: string; @@ -459,6 +551,18 @@ export interface Policy { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PrimaryKeyConstraint { id: string; @@ -474,6 +578,14 @@ export interface PrimaryKeyConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface TableGrant { id: string; @@ -485,6 +597,12 @@ export interface TableGrant { isGrant?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Trigger { id: string; @@ -500,6 +618,16 @@ export interface Trigger { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `event`. Returns null when no trgm search filter is active. */ + eventTrgmSimilarity?: number | null; + /** TRGM similarity when searching `functionName`. Returns null when no trgm search filter is active. */ + functionNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UniqueConstraint { id: string; @@ -516,6 +644,16 @@ export interface UniqueConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface View { id: string; @@ -534,6 +672,16 @@ export interface View { module?: string | null; scope?: number | null; tags?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `viewType`. Returns null when no trgm search filter is active. */ + viewTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `filterType`. Returns null when no trgm search filter is active. */ + filterTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Junction table linking views to their joined tables for referential integrity */ export interface ViewTable { @@ -550,6 +698,12 @@ export interface ViewGrant { privilege?: string | null; withGrantOption?: boolean | null; isGrant?: boolean | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** DO INSTEAD rules for views (e.g., read-only enforcement) */ export interface ViewRule { @@ -561,17 +715,14 @@ export interface ViewRule { event?: string | null; /** NOTHING (for read-only) or custom action */ action?: string | null; -} -export interface TableModule { - id: string; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - data?: Record | null; - fields?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `event`. Returns null when no trgm search filter is active. */ + eventTrgmSimilarity?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface TableTemplateModule { id: string; @@ -583,6 +734,12 @@ export interface TableTemplateModule { tableName?: string | null; nodeType?: string | null; data?: Record | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */ export interface SecureTableProvision { @@ -602,6 +759,8 @@ export interface SecureTableProvision { useRls?: boolean | null; /** 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?: Record | null; + /** 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?: Record | null; /** 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 | null; /** 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. */ @@ -620,6 +779,18 @@ export interface SecureTableProvision { policyData?: Record | null; /** 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?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. */ + policyRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. */ + policyNameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** * Provisions relational structure between tables. Supports four relation types: @@ -755,6 +926,28 @@ export interface RelationProvision { outSourceFieldId?: string | null; /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */ outTargetFieldId?: string | null; + /** TRGM similarity when searching `relationType`. Returns null when no trgm search filter is active. */ + relationTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fieldName`. Returns null when no trgm search filter is active. */ + fieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. */ + deleteActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `junctionTableName`. Returns null when no trgm search filter is active. */ + junctionTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sourceFieldName`. Returns null when no trgm search filter is active. */ + sourceFieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `targetFieldName`. Returns null when no trgm search filter is active. */ + targetFieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. */ + policyRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. */ + policyNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SchemaGrant { id: string; @@ -763,6 +956,10 @@ export interface SchemaGrant { granteeName?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface DefaultPrivilege { id: string; @@ -772,6 +969,14 @@ export interface DefaultPrivilege { privilege?: string | null; granteeName?: string | null; isGrant?: boolean | null; + /** TRGM similarity when searching `objectType`. Returns null when no trgm search filter is active. */ + objectTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API */ export interface ApiSchema { @@ -796,6 +1001,10 @@ export interface ApiModule { name?: string | null; /** JSON configuration data for this module */ data?: Record | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site */ export interface Domain { @@ -826,6 +1035,12 @@ export interface SiteMetadatum { description?: string | null; /** Open Graph image for social media previews */ ogImage?: ConstructiveInternalTypeImage | null; + /** TRGM similarity when searching `title`. Returns null when no trgm search filter is active. */ + titleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site */ export interface SiteModule { @@ -839,6 +1054,10 @@ export interface SiteModule { name?: string | null; /** JSON configuration data for this module */ data?: Record | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Theme configuration for a site; stores design tokens, colors, and typography as JSONB */ export interface SiteTheme { @@ -858,6 +1077,12 @@ export interface TriggerFunction { code?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `code`. Returns null when no trgm search filter is active. */ + codeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings */ export interface Api { @@ -875,6 +1100,16 @@ export interface Api { anonRole?: string | null; /** Whether this API is publicly accessible without authentication */ isPublic?: boolean | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. */ + dbnameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `roleName`. Returns null when no trgm search filter is active. */ + roleNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `anonRole`. Returns null when no trgm search filter is active. */ + anonRoleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Top-level site configuration: branding assets, title, and description for a deployed application */ export interface Site { @@ -896,6 +1131,14 @@ export interface Site { logo?: ConstructiveInternalTypeImage | null; /** PostgreSQL database name this site connects to */ dbname?: string | null; + /** TRGM similarity when searching `title`. Returns null when no trgm search filter is active. */ + titleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. */ + dbnameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Mobile and native app configuration linked to a site, including store links and identifiers */ export interface App { @@ -917,6 +1160,14 @@ export interface App { appIdPrefix?: string | null; /** URL to the Google Play Store listing */ playStoreLink?: ConstructiveInternalTypeUrl | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `appStoreId`. Returns null when no trgm search filter is active. */ + appStoreIdTrgmSimilarity?: number | null; + /** TRGM similarity when searching `appIdPrefix`. Returns null when no trgm search filter is active. */ + appIdPrefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ConnectedAccountsModule { id: string; @@ -926,6 +1177,10 @@ export interface ConnectedAccountsModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CryptoAddressesModule { id: string; @@ -936,6 +1191,12 @@ export interface CryptoAddressesModule { ownerTableId?: string | null; tableName?: string | null; cryptoNetwork?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. */ + cryptoNetworkTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CryptoAuthModule { id: string; @@ -952,6 +1213,20 @@ export interface CryptoAuthModule { signInRecordFailure?: string | null; signUpWithKey?: string | null; signInWithChallenge?: string | null; + /** TRGM similarity when searching `userField`. Returns null when no trgm search filter is active. */ + userFieldTrgmSimilarity?: number | null; + /** TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. */ + cryptoNetworkTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInRequestChallenge`. Returns null when no trgm search filter is active. */ + signInRequestChallengeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInRecordFailure`. Returns null when no trgm search filter is active. */ + signInRecordFailureTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signUpWithKey`. Returns null when no trgm search filter is active. */ + signUpWithKeyTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInWithChallenge`. Returns null when no trgm search filter is active. */ + signInWithChallengeTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface DefaultIdsModule { id: string; @@ -970,6 +1245,10 @@ export interface DenormalizedTableField { updateDefaults?: boolean | null; funcName?: string | null; funcOrder?: number | null; + /** TRGM similarity when searching `funcName`. Returns null when no trgm search filter is active. */ + funcNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface EmailsModule { id: string; @@ -979,6 +1258,10 @@ export interface EmailsModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface EncryptedSecretsModule { id: string; @@ -986,6 +1269,10 @@ export interface EncryptedSecretsModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface FieldModule { id: string; @@ -997,6 +1284,10 @@ export interface FieldModule { data?: Record | null; triggers?: string | null; functions?: string | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface InvitesModule { id: string; @@ -1013,6 +1304,16 @@ export interface InvitesModule { prefix?: string | null; membershipType?: number | null; entityTableId?: string | null; + /** TRGM similarity when searching `invitesTableName`. Returns null when no trgm search filter is active. */ + invitesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `claimedInvitesTableName`. Returns null when no trgm search filter is active. */ + claimedInvitesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `submitInviteCodeFunction`. Returns null when no trgm search filter is active. */ + submitInviteCodeFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface LevelsModule { id: string; @@ -1041,6 +1342,38 @@ export interface LevelsModule { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + /** TRGM similarity when searching `stepsTableName`. Returns null when no trgm search filter is active. */ + stepsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `achievementsTableName`. Returns null when no trgm search filter is active. */ + achievementsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelsTableName`. Returns null when no trgm search filter is active. */ + levelsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelRequirementsTableName`. Returns null when no trgm search filter is active. */ + levelRequirementsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `completedStep`. Returns null when no trgm search filter is active. */ + completedStepTrgmSimilarity?: number | null; + /** TRGM similarity when searching `incompletedStep`. Returns null when no trgm search filter is active. */ + incompletedStepTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievement`. Returns null when no trgm search filter is active. */ + tgAchievementTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementToggle`. Returns null when no trgm search filter is active. */ + tgAchievementToggleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementToggleBoolean`. Returns null when no trgm search filter is active. */ + tgAchievementToggleBooleanTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementBoolean`. Returns null when no trgm search filter is active. */ + tgAchievementBooleanTrgmSimilarity?: number | null; + /** TRGM similarity when searching `upsertAchievement`. Returns null when no trgm search filter is active. */ + upsertAchievementTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgUpdateAchievements`. Returns null when no trgm search filter is active. */ + tgUpdateAchievementsTrgmSimilarity?: number | null; + /** TRGM similarity when searching `stepsRequired`. Returns null when no trgm search filter is active. */ + stepsRequiredTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelAchieved`. Returns null when no trgm search filter is active. */ + levelAchievedTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface LimitsModule { id: string; @@ -1061,6 +1394,26 @@ export interface LimitsModule { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. */ + defaultTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitIncrementFunction`. Returns null when no trgm search filter is active. */ + limitIncrementFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitDecrementFunction`. Returns null when no trgm search filter is active. */ + limitDecrementFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitIncrementTrigger`. Returns null when no trgm search filter is active. */ + limitIncrementTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitDecrementTrigger`. Returns null when no trgm search filter is active. */ + limitDecrementTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitUpdateTrigger`. Returns null when no trgm search filter is active. */ + limitUpdateTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitCheckFunction`. Returns null when no trgm search filter is active. */ + limitCheckFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface MembershipTypesModule { id: string; @@ -1068,6 +1421,10 @@ export interface MembershipTypesModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface MembershipsModule { id: string; @@ -1101,6 +1458,32 @@ export interface MembershipsModule { entityIdsByMask?: string | null; entityIdsByPerm?: string | null; entityIdsFunction?: string | null; + /** TRGM similarity when searching `membershipsTableName`. Returns null when no trgm search filter is active. */ + membershipsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `membersTableName`. Returns null when no trgm search filter is active. */ + membersTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `membershipDefaultsTableName`. Returns null when no trgm search filter is active. */ + membershipDefaultsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `grantsTableName`. Returns null when no trgm search filter is active. */ + grantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `adminGrantsTableName`. Returns null when no trgm search filter is active. */ + adminGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `ownerGrantsTableName`. Returns null when no trgm search filter is active. */ + ownerGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `actorMaskCheck`. Returns null when no trgm search filter is active. */ + actorMaskCheckTrgmSimilarity?: number | null; + /** TRGM similarity when searching `actorPermCheck`. Returns null when no trgm search filter is active. */ + actorPermCheckTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsByMask`. Returns null when no trgm search filter is active. */ + entityIdsByMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsByPerm`. Returns null when no trgm search filter is active. */ + entityIdsByPermTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsFunction`. Returns null when no trgm search filter is active. */ + entityIdsFunctionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PermissionsModule { id: string; @@ -1120,6 +1503,22 @@ export interface PermissionsModule { getMask?: string | null; getByMask?: string | null; getMaskByName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. */ + defaultTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getPaddedMask`. Returns null when no trgm search filter is active. */ + getPaddedMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getMask`. Returns null when no trgm search filter is active. */ + getMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getByMask`. Returns null when no trgm search filter is active. */ + getByMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getMaskByName`. Returns null when no trgm search filter is active. */ + getMaskByNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PhoneNumbersModule { id: string; @@ -1129,6 +1528,10 @@ export interface PhoneNumbersModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ProfilesModule { id: string; @@ -1149,20 +1552,18 @@ export interface ProfilesModule { permissionsTableId?: string | null; membershipsTableId?: string | null; prefix?: string | null; -} -export interface RlsModule { - id: string; - databaseId?: string | null; - apiId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - sessionCredentialsTableId?: string | null; - sessionsTableId?: string | null; - usersTableId?: string | null; - authenticate?: string | null; - authenticateStrict?: string | null; - currentRole?: string | null; - currentRoleId?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profilePermissionsTableName`. Returns null when no trgm search filter is active. */ + profilePermissionsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profileGrantsTableName`. Returns null when no trgm search filter is active. */ + profileGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profileDefinitionGrantsTableName`. Returns null when no trgm search filter is active. */ + profileDefinitionGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SecretsModule { id: string; @@ -1170,6 +1571,10 @@ export interface SecretsModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SessionsModule { id: string; @@ -1183,6 +1588,14 @@ export interface SessionsModule { sessionsTable?: string | null; sessionCredentialsTable?: string | null; authSettingsTable?: string | null; + /** TRGM similarity when searching `sessionsTable`. Returns null when no trgm search filter is active. */ + sessionsTableTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sessionCredentialsTable`. Returns null when no trgm search filter is active. */ + sessionCredentialsTableTrgmSimilarity?: number | null; + /** TRGM similarity when searching `authSettingsTable`. Returns null when no trgm search filter is active. */ + authSettingsTableTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UserAuthModule { id: string; @@ -1211,6 +1624,40 @@ export interface UserAuthModule { signInOneTimeTokenFunction?: string | null; oneTimeTokenFunction?: string | null; extendTokenExpires?: string | null; + /** TRGM similarity when searching `auditsTableName`. Returns null when no trgm search filter is active. */ + auditsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInFunction`. Returns null when no trgm search filter is active. */ + signInFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signUpFunction`. Returns null when no trgm search filter is active. */ + signUpFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signOutFunction`. Returns null when no trgm search filter is active. */ + signOutFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `setPasswordFunction`. Returns null when no trgm search filter is active. */ + setPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `resetPasswordFunction`. Returns null when no trgm search filter is active. */ + resetPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `forgotPasswordFunction`. Returns null when no trgm search filter is active. */ + forgotPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sendVerificationEmailFunction`. Returns null when no trgm search filter is active. */ + sendVerificationEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verifyEmailFunction`. Returns null when no trgm search filter is active. */ + verifyEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verifyPasswordFunction`. Returns null when no trgm search filter is active. */ + verifyPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `checkPasswordFunction`. Returns null when no trgm search filter is active. */ + checkPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sendAccountDeletionEmailFunction`. Returns null when no trgm search filter is active. */ + sendAccountDeletionEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAccountFunction`. Returns null when no trgm search filter is active. */ + deleteAccountFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInOneTimeTokenFunction`. Returns null when no trgm search filter is active. */ + signInOneTimeTokenFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `oneTimeTokenFunction`. Returns null when no trgm search filter is active. */ + oneTimeTokenFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `extendTokenExpires`. Returns null when no trgm search filter is active. */ + extendTokenExpiresTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UsersModule { id: string; @@ -1220,6 +1667,12 @@ export interface UsersModule { tableName?: string | null; typeTableId?: string | null; typeTableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `typeTableName`. Returns null when no trgm search filter is active. */ + typeTableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UuidModule { id: string; @@ -1227,6 +1680,12 @@ export interface UuidModule { schemaId?: string | null; uuidFunction?: string | null; uuidSeed?: string | null; + /** TRGM similarity when searching `uuidFunction`. Returns null when no trgm search filter is active. */ + uuidFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `uuidSeed`. Returns null when no trgm search filter is active. */ + uuidSeedTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */ export interface DatabaseProvisionModule { @@ -1253,6 +1712,18 @@ export interface DatabaseProvisionModule { createdAt?: string | null; updatedAt?: string | null; completedAt?: string | null; + /** TRGM similarity when searching `databaseName`. Returns null when no trgm search filter is active. */ + databaseNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `subdomain`. Returns null when no trgm search filter is active. */ + subdomainTrgmSimilarity?: number | null; + /** TRGM similarity when searching `domain`. Returns null when no trgm search filter is active. */ + domainTrgmSimilarity?: number | null; + /** TRGM similarity when searching `status`. Returns null when no trgm search filter is active. */ + statusTrgmSimilarity?: number | null; + /** TRGM similarity when searching `errorMessage`. Returns null when no trgm search filter is active. */ + errorMessageTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of admin role grants and revocations between members */ export interface AppAdminGrant { @@ -1384,6 +1855,10 @@ export interface OrgChartEdge { positionTitle?: string | null; /** Numeric seniority level for this position (higher = more senior) */ positionLevel?: number | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */ export interface OrgChartEdgeGrant { @@ -1404,6 +1879,10 @@ export interface OrgChartEdgeGrant { positionLevel?: number | null; /** Timestamp when this grant or revocation was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface AppLimit { @@ -1475,6 +1954,10 @@ export interface Invite { expiresAt?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of successfully claimed invitations, linking senders to receivers */ export interface ClaimedInvite { @@ -1514,6 +1997,10 @@ export interface OrgInvite { createdAt?: string | null; updatedAt?: string | null; entityId?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of successfully claimed invitations, linking senders to receivers */ export interface OrgClaimedInvite { @@ -1537,6 +2024,10 @@ export interface Ref { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A store represents an isolated object repository within a database. */ export interface Store { @@ -1549,6 +2040,10 @@ export interface Store { /** The current head tree_id for this store. */ hash?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Stores the default permission bitmask assigned to new members upon joining */ export interface AppPermissionDefault { @@ -1556,6 +2051,23 @@ export interface AppPermissionDefault { /** Default permission bitmask applied to new members */ permissions?: string | null; } +/** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ +export interface CryptoAddress { + id: string; + ownerId?: string | null; + /** The cryptocurrency wallet address, validated against network-specific patterns */ + address?: string | null; + /** Whether ownership of this address has been cryptographically verified */ + isVerified?: boolean | null; + /** Whether this is the user's primary cryptocurrency address */ + isPrimary?: boolean | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `address`. Returns null when no trgm search filter is active. */ + addressTrgmSimilarity?: number | null; + /** 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?: number | null; +} export interface RoleType { id: number; name?: string | null; @@ -1568,18 +2080,26 @@ export interface OrgPermissionDefault { /** References the entity these default permissions apply to */ entityId?: string | null; } -/** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ -export interface CryptoAddress { +/** User phone numbers with country code, verification, and primary-number management */ +export interface PhoneNumber { id: string; ownerId?: string | null; - /** The cryptocurrency wallet address, validated against network-specific patterns */ - address?: string | null; - /** Whether ownership of this address has been cryptographically verified */ + /** Country calling code (e.g. +1, +44) */ + cc?: string | null; + /** The phone number without country code */ + number?: string | null; + /** Whether the phone number has been verified via SMS code */ isVerified?: boolean | null; - /** Whether this is the user's primary cryptocurrency address */ + /** Whether this is the user's primary phone number */ isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. */ + ccTrgmSimilarity?: number | null; + /** TRGM similarity when searching `number`. Returns null when no trgm search filter is active. */ + numberTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default maximum values for each named limit, applied when no per-actor override exists */ export interface AppLimitDefault { @@ -1611,32 +2131,12 @@ export interface ConnectedAccount { isVerified?: boolean | null; createdAt?: string | null; updatedAt?: string | null; -} -/** User phone numbers with country code, verification, and primary-number management */ -export interface PhoneNumber { - id: string; - ownerId?: string | null; - /** Country calling code (e.g. +1, +44) */ - cc?: string | null; - /** The phone number without country code */ - number?: string | null; - /** Whether the phone number has been verified via SMS code */ - isVerified?: boolean | null; - /** Whether this is the user's primary phone number */ - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ -export interface MembershipType { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ - name?: string | null; - /** Description of what this membership type represents */ - description?: string | null; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string | null; + /** TRGM similarity when searching `service`. Returns null when no trgm search filter is active. */ + serviceTrgmSimilarity?: number | null; + /** TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. */ + identifierTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). */ export interface NodeTypeRegistry { @@ -1656,6 +2156,35 @@ export interface NodeTypeRegistry { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `slug`. Returns null when no trgm search filter is active. */ + slugTrgmSimilarity?: number | null; + /** TRGM similarity when searching `category`. Returns null when no trgm search filter is active. */ + categoryTrgmSimilarity?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ +export interface MembershipType { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name?: string | null; + /** Description of what this membership type represents */ + description?: string | null; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface AppMembershipDefault { @@ -1669,6 +2198,29 @@ export interface AppMembershipDefault { /** Whether new members are automatically verified upon joining */ isVerified?: boolean | null; } +export interface RlsModule { + id: string; + databaseId?: string | null; + schemaId?: string | null; + privateSchemaId?: string | null; + sessionCredentialsTableId?: string | null; + sessionsTableId?: string | null; + usersTableId?: string | null; + authenticate?: string | null; + authenticateStrict?: string | null; + currentRole?: string | null; + currentRoleId?: string | null; + /** TRGM similarity when searching `authenticate`. Returns null when no trgm search filter is active. */ + authenticateTrgmSimilarity?: number | null; + /** TRGM similarity when searching `authenticateStrict`. Returns null when no trgm search filter is active. */ + authenticateStrictTrgmSimilarity?: number | null; + /** TRGM similarity when searching `currentRole`. Returns null when no trgm search filter is active. */ + currentRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `currentRoleId`. Returns null when no trgm search filter is active. */ + currentRoleIdTrgmSimilarity?: number | null; + /** 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?: number | null; +} /** A commit records changes to the repository. */ export interface Commit { /** The primary unique identifier for the commit. */ @@ -1687,6 +2239,10 @@ export interface Commit { /** The root of the tree */ treeId?: string | null; date?: string | null; + /** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */ + messageTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface OrgMembershipDefault { @@ -1721,6 +2277,10 @@ export interface AuditLog { success?: boolean | null; /** Timestamp when the audit event was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. */ + userAgentTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available levels that users can achieve by completing requirements */ export interface AppLevel { @@ -1735,19 +2295,10 @@ export interface AppLevel { ownerId?: string | null; createdAt?: string | null; updatedAt?: string | null; -} -/** User email addresses with verification and primary-email management */ -export interface Email { - id: string; - ownerId?: string | null; - /** The email address */ - email?: ConstructiveInternalTypeEmail | null; - /** Whether the email address has been verified via confirmation link */ - isVerified?: boolean | null; - /** Whether this is the user's primary email address */ - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SqlMigration { id: number; @@ -1763,6 +2314,33 @@ export interface SqlMigration { action?: string | null; actionId?: string | null; actorId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deploy`. Returns null when no trgm search filter is active. */ + deployTrgmSimilarity?: number | null; + /** TRGM similarity when searching `content`. Returns null when no trgm search filter is active. */ + contentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `revert`. Returns null when no trgm search filter is active. */ + revertTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verify`. Returns null when no trgm search filter is active. */ + verifyTrgmSimilarity?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** User email addresses with verification and primary-email management */ +export interface Email { + id: string; + ownerId?: string | null; + /** The email address */ + email?: ConstructiveInternalTypeEmail | null; + /** Whether the email address has been verified via confirmation link */ + isVerified?: boolean | null; + /** Whether this is the user's primary email address */ + isPrimary?: boolean | null; + createdAt?: string | null; + updatedAt?: string | null; } export interface AstMigration { id: number; @@ -1778,18 +2356,10 @@ export interface AstMigration { action?: string | null; actionId?: string | null; actorId?: string | null; -} -export interface User { - id: string; - username?: string | null; - displayName?: string | null; - profilePicture?: ConstructiveInternalTypeImage | null; - searchTsv?: string | null; - type?: number | null; - createdAt?: string | null; - updatedAt?: string | null; - /** Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. */ - searchTsvRank?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */ export interface AppMembership { @@ -1820,6 +2390,22 @@ export interface AppMembership { actorId?: string | null; profileId?: string | null; } +export interface User { + id: string; + username?: string | null; + displayName?: string | null; + profilePicture?: ConstructiveInternalTypeImage | null; + searchTsv?: string | null; + type?: number | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. */ + searchTsvRank?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** 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?: number | null; +} export interface HierarchyModule { id: string; databaseId?: string | null; @@ -1841,6 +2427,28 @@ export interface HierarchyModule { getManagersFunction?: string | null; isManagerOfFunction?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `chartEdgesTableName`. Returns null when no trgm search filter is active. */ + chartEdgesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `hierarchySprtTableName`. Returns null when no trgm search filter is active. */ + hierarchySprtTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `chartEdgeGrantsTableName`. Returns null when no trgm search filter is active. */ + chartEdgeGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privateSchemaName`. Returns null when no trgm search filter is active. */ + privateSchemaNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sprtTableName`. Returns null when no trgm search filter is active. */ + sprtTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `rebuildHierarchyFunction`. Returns null when no trgm search filter is active. */ + rebuildHierarchyFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getSubordinatesFunction`. Returns null when no trgm search filter is active. */ + getSubordinatesFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getManagersFunction`. Returns null when no trgm search filter is active. */ + getManagersFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `isManagerOfFunction`. Returns null when no trgm search filter is active. */ + isManagerOfFunctionTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -1864,6 +2472,7 @@ export interface ObjectRelations {} export interface AppLevelRequirementRelations {} export interface DatabaseRelations { owner?: User | null; + rlsModule?: RlsModule | null; hierarchyModule?: HierarchyModule | null; schemas?: ConnectionResult; tables?: ConnectionResult; @@ -1900,7 +2509,6 @@ export interface DatabaseRelations { emailsModules?: ConnectionResult; encryptedSecretsModules?: ConnectionResult; fieldModules?: ConnectionResult; - tableModules?: ConnectionResult; invitesModules?: ConnectionResult; levelsModules?: ConnectionResult; limitsModules?: ConnectionResult; @@ -1909,7 +2517,6 @@ export interface DatabaseRelations { permissionsModules?: ConnectionResult; phoneNumbersModules?: ConnectionResult; profilesModules?: ConnectionResult; - rlsModules?: ConnectionResult; secretsModules?: ConnectionResult; sessionsModules?: ConnectionResult; userAuthModules?: ConnectionResult; @@ -1946,7 +2553,6 @@ export interface TableRelations { uniqueConstraints?: ConnectionResult; views?: ConnectionResult; viewTables?: ConnectionResult; - tableModules?: ConnectionResult; tableTemplateModulesByOwnerTableId?: ConnectionResult; tableTemplateModules?: ConnectionResult; secureTableProvisions?: ConnectionResult; @@ -2014,11 +2620,6 @@ export interface ViewRuleRelations { database?: Database | null; view?: View | null; } -export interface TableModuleRelations { - database?: Database | null; - schema?: Schema | null; - table?: Table | null; -} export interface TableTemplateModuleRelations { database?: Database | null; ownerTable?: Table | null; @@ -2075,7 +2676,6 @@ export interface TriggerFunctionRelations { } export interface ApiRelations { database?: Database | null; - rlsModule?: RlsModule | null; apiModules?: ConnectionResult; apiSchemas?: ConnectionResult; domains?: ConnectionResult; @@ -2223,15 +2823,6 @@ export interface ProfilesModuleRelations { schema?: Schema | null; table?: Table | null; } -export interface RlsModuleRelations { - api?: Api | null; - database?: Database | null; - privateSchema?: Schema | null; - schema?: Schema | null; - sessionCredentialsTable?: Table | null; - sessionsTable?: Table | null; - usersTable?: Table | null; -} export interface SecretsModuleRelations { database?: Database | null; schema?: Schema | null; @@ -2347,11 +2938,14 @@ export interface OrgClaimedInviteRelations { export interface RefRelations {} export interface StoreRelations {} export interface AppPermissionDefaultRelations {} +export interface CryptoAddressRelations { + owner?: User | null; +} export interface RoleTypeRelations {} export interface OrgPermissionDefaultRelations { entity?: User | null; } -export interface CryptoAddressRelations { +export interface PhoneNumberRelations { owner?: User | null; } export interface AppLimitDefaultRelations {} @@ -2359,12 +2953,17 @@ export interface OrgLimitDefaultRelations {} export interface ConnectedAccountRelations { owner?: User | null; } -export interface PhoneNumberRelations { - owner?: User | null; -} -export interface MembershipTypeRelations {} export interface NodeTypeRegistryRelations {} +export interface MembershipTypeRelations {} export interface AppMembershipDefaultRelations {} +export interface RlsModuleRelations { + database?: Database | null; + privateSchema?: Schema | null; + schema?: Schema | null; + sessionCredentialsTable?: Table | null; + sessionsTable?: Table | null; + usersTable?: Table | null; +} export interface CommitRelations {} export interface OrgMembershipDefaultRelations { entity?: User | null; @@ -2375,11 +2974,14 @@ export interface AuditLogRelations { export interface AppLevelRelations { owner?: User | null; } +export interface SqlMigrationRelations {} export interface EmailRelations { owner?: User | null; } -export interface SqlMigrationRelations {} export interface AstMigrationRelations {} +export interface AppMembershipRelations { + actor?: User | null; +} export interface UserRelations { roleType?: RoleType | null; appMembershipByActorId?: AppMembership | null; @@ -2418,9 +3020,6 @@ export interface UserRelations { orgClaimedInvitesByReceiverId?: ConnectionResult; orgClaimedInvitesBySenderId?: ConnectionResult; } -export interface AppMembershipRelations { - actor?: User | null; -} export interface HierarchyModuleRelations { chartEdgeGrantsTable?: Table | null; chartEdgesTable?: Table | null; @@ -2460,7 +3059,6 @@ export type ViewWithRelations = View & ViewRelations; export type ViewTableWithRelations = ViewTable & ViewTableRelations; export type ViewGrantWithRelations = ViewGrant & ViewGrantRelations; export type ViewRuleWithRelations = ViewRule & ViewRuleRelations; -export type TableModuleWithRelations = TableModule & TableModuleRelations; export type TableTemplateModuleWithRelations = TableTemplateModule & TableTemplateModuleRelations; export type SecureTableProvisionWithRelations = SecureTableProvision & SecureTableProvisionRelations; @@ -2498,7 +3096,6 @@ export type MembershipsModuleWithRelations = MembershipsModule & MembershipsModu export type PermissionsModuleWithRelations = PermissionsModule & PermissionsModuleRelations; export type PhoneNumbersModuleWithRelations = PhoneNumbersModule & PhoneNumbersModuleRelations; export type ProfilesModuleWithRelations = ProfilesModule & ProfilesModuleRelations; -export type RlsModuleWithRelations = RlsModule & RlsModuleRelations; export type SecretsModuleWithRelations = SecretsModule & SecretsModuleRelations; export type SessionsModuleWithRelations = SessionsModule & SessionsModuleRelations; export type UserAuthModuleWithRelations = UserAuthModule & UserAuthModuleRelations; @@ -2528,28 +3125,29 @@ export type RefWithRelations = Ref & RefRelations; export type StoreWithRelations = Store & StoreRelations; export type AppPermissionDefaultWithRelations = AppPermissionDefault & AppPermissionDefaultRelations; +export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type OrgPermissionDefaultWithRelations = OrgPermissionDefault & OrgPermissionDefaultRelations; -export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; +export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations; export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations; export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; -export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; -export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations; +export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations; +export type RlsModuleWithRelations = RlsModule & RlsModuleRelations; export type CommitWithRelations = Commit & CommitRelations; export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations; export type AuditLogWithRelations = AuditLog & AuditLogRelations; export type AppLevelWithRelations = AppLevel & AppLevelRelations; -export type EmailWithRelations = Email & EmailRelations; export type SqlMigrationWithRelations = SqlMigration & SqlMigrationRelations; +export type EmailWithRelations = Email & EmailRelations; export type AstMigrationWithRelations = AstMigration & AstMigrationRelations; -export type UserWithRelations = User & UserRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; +export type UserWithRelations = User & UserRelations; export type HierarchyModuleWithRelations = HierarchyModule & HierarchyModuleRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -2570,6 +3168,8 @@ export type AppPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgPermissionSelect = { id?: boolean; @@ -2577,6 +3177,8 @@ export type OrgPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type ObjectSelect = { hashUuid?: boolean; @@ -2597,6 +3199,8 @@ export type AppLevelRequirementSelect = { priority?: boolean; createdAt?: boolean; updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type DatabaseSelect = { id?: boolean; @@ -2607,9 +3211,16 @@ export type DatabaseSelect = { hash?: boolean; createdAt?: boolean; updatedAt?: boolean; + schemaHashTrgmSimilarity?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; + rlsModule?: { + select: RlsModuleSelect; + }; hierarchyModule?: { select: HierarchyModuleSelect; }; @@ -2823,12 +3434,6 @@ export type DatabaseSelect = { filter?: FieldModuleFilter; orderBy?: FieldModuleOrderBy[]; }; - tableModules?: { - select: TableModuleSelect; - first?: number; - filter?: TableModuleFilter; - orderBy?: TableModuleOrderBy[]; - }; invitesModules?: { select: InvitesModuleSelect; first?: number; @@ -2877,12 +3482,6 @@ export type DatabaseSelect = { filter?: ProfilesModuleFilter; orderBy?: ProfilesModuleOrderBy[]; }; - rlsModules?: { - select: RlsModuleSelect; - first?: number; - filter?: RlsModuleFilter; - orderBy?: RlsModuleOrderBy[]; - }; secretsModules?: { select: SecretsModuleSelect; first?: number; @@ -2953,6 +3552,12 @@ export type SchemaSelect = { isPublic?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + schemaNameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3019,6 +3624,13 @@ export type TableSelect = { inheritsId?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + pluralNameTrgmSimilarity?: boolean; + singularNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3100,12 +3712,6 @@ export type TableSelect = { filter?: ViewTableFilter; orderBy?: ViewTableOrderBy[]; }; - tableModules?: { - select: TableModuleSelect; - first?: number; - filter?: TableModuleFilter; - orderBy?: TableModuleOrderBy[]; - }; tableTemplateModulesByOwnerTableId?: { select: TableTemplateModuleSelect; first?: number; @@ -3152,6 +3758,10 @@ export type CheckConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3184,6 +3794,13 @@ export type FieldSelect = { scope?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + defaultValueTrgmSimilarity?: boolean; + regexpTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3210,6 +3827,13 @@ export type ForeignKeyConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + deleteActionTrgmSimilarity?: boolean; + updateActionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3248,6 +3872,8 @@ export type IndexSelect = { indexParams?: boolean; whereClause?: boolean; isUnique?: boolean; + options?: boolean; + opClasses?: boolean; smartTags?: boolean; category?: boolean; module?: boolean; @@ -3255,6 +3881,10 @@ export type IndexSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + accessMethodTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3280,6 +3910,12 @@ export type PolicySelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3301,6 +3937,10 @@ export type PrimaryKeyConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3318,6 +3958,9 @@ export type TableGrantSelect = { isGrant?: boolean; createdAt?: boolean; updatedAt?: boolean; + privilegeTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3339,6 +3982,11 @@ export type TriggerSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + eventTrgmSimilarity?: boolean; + functionNameTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3361,6 +4009,11 @@ export type UniqueConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3385,6 +4038,11 @@ export type ViewSelect = { module?: boolean; scope?: boolean; tags?: boolean; + nameTrgmSimilarity?: boolean; + viewTypeTrgmSimilarity?: boolean; + filterTypeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3433,6 +4091,9 @@ export type ViewGrantSelect = { privilege?: boolean; withGrantOption?: boolean; isGrant?: boolean; + granteeNameTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3447,6 +4108,10 @@ export type ViewRuleSelect = { name?: boolean; event?: boolean; action?: boolean; + nameTrgmSimilarity?: boolean; + eventTrgmSimilarity?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3454,26 +4119,6 @@ export type ViewRuleSelect = { select: ViewSelect; }; }; -export type TableModuleSelect = { - id?: boolean; - databaseId?: boolean; - schemaId?: boolean; - tableId?: boolean; - tableName?: boolean; - nodeType?: boolean; - useRls?: boolean; - data?: boolean; - fields?: boolean; - database?: { - select: DatabaseSelect; - }; - schema?: { - select: SchemaSelect; - }; - table?: { - select: TableSelect; - }; -}; export type TableTemplateModuleSelect = { id?: boolean; databaseId?: boolean; @@ -3484,6 +4129,9 @@ export type TableTemplateModuleSelect = { tableName?: boolean; nodeType?: boolean; data?: boolean; + tableNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3509,6 +4157,7 @@ export type SecureTableProvisionSelect = { nodeType?: boolean; useRls?: boolean; nodeData?: boolean; + fields?: boolean; grantRoles?: boolean; grantPrivileges?: boolean; policyType?: boolean; @@ -3518,6 +4167,12 @@ export type SecureTableProvisionSelect = { policyName?: boolean; policyData?: boolean; outFields?: boolean; + tableNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + policyRoleTrgmSimilarity?: boolean; + policyNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3557,6 +4212,17 @@ export type RelationProvisionSelect = { outJunctionTableId?: boolean; outSourceFieldId?: boolean; outTargetFieldId?: boolean; + relationTypeTrgmSimilarity?: boolean; + fieldNameTrgmSimilarity?: boolean; + deleteActionTrgmSimilarity?: boolean; + junctionTableNameTrgmSimilarity?: boolean; + sourceFieldNameTrgmSimilarity?: boolean; + targetFieldNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + policyRoleTrgmSimilarity?: boolean; + policyNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3574,6 +4240,8 @@ export type SchemaGrantSelect = { granteeName?: boolean; createdAt?: boolean; updatedAt?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3589,6 +4257,10 @@ export type DefaultPrivilegeSelect = { privilege?: boolean; granteeName?: boolean; isGrant?: boolean; + objectTypeTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3617,6 +4289,8 @@ export type ApiModuleSelect = { apiId?: boolean; name?: boolean; data?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; api?: { select: ApiSelect; }; @@ -3648,6 +4322,9 @@ export type SiteMetadatumSelect = { title?: boolean; description?: boolean; ogImage?: boolean; + titleTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3661,6 +4338,8 @@ export type SiteModuleSelect = { siteId?: boolean; name?: boolean; data?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3687,6 +4366,9 @@ export type TriggerFunctionSelect = { code?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + codeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3699,12 +4381,14 @@ export type ApiSelect = { roleName?: boolean; anonRole?: boolean; isPublic?: boolean; + nameTrgmSimilarity?: boolean; + dbnameTrgmSimilarity?: boolean; + roleNameTrgmSimilarity?: boolean; + anonRoleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; - rlsModule?: { - select: RlsModuleSelect; - }; apiModules?: { select: ApiModuleSelect; first?: number; @@ -3734,6 +4418,10 @@ export type SiteSelect = { appleTouchIcon?: boolean; logo?: boolean; dbname?: boolean; + titleTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + dbnameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3775,6 +4463,10 @@ export type AppSelect = { appStoreId?: boolean; appIdPrefix?: boolean; playStoreLink?: boolean; + nameTrgmSimilarity?: boolean; + appStoreIdTrgmSimilarity?: boolean; + appIdPrefixTrgmSimilarity?: boolean; + searchScore?: boolean; site?: { select: SiteSelect; }; @@ -3790,6 +4482,8 @@ export type ConnectedAccountsModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3815,6 +4509,9 @@ export type CryptoAddressesModuleSelect = { ownerTableId?: boolean; tableName?: boolean; cryptoNetwork?: boolean; + tableNameTrgmSimilarity?: boolean; + cryptoNetworkTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3846,6 +4543,13 @@ export type CryptoAuthModuleSelect = { signInRecordFailure?: boolean; signUpWithKey?: boolean; signInWithChallenge?: boolean; + userFieldTrgmSimilarity?: boolean; + cryptoNetworkTrgmSimilarity?: boolean; + signInRequestChallengeTrgmSimilarity?: boolean; + signInRecordFailureTrgmSimilarity?: boolean; + signUpWithKeyTrgmSimilarity?: boolean; + signInWithChallengeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3885,6 +4589,8 @@ export type DenormalizedTableFieldSelect = { updateDefaults?: boolean; funcName?: boolean; funcOrder?: boolean; + funcNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3909,6 +4615,8 @@ export type EmailsModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3931,6 +4639,8 @@ export type EncryptedSecretsModuleSelect = { schemaId?: boolean; tableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3951,6 +4661,8 @@ export type FieldModuleSelect = { data?: boolean; triggers?: boolean; functions?: boolean; + nodeTypeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3979,6 +4691,11 @@ export type InvitesModuleSelect = { prefix?: boolean; membershipType?: boolean; entityTableId?: boolean; + invitesTableNameTrgmSimilarity?: boolean; + claimedInvitesTableNameTrgmSimilarity?: boolean; + submitInviteCodeFunctionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; claimedInvitesTable?: { select: TableSelect; }; @@ -4031,6 +4748,22 @@ export type LevelsModuleSelect = { membershipType?: boolean; entityTableId?: boolean; actorTableId?: boolean; + stepsTableNameTrgmSimilarity?: boolean; + achievementsTableNameTrgmSimilarity?: boolean; + levelsTableNameTrgmSimilarity?: boolean; + levelRequirementsTableNameTrgmSimilarity?: boolean; + completedStepTrgmSimilarity?: boolean; + incompletedStepTrgmSimilarity?: boolean; + tgAchievementTrgmSimilarity?: boolean; + tgAchievementToggleTrgmSimilarity?: boolean; + tgAchievementToggleBooleanTrgmSimilarity?: boolean; + tgAchievementBooleanTrgmSimilarity?: boolean; + upsertAchievementTrgmSimilarity?: boolean; + tgUpdateAchievementsTrgmSimilarity?: boolean; + stepsRequiredTrgmSimilarity?: boolean; + levelAchievedTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; achievementsTable?: { select: TableSelect; }; @@ -4078,6 +4811,16 @@ export type LimitsModuleSelect = { membershipType?: boolean; entityTableId?: boolean; actorTableId?: boolean; + tableNameTrgmSimilarity?: boolean; + defaultTableNameTrgmSimilarity?: boolean; + limitIncrementFunctionTrgmSimilarity?: boolean; + limitDecrementFunctionTrgmSimilarity?: boolean; + limitIncrementTriggerTrgmSimilarity?: boolean; + limitDecrementTriggerTrgmSimilarity?: boolean; + limitUpdateTriggerTrgmSimilarity?: boolean; + limitCheckFunctionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4106,6 +4849,8 @@ export type MembershipTypesModuleSelect = { schemaId?: boolean; tableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4148,6 +4893,19 @@ export type MembershipsModuleSelect = { entityIdsByMask?: boolean; entityIdsByPerm?: boolean; entityIdsFunction?: boolean; + membershipsTableNameTrgmSimilarity?: boolean; + membersTableNameTrgmSimilarity?: boolean; + membershipDefaultsTableNameTrgmSimilarity?: boolean; + grantsTableNameTrgmSimilarity?: boolean; + adminGrantsTableNameTrgmSimilarity?: boolean; + ownerGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + actorMaskCheckTrgmSimilarity?: boolean; + actorPermCheckTrgmSimilarity?: boolean; + entityIdsByMaskTrgmSimilarity?: boolean; + entityIdsByPermTrgmSimilarity?: boolean; + entityIdsFunctionTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4212,6 +4970,14 @@ export type PermissionsModuleSelect = { getMask?: boolean; getByMask?: boolean; getMaskByName?: boolean; + tableNameTrgmSimilarity?: boolean; + defaultTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + getPaddedMaskTrgmSimilarity?: boolean; + getMaskTrgmSimilarity?: boolean; + getByMaskTrgmSimilarity?: boolean; + getMaskByNameTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4242,6 +5008,8 @@ export type PhoneNumbersModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4277,6 +5045,12 @@ export type ProfilesModuleSelect = { permissionsTableId?: boolean; membershipsTableId?: boolean; prefix?: boolean; + tableNameTrgmSimilarity?: boolean; + profilePermissionsTableNameTrgmSimilarity?: boolean; + profileGrantsTableNameTrgmSimilarity?: boolean; + profileDefinitionGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4311,47 +5085,14 @@ export type ProfilesModuleSelect = { select: TableSelect; }; }; -export type RlsModuleSelect = { +export type SecretsModuleSelect = { id?: boolean; databaseId?: boolean; - apiId?: boolean; schemaId?: boolean; - privateSchemaId?: boolean; - sessionCredentialsTableId?: boolean; - sessionsTableId?: boolean; - usersTableId?: boolean; - authenticate?: boolean; - authenticateStrict?: boolean; - currentRole?: boolean; - currentRoleId?: boolean; - api?: { - select: ApiSelect; - }; - database?: { - select: DatabaseSelect; - }; - privateSchema?: { - select: SchemaSelect; - }; - schema?: { - select: SchemaSelect; - }; - sessionCredentialsTable?: { - select: TableSelect; - }; - sessionsTable?: { - select: TableSelect; - }; - usersTable?: { - select: TableSelect; - }; -}; -export type SecretsModuleSelect = { - id?: boolean; - databaseId?: boolean; - schemaId?: boolean; - tableId?: boolean; - tableName?: boolean; + tableId?: boolean; + tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4374,6 +5115,10 @@ export type SessionsModuleSelect = { sessionsTable?: boolean; sessionCredentialsTable?: boolean; authSettingsTable?: boolean; + sessionsTableTrgmSimilarity?: boolean; + sessionCredentialsTableTrgmSimilarity?: boolean; + authSettingsTableTrgmSimilarity?: boolean; + searchScore?: boolean; authSettingsTableByAuthSettingsTableId?: { select: TableSelect; }; @@ -4420,6 +5165,23 @@ export type UserAuthModuleSelect = { signInOneTimeTokenFunction?: boolean; oneTimeTokenFunction?: boolean; extendTokenExpires?: boolean; + auditsTableNameTrgmSimilarity?: boolean; + signInFunctionTrgmSimilarity?: boolean; + signUpFunctionTrgmSimilarity?: boolean; + signOutFunctionTrgmSimilarity?: boolean; + setPasswordFunctionTrgmSimilarity?: boolean; + resetPasswordFunctionTrgmSimilarity?: boolean; + forgotPasswordFunctionTrgmSimilarity?: boolean; + sendVerificationEmailFunctionTrgmSimilarity?: boolean; + verifyEmailFunctionTrgmSimilarity?: boolean; + verifyPasswordFunctionTrgmSimilarity?: boolean; + checkPasswordFunctionTrgmSimilarity?: boolean; + sendAccountDeletionEmailFunctionTrgmSimilarity?: boolean; + deleteAccountFunctionTrgmSimilarity?: boolean; + signInOneTimeTokenFunctionTrgmSimilarity?: boolean; + oneTimeTokenFunctionTrgmSimilarity?: boolean; + extendTokenExpiresTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4453,6 +5215,9 @@ export type UsersModuleSelect = { tableName?: boolean; typeTableId?: boolean; typeTableName?: boolean; + tableNameTrgmSimilarity?: boolean; + typeTableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4472,6 +5237,9 @@ export type UuidModuleSelect = { schemaId?: boolean; uuidFunction?: boolean; uuidSeed?: boolean; + uuidFunctionTrgmSimilarity?: boolean; + uuidSeedTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4494,6 +5262,12 @@ export type DatabaseProvisionModuleSelect = { createdAt?: boolean; updatedAt?: boolean; completedAt?: boolean; + databaseNameTrgmSimilarity?: boolean; + subdomainTrgmSimilarity?: boolean; + domainTrgmSimilarity?: boolean; + statusTrgmSimilarity?: boolean; + errorMessageTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4641,6 +5415,8 @@ export type OrgChartEdgeSelect = { parentId?: boolean; positionTitle?: boolean; positionLevel?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; child?: { select: UserSelect; }; @@ -4661,6 +5437,8 @@ export type OrgChartEdgeGrantSelect = { positionTitle?: boolean; positionLevel?: boolean; createdAt?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; child?: { select: UserSelect; }; @@ -4733,6 +5511,8 @@ export type InviteSelect = { expiresAt?: boolean; createdAt?: boolean; updatedAt?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; sender?: { select: UserSelect; }; @@ -4766,6 +5546,8 @@ export type OrgInviteSelect = { createdAt?: boolean; updatedAt?: boolean; entityId?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; entity?: { select: UserSelect; }; @@ -4800,6 +5582,8 @@ export type RefSelect = { databaseId?: boolean; storeId?: boolean; commitId?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type StoreSelect = { id?: boolean; @@ -4807,11 +5591,27 @@ export type StoreSelect = { databaseId?: boolean; hash?: boolean; createdAt?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppPermissionDefaultSelect = { id?: boolean; permissions?: boolean; }; +export type CryptoAddressSelect = { + id?: boolean; + ownerId?: boolean; + address?: boolean; + isVerified?: boolean; + isPrimary?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + addressTrgmSimilarity?: boolean; + searchScore?: boolean; + owner?: { + select: UserSelect; + }; +}; export type RoleTypeSelect = { id?: boolean; name?: boolean; @@ -4824,14 +5624,18 @@ export type OrgPermissionDefaultSelect = { select: UserSelect; }; }; -export type CryptoAddressSelect = { +export type PhoneNumberSelect = { id?: boolean; ownerId?: boolean; - address?: boolean; + cc?: boolean; + number?: boolean; isVerified?: boolean; isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + ccTrgmSimilarity?: boolean; + numberTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -4855,29 +5659,13 @@ export type ConnectedAccountSelect = { isVerified?: boolean; createdAt?: boolean; updatedAt?: boolean; + serviceTrgmSimilarity?: boolean; + identifierTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; }; -export type PhoneNumberSelect = { - id?: boolean; - ownerId?: boolean; - cc?: boolean; - number?: boolean; - isVerified?: boolean; - isPrimary?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - owner?: { - select: UserSelect; - }; -}; -export type MembershipTypeSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - prefix?: boolean; -}; export type NodeTypeRegistrySelect = { name?: boolean; slug?: boolean; @@ -4888,6 +5676,21 @@ export type NodeTypeRegistrySelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + slugTrgmSimilarity?: boolean; + categoryTrgmSimilarity?: boolean; + displayNameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type MembershipTypeSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + prefix?: boolean; + descriptionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppMembershipDefaultSelect = { id?: boolean; @@ -4898,6 +5701,42 @@ export type AppMembershipDefaultSelect = { isApproved?: boolean; isVerified?: boolean; }; +export type RlsModuleSelect = { + id?: boolean; + databaseId?: boolean; + schemaId?: boolean; + privateSchemaId?: boolean; + sessionCredentialsTableId?: boolean; + sessionsTableId?: boolean; + usersTableId?: boolean; + authenticate?: boolean; + authenticateStrict?: boolean; + currentRole?: boolean; + currentRoleId?: boolean; + authenticateTrgmSimilarity?: boolean; + authenticateStrictTrgmSimilarity?: boolean; + currentRoleTrgmSimilarity?: boolean; + currentRoleIdTrgmSimilarity?: boolean; + searchScore?: boolean; + database?: { + select: DatabaseSelect; + }; + privateSchema?: { + select: SchemaSelect; + }; + schema?: { + select: SchemaSelect; + }; + sessionCredentialsTable?: { + select: TableSelect; + }; + sessionsTable?: { + select: TableSelect; + }; + usersTable?: { + select: TableSelect; + }; +}; export type CommitSelect = { id?: boolean; message?: boolean; @@ -4908,6 +5747,8 @@ export type CommitSelect = { committerId?: boolean; treeId?: boolean; date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMembershipDefaultSelect = { id?: boolean; @@ -4932,6 +5773,8 @@ export type AuditLogSelect = { ipAddress?: boolean; success?: boolean; createdAt?: boolean; + userAgentTrgmSimilarity?: boolean; + searchScore?: boolean; actor?: { select: UserSelect; }; @@ -4944,18 +5787,8 @@ export type AppLevelSelect = { ownerId?: boolean; createdAt?: boolean; updatedAt?: boolean; - owner?: { - select: UserSelect; - }; -}; -export type EmailSelect = { - id?: boolean; - ownerId?: boolean; - email?: boolean; - isVerified?: boolean; - isPrimary?: boolean; - createdAt?: boolean; - updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -4974,6 +5807,25 @@ export type SqlMigrationSelect = { action?: boolean; actionId?: boolean; actorId?: boolean; + nameTrgmSimilarity?: boolean; + deployTrgmSimilarity?: boolean; + contentTrgmSimilarity?: boolean; + revertTrgmSimilarity?: boolean; + verifyTrgmSimilarity?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type EmailSelect = { + id?: boolean; + ownerId?: boolean; + email?: boolean; + isVerified?: boolean; + isPrimary?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + owner?: { + select: UserSelect; + }; }; export type AstMigrationSelect = { id?: boolean; @@ -4989,6 +5841,29 @@ export type AstMigrationSelect = { action?: boolean; actionId?: boolean; actorId?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type AppMembershipSelect = { + id?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + createdBy?: boolean; + updatedBy?: boolean; + isApproved?: boolean; + isBanned?: boolean; + isDisabled?: boolean; + isVerified?: boolean; + isActive?: boolean; + isOwner?: boolean; + isAdmin?: boolean; + permissions?: boolean; + granted?: boolean; + actorId?: boolean; + profileId?: boolean; + actor?: { + select: UserSelect; + }; }; export type UserSelect = { id?: boolean; @@ -5000,6 +5875,8 @@ export type UserSelect = { createdAt?: boolean; updatedAt?: boolean; searchTsvRank?: boolean; + displayNameTrgmSimilarity?: boolean; + searchScore?: boolean; roleType?: { select: RoleTypeSelect; }; @@ -5208,27 +6085,6 @@ export type UserSelect = { orderBy?: OrgClaimedInviteOrderBy[]; }; }; -export type AppMembershipSelect = { - id?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - createdBy?: boolean; - updatedBy?: boolean; - isApproved?: boolean; - isBanned?: boolean; - isDisabled?: boolean; - isVerified?: boolean; - isActive?: boolean; - isOwner?: boolean; - isAdmin?: boolean; - permissions?: boolean; - granted?: boolean; - actorId?: boolean; - profileId?: boolean; - actor?: { - select: UserSelect; - }; -}; export type HierarchyModuleSelect = { id?: boolean; databaseId?: boolean; @@ -5250,6 +6106,17 @@ export type HierarchyModuleSelect = { getManagersFunction?: boolean; isManagerOfFunction?: boolean; createdAt?: boolean; + chartEdgesTableNameTrgmSimilarity?: boolean; + hierarchySprtTableNameTrgmSimilarity?: boolean; + chartEdgeGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + privateSchemaNameTrgmSimilarity?: boolean; + sprtTableNameTrgmSimilarity?: boolean; + rebuildHierarchyFunctionTrgmSimilarity?: boolean; + getSubordinatesFunctionTrgmSimilarity?: boolean; + getManagersFunctionTrgmSimilarity?: boolean; + isManagerOfFunctionTrgmSimilarity?: boolean; + searchScore?: boolean; chartEdgeGrantsTable?: { select: TableSelect; }; @@ -5303,6 +6170,8 @@ export interface AppPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppPermissionFilter[]; or?: AppPermissionFilter[]; not?: AppPermissionFilter; @@ -5313,6 +6182,8 @@ export interface OrgPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgPermissionFilter[]; or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; @@ -5339,6 +6210,8 @@ export interface AppLevelRequirementFilter { priority?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelRequirementFilter[]; or?: AppLevelRequirementFilter[]; not?: AppLevelRequirementFilter; @@ -5352,6 +6225,10 @@ export interface DatabaseFilter { hash?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + schemaHashTrgmSimilarity?: FloatFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DatabaseFilter[]; or?: DatabaseFilter[]; not?: DatabaseFilter; @@ -5371,6 +6248,12 @@ export interface SchemaFilter { isPublic?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + schemaNameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SchemaFilter[]; or?: SchemaFilter[]; not?: SchemaFilter; @@ -5395,6 +6278,13 @@ export interface TableFilter { inheritsId?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + pluralNameTrgmSimilarity?: FloatFilter; + singularNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableFilter[]; or?: TableFilter[]; not?: TableFilter; @@ -5414,6 +6304,10 @@ export interface CheckConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CheckConstraintFilter[]; or?: CheckConstraintFilter[]; not?: CheckConstraintFilter; @@ -5443,6 +6337,13 @@ export interface FieldFilter { scope?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + defaultValueTrgmSimilarity?: FloatFilter; + regexpTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: FieldFilter[]; or?: FieldFilter[]; not?: FieldFilter; @@ -5466,6 +6367,13 @@ export interface ForeignKeyConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + deleteActionTrgmSimilarity?: FloatFilter; + updateActionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ForeignKeyConstraintFilter[]; or?: ForeignKeyConstraintFilter[]; not?: ForeignKeyConstraintFilter; @@ -5495,6 +6403,8 @@ export interface IndexFilter { indexParams?: JSONFilter; whereClause?: JSONFilter; isUnique?: BooleanFilter; + options?: JSONFilter; + opClasses?: StringFilter; smartTags?: JSONFilter; category?: StringFilter; module?: StringFilter; @@ -5502,6 +6412,10 @@ export interface IndexFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + accessMethodTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: IndexFilter[]; or?: IndexFilter[]; not?: IndexFilter; @@ -5524,6 +6438,12 @@ export interface PolicyFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PolicyFilter[]; or?: PolicyFilter[]; not?: PolicyFilter; @@ -5542,6 +6462,10 @@ export interface PrimaryKeyConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PrimaryKeyConstraintFilter[]; or?: PrimaryKeyConstraintFilter[]; not?: PrimaryKeyConstraintFilter; @@ -5556,6 +6480,9 @@ export interface TableGrantFilter { isGrant?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + privilegeTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableGrantFilter[]; or?: TableGrantFilter[]; not?: TableGrantFilter; @@ -5574,6 +6501,11 @@ export interface TriggerFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + eventTrgmSimilarity?: FloatFilter; + functionNameTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TriggerFilter[]; or?: TriggerFilter[]; not?: TriggerFilter; @@ -5593,6 +6525,11 @@ export interface UniqueConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UniqueConstraintFilter[]; or?: UniqueConstraintFilter[]; not?: UniqueConstraintFilter; @@ -5614,6 +6551,11 @@ export interface ViewFilter { module?: StringFilter; scope?: IntFilter; tags?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + viewTypeTrgmSimilarity?: FloatFilter; + filterTypeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewFilter[]; or?: ViewFilter[]; not?: ViewFilter; @@ -5635,6 +6577,9 @@ export interface ViewGrantFilter { privilege?: StringFilter; withGrantOption?: BooleanFilter; isGrant?: BooleanFilter; + granteeNameTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewGrantFilter[]; or?: ViewGrantFilter[]; not?: ViewGrantFilter; @@ -5646,24 +6591,14 @@ export interface ViewRuleFilter { name?: StringFilter; event?: StringFilter; action?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + eventTrgmSimilarity?: FloatFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewRuleFilter[]; or?: ViewRuleFilter[]; not?: ViewRuleFilter; } -export interface TableModuleFilter { - id?: UUIDFilter; - databaseId?: UUIDFilter; - schemaId?: UUIDFilter; - tableId?: UUIDFilter; - tableName?: StringFilter; - nodeType?: StringFilter; - useRls?: BooleanFilter; - data?: JSONFilter; - fields?: UUIDFilter; - and?: TableModuleFilter[]; - or?: TableModuleFilter[]; - not?: TableModuleFilter; -} export interface TableTemplateModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; @@ -5674,6 +6609,9 @@ export interface TableTemplateModuleFilter { tableName?: StringFilter; nodeType?: StringFilter; data?: JSONFilter; + tableNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableTemplateModuleFilter[]; or?: TableTemplateModuleFilter[]; not?: TableTemplateModuleFilter; @@ -5687,6 +6625,7 @@ export interface SecureTableProvisionFilter { nodeType?: StringFilter; useRls?: BooleanFilter; nodeData?: JSONFilter; + fields?: JSONFilter; grantRoles?: StringFilter; grantPrivileges?: JSONFilter; policyType?: StringFilter; @@ -5696,6 +6635,12 @@ export interface SecureTableProvisionFilter { policyName?: StringFilter; policyData?: JSONFilter; outFields?: UUIDFilter; + tableNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + policyRoleTrgmSimilarity?: FloatFilter; + policyNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SecureTableProvisionFilter[]; or?: SecureTableProvisionFilter[]; not?: SecureTableProvisionFilter; @@ -5729,6 +6674,17 @@ export interface RelationProvisionFilter { outJunctionTableId?: UUIDFilter; outSourceFieldId?: UUIDFilter; outTargetFieldId?: UUIDFilter; + relationTypeTrgmSimilarity?: FloatFilter; + fieldNameTrgmSimilarity?: FloatFilter; + deleteActionTrgmSimilarity?: FloatFilter; + junctionTableNameTrgmSimilarity?: FloatFilter; + sourceFieldNameTrgmSimilarity?: FloatFilter; + targetFieldNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + policyRoleTrgmSimilarity?: FloatFilter; + policyNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RelationProvisionFilter[]; or?: RelationProvisionFilter[]; not?: RelationProvisionFilter; @@ -5740,6 +6696,8 @@ export interface SchemaGrantFilter { granteeName?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SchemaGrantFilter[]; or?: SchemaGrantFilter[]; not?: SchemaGrantFilter; @@ -5752,6 +6710,10 @@ export interface DefaultPrivilegeFilter { privilege?: StringFilter; granteeName?: StringFilter; isGrant?: BooleanFilter; + objectTypeTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DefaultPrivilegeFilter[]; or?: DefaultPrivilegeFilter[]; not?: DefaultPrivilegeFilter; @@ -5771,6 +6733,8 @@ export interface ApiModuleFilter { apiId?: UUIDFilter; name?: StringFilter; data?: JSONFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ApiModuleFilter[]; or?: ApiModuleFilter[]; not?: ApiModuleFilter; @@ -5793,6 +6757,9 @@ export interface SiteMetadatumFilter { title?: StringFilter; description?: StringFilter; ogImage?: StringFilter; + titleTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteMetadatumFilter[]; or?: SiteMetadatumFilter[]; not?: SiteMetadatumFilter; @@ -5803,6 +6770,8 @@ export interface SiteModuleFilter { siteId?: UUIDFilter; name?: StringFilter; data?: JSONFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteModuleFilter[]; or?: SiteModuleFilter[]; not?: SiteModuleFilter; @@ -5823,6 +6792,9 @@ export interface TriggerFunctionFilter { code?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + codeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TriggerFunctionFilter[]; or?: TriggerFunctionFilter[]; not?: TriggerFunctionFilter; @@ -5835,6 +6807,11 @@ export interface ApiFilter { roleName?: StringFilter; anonRole?: StringFilter; isPublic?: BooleanFilter; + nameTrgmSimilarity?: FloatFilter; + dbnameTrgmSimilarity?: FloatFilter; + roleNameTrgmSimilarity?: FloatFilter; + anonRoleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ApiFilter[]; or?: ApiFilter[]; not?: ApiFilter; @@ -5849,6 +6826,10 @@ export interface SiteFilter { appleTouchIcon?: StringFilter; logo?: StringFilter; dbname?: StringFilter; + titleTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + dbnameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteFilter[]; or?: SiteFilter[]; not?: SiteFilter; @@ -5863,6 +6844,10 @@ export interface AppFilter { appStoreId?: StringFilter; appIdPrefix?: StringFilter; playStoreLink?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + appStoreIdTrgmSimilarity?: FloatFilter; + appIdPrefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppFilter[]; or?: AppFilter[]; not?: AppFilter; @@ -5875,6 +6860,8 @@ export interface ConnectedAccountsModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountsModuleFilter[]; or?: ConnectedAccountsModuleFilter[]; not?: ConnectedAccountsModuleFilter; @@ -5888,6 +6875,9 @@ export interface CryptoAddressesModuleFilter { ownerTableId?: UUIDFilter; tableName?: StringFilter; cryptoNetwork?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + cryptoNetworkTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAddressesModuleFilter[]; or?: CryptoAddressesModuleFilter[]; not?: CryptoAddressesModuleFilter; @@ -5907,6 +6897,13 @@ export interface CryptoAuthModuleFilter { signInRecordFailure?: StringFilter; signUpWithKey?: StringFilter; signInWithChallenge?: StringFilter; + userFieldTrgmSimilarity?: FloatFilter; + cryptoNetworkTrgmSimilarity?: FloatFilter; + signInRequestChallengeTrgmSimilarity?: FloatFilter; + signInRecordFailureTrgmSimilarity?: FloatFilter; + signUpWithKeyTrgmSimilarity?: FloatFilter; + signInWithChallengeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAuthModuleFilter[]; or?: CryptoAuthModuleFilter[]; not?: CryptoAuthModuleFilter; @@ -5931,6 +6928,8 @@ export interface DenormalizedTableFieldFilter { updateDefaults?: BooleanFilter; funcName?: StringFilter; funcOrder?: IntFilter; + funcNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DenormalizedTableFieldFilter[]; or?: DenormalizedTableFieldFilter[]; not?: DenormalizedTableFieldFilter; @@ -5943,6 +6942,8 @@ export interface EmailsModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: EmailsModuleFilter[]; or?: EmailsModuleFilter[]; not?: EmailsModuleFilter; @@ -5953,6 +6954,8 @@ export interface EncryptedSecretsModuleFilter { schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: EncryptedSecretsModuleFilter[]; or?: EncryptedSecretsModuleFilter[]; not?: EncryptedSecretsModuleFilter; @@ -5967,6 +6970,8 @@ export interface FieldModuleFilter { data?: JSONFilter; triggers?: StringFilter; functions?: StringFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: FieldModuleFilter[]; or?: FieldModuleFilter[]; not?: FieldModuleFilter; @@ -5986,6 +6991,11 @@ export interface InvitesModuleFilter { prefix?: StringFilter; membershipType?: IntFilter; entityTableId?: UUIDFilter; + invitesTableNameTrgmSimilarity?: FloatFilter; + claimedInvitesTableNameTrgmSimilarity?: FloatFilter; + submitInviteCodeFunctionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: InvitesModuleFilter[]; or?: InvitesModuleFilter[]; not?: InvitesModuleFilter; @@ -6017,6 +7027,22 @@ export interface LevelsModuleFilter { membershipType?: IntFilter; entityTableId?: UUIDFilter; actorTableId?: UUIDFilter; + stepsTableNameTrgmSimilarity?: FloatFilter; + achievementsTableNameTrgmSimilarity?: FloatFilter; + levelsTableNameTrgmSimilarity?: FloatFilter; + levelRequirementsTableNameTrgmSimilarity?: FloatFilter; + completedStepTrgmSimilarity?: FloatFilter; + incompletedStepTrgmSimilarity?: FloatFilter; + tgAchievementTrgmSimilarity?: FloatFilter; + tgAchievementToggleTrgmSimilarity?: FloatFilter; + tgAchievementToggleBooleanTrgmSimilarity?: FloatFilter; + tgAchievementBooleanTrgmSimilarity?: FloatFilter; + upsertAchievementTrgmSimilarity?: FloatFilter; + tgUpdateAchievementsTrgmSimilarity?: FloatFilter; + stepsRequiredTrgmSimilarity?: FloatFilter; + levelAchievedTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: LevelsModuleFilter[]; or?: LevelsModuleFilter[]; not?: LevelsModuleFilter; @@ -6040,6 +7066,16 @@ export interface LimitsModuleFilter { membershipType?: IntFilter; entityTableId?: UUIDFilter; actorTableId?: UUIDFilter; + tableNameTrgmSimilarity?: FloatFilter; + defaultTableNameTrgmSimilarity?: FloatFilter; + limitIncrementFunctionTrgmSimilarity?: FloatFilter; + limitDecrementFunctionTrgmSimilarity?: FloatFilter; + limitIncrementTriggerTrgmSimilarity?: FloatFilter; + limitDecrementTriggerTrgmSimilarity?: FloatFilter; + limitUpdateTriggerTrgmSimilarity?: FloatFilter; + limitCheckFunctionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: LimitsModuleFilter[]; or?: LimitsModuleFilter[]; not?: LimitsModuleFilter; @@ -6050,6 +7086,8 @@ export interface MembershipTypesModuleFilter { schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: MembershipTypesModuleFilter[]; or?: MembershipTypesModuleFilter[]; not?: MembershipTypesModuleFilter; @@ -6086,6 +7124,19 @@ export interface MembershipsModuleFilter { entityIdsByMask?: StringFilter; entityIdsByPerm?: StringFilter; entityIdsFunction?: StringFilter; + membershipsTableNameTrgmSimilarity?: FloatFilter; + membersTableNameTrgmSimilarity?: FloatFilter; + membershipDefaultsTableNameTrgmSimilarity?: FloatFilter; + grantsTableNameTrgmSimilarity?: FloatFilter; + adminGrantsTableNameTrgmSimilarity?: FloatFilter; + ownerGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + actorMaskCheckTrgmSimilarity?: FloatFilter; + actorPermCheckTrgmSimilarity?: FloatFilter; + entityIdsByMaskTrgmSimilarity?: FloatFilter; + entityIdsByPermTrgmSimilarity?: FloatFilter; + entityIdsFunctionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: MembershipsModuleFilter[]; or?: MembershipsModuleFilter[]; not?: MembershipsModuleFilter; @@ -6108,6 +7159,14 @@ export interface PermissionsModuleFilter { getMask?: StringFilter; getByMask?: StringFilter; getMaskByName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + defaultTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + getPaddedMaskTrgmSimilarity?: FloatFilter; + getMaskTrgmSimilarity?: FloatFilter; + getByMaskTrgmSimilarity?: FloatFilter; + getMaskByNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PermissionsModuleFilter[]; or?: PermissionsModuleFilter[]; not?: PermissionsModuleFilter; @@ -6120,6 +7179,8 @@ export interface PhoneNumbersModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PhoneNumbersModuleFilter[]; or?: PhoneNumbersModuleFilter[]; not?: PhoneNumbersModuleFilter; @@ -6143,33 +7204,24 @@ export interface ProfilesModuleFilter { permissionsTableId?: UUIDFilter; membershipsTableId?: UUIDFilter; prefix?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + profilePermissionsTableNameTrgmSimilarity?: FloatFilter; + profileGrantsTableNameTrgmSimilarity?: FloatFilter; + profileDefinitionGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ProfilesModuleFilter[]; or?: ProfilesModuleFilter[]; not?: ProfilesModuleFilter; } -export interface RlsModuleFilter { - id?: UUIDFilter; - databaseId?: UUIDFilter; - apiId?: UUIDFilter; - schemaId?: UUIDFilter; - privateSchemaId?: UUIDFilter; - sessionCredentialsTableId?: UUIDFilter; - sessionsTableId?: UUIDFilter; - usersTableId?: UUIDFilter; - authenticate?: StringFilter; - authenticateStrict?: StringFilter; - currentRole?: StringFilter; - currentRoleId?: StringFilter; - and?: RlsModuleFilter[]; - or?: RlsModuleFilter[]; - not?: RlsModuleFilter; -} export interface SecretsModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SecretsModuleFilter[]; or?: SecretsModuleFilter[]; not?: SecretsModuleFilter; @@ -6186,6 +7238,10 @@ export interface SessionsModuleFilter { sessionsTable?: StringFilter; sessionCredentialsTable?: StringFilter; authSettingsTable?: StringFilter; + sessionsTableTrgmSimilarity?: FloatFilter; + sessionCredentialsTableTrgmSimilarity?: FloatFilter; + authSettingsTableTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SessionsModuleFilter[]; or?: SessionsModuleFilter[]; not?: SessionsModuleFilter; @@ -6217,6 +7273,23 @@ export interface UserAuthModuleFilter { signInOneTimeTokenFunction?: StringFilter; oneTimeTokenFunction?: StringFilter; extendTokenExpires?: StringFilter; + auditsTableNameTrgmSimilarity?: FloatFilter; + signInFunctionTrgmSimilarity?: FloatFilter; + signUpFunctionTrgmSimilarity?: FloatFilter; + signOutFunctionTrgmSimilarity?: FloatFilter; + setPasswordFunctionTrgmSimilarity?: FloatFilter; + resetPasswordFunctionTrgmSimilarity?: FloatFilter; + forgotPasswordFunctionTrgmSimilarity?: FloatFilter; + sendVerificationEmailFunctionTrgmSimilarity?: FloatFilter; + verifyEmailFunctionTrgmSimilarity?: FloatFilter; + verifyPasswordFunctionTrgmSimilarity?: FloatFilter; + checkPasswordFunctionTrgmSimilarity?: FloatFilter; + sendAccountDeletionEmailFunctionTrgmSimilarity?: FloatFilter; + deleteAccountFunctionTrgmSimilarity?: FloatFilter; + signInOneTimeTokenFunctionTrgmSimilarity?: FloatFilter; + oneTimeTokenFunctionTrgmSimilarity?: FloatFilter; + extendTokenExpiresTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UserAuthModuleFilter[]; or?: UserAuthModuleFilter[]; not?: UserAuthModuleFilter; @@ -6229,6 +7302,9 @@ export interface UsersModuleFilter { tableName?: StringFilter; typeTableId?: UUIDFilter; typeTableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + typeTableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UsersModuleFilter[]; or?: UsersModuleFilter[]; not?: UsersModuleFilter; @@ -6239,6 +7315,9 @@ export interface UuidModuleFilter { schemaId?: UUIDFilter; uuidFunction?: StringFilter; uuidSeed?: StringFilter; + uuidFunctionTrgmSimilarity?: FloatFilter; + uuidSeedTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UuidModuleFilter[]; or?: UuidModuleFilter[]; not?: UuidModuleFilter; @@ -6258,6 +7337,12 @@ export interface DatabaseProvisionModuleFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; completedAt?: DatetimeFilter; + databaseNameTrgmSimilarity?: FloatFilter; + subdomainTrgmSimilarity?: FloatFilter; + domainTrgmSimilarity?: FloatFilter; + statusTrgmSimilarity?: FloatFilter; + errorMessageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DatabaseProvisionModuleFilter[]; or?: DatabaseProvisionModuleFilter[]; not?: DatabaseProvisionModuleFilter; @@ -6372,6 +7457,8 @@ export interface OrgChartEdgeFilter { parentId?: UUIDFilter; positionTitle?: StringFilter; positionLevel?: IntFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeFilter[]; or?: OrgChartEdgeFilter[]; not?: OrgChartEdgeFilter; @@ -6386,6 +7473,8 @@ export interface OrgChartEdgeGrantFilter { positionTitle?: StringFilter; positionLevel?: IntFilter; createdAt?: DatetimeFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeGrantFilter[]; or?: OrgChartEdgeGrantFilter[]; not?: OrgChartEdgeGrantFilter; @@ -6446,6 +7535,8 @@ export interface InviteFilter { expiresAt?: DatetimeFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: InviteFilter[]; or?: InviteFilter[]; not?: InviteFilter; @@ -6476,6 +7567,8 @@ export interface OrgInviteFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; entityId?: UUIDFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgInviteFilter[]; or?: OrgInviteFilter[]; not?: OrgInviteFilter; @@ -6498,6 +7591,8 @@ export interface RefFilter { databaseId?: UUIDFilter; storeId?: UUIDFilter; commitId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RefFilter[]; or?: RefFilter[]; not?: RefFilter; @@ -6508,6 +7603,8 @@ export interface StoreFilter { databaseId?: UUIDFilter; hash?: UUIDFilter; createdAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: StoreFilter[]; or?: StoreFilter[]; not?: StoreFilter; @@ -6519,6 +7616,20 @@ export interface AppPermissionDefaultFilter { or?: AppPermissionDefaultFilter[]; not?: AppPermissionDefaultFilter; } +export interface CryptoAddressFilter { + id?: UUIDFilter; + ownerId?: UUIDFilter; + address?: StringFilter; + isVerified?: BooleanFilter; + isPrimary?: BooleanFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + addressTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: CryptoAddressFilter[]; + or?: CryptoAddressFilter[]; + not?: CryptoAddressFilter; +} export interface RoleTypeFilter { id?: IntFilter; name?: StringFilter; @@ -6534,17 +7645,21 @@ export interface OrgPermissionDefaultFilter { or?: OrgPermissionDefaultFilter[]; not?: OrgPermissionDefaultFilter; } -export interface CryptoAddressFilter { +export interface PhoneNumberFilter { id?: UUIDFilter; ownerId?: UUIDFilter; - address?: StringFilter; + cc?: StringFilter; + number?: StringFilter; isVerified?: BooleanFilter; isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; - and?: CryptoAddressFilter[]; - or?: CryptoAddressFilter[]; - not?: CryptoAddressFilter; + ccTrgmSimilarity?: FloatFilter; + numberTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: PhoneNumberFilter[]; + or?: PhoneNumberFilter[]; + not?: PhoneNumberFilter; } export interface AppLimitDefaultFilter { id?: UUIDFilter; @@ -6571,32 +7686,13 @@ export interface ConnectedAccountFilter { isVerified?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + serviceTrgmSimilarity?: FloatFilter; + identifierTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountFilter[]; or?: ConnectedAccountFilter[]; not?: ConnectedAccountFilter; } -export interface PhoneNumberFilter { - id?: UUIDFilter; - ownerId?: UUIDFilter; - cc?: StringFilter; - number?: StringFilter; - isVerified?: BooleanFilter; - isPrimary?: BooleanFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: PhoneNumberFilter[]; - or?: PhoneNumberFilter[]; - not?: PhoneNumberFilter; -} -export interface MembershipTypeFilter { - id?: IntFilter; - name?: StringFilter; - description?: StringFilter; - prefix?: StringFilter; - and?: MembershipTypeFilter[]; - or?: MembershipTypeFilter[]; - not?: MembershipTypeFilter; -} export interface NodeTypeRegistryFilter { name?: StringFilter; slug?: StringFilter; @@ -6607,10 +7703,28 @@ export interface NodeTypeRegistryFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + slugTrgmSimilarity?: FloatFilter; + categoryTrgmSimilarity?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: NodeTypeRegistryFilter[]; or?: NodeTypeRegistryFilter[]; not?: NodeTypeRegistryFilter; } +export interface MembershipTypeFilter { + id?: IntFilter; + name?: StringFilter; + description?: StringFilter; + prefix?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: MembershipTypeFilter[]; + or?: MembershipTypeFilter[]; + not?: MembershipTypeFilter; +} export interface AppMembershipDefaultFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -6623,22 +7737,45 @@ export interface AppMembershipDefaultFilter { or?: AppMembershipDefaultFilter[]; not?: AppMembershipDefaultFilter; } -export interface CommitFilter { +export interface RlsModuleFilter { id?: UUIDFilter; - message?: StringFilter; databaseId?: UUIDFilter; - storeId?: UUIDFilter; - parentIds?: UUIDFilter; - authorId?: UUIDFilter; - committerId?: UUIDFilter; - treeId?: UUIDFilter; - date?: DatetimeFilter; - and?: CommitFilter[]; - or?: CommitFilter[]; - not?: CommitFilter; -} -export interface OrgMembershipDefaultFilter { - id?: UUIDFilter; + schemaId?: UUIDFilter; + privateSchemaId?: UUIDFilter; + sessionCredentialsTableId?: UUIDFilter; + sessionsTableId?: UUIDFilter; + usersTableId?: UUIDFilter; + authenticate?: StringFilter; + authenticateStrict?: StringFilter; + currentRole?: StringFilter; + currentRoleId?: StringFilter; + authenticateTrgmSimilarity?: FloatFilter; + authenticateStrictTrgmSimilarity?: FloatFilter; + currentRoleTrgmSimilarity?: FloatFilter; + currentRoleIdTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: RlsModuleFilter[]; + or?: RlsModuleFilter[]; + not?: RlsModuleFilter; +} +export interface CommitFilter { + id?: UUIDFilter; + message?: StringFilter; + databaseId?: UUIDFilter; + storeId?: UUIDFilter; + parentIds?: UUIDFilter; + authorId?: UUIDFilter; + committerId?: UUIDFilter; + treeId?: UUIDFilter; + date?: DatetimeFilter; + messageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: CommitFilter[]; + or?: CommitFilter[]; + not?: CommitFilter; +} +export interface OrgMembershipDefaultFilter { + id?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; createdBy?: UUIDFilter; @@ -6660,6 +7797,8 @@ export interface AuditLogFilter { ipAddress?: InternetAddressFilter; success?: BooleanFilter; createdAt?: DatetimeFilter; + userAgentTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AuditLogFilter[]; or?: AuditLogFilter[]; not?: AuditLogFilter; @@ -6672,22 +7811,12 @@ export interface AppLevelFilter { ownerId?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelFilter[]; or?: AppLevelFilter[]; not?: AppLevelFilter; } -export interface EmailFilter { - id?: UUIDFilter; - ownerId?: UUIDFilter; - email?: StringFilter; - isVerified?: BooleanFilter; - isPrimary?: BooleanFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: EmailFilter[]; - or?: EmailFilter[]; - not?: EmailFilter; -} export interface SqlMigrationFilter { id?: IntFilter; name?: StringFilter; @@ -6702,10 +7831,29 @@ export interface SqlMigrationFilter { action?: StringFilter; actionId?: UUIDFilter; actorId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + deployTrgmSimilarity?: FloatFilter; + contentTrgmSimilarity?: FloatFilter; + revertTrgmSimilarity?: FloatFilter; + verifyTrgmSimilarity?: FloatFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SqlMigrationFilter[]; or?: SqlMigrationFilter[]; not?: SqlMigrationFilter; } +export interface EmailFilter { + id?: UUIDFilter; + ownerId?: UUIDFilter; + email?: StringFilter; + isVerified?: BooleanFilter; + isPrimary?: BooleanFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + and?: EmailFilter[]; + or?: EmailFilter[]; + not?: EmailFilter; +} export interface AstMigrationFilter { id?: IntFilter; databaseId?: UUIDFilter; @@ -6720,24 +7868,12 @@ export interface AstMigrationFilter { action?: StringFilter; actionId?: UUIDFilter; actorId?: UUIDFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AstMigrationFilter[]; or?: AstMigrationFilter[]; not?: AstMigrationFilter; } -export interface UserFilter { - id?: UUIDFilter; - username?: StringFilter; - displayName?: StringFilter; - profilePicture?: StringFilter; - searchTsv?: FullTextFilter; - type?: IntFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - searchTsvRank?: FloatFilter; - and?: UserFilter[]; - or?: UserFilter[]; - not?: UserFilter; -} export interface AppMembershipFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -6759,6 +7895,22 @@ export interface AppMembershipFilter { or?: AppMembershipFilter[]; not?: AppMembershipFilter; } +export interface UserFilter { + id?: UUIDFilter; + username?: StringFilter; + displayName?: StringFilter; + profilePicture?: StringFilter; + searchTsv?: FullTextFilter; + type?: IntFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + searchTsvRank?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: UserFilter[]; + or?: UserFilter[]; + not?: UserFilter; +} export interface HierarchyModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; @@ -6780,6 +7932,17 @@ export interface HierarchyModuleFilter { getManagersFunction?: StringFilter; isManagerOfFunction?: StringFilter; createdAt?: DatetimeFilter; + chartEdgesTableNameTrgmSimilarity?: FloatFilter; + hierarchySprtTableNameTrgmSimilarity?: FloatFilter; + chartEdgeGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + privateSchemaNameTrgmSimilarity?: FloatFilter; + sprtTableNameTrgmSimilarity?: FloatFilter; + rebuildHierarchyFunctionTrgmSimilarity?: FloatFilter; + getSubordinatesFunctionTrgmSimilarity?: FloatFilter; + getManagersFunctionTrgmSimilarity?: FloatFilter; + isManagerOfFunctionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: HierarchyModuleFilter[]; or?: HierarchyModuleFilter[]; not?: HierarchyModuleFilter; @@ -6822,7 +7985,11 @@ export type AppPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6836,7 +8003,11 @@ export type OrgPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ObjectOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6876,7 +8047,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DatabaseOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6896,7 +8071,15 @@ export type DatabaseOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type SchemaOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6928,7 +8111,19 @@ export type SchemaOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TableOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6970,7 +8165,21 @@ export type TableOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type CheckConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7002,7 +8211,15 @@ export type CheckConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type FieldOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7054,7 +8271,21 @@ export type FieldOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ForeignKeyConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7094,7 +8325,21 @@ export type ForeignKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type FullTextSearchOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7141,6 +8386,10 @@ export type IndexOrderBy = | 'WHERE_CLAUSE_DESC' | 'IS_UNIQUE_ASC' | 'IS_UNIQUE_DESC' + | 'OPTIONS_ASC' + | 'OPTIONS_DESC' + | 'OP_CLASSES_ASC' + | 'OP_CLASSES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' @@ -7154,7 +8403,15 @@ export type IndexOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type PolicyOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7192,7 +8449,19 @@ export type PolicyOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type PrimaryKeyConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7222,7 +8491,15 @@ export type PrimaryKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TableGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7244,7 +8521,13 @@ export type TableGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TriggerOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7274,7 +8557,17 @@ export type TriggerOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type UniqueConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7306,7 +8599,17 @@ export type UniqueConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ViewOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7342,7 +8645,17 @@ export type ViewOrderBy = | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' - | 'TAGS_DESC'; + | 'TAGS_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'; export type ViewTableOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7372,7 +8685,13 @@ export type ViewGrantOrderBy = | 'WITH_GRANT_OPTION_ASC' | 'WITH_GRANT_OPTION_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; export type ViewRuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7388,29 +8707,15 @@ export type ViewRuleOrderBy = | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' - | 'ACTION_DESC'; -export type TableModuleOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'SCHEMA_ID_ASC' - | 'SCHEMA_ID_DESC' - | 'TABLE_ID_ASC' - | 'TABLE_ID_DESC' - | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC' - | 'NODE_TYPE_ASC' - | 'NODE_TYPE_DESC' - | 'USE_RLS_ASC' - | 'USE_RLS_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'FIELDS_ASC' - | 'FIELDS_DESC'; + | 'ACTION_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'; export type TableTemplateModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7432,7 +8737,13 @@ export type TableTemplateModuleOrderBy = | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_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'; export type SecureTableProvisionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7453,6 +8764,8 @@ export type SecureTableProvisionOrderBy = | 'USE_RLS_DESC' | 'NODE_DATA_ASC' | 'NODE_DATA_DESC' + | 'FIELDS_ASC' + | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' @@ -7470,7 +8783,19 @@ export type SecureTableProvisionOrderBy = | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' - | 'OUT_FIELDS_DESC'; + | 'OUT_FIELDS_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'; export type RelationProvisionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7530,7 +8855,29 @@ export type RelationProvisionOrderBy = | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' - | 'OUT_TARGET_FIELD_ID_DESC'; + | 'OUT_TARGET_FIELD_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'; export type SchemaGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7546,7 +8893,11 @@ export type SchemaGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_ASC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DefaultPrivilegeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7564,7 +8915,15 @@ export type DefaultPrivilegeOrderBy = | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; export type ApiSchemaOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7590,7 +8949,11 @@ export type ApiModuleOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DomainOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7622,7 +8985,13 @@ export type SiteMetadatumOrderBy = | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OG_IMAGE_ASC' - | 'OG_IMAGE_DESC'; + | 'OG_IMAGE_DESC' + | 'TITLE_TRGM_SIMILARITY_ASC' + | 'TITLE_TRGM_SIMILARITY_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SiteModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7636,7 +9005,11 @@ export type SiteModuleOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SiteThemeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7664,7 +9037,13 @@ export type TriggerFunctionOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ApiOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7682,7 +9061,17 @@ export type ApiOrderBy = | 'ANON_ROLE_ASC' | 'ANON_ROLE_DESC' | 'IS_PUBLIC_ASC' - | 'IS_PUBLIC_DESC'; + | 'IS_PUBLIC_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'; export type SiteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7704,7 +9093,15 @@ export type SiteOrderBy = | 'LOGO_ASC' | 'LOGO_DESC' | 'DBNAME_ASC' - | 'DBNAME_DESC'; + | 'DBNAME_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'; export type AppOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7726,7 +9123,15 @@ export type AppOrderBy = | 'APP_ID_PREFIX_ASC' | 'APP_ID_PREFIX_DESC' | 'PLAY_STORE_LINK_ASC' - | 'PLAY_STORE_LINK_DESC'; + | 'PLAY_STORE_LINK_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'; export type ConnectedAccountsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7744,7 +9149,11 @@ export type ConnectedAccountsModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type CryptoAddressesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7764,7 +9173,13 @@ export type CryptoAddressesModuleOrderBy = | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'CRYPTO_NETWORK_ASC' - | 'CRYPTO_NETWORK_DESC'; + | 'CRYPTO_NETWORK_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'; export type CryptoAuthModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7796,7 +9211,21 @@ export type CryptoAuthModuleOrderBy = | 'SIGN_UP_WITH_KEY_ASC' | 'SIGN_UP_WITH_KEY_DESC' | 'SIGN_IN_WITH_CHALLENGE_ASC' - | 'SIGN_IN_WITH_CHALLENGE_DESC'; + | 'SIGN_IN_WITH_CHALLENGE_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'; export type DefaultIdsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7832,7 +9261,11 @@ export type DenormalizedTableFieldOrderBy = | 'FUNC_NAME_ASC' | 'FUNC_NAME_DESC' | 'FUNC_ORDER_ASC' - | 'FUNC_ORDER_DESC'; + | 'FUNC_ORDER_DESC' + | 'FUNC_NAME_TRGM_SIMILARITY_ASC' + | 'FUNC_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EmailsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7850,7 +9283,11 @@ export type EmailsModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EncryptedSecretsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7864,7 +9301,11 @@ export type EncryptedSecretsModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type FieldModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7886,7 +9327,11 @@ export type FieldModuleOrderBy = | 'TRIGGERS_ASC' | 'TRIGGERS_DESC' | 'FUNCTIONS_ASC' - | 'FUNCTIONS_DESC'; + | 'FUNCTIONS_DESC' + | 'NODE_TYPE_TRGM_SIMILARITY_ASC' + | 'NODE_TYPE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type InvitesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7918,7 +9363,17 @@ export type InvitesModuleOrderBy = | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' - | 'ENTITY_TABLE_ID_DESC'; + | 'ENTITY_TABLE_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'; export type LevelsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7974,7 +9429,39 @@ export type LevelsModuleOrderBy = | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' - | 'ACTOR_TABLE_ID_DESC'; + | 'ACTOR_TABLE_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'; export type LimitsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8014,7 +9501,27 @@ export type LimitsModuleOrderBy = | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' - | 'ACTOR_TABLE_ID_DESC'; + | 'ACTOR_TABLE_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'; export type MembershipTypesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8028,7 +9535,11 @@ export type MembershipTypesModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type MembershipsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8094,7 +9605,33 @@ export type MembershipsModuleOrderBy = | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' - | 'ENTITY_IDS_FUNCTION_DESC'; + | 'ENTITY_IDS_FUNCTION_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'; export type PermissionsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8132,7 +9669,23 @@ export type PermissionsModuleOrderBy = | 'GET_BY_MASK_ASC' | 'GET_BY_MASK_DESC' | 'GET_MASK_BY_NAME_ASC' - | 'GET_MASK_BY_NAME_DESC'; + | 'GET_MASK_BY_NAME_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'; export type PhoneNumbersModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8150,7 +9703,11 @@ export type PhoneNumbersModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ProfilesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8190,35 +9747,19 @@ export type ProfilesModuleOrderBy = | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'PREFIX_ASC' - | 'PREFIX_DESC'; -export type RlsModuleOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'API_ID_ASC' - | 'API_ID_DESC' - | 'SCHEMA_ID_ASC' - | 'SCHEMA_ID_DESC' - | 'PRIVATE_SCHEMA_ID_ASC' - | 'PRIVATE_SCHEMA_ID_DESC' - | 'SESSION_CREDENTIALS_TABLE_ID_ASC' - | 'SESSION_CREDENTIALS_TABLE_ID_DESC' - | 'SESSIONS_TABLE_ID_ASC' - | 'SESSIONS_TABLE_ID_DESC' - | 'USERS_TABLE_ID_ASC' - | 'USERS_TABLE_ID_DESC' - | 'AUTHENTICATE_ASC' - | 'AUTHENTICATE_DESC' - | 'AUTHENTICATE_STRICT_ASC' - | 'AUTHENTICATE_STRICT_DESC' - | 'CURRENT_ROLE_ASC' - | 'CURRENT_ROLE_DESC' - | 'CURRENT_ROLE_ID_ASC' - | 'CURRENT_ROLE_ID_DESC'; + | 'PREFIX_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'; export type SecretsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8232,7 +9773,11 @@ export type SecretsModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SessionsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8258,7 +9803,15 @@ export type SessionsModuleOrderBy = | 'SESSION_CREDENTIALS_TABLE_ASC' | 'SESSION_CREDENTIALS_TABLE_DESC' | 'AUTH_SETTINGS_TABLE_ASC' - | 'AUTH_SETTINGS_TABLE_DESC'; + | 'AUTH_SETTINGS_TABLE_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'; export type UserAuthModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8314,7 +9867,41 @@ export type UserAuthModuleOrderBy = | 'ONE_TIME_TOKEN_FUNCTION_ASC' | 'ONE_TIME_TOKEN_FUNCTION_DESC' | 'EXTEND_TOKEN_EXPIRES_ASC' - | 'EXTEND_TOKEN_EXPIRES_DESC'; + | 'EXTEND_TOKEN_EXPIRES_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'; export type UsersModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8332,7 +9919,13 @@ export type UsersModuleOrderBy = | 'TYPE_TABLE_ID_ASC' | 'TYPE_TABLE_ID_DESC' | 'TYPE_TABLE_NAME_ASC' - | 'TYPE_TABLE_NAME_DESC'; + | 'TYPE_TABLE_NAME_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'; export type UuidModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8346,7 +9939,13 @@ export type UuidModuleOrderBy = | 'UUID_FUNCTION_ASC' | 'UUID_FUNCTION_DESC' | 'UUID_SEED_ASC' - | 'UUID_SEED_DESC'; + | 'UUID_SEED_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'; export type DatabaseProvisionModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8378,7 +9977,19 @@ export type DatabaseProvisionModuleOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' - | 'COMPLETED_AT_DESC'; + | 'COMPLETED_AT_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'; export type AppAdminGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8552,7 +10163,11 @@ export type OrgChartEdgeOrderBy = | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' - | 'POSITION_LEVEL_DESC'; + | 'POSITION_LEVEL_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgChartEdgeGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8574,7 +10189,11 @@ export type OrgChartEdgeGrantOrderBy = | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLimitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8664,7 +10283,11 @@ export type InviteOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ClaimedInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8712,7 +10335,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgClaimedInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8744,7 +10371,11 @@ export type RefOrderBy = | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' - | 'COMMIT_ID_DESC'; + | 'COMMIT_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type StoreOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8758,7 +10389,11 @@ export type StoreOrderBy = | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppPermissionDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8767,6 +10402,28 @@ export type AppPermissionDefaultOrderBy = | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC'; +export type CryptoAddressOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'OWNER_ID_ASC' + | 'OWNER_ID_DESC' + | 'ADDRESS_ASC' + | 'ADDRESS_DESC' + | 'IS_VERIFIED_ASC' + | 'IS_VERIFIED_DESC' + | 'IS_PRIMARY_ASC' + | 'IS_PRIMARY_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'; export type RoleTypeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8785,7 +10442,7 @@ export type OrgPermissionDefaultOrderBy = | 'PERMISSIONS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC'; -export type CryptoAddressOrderBy = +export type PhoneNumberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' @@ -8793,8 +10450,10 @@ export type CryptoAddressOrderBy = | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' - | 'ADDRESS_ASC' - | 'ADDRESS_DESC' + | 'CC_ASC' + | 'CC_DESC' + | 'NUMBER_ASC' + | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' @@ -8802,7 +10461,13 @@ export type CryptoAddressOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type AppLimitDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8842,27 +10507,47 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type PhoneNumberOrderBy = + | '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'; +export type NodeTypeRegistryOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'CC_ASC' - | 'CC_DESC' - | 'NUMBER_ASC' - | 'NUMBER_DESC' - | 'IS_VERIFIED_ASC' - | 'IS_VERIFIED_DESC' - | 'IS_PRIMARY_ASC' - | 'IS_PRIMARY_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'SLUG_ASC' + | 'SLUG_DESC' + | 'CATEGORY_ASC' + | 'CATEGORY_DESC' + | 'DISPLAY_NAME_ASC' + | 'DISPLAY_NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'PARAMETER_SCHEMA_ASC' + | 'PARAMETER_SCHEMA_DESC' + | 'TAGS_ASC' + | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_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'; export type MembershipTypeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8874,29 +10559,13 @@ export type MembershipTypeOrderBy = | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' - | 'PREFIX_DESC'; -export type NodeTypeRegistryOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'NAME_ASC' - | 'NAME_DESC' - | 'SLUG_ASC' - | 'SLUG_DESC' - | 'CATEGORY_ASC' - | 'CATEGORY_DESC' - | 'DISPLAY_NAME_ASC' - | 'DISPLAY_NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'PARAMETER_SCHEMA_ASC' - | 'PARAMETER_SCHEMA_DESC' - | 'TAGS_ASC' - | 'TAGS_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'PREFIX_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'PREFIX_TRGM_SIMILARITY_ASC' + | 'PREFIX_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8915,6 +10584,42 @@ export type AppMembershipDefaultOrderBy = | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC'; +export type RlsModuleOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'SCHEMA_ID_ASC' + | 'SCHEMA_ID_DESC' + | 'PRIVATE_SCHEMA_ID_ASC' + | 'PRIVATE_SCHEMA_ID_DESC' + | 'SESSION_CREDENTIALS_TABLE_ID_ASC' + | 'SESSION_CREDENTIALS_TABLE_ID_DESC' + | 'SESSIONS_TABLE_ID_ASC' + | 'SESSIONS_TABLE_ID_DESC' + | 'USERS_TABLE_ID_ASC' + | 'USERS_TABLE_ID_DESC' + | 'AUTHENTICATE_ASC' + | 'AUTHENTICATE_DESC' + | 'AUTHENTICATE_STRICT_ASC' + | 'AUTHENTICATE_STRICT_DESC' + | 'CURRENT_ROLE_ASC' + | 'CURRENT_ROLE_DESC' + | 'CURRENT_ROLE_ID_ASC' + | 'CURRENT_ROLE_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'; export type CommitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8936,7 +10641,11 @@ export type CommitOrderBy = | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' - | 'DATE_DESC'; + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8978,7 +10687,11 @@ export type AuditLogOrderBy = | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLevelOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8996,25 +10709,11 @@ export type AppLevelOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type EmailOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'EMAIL_ASC' - | 'EMAIL_DESC' - | 'IS_VERIFIED_ASC' - | 'IS_VERIFIED_DESC' - | 'IS_PRIMARY_ASC' - | 'IS_PRIMARY_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SqlMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9044,7 +10743,39 @@ export type SqlMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; + | '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'; +export type EmailOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'OWNER_ID_ASC' + | 'OWNER_ID_DESC' + | 'EMAIL_ASC' + | 'EMAIL_DESC' + | 'IS_VERIFIED_ASC' + | 'IS_VERIFIED_DESC' + | 'IS_PRIMARY_ASC' + | 'IS_PRIMARY_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC' + | 'UPDATED_AT_ASC' + | 'UPDATED_AT_DESC'; export type AstMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9074,29 +10805,11 @@ export type AstMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; -export type UserOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'USERNAME_ASC' - | 'USERNAME_DESC' - | 'DISPLAY_NAME_ASC' - | 'DISPLAY_NAME_DESC' - | 'PROFILE_PICTURE_ASC' - | 'PROFILE_PICTURE_DESC' - | 'SEARCH_TSV_ASC' - | 'SEARCH_TSV_DESC' - | 'TYPE_ASC' - | 'TYPE_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC' - | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; + | 'ACTOR_ID_DESC' + | 'ACTION_TRGM_SIMILARITY_ASC' + | 'ACTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9133,6 +10846,32 @@ export type AppMembershipOrderBy = | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +export type UserOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'USERNAME_ASC' + | 'USERNAME_DESC' + | 'DISPLAY_NAME_ASC' + | 'DISPLAY_NAME_DESC' + | 'PROFILE_PICTURE_ASC' + | 'PROFILE_PICTURE_DESC' + | 'SEARCH_TSV_ASC' + | 'SEARCH_TSV_DESC' + | 'TYPE_ASC' + | 'TYPE_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC' + | 'UPDATED_AT_ASC' + | 'UPDATED_AT_DESC' + | 'SEARCH_TSV_RANK_ASC' + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type HierarchyModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9176,7 +10915,29 @@ export type HierarchyModuleOrderBy = | 'IS_MANAGER_OF_FUNCTION_ASC' | 'IS_MANAGER_OF_FUNCTION_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_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'; // ============ CRUD Input Types ============ export interface CreateOrgGetManagersRecordInput { clientMutationId?: string; @@ -9252,6 +11013,8 @@ export interface AppPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppPermissionInput { clientMutationId?: string; @@ -9276,6 +11039,8 @@ export interface OrgPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgPermissionInput { clientMutationId?: string; @@ -9329,6 +11094,8 @@ export interface AppLevelRequirementPatch { description?: string | null; requiredCount?: number | null; priority?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelRequirementInput { clientMutationId?: string; @@ -9355,6 +11122,10 @@ export interface DatabasePatch { name?: string | null; label?: string | null; hash?: string | null; + schemaHashTrgmSimilarity?: number | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDatabaseInput { clientMutationId?: string; @@ -9393,6 +11164,12 @@ export interface SchemaPatch { scope?: number | null; tags?: string | null; isPublic?: boolean | null; + nameTrgmSimilarity?: number | null; + schemaNameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSchemaInput { clientMutationId?: string; @@ -9441,6 +11218,13 @@ export interface TablePatch { singularName?: string | null; tags?: string | null; inheritsId?: string | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + pluralNameTrgmSimilarity?: number | null; + singularNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableInput { clientMutationId?: string; @@ -9479,6 +11263,10 @@ export interface CheckConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCheckConstraintInput { clientMutationId?: string; @@ -9537,6 +11325,13 @@ export interface FieldPatch { category?: ObjectCategory | null; module?: string | null; scope?: number | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + defaultValueTrgmSimilarity?: number | null; + regexpTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateFieldInput { clientMutationId?: string; @@ -9583,6 +11378,13 @@ export interface ForeignKeyConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + deleteActionTrgmSimilarity?: number | null; + updateActionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateForeignKeyConstraintInput { clientMutationId?: string; @@ -9633,6 +11435,8 @@ export interface CreateIndexInput { indexParams?: Record; whereClause?: Record; isUnique?: boolean; + options?: Record; + opClasses?: string[]; smartTags?: Record; category?: ObjectCategory; module?: string; @@ -9650,11 +11454,17 @@ export interface IndexPatch { indexParams?: Record | null; whereClause?: Record | null; isUnique?: boolean | null; + options?: Record | null; + opClasses?: string | null; smartTags?: Record | null; category?: ObjectCategory | null; module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + accessMethodTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateIndexInput { clientMutationId?: string; @@ -9699,6 +11509,12 @@ export interface PolicyPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePolicyInput { clientMutationId?: string; @@ -9735,6 +11551,10 @@ export interface PrimaryKeyConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePrimaryKeyConstraintInput { clientMutationId?: string; @@ -9763,6 +11583,9 @@ export interface TableGrantPatch { granteeName?: string | null; fieldIds?: string | null; isGrant?: boolean | null; + privilegeTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableGrantInput { clientMutationId?: string; @@ -9799,6 +11622,11 @@ export interface TriggerPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + eventTrgmSimilarity?: number | null; + functionNameTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTriggerInput { clientMutationId?: string; @@ -9837,6 +11665,11 @@ export interface UniqueConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUniqueConstraintInput { clientMutationId?: string; @@ -9883,6 +11716,11 @@ export interface ViewPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + viewTypeTrgmSimilarity?: number | null; + filterTypeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewInput { clientMutationId?: string; @@ -9933,6 +11771,9 @@ export interface ViewGrantPatch { privilege?: string | null; withGrantOption?: boolean | null; isGrant?: boolean | null; + granteeNameTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewGrantInput { clientMutationId?: string; @@ -9959,6 +11800,10 @@ export interface ViewRulePatch { name?: string | null; event?: string | null; action?: string | null; + nameTrgmSimilarity?: number | null; + eventTrgmSimilarity?: number | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewRuleInput { clientMutationId?: string; @@ -9969,38 +11814,6 @@ export interface DeleteViewRuleInput { clientMutationId?: string; id: string; } -export interface CreateTableModuleInput { - clientMutationId?: string; - tableModule: { - databaseId: string; - schemaId?: string; - tableId?: string; - tableName?: string; - nodeType: string; - useRls?: boolean; - data?: Record; - fields?: string[]; - }; -} -export interface TableModulePatch { - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - data?: Record | null; - fields?: string | null; -} -export interface UpdateTableModuleInput { - clientMutationId?: string; - id: string; - tableModulePatch: TableModulePatch; -} -export interface DeleteTableModuleInput { - clientMutationId?: string; - id: string; -} export interface CreateTableTemplateModuleInput { clientMutationId?: string; tableTemplateModule: { @@ -10023,6 +11836,9 @@ export interface TableTemplateModulePatch { tableName?: string | null; nodeType?: string | null; data?: Record | null; + tableNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableTemplateModuleInput { clientMutationId?: string; @@ -10043,6 +11859,7 @@ export interface CreateSecureTableProvisionInput { nodeType?: string; useRls?: boolean; nodeData?: Record; + fields?: Record; grantRoles?: string[]; grantPrivileges?: Record; policyType?: string; @@ -10062,6 +11879,7 @@ export interface SecureTableProvisionPatch { nodeType?: string | null; useRls?: boolean | null; nodeData?: Record | null; + fields?: Record | null; grantRoles?: string | null; grantPrivileges?: Record | null; policyType?: string | null; @@ -10071,6 +11889,12 @@ export interface SecureTableProvisionPatch { policyName?: string | null; policyData?: Record | null; outFields?: string | null; + tableNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + policyRoleTrgmSimilarity?: number | null; + policyNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSecureTableProvisionInput { clientMutationId?: string; @@ -10141,6 +11965,17 @@ export interface RelationProvisionPatch { outJunctionTableId?: string | null; outSourceFieldId?: string | null; outTargetFieldId?: string | null; + relationTypeTrgmSimilarity?: number | null; + fieldNameTrgmSimilarity?: number | null; + deleteActionTrgmSimilarity?: number | null; + junctionTableNameTrgmSimilarity?: number | null; + sourceFieldNameTrgmSimilarity?: number | null; + targetFieldNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + policyRoleTrgmSimilarity?: number | null; + policyNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRelationProvisionInput { clientMutationId?: string; @@ -10163,6 +11998,8 @@ export interface SchemaGrantPatch { databaseId?: string | null; schemaId?: string | null; granteeName?: string | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSchemaGrantInput { clientMutationId?: string; @@ -10191,6 +12028,10 @@ export interface DefaultPrivilegePatch { privilege?: string | null; granteeName?: string | null; isGrant?: boolean | null; + objectTypeTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDefaultPrivilegeInput { clientMutationId?: string; @@ -10237,6 +12078,8 @@ export interface ApiModulePatch { apiId?: string | null; name?: string | null; data?: Record | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateApiModuleInput { clientMutationId?: string; @@ -10289,6 +12132,9 @@ export interface SiteMetadatumPatch { title?: string | null; description?: string | null; ogImage?: ConstructiveInternalTypeImage | null; + titleTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteMetadatumInput { clientMutationId?: string; @@ -10313,6 +12159,8 @@ export interface SiteModulePatch { siteId?: string | null; name?: string | null; data?: Record | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteModuleInput { clientMutationId?: string; @@ -10357,6 +12205,9 @@ export interface TriggerFunctionPatch { databaseId?: string | null; name?: string | null; code?: string | null; + nameTrgmSimilarity?: number | null; + codeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTriggerFunctionInput { clientMutationId?: string; @@ -10385,6 +12236,11 @@ export interface ApiPatch { roleName?: string | null; anonRole?: string | null; isPublic?: boolean | null; + nameTrgmSimilarity?: number | null; + dbnameTrgmSimilarity?: number | null; + roleNameTrgmSimilarity?: number | null; + anonRoleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateApiInput { clientMutationId?: string; @@ -10417,6 +12273,10 @@ export interface SitePatch { appleTouchIcon?: ConstructiveInternalTypeImage | null; logo?: ConstructiveInternalTypeImage | null; dbname?: string | null; + titleTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + dbnameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteInput { clientMutationId?: string; @@ -10449,6 +12309,10 @@ export interface AppPatch { appStoreId?: string | null; appIdPrefix?: string | null; playStoreLink?: ConstructiveInternalTypeUrl | null; + nameTrgmSimilarity?: number | null; + appStoreIdTrgmSimilarity?: number | null; + appIdPrefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppInput { clientMutationId?: string; @@ -10477,6 +12341,8 @@ export interface ConnectedAccountsModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountsModuleInput { clientMutationId?: string; @@ -10507,6 +12373,9 @@ export interface CryptoAddressesModulePatch { ownerTableId?: string | null; tableName?: string | null; cryptoNetwork?: string | null; + tableNameTrgmSimilarity?: number | null; + cryptoNetworkTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAddressesModuleInput { clientMutationId?: string; @@ -10549,6 +12418,13 @@ export interface CryptoAuthModulePatch { signInRecordFailure?: string | null; signUpWithKey?: string | null; signInWithChallenge?: string | null; + userFieldTrgmSimilarity?: number | null; + cryptoNetworkTrgmSimilarity?: number | null; + signInRequestChallengeTrgmSimilarity?: number | null; + signInRecordFailureTrgmSimilarity?: number | null; + signUpWithKeyTrgmSimilarity?: number | null; + signInWithChallengeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAuthModuleInput { clientMutationId?: string; @@ -10605,6 +12481,8 @@ export interface DenormalizedTableFieldPatch { updateDefaults?: boolean | null; funcName?: string | null; funcOrder?: number | null; + funcNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDenormalizedTableFieldInput { clientMutationId?: string; @@ -10633,6 +12511,8 @@ export interface EmailsModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateEmailsModuleInput { clientMutationId?: string; @@ -10657,6 +12537,8 @@ export interface EncryptedSecretsModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateEncryptedSecretsModuleInput { clientMutationId?: string; @@ -10689,6 +12571,8 @@ export interface FieldModulePatch { data?: Record | null; triggers?: string | null; functions?: string | null; + nodeTypeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateFieldModuleInput { clientMutationId?: string; @@ -10731,6 +12615,11 @@ export interface InvitesModulePatch { prefix?: string | null; membershipType?: number | null; entityTableId?: string | null; + invitesTableNameTrgmSimilarity?: number | null; + claimedInvitesTableNameTrgmSimilarity?: number | null; + submitInviteCodeFunctionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateInvitesModuleInput { clientMutationId?: string; @@ -10797,6 +12686,22 @@ export interface LevelsModulePatch { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + stepsTableNameTrgmSimilarity?: number | null; + achievementsTableNameTrgmSimilarity?: number | null; + levelsTableNameTrgmSimilarity?: number | null; + levelRequirementsTableNameTrgmSimilarity?: number | null; + completedStepTrgmSimilarity?: number | null; + incompletedStepTrgmSimilarity?: number | null; + tgAchievementTrgmSimilarity?: number | null; + tgAchievementToggleTrgmSimilarity?: number | null; + tgAchievementToggleBooleanTrgmSimilarity?: number | null; + tgAchievementBooleanTrgmSimilarity?: number | null; + upsertAchievementTrgmSimilarity?: number | null; + tgUpdateAchievementsTrgmSimilarity?: number | null; + stepsRequiredTrgmSimilarity?: number | null; + levelAchievedTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateLevelsModuleInput { clientMutationId?: string; @@ -10847,6 +12752,16 @@ export interface LimitsModulePatch { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + tableNameTrgmSimilarity?: number | null; + defaultTableNameTrgmSimilarity?: number | null; + limitIncrementFunctionTrgmSimilarity?: number | null; + limitDecrementFunctionTrgmSimilarity?: number | null; + limitIncrementTriggerTrgmSimilarity?: number | null; + limitDecrementTriggerTrgmSimilarity?: number | null; + limitUpdateTriggerTrgmSimilarity?: number | null; + limitCheckFunctionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateLimitsModuleInput { clientMutationId?: string; @@ -10871,6 +12786,8 @@ export interface MembershipTypesModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipTypesModuleInput { clientMutationId?: string; @@ -10947,6 +12864,19 @@ export interface MembershipsModulePatch { entityIdsByMask?: string | null; entityIdsByPerm?: string | null; entityIdsFunction?: string | null; + membershipsTableNameTrgmSimilarity?: number | null; + membersTableNameTrgmSimilarity?: number | null; + membershipDefaultsTableNameTrgmSimilarity?: number | null; + grantsTableNameTrgmSimilarity?: number | null; + adminGrantsTableNameTrgmSimilarity?: number | null; + ownerGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + actorMaskCheckTrgmSimilarity?: number | null; + actorPermCheckTrgmSimilarity?: number | null; + entityIdsByMaskTrgmSimilarity?: number | null; + entityIdsByPermTrgmSimilarity?: number | null; + entityIdsFunctionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipsModuleInput { clientMutationId?: string; @@ -10995,6 +12925,14 @@ export interface PermissionsModulePatch { getMask?: string | null; getByMask?: string | null; getMaskByName?: string | null; + tableNameTrgmSimilarity?: number | null; + defaultTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + getPaddedMaskTrgmSimilarity?: number | null; + getMaskTrgmSimilarity?: number | null; + getByMaskTrgmSimilarity?: number | null; + getMaskByNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePermissionsModuleInput { clientMutationId?: string; @@ -11023,6 +12961,8 @@ export interface PhoneNumbersModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePhoneNumbersModuleInput { clientMutationId?: string; @@ -11073,6 +13013,12 @@ export interface ProfilesModulePatch { permissionsTableId?: string | null; membershipsTableId?: string | null; prefix?: string | null; + tableNameTrgmSimilarity?: number | null; + profilePermissionsTableNameTrgmSimilarity?: number | null; + profileGrantsTableNameTrgmSimilarity?: number | null; + profileDefinitionGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateProfilesModuleInput { clientMutationId?: string; @@ -11083,44 +13029,6 @@ export interface DeleteProfilesModuleInput { clientMutationId?: string; id: string; } -export interface CreateRlsModuleInput { - clientMutationId?: string; - rlsModule: { - databaseId: string; - apiId?: string; - schemaId?: string; - privateSchemaId?: string; - sessionCredentialsTableId?: string; - sessionsTableId?: string; - usersTableId?: string; - authenticate?: string; - authenticateStrict?: string; - currentRole?: string; - currentRoleId?: string; - }; -} -export interface RlsModulePatch { - databaseId?: string | null; - apiId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - sessionCredentialsTableId?: string | null; - sessionsTableId?: string | null; - usersTableId?: string | null; - authenticate?: string | null; - authenticateStrict?: string | null; - currentRole?: string | null; - currentRoleId?: string | null; -} -export interface UpdateRlsModuleInput { - clientMutationId?: string; - id: string; - rlsModulePatch: RlsModulePatch; -} -export interface DeleteRlsModuleInput { - clientMutationId?: string; - id: string; -} export interface CreateSecretsModuleInput { clientMutationId?: string; secretsModule: { @@ -11135,6 +13043,8 @@ export interface SecretsModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSecretsModuleInput { clientMutationId?: string; @@ -11171,6 +13081,10 @@ export interface SessionsModulePatch { sessionsTable?: string | null; sessionCredentialsTable?: string | null; authSettingsTable?: string | null; + sessionsTableTrgmSimilarity?: number | null; + sessionCredentialsTableTrgmSimilarity?: number | null; + authSettingsTableTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSessionsModuleInput { clientMutationId?: string; @@ -11237,6 +13151,23 @@ export interface UserAuthModulePatch { signInOneTimeTokenFunction?: string | null; oneTimeTokenFunction?: string | null; extendTokenExpires?: string | null; + auditsTableNameTrgmSimilarity?: number | null; + signInFunctionTrgmSimilarity?: number | null; + signUpFunctionTrgmSimilarity?: number | null; + signOutFunctionTrgmSimilarity?: number | null; + setPasswordFunctionTrgmSimilarity?: number | null; + resetPasswordFunctionTrgmSimilarity?: number | null; + forgotPasswordFunctionTrgmSimilarity?: number | null; + sendVerificationEmailFunctionTrgmSimilarity?: number | null; + verifyEmailFunctionTrgmSimilarity?: number | null; + verifyPasswordFunctionTrgmSimilarity?: number | null; + checkPasswordFunctionTrgmSimilarity?: number | null; + sendAccountDeletionEmailFunctionTrgmSimilarity?: number | null; + deleteAccountFunctionTrgmSimilarity?: number | null; + signInOneTimeTokenFunctionTrgmSimilarity?: number | null; + oneTimeTokenFunctionTrgmSimilarity?: number | null; + extendTokenExpiresTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUserAuthModuleInput { clientMutationId?: string; @@ -11265,6 +13196,9 @@ export interface UsersModulePatch { tableName?: string | null; typeTableId?: string | null; typeTableName?: string | null; + tableNameTrgmSimilarity?: number | null; + typeTableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUsersModuleInput { clientMutationId?: string; @@ -11289,6 +13223,9 @@ export interface UuidModulePatch { schemaId?: string | null; uuidFunction?: string | null; uuidSeed?: string | null; + uuidFunctionTrgmSimilarity?: number | null; + uuidSeedTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUuidModuleInput { clientMutationId?: string; @@ -11327,6 +13264,12 @@ export interface DatabaseProvisionModulePatch { errorMessage?: string | null; databaseId?: string | null; completedAt?: string | null; + databaseNameTrgmSimilarity?: number | null; + subdomainTrgmSimilarity?: number | null; + domainTrgmSimilarity?: number | null; + statusTrgmSimilarity?: number | null; + errorMessageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDatabaseProvisionModuleInput { clientMutationId?: string; @@ -11559,6 +13502,8 @@ export interface OrgChartEdgePatch { parentId?: string | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeInput { clientMutationId?: string; @@ -11589,6 +13534,8 @@ export interface OrgChartEdgeGrantPatch { isGrant?: boolean | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeGrantInput { clientMutationId?: string; @@ -11717,6 +13664,8 @@ export interface InvitePatch { multiple?: boolean | null; data?: Record | null; expiresAt?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateInviteInput { clientMutationId?: string; @@ -11777,6 +13726,8 @@ export interface OrgInvitePatch { data?: Record | null; expiresAt?: string | null; entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgInviteInput { clientMutationId?: string; @@ -11825,6 +13776,8 @@ export interface RefPatch { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRefInput { clientMutationId?: string; @@ -11847,6 +13800,8 @@ export interface StorePatch { name?: string | null; databaseId?: string | null; hash?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateStoreInput { clientMutationId?: string; @@ -11875,6 +13830,32 @@ export interface DeleteAppPermissionDefaultInput { clientMutationId?: string; id: string; } +export interface CreateCryptoAddressInput { + clientMutationId?: string; + cryptoAddress: { + ownerId?: string; + address: string; + isVerified?: boolean; + isPrimary?: boolean; + }; +} +export interface CryptoAddressPatch { + ownerId?: string | null; + address?: string | null; + isVerified?: boolean | null; + isPrimary?: boolean | null; + addressTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateCryptoAddressInput { + clientMutationId?: string; + id: string; + cryptoAddressPatch: CryptoAddressPatch; +} +export interface DeleteCryptoAddressInput { + clientMutationId?: string; + id: string; +} export interface CreateRoleTypeInput { clientMutationId?: string; roleType: { @@ -11913,27 +13894,32 @@ export interface DeleteOrgPermissionDefaultInput { clientMutationId?: string; id: string; } -export interface CreateCryptoAddressInput { +export interface CreatePhoneNumberInput { clientMutationId?: string; - cryptoAddress: { + phoneNumber: { ownerId?: string; - address: string; + cc: string; + number: string; isVerified?: boolean; isPrimary?: boolean; }; } -export interface CryptoAddressPatch { +export interface PhoneNumberPatch { ownerId?: string | null; - address?: string | null; + cc?: string | null; + number?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + ccTrgmSimilarity?: number | null; + numberTrgmSimilarity?: number | null; + searchScore?: number | null; } -export interface UpdateCryptoAddressInput { +export interface UpdatePhoneNumberInput { clientMutationId?: string; id: string; - cryptoAddressPatch: CryptoAddressPatch; + phoneNumberPatch: PhoneNumberPatch; } -export interface DeleteCryptoAddressInput { +export interface DeletePhoneNumberInput { clientMutationId?: string; id: string; } @@ -11993,6 +13979,9 @@ export interface ConnectedAccountPatch { identifier?: string | null; details?: Record | null; isVerified?: boolean | null; + serviceTrgmSimilarity?: number | null; + identifierTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountInput { clientMutationId?: string; @@ -12003,31 +13992,41 @@ export interface DeleteConnectedAccountInput { clientMutationId?: string; id: string; } -export interface CreatePhoneNumberInput { +export interface CreateNodeTypeRegistryInput { clientMutationId?: string; - phoneNumber: { - ownerId?: string; - cc: string; - number: string; - isVerified?: boolean; - isPrimary?: boolean; + nodeTypeRegistry: { + name: string; + slug: string; + category: string; + displayName?: string; + description?: string; + parameterSchema?: Record; + tags?: string[]; }; } -export interface PhoneNumberPatch { - ownerId?: string | null; - cc?: string | null; - number?: string | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; +export interface NodeTypeRegistryPatch { + name?: string | null; + slug?: string | null; + category?: string | null; + displayName?: string | null; + description?: string | null; + parameterSchema?: Record | null; + tags?: string | null; + nameTrgmSimilarity?: number | null; + slugTrgmSimilarity?: number | null; + categoryTrgmSimilarity?: number | null; + displayNameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } -export interface UpdatePhoneNumberInput { +export interface UpdateNodeTypeRegistryInput { clientMutationId?: string; - id: string; - phoneNumberPatch: PhoneNumberPatch; + name: string; + nodeTypeRegistryPatch: NodeTypeRegistryPatch; } -export interface DeletePhoneNumberInput { +export interface DeleteNodeTypeRegistryInput { clientMutationId?: string; - id: string; + name: string; } export interface CreateMembershipTypeInput { clientMutationId?: string; @@ -12041,6 +14040,9 @@ export interface MembershipTypePatch { name?: string | null; description?: string | null; prefix?: string | null; + descriptionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipTypeInput { clientMutationId?: string; @@ -12051,36 +14053,6 @@ export interface DeleteMembershipTypeInput { clientMutationId?: string; id: number; } -export interface CreateNodeTypeRegistryInput { - clientMutationId?: string; - nodeTypeRegistry: { - name: string; - slug: string; - category: string; - displayName?: string; - description?: string; - parameterSchema?: Record; - tags?: string[]; - }; -} -export interface NodeTypeRegistryPatch { - name?: string | null; - slug?: string | null; - category?: string | null; - displayName?: string | null; - description?: string | null; - parameterSchema?: Record | null; - tags?: string | null; -} -export interface UpdateNodeTypeRegistryInput { - clientMutationId?: string; - name: string; - nodeTypeRegistryPatch: NodeTypeRegistryPatch; -} -export interface DeleteNodeTypeRegistryInput { - clientMutationId?: string; - name: string; -} export interface CreateAppMembershipDefaultInput { clientMutationId?: string; appMembershipDefault: { @@ -12105,6 +14077,47 @@ export interface DeleteAppMembershipDefaultInput { clientMutationId?: string; id: string; } +export interface CreateRlsModuleInput { + clientMutationId?: string; + rlsModule: { + databaseId: string; + schemaId?: string; + privateSchemaId?: string; + sessionCredentialsTableId?: string; + sessionsTableId?: string; + usersTableId?: string; + authenticate?: string; + authenticateStrict?: string; + currentRole?: string; + currentRoleId?: string; + }; +} +export interface RlsModulePatch { + databaseId?: string | null; + schemaId?: string | null; + privateSchemaId?: string | null; + sessionCredentialsTableId?: string | null; + sessionsTableId?: string | null; + usersTableId?: string | null; + authenticate?: string | null; + authenticateStrict?: string | null; + currentRole?: string | null; + currentRoleId?: string | null; + authenticateTrgmSimilarity?: number | null; + authenticateStrictTrgmSimilarity?: number | null; + currentRoleTrgmSimilarity?: number | null; + currentRoleIdTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateRlsModuleInput { + clientMutationId?: string; + id: string; + rlsModulePatch: RlsModulePatch; +} +export interface DeleteRlsModuleInput { + clientMutationId?: string; + id: string; +} export interface CreateCommitInput { clientMutationId?: string; commit: { @@ -12127,6 +14140,8 @@ export interface CommitPatch { committerId?: string | null; treeId?: string | null; date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCommitInput { clientMutationId?: string; @@ -12183,6 +14198,8 @@ export interface AuditLogPatch { userAgent?: string | null; ipAddress?: string | null; success?: boolean | null; + userAgentTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAuditLogInput { clientMutationId?: string; @@ -12207,6 +14224,8 @@ export interface AppLevelPatch { description?: string | null; image?: ConstructiveInternalTypeImage | null; ownerId?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelInput { clientMutationId?: string; @@ -12217,30 +14236,6 @@ export interface DeleteAppLevelInput { clientMutationId?: string; id: string; } -export interface CreateEmailInput { - clientMutationId?: string; - email: { - ownerId?: string; - email: ConstructiveInternalTypeEmail; - isVerified?: boolean; - isPrimary?: boolean; - }; -} -export interface EmailPatch { - ownerId?: string | null; - email?: ConstructiveInternalTypeEmail | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; -} -export interface UpdateEmailInput { - clientMutationId?: string; - id: string; - emailPatch: EmailPatch; -} -export interface DeleteEmailInput { - clientMutationId?: string; - id: string; -} export interface CreateSqlMigrationInput { clientMutationId?: string; sqlMigration: { @@ -12269,6 +14264,13 @@ export interface SqlMigrationPatch { action?: string | null; actionId?: string | null; actorId?: string | null; + nameTrgmSimilarity?: number | null; + deployTrgmSimilarity?: number | null; + contentTrgmSimilarity?: number | null; + revertTrgmSimilarity?: number | null; + verifyTrgmSimilarity?: number | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSqlMigrationInput { clientMutationId?: string; @@ -12279,6 +14281,30 @@ export interface DeleteSqlMigrationInput { clientMutationId?: string; id: number; } +export interface CreateEmailInput { + clientMutationId?: string; + email: { + ownerId?: string; + email: ConstructiveInternalTypeEmail; + isVerified?: boolean; + isPrimary?: boolean; + }; +} +export interface EmailPatch { + ownerId?: string | null; + email?: ConstructiveInternalTypeEmail | null; + isVerified?: boolean | null; + isPrimary?: boolean | null; +} +export interface UpdateEmailInput { + clientMutationId?: string; + id: string; + emailPatch: EmailPatch; +} +export interface DeleteEmailInput { + clientMutationId?: string; + id: string; +} export interface CreateAstMigrationInput { clientMutationId?: string; astMigration: { @@ -12307,6 +14333,8 @@ export interface AstMigrationPatch { action?: string | null; actionId?: string | null; actorId?: string | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAstMigrationInput { clientMutationId?: string; @@ -12317,33 +14345,6 @@ export interface DeleteAstMigrationInput { clientMutationId?: string; id: number; } -export interface CreateUserInput { - clientMutationId?: string; - user: { - username?: string; - displayName?: string; - profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; - type?: number; - }; -} -export interface UserPatch { - username?: string | null; - displayName?: string | null; - profilePicture?: ConstructiveInternalTypeImage | null; - searchTsv?: string | null; - type?: number | null; - searchTsvRank?: number | null; -} -export interface UpdateUserInput { - clientMutationId?: string; - id: string; - userPatch: UserPatch; -} -export interface DeleteUserInput { - clientMutationId?: string; - id: string; -} export interface CreateAppMembershipInput { clientMutationId?: string; appMembership: { @@ -12386,6 +14387,35 @@ export interface DeleteAppMembershipInput { clientMutationId?: string; id: string; } +export interface CreateUserInput { + clientMutationId?: string; + user: { + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + searchTsv?: string; + type?: number; + }; +} +export interface UserPatch { + username?: string | null; + displayName?: string | null; + profilePicture?: ConstructiveInternalTypeImage | null; + searchTsv?: string | null; + type?: number | null; + searchTsvRank?: number | null; + displayNameTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateUserInput { + clientMutationId?: string; + id: string; + userPatch: UserPatch; +} +export interface DeleteUserInput { + clientMutationId?: string; + id: string; +} export interface CreateHierarchyModuleInput { clientMutationId?: string; hierarchyModule: { @@ -12428,6 +14458,17 @@ export interface HierarchyModulePatch { getSubordinatesFunction?: string | null; getManagersFunction?: string | null; isManagerOfFunction?: string | null; + chartEdgesTableNameTrgmSimilarity?: number | null; + hierarchySprtTableNameTrgmSimilarity?: number | null; + chartEdgeGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + privateSchemaNameTrgmSimilarity?: number | null; + sprtTableNameTrgmSimilarity?: number | null; + rebuildHierarchyFunctionTrgmSimilarity?: number | null; + getSubordinatesFunctionTrgmSimilarity?: number | null; + getManagersFunctionTrgmSimilarity?: number | null; + isManagerOfFunctionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateHierarchyModuleInput { clientMutationId?: string; @@ -12476,7 +14517,6 @@ export const connectionFieldsMap = { emailsModules: 'EmailsModule', encryptedSecretsModules: 'EncryptedSecretsModule', fieldModules: 'FieldModule', - tableModules: 'TableModule', invitesModules: 'InvitesModule', levelsModules: 'LevelsModule', limitsModules: 'LimitsModule', @@ -12485,7 +14525,6 @@ export const connectionFieldsMap = { permissionsModules: 'PermissionsModule', phoneNumbersModules: 'PhoneNumbersModule', profilesModules: 'ProfilesModule', - rlsModules: 'RlsModule', secretsModules: 'SecretsModule', sessionsModules: 'SessionsModule', userAuthModules: 'UserAuthModule', @@ -12518,7 +14557,6 @@ export const connectionFieldsMap = { uniqueConstraints: 'UniqueConstraint', views: 'View', viewTables: 'ViewTable', - tableModules: 'TableModule', tableTemplateModulesByOwnerTableId: 'TableTemplateModule', tableTemplateModules: 'TableTemplateModule', secureTableProvisions: 'SecureTableProvision', @@ -12627,12 +14665,6 @@ export interface ResetPasswordInput { resetToken?: string; newPassword?: string; } -export interface RemoveNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; -} export interface BootstrapUserInput { clientMutationId?: string; targetDatabaseId?: string; @@ -12643,6 +14675,12 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface SetDataAtPathInput { clientMutationId?: string; dbId?: string; @@ -12942,14 +14980,6 @@ export type ResetPasswordPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; -export interface RemoveNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type RemoveNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; export interface BootstrapUserPayload { clientMutationId?: string | null; result?: BootstrapUserRecord[] | null; @@ -12960,6 +14990,14 @@ export type BootstrapUserPayloadSelect = { select: BootstrapUserRecordSelect; }; }; +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type RemoveNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; export interface SetDataAtPathPayload { clientMutationId?: string | null; result?: string | null; @@ -14057,51 +16095,6 @@ export type DeleteViewRulePayloadSelect = { select: ViewRuleEdgeSelect; }; }; -export interface CreateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was created by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type CreateTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; -export interface UpdateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was updated by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type UpdateTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; -export interface DeleteTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was deleted by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type DeleteTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; export interface CreateTableTemplateModulePayload { clientMutationId?: string | null; /** The `TableTemplateModule` that was created by this mutation. */ @@ -15497,64 +17490,19 @@ export type DeleteProfilesModulePayloadSelect = { select: ProfilesModuleEdgeSelect; }; }; -export interface CreateRlsModulePayload { +export interface CreateSecretsModulePayload { clientMutationId?: string | null; - /** The `RlsModule` that was created by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; + /** The `SecretsModule` that was created by this mutation. */ + secretsModule?: SecretsModule | null; + secretsModuleEdge?: SecretsModuleEdge | null; } -export type CreateRlsModulePayloadSelect = { +export type CreateSecretsModulePayloadSelect = { clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; + secretsModule?: { + select: SecretsModuleSelect; }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; - }; -}; -export interface UpdateRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was updated by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} -export type UpdateRlsModulePayloadSelect = { - clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; - }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; - }; -}; -export interface DeleteRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was deleted by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} -export type DeleteRlsModulePayloadSelect = { - clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; - }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; - }; -}; -export interface CreateSecretsModulePayload { - clientMutationId?: string | null; - /** The `SecretsModule` that was created by this mutation. */ - secretsModule?: SecretsModule | null; - secretsModuleEdge?: SecretsModuleEdge | null; -} -export type CreateSecretsModulePayloadSelect = { - clientMutationId?: boolean; - secretsModule?: { - select: SecretsModuleSelect; - }; - secretsModuleEdge?: { - select: SecretsModuleEdgeSelect; + secretsModuleEdge?: { + select: SecretsModuleEdgeSelect; }; }; export interface UpdateSecretsModulePayload { @@ -16757,6 +18705,51 @@ export type DeleteAppPermissionDefaultPayloadSelect = { select: AppPermissionDefaultEdgeSelect; }; }; +export interface CreateCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was created by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type CreateCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; +export interface UpdateCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was updated by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type UpdateCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; +export interface DeleteCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was deleted by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type DeleteCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; export interface CreateRoleTypePayload { clientMutationId?: string | null; /** The `RoleType` that was created by this mutation. */ @@ -16847,49 +18840,49 @@ export type DeleteOrgPermissionDefaultPayloadSelect = { select: OrgPermissionDefaultEdgeSelect; }; }; -export interface CreateCryptoAddressPayload { +export interface CreatePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was created by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was created by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type CreateCryptoAddressPayloadSelect = { +export type CreatePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; -export interface UpdateCryptoAddressPayload { +export interface UpdatePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was updated by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was updated by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type UpdateCryptoAddressPayloadSelect = { +export type UpdatePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; -export interface DeleteCryptoAddressPayload { +export interface DeletePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was deleted by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was deleted by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type DeleteCryptoAddressPayloadSelect = { +export type DeletePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; export interface CreateAppLimitDefaultPayload { @@ -17027,49 +19020,49 @@ export type DeleteConnectedAccountPayloadSelect = { select: ConnectedAccountEdgeSelect; }; }; -export interface CreatePhoneNumberPayload { +export interface CreateNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was created by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was created by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type CreatePhoneNumberPayloadSelect = { +export type CreateNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; -export interface UpdatePhoneNumberPayload { +export interface UpdateNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was updated by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was updated by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type UpdatePhoneNumberPayloadSelect = { +export type UpdateNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; -export interface DeletePhoneNumberPayload { +export interface DeleteNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was deleted by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was deleted by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type DeletePhoneNumberPayloadSelect = { +export type DeleteNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; export interface CreateMembershipTypePayload { @@ -17117,51 +19110,6 @@ export type DeleteMembershipTypePayloadSelect = { select: MembershipTypeEdgeSelect; }; }; -export interface CreateNodeTypeRegistryPayload { - clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was created by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; -} -export type CreateNodeTypeRegistryPayloadSelect = { - clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; - }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; - }; -}; -export interface UpdateNodeTypeRegistryPayload { - clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was updated by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; -} -export type UpdateNodeTypeRegistryPayloadSelect = { - clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; - }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; - }; -}; -export interface DeleteNodeTypeRegistryPayload { - clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was deleted by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; -} -export type DeleteNodeTypeRegistryPayloadSelect = { - clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; - }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; - }; -}; export interface CreateAppMembershipDefaultPayload { clientMutationId?: string | null; /** The `AppMembershipDefault` that was created by this mutation. */ @@ -17207,6 +19155,51 @@ export type DeleteAppMembershipDefaultPayloadSelect = { select: AppMembershipDefaultEdgeSelect; }; }; +export interface CreateRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was created by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export type CreateRlsModulePayloadSelect = { + clientMutationId?: boolean; + rlsModule?: { + select: RlsModuleSelect; + }; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; + }; +}; +export interface UpdateRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was updated by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export type UpdateRlsModulePayloadSelect = { + clientMutationId?: boolean; + rlsModule?: { + select: RlsModuleSelect; + }; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; + }; +}; +export interface DeleteRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was deleted by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export type DeleteRlsModulePayloadSelect = { + clientMutationId?: boolean; + rlsModule?: { + select: RlsModuleSelect; + }; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; + }; +}; export interface CreateCommitPayload { clientMutationId?: string | null; /** The `Commit` that was created by this mutation. */ @@ -17387,6 +19380,17 @@ export type DeleteAppLevelPayloadSelect = { select: AppLevelEdgeSelect; }; }; +export interface CreateSqlMigrationPayload { + clientMutationId?: string | null; + /** The `SqlMigration` that was created by this mutation. */ + sqlMigration?: SqlMigration | null; +} +export type CreateSqlMigrationPayloadSelect = { + clientMutationId?: boolean; + sqlMigration?: { + select: SqlMigrationSelect; + }; +}; export interface CreateEmailPayload { clientMutationId?: string | null; /** The `Email` that was created by this mutation. */ @@ -17432,17 +19436,6 @@ export type DeleteEmailPayloadSelect = { select: EmailEdgeSelect; }; }; -export interface CreateSqlMigrationPayload { - clientMutationId?: string | null; - /** The `SqlMigration` that was created by this mutation. */ - sqlMigration?: SqlMigration | null; -} -export type CreateSqlMigrationPayloadSelect = { - clientMutationId?: boolean; - sqlMigration?: { - select: SqlMigrationSelect; - }; -}; export interface CreateAstMigrationPayload { clientMutationId?: string | null; /** The `AstMigration` that was created by this mutation. */ @@ -17454,51 +19447,6 @@ export type CreateAstMigrationPayloadSelect = { select: AstMigrationSelect; }; }; -export interface CreateUserPayload { - clientMutationId?: string | null; - /** The `User` that was created by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type CreateUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; -export interface UpdateUserPayload { - clientMutationId?: string | null; - /** The `User` that was updated by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type UpdateUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; -export interface DeleteUserPayload { - clientMutationId?: string | null; - /** The `User` that was deleted by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type DeleteUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; export interface CreateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was created by this mutation. */ @@ -17544,6 +19492,51 @@ export type DeleteAppMembershipPayloadSelect = { select: AppMembershipEdgeSelect; }; }; +export interface CreateUserPayload { + clientMutationId?: string | null; + /** The `User` that was created by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type CreateUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; +export interface UpdateUserPayload { + clientMutationId?: string | null; + /** The `User` that was updated by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type UpdateUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; +export interface DeleteUserPayload { + clientMutationId?: string | null; + /** The `User` that was deleted by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type DeleteUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; export interface CreateHierarchyModulePayload { clientMutationId?: string | null; /** The `HierarchyModule` that was created by this mutation. */ @@ -17663,6 +19656,16 @@ export interface BootstrapUserRecord { outIsOwner?: boolean | null; outIsSudo?: boolean | null; outApiKey?: string | null; + /** TRGM similarity when searching `outEmail`. Returns null when no trgm search filter is active. */ + outEmailTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outUsername`. Returns null when no trgm search filter is active. */ + outUsernameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outDisplayName`. Returns null when no trgm search filter is active. */ + outDisplayNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export type BootstrapUserRecordSelect = { outUserId?: boolean; @@ -17673,14 +19676,25 @@ export type BootstrapUserRecordSelect = { outIsOwner?: boolean; outIsSudo?: boolean; outApiKey?: boolean; + outEmailTrgmSimilarity?: boolean; + outUsernameTrgmSimilarity?: boolean; + outDisplayNameTrgmSimilarity?: boolean; + outApiKeyTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ProvisionDatabaseWithUserRecord { outDatabaseId?: string | null; outApiKey?: string | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export type ProvisionDatabaseWithUserRecordSelect = { outDatabaseId?: boolean; outApiKey?: boolean; + outApiKeyTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignInOneTimeTokenRecord { id?: string | null; @@ -17689,6 +19703,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInOneTimeTokenRecordSelect = { id?: boolean; @@ -17697,6 +19715,8 @@ export type SignInOneTimeTokenRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ExtendTokenExpiresRecord { id?: string | null; @@ -17715,6 +19735,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInRecordSelect = { id?: boolean; @@ -17723,6 +19747,8 @@ export type SignInRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignUpRecord { id?: string | null; @@ -17731,6 +19757,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignUpRecordSelect = { id?: boolean; @@ -17739,6 +19769,8 @@ export type SignUpRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state */ export interface Session { @@ -17767,6 +19799,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SessionSelect = { id?: boolean; @@ -17783,6 +19823,10 @@ export type SessionSelect = { csrfSecret?: boolean; createdAt?: boolean; updatedAt?: boolean; + uagentTrgmSimilarity?: boolean; + fingerprintModeTrgmSimilarity?: boolean; + csrfSecretTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** A `Database` edge in the connection. */ export interface DatabaseEdge { @@ -17988,18 +20032,6 @@ export type ViewRuleEdgeSelect = { select: ViewRuleSelect; }; }; -/** A `TableModule` edge in the connection. */ -export interface TableModuleEdge { - cursor?: string | null; - /** The `TableModule` at the end of the edge. */ - node?: TableModule | null; -} -export type TableModuleEdgeSelect = { - cursor?: boolean; - node?: { - select: TableModuleSelect; - }; -}; /** A `TableTemplateModule` edge in the connection. */ export interface TableTemplateModuleEdge { cursor?: string | null; @@ -18372,18 +20404,6 @@ export type ProfilesModuleEdgeSelect = { select: ProfilesModuleSelect; }; }; -/** A `RlsModule` edge in the connection. */ -export interface RlsModuleEdge { - cursor?: string | null; - /** The `RlsModule` at the end of the edge. */ - node?: RlsModule | null; -} -export type RlsModuleEdgeSelect = { - cursor?: boolean; - node?: { - select: RlsModuleSelect; - }; -}; /** A `SecretsModule` edge in the connection. */ export interface SecretsModuleEdge { cursor?: string | null; @@ -18708,6 +20728,18 @@ export type AppPermissionDefaultEdgeSelect = { select: AppPermissionDefaultSelect; }; }; +/** A `CryptoAddress` edge in the connection. */ +export interface CryptoAddressEdge { + cursor?: string | null; + /** The `CryptoAddress` at the end of the edge. */ + node?: CryptoAddress | null; +} +export type CryptoAddressEdgeSelect = { + cursor?: boolean; + node?: { + select: CryptoAddressSelect; + }; +}; /** A `RoleType` edge in the connection. */ export interface RoleTypeEdge { cursor?: string | null; @@ -18732,16 +20764,16 @@ export type OrgPermissionDefaultEdgeSelect = { select: OrgPermissionDefaultSelect; }; }; -/** A `CryptoAddress` edge in the connection. */ -export interface CryptoAddressEdge { +/** A `PhoneNumber` edge in the connection. */ +export interface PhoneNumberEdge { cursor?: string | null; - /** The `CryptoAddress` at the end of the edge. */ - node?: CryptoAddress | null; + /** The `PhoneNumber` at the end of the edge. */ + node?: PhoneNumber | null; } -export type CryptoAddressEdgeSelect = { +export type PhoneNumberEdgeSelect = { cursor?: boolean; node?: { - select: CryptoAddressSelect; + select: PhoneNumberSelect; }; }; /** A `AppLimitDefault` edge in the connection. */ @@ -18780,16 +20812,16 @@ export type ConnectedAccountEdgeSelect = { select: ConnectedAccountSelect; }; }; -/** A `PhoneNumber` edge in the connection. */ -export interface PhoneNumberEdge { +/** A `NodeTypeRegistry` edge in the connection. */ +export interface NodeTypeRegistryEdge { cursor?: string | null; - /** The `PhoneNumber` at the end of the edge. */ - node?: PhoneNumber | null; + /** The `NodeTypeRegistry` at the end of the edge. */ + node?: NodeTypeRegistry | null; } -export type PhoneNumberEdgeSelect = { +export type NodeTypeRegistryEdgeSelect = { cursor?: boolean; node?: { - select: PhoneNumberSelect; + select: NodeTypeRegistrySelect; }; }; /** A `MembershipType` edge in the connection. */ @@ -18804,18 +20836,6 @@ export type MembershipTypeEdgeSelect = { select: MembershipTypeSelect; }; }; -/** A `NodeTypeRegistry` edge in the connection. */ -export interface NodeTypeRegistryEdge { - cursor?: string | null; - /** The `NodeTypeRegistry` at the end of the edge. */ - node?: NodeTypeRegistry | null; -} -export type NodeTypeRegistryEdgeSelect = { - cursor?: boolean; - node?: { - select: NodeTypeRegistrySelect; - }; -}; /** A `AppMembershipDefault` edge in the connection. */ export interface AppMembershipDefaultEdge { cursor?: string | null; @@ -18828,6 +20848,18 @@ export type AppMembershipDefaultEdgeSelect = { select: AppMembershipDefaultSelect; }; }; +/** A `RlsModule` edge in the connection. */ +export interface RlsModuleEdge { + cursor?: string | null; + /** The `RlsModule` at the end of the edge. */ + node?: RlsModule | null; +} +export type RlsModuleEdgeSelect = { + cursor?: boolean; + node?: { + select: RlsModuleSelect; + }; +}; /** A `Commit` edge in the connection. */ export interface CommitEdge { cursor?: string | null; @@ -18888,18 +20920,6 @@ export type EmailEdgeSelect = { select: EmailSelect; }; }; -/** A `User` edge in the connection. */ -export interface UserEdge { - cursor?: string | null; - /** The `User` at the end of the edge. */ - node?: User | null; -} -export type UserEdgeSelect = { - cursor?: boolean; - node?: { - select: UserSelect; - }; -}; /** A `AppMembership` edge in the connection. */ export interface AppMembershipEdge { cursor?: string | null; @@ -18912,6 +20932,18 @@ export type AppMembershipEdgeSelect = { select: AppMembershipSelect; }; }; +/** A `User` edge in the connection. */ +export interface UserEdge { + cursor?: string | null; + /** The `User` at the end of the edge. */ + node?: User | null; +} +export type UserEdgeSelect = { + cursor?: boolean; + node?: { + select: UserSelect; + }; +}; /** A `HierarchyModule` edge in the connection. */ export interface HierarchyModuleEdge { cursor?: string | null; diff --git a/sdk/constructive-cli/src/public/orm/models/api.ts b/sdk/constructive-cli/src/public/orm/models/api.ts index 2995bb318..0533ae182 100644 --- a/sdk/constructive-cli/src/public/orm/models/api.ts +++ b/sdk/constructive-cli/src/public/orm/models/api.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/apiModule.ts b/sdk/constructive-cli/src/public/orm/models/apiModule.ts index 47b2be5f6..c4bc0a5c8 100644 --- a/sdk/constructive-cli/src/public/orm/models/apiModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/apiModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/apiSchema.ts b/sdk/constructive-cli/src/public/orm/models/apiSchema.ts index 4e6664741..46c1e4202 100644 --- a/sdk/constructive-cli/src/public/orm/models/apiSchema.ts +++ b/sdk/constructive-cli/src/public/orm/models/apiSchema.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiSchemaModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/app.ts b/sdk/constructive-cli/src/public/orm/models/app.ts index a851a9774..6bc04a7d8 100644 --- a/sdk/constructive-cli/src/public/orm/models/app.ts +++ b/sdk/constructive-cli/src/public/orm/models/app.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appAchievement.ts b/sdk/constructive-cli/src/public/orm/models/appAchievement.ts index c26bd04df..b6b13c6ca 100644 --- a/sdk/constructive-cli/src/public/orm/models/appAchievement.ts +++ b/sdk/constructive-cli/src/public/orm/models/appAchievement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAchievementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appAdminGrant.ts b/sdk/constructive-cli/src/public/orm/models/appAdminGrant.ts index 994dcd67d..e109a5074 100644 --- a/sdk/constructive-cli/src/public/orm/models/appAdminGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/appAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appGrant.ts b/sdk/constructive-cli/src/public/orm/models/appGrant.ts index df4f3ac72..d6c381d48 100644 --- a/sdk/constructive-cli/src/public/orm/models/appGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/appGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appLevel.ts b/sdk/constructive-cli/src/public/orm/models/appLevel.ts index 16a46df57..69e6100e0 100644 --- a/sdk/constructive-cli/src/public/orm/models/appLevel.ts +++ b/sdk/constructive-cli/src/public/orm/models/appLevel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appLevelRequirement.ts b/sdk/constructive-cli/src/public/orm/models/appLevelRequirement.ts index a67824ec2..085346af5 100644 --- a/sdk/constructive-cli/src/public/orm/models/appLevelRequirement.ts +++ b/sdk/constructive-cli/src/public/orm/models/appLevelRequirement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelRequirementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appLimit.ts b/sdk/constructive-cli/src/public/orm/models/appLimit.ts index 6671f9d37..667cf913e 100644 --- a/sdk/constructive-cli/src/public/orm/models/appLimit.ts +++ b/sdk/constructive-cli/src/public/orm/models/appLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appLimitDefault.ts b/sdk/constructive-cli/src/public/orm/models/appLimitDefault.ts index 8d926da0a..b2ca4d794 100644 --- a/sdk/constructive-cli/src/public/orm/models/appLimitDefault.ts +++ b/sdk/constructive-cli/src/public/orm/models/appLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appMembership.ts b/sdk/constructive-cli/src/public/orm/models/appMembership.ts index 2631ec415..fe22a66c1 100644 --- a/sdk/constructive-cli/src/public/orm/models/appMembership.ts +++ b/sdk/constructive-cli/src/public/orm/models/appMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appMembershipDefault.ts b/sdk/constructive-cli/src/public/orm/models/appMembershipDefault.ts index ba0c3ce53..333231b61 100644 --- a/sdk/constructive-cli/src/public/orm/models/appMembershipDefault.ts +++ b/sdk/constructive-cli/src/public/orm/models/appMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appOwnerGrant.ts b/sdk/constructive-cli/src/public/orm/models/appOwnerGrant.ts index a18dd21c4..0c2e436d0 100644 --- a/sdk/constructive-cli/src/public/orm/models/appOwnerGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/appOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appPermission.ts b/sdk/constructive-cli/src/public/orm/models/appPermission.ts index ab24d7bfc..c1740e8cc 100644 --- a/sdk/constructive-cli/src/public/orm/models/appPermission.ts +++ b/sdk/constructive-cli/src/public/orm/models/appPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appPermissionDefault.ts b/sdk/constructive-cli/src/public/orm/models/appPermissionDefault.ts index 3951ef4bb..926a76f55 100644 --- a/sdk/constructive-cli/src/public/orm/models/appPermissionDefault.ts +++ b/sdk/constructive-cli/src/public/orm/models/appPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/appStep.ts b/sdk/constructive-cli/src/public/orm/models/appStep.ts index 7c4ab983c..a6895d488 100644 --- a/sdk/constructive-cli/src/public/orm/models/appStep.ts +++ b/sdk/constructive-cli/src/public/orm/models/appStep.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppStepModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/astMigration.ts b/sdk/constructive-cli/src/public/orm/models/astMigration.ts index 8bab8cfd0..44b0d3469 100644 --- a/sdk/constructive-cli/src/public/orm/models/astMigration.ts +++ b/sdk/constructive-cli/src/public/orm/models/astMigration.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AstMigrationModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/auditLog.ts b/sdk/constructive-cli/src/public/orm/models/auditLog.ts index 3d6aacb4e..6923d2902 100644 --- a/sdk/constructive-cli/src/public/orm/models/auditLog.ts +++ b/sdk/constructive-cli/src/public/orm/models/auditLog.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AuditLogModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/checkConstraint.ts b/sdk/constructive-cli/src/public/orm/models/checkConstraint.ts index 3d789793d..511179b11 100644 --- a/sdk/constructive-cli/src/public/orm/models/checkConstraint.ts +++ b/sdk/constructive-cli/src/public/orm/models/checkConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CheckConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/claimedInvite.ts b/sdk/constructive-cli/src/public/orm/models/claimedInvite.ts index 9a679a488..2acbbcddc 100644 --- a/sdk/constructive-cli/src/public/orm/models/claimedInvite.ts +++ b/sdk/constructive-cli/src/public/orm/models/claimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/commit.ts b/sdk/constructive-cli/src/public/orm/models/commit.ts index 257e233ae..ea9aa22d2 100644 --- a/sdk/constructive-cli/src/public/orm/models/commit.ts +++ b/sdk/constructive-cli/src/public/orm/models/commit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CommitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/connectedAccount.ts b/sdk/constructive-cli/src/public/orm/models/connectedAccount.ts index 0f2523553..2c68e0072 100644 --- a/sdk/constructive-cli/src/public/orm/models/connectedAccount.ts +++ b/sdk/constructive-cli/src/public/orm/models/connectedAccount.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/connectedAccountsModule.ts b/sdk/constructive-cli/src/public/orm/models/connectedAccountsModule.ts index 09cb420e5..ee4816c47 100644 --- a/sdk/constructive-cli/src/public/orm/models/connectedAccountsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/connectedAccountsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/cryptoAddress.ts b/sdk/constructive-cli/src/public/orm/models/cryptoAddress.ts index 8d0c9b387..612da9a59 100644 --- a/sdk/constructive-cli/src/public/orm/models/cryptoAddress.ts +++ b/sdk/constructive-cli/src/public/orm/models/cryptoAddress.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/cryptoAddressesModule.ts b/sdk/constructive-cli/src/public/orm/models/cryptoAddressesModule.ts index 5c1de3024..134c2513f 100644 --- a/sdk/constructive-cli/src/public/orm/models/cryptoAddressesModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/cryptoAddressesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/cryptoAuthModule.ts b/sdk/constructive-cli/src/public/orm/models/cryptoAuthModule.ts index ddaa749f8..c17d4576f 100644 --- a/sdk/constructive-cli/src/public/orm/models/cryptoAuthModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/cryptoAuthModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAuthModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/database.ts b/sdk/constructive-cli/src/public/orm/models/database.ts index 9bb0c871a..78f7ea7ab 100644 --- a/sdk/constructive-cli/src/public/orm/models/database.ts +++ b/sdk/constructive-cli/src/public/orm/models/database.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DatabaseModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/databaseProvisionModule.ts b/sdk/constructive-cli/src/public/orm/models/databaseProvisionModule.ts index 31becee8c..a54fc9e33 100644 --- a/sdk/constructive-cli/src/public/orm/models/databaseProvisionModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/databaseProvisionModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DatabaseProvisionModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/defaultIdsModule.ts b/sdk/constructive-cli/src/public/orm/models/defaultIdsModule.ts index 665f3eb1e..9dd0ff2aa 100644 --- a/sdk/constructive-cli/src/public/orm/models/defaultIdsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/defaultIdsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DefaultIdsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/defaultPrivilege.ts b/sdk/constructive-cli/src/public/orm/models/defaultPrivilege.ts index 73079ad7f..d94bf3852 100644 --- a/sdk/constructive-cli/src/public/orm/models/defaultPrivilege.ts +++ b/sdk/constructive-cli/src/public/orm/models/defaultPrivilege.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DefaultPrivilegeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/denormalizedTableField.ts b/sdk/constructive-cli/src/public/orm/models/denormalizedTableField.ts index 111286e0e..0e0761fea 100644 --- a/sdk/constructive-cli/src/public/orm/models/denormalizedTableField.ts +++ b/sdk/constructive-cli/src/public/orm/models/denormalizedTableField.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DenormalizedTableFieldModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/domain.ts b/sdk/constructive-cli/src/public/orm/models/domain.ts index dcdb161a7..a7e531285 100644 --- a/sdk/constructive-cli/src/public/orm/models/domain.ts +++ b/sdk/constructive-cli/src/public/orm/models/domain.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DomainModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/email.ts b/sdk/constructive-cli/src/public/orm/models/email.ts index d03c2180b..c73b51b9d 100644 --- a/sdk/constructive-cli/src/public/orm/models/email.ts +++ b/sdk/constructive-cli/src/public/orm/models/email.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/emailsModule.ts b/sdk/constructive-cli/src/public/orm/models/emailsModule.ts index ab8058dfe..e03452b36 100644 --- a/sdk/constructive-cli/src/public/orm/models/emailsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/emailsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/encryptedSecretsModule.ts b/sdk/constructive-cli/src/public/orm/models/encryptedSecretsModule.ts index d82b79a8e..e2dd9387c 100644 --- a/sdk/constructive-cli/src/public/orm/models/encryptedSecretsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/encryptedSecretsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EncryptedSecretsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/field.ts b/sdk/constructive-cli/src/public/orm/models/field.ts index 6d54be6c0..e58fd8d55 100644 --- a/sdk/constructive-cli/src/public/orm/models/field.ts +++ b/sdk/constructive-cli/src/public/orm/models/field.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FieldModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/fieldModule.ts b/sdk/constructive-cli/src/public/orm/models/fieldModule.ts index e4a646053..8b5fc151c 100644 --- a/sdk/constructive-cli/src/public/orm/models/fieldModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/fieldModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FieldModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/foreignKeyConstraint.ts b/sdk/constructive-cli/src/public/orm/models/foreignKeyConstraint.ts index 725546cba..a0536d189 100644 --- a/sdk/constructive-cli/src/public/orm/models/foreignKeyConstraint.ts +++ b/sdk/constructive-cli/src/public/orm/models/foreignKeyConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ForeignKeyConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/fullTextSearch.ts b/sdk/constructive-cli/src/public/orm/models/fullTextSearch.ts index ef372d194..08daca1f4 100644 --- a/sdk/constructive-cli/src/public/orm/models/fullTextSearch.ts +++ b/sdk/constructive-cli/src/public/orm/models/fullTextSearch.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FullTextSearchModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/getAllRecord.ts b/sdk/constructive-cli/src/public/orm/models/getAllRecord.ts index 53873a0f3..94a06bdd9 100644 --- a/sdk/constructive-cli/src/public/orm/models/getAllRecord.ts +++ b/sdk/constructive-cli/src/public/orm/models/getAllRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class GetAllRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/hierarchyModule.ts b/sdk/constructive-cli/src/public/orm/models/hierarchyModule.ts index af2684505..5734d644a 100644 --- a/sdk/constructive-cli/src/public/orm/models/hierarchyModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/hierarchyModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class HierarchyModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/index.ts b/sdk/constructive-cli/src/public/orm/models/index.ts index 69c875e89..b871be98f 100644 --- a/sdk/constructive-cli/src/public/orm/models/index.ts +++ b/sdk/constructive-cli/src/public/orm/models/index.ts @@ -27,7 +27,6 @@ export { ViewModel } from './view'; export { ViewTableModel } from './viewTable'; export { ViewGrantModel } from './viewGrant'; export { ViewRuleModel } from './viewRule'; -export { TableModuleModel } from './tableModule'; export { TableTemplateModuleModel } from './tableTemplateModule'; export { SecureTableProvisionModel } from './secureTableProvision'; export { RelationProvisionModel } from './relationProvision'; @@ -59,7 +58,6 @@ export { MembershipsModuleModel } from './membershipsModule'; export { PermissionsModuleModel } from './permissionsModule'; export { PhoneNumbersModuleModel } from './phoneNumbersModule'; export { ProfilesModuleModel } from './profilesModule'; -export { RlsModuleModel } from './rlsModule'; export { SecretsModuleModel } from './secretsModule'; export { SessionsModuleModel } from './sessionsModule'; export { UserAuthModuleModel } from './userAuthModule'; @@ -87,23 +85,24 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite'; export { RefModel } from './ref'; export { StoreModel } from './store'; export { AppPermissionDefaultModel } from './appPermissionDefault'; +export { CryptoAddressModel } from './cryptoAddress'; export { RoleTypeModel } from './roleType'; export { OrgPermissionDefaultModel } from './orgPermissionDefault'; -export { CryptoAddressModel } from './cryptoAddress'; +export { PhoneNumberModel } from './phoneNumber'; export { AppLimitDefaultModel } from './appLimitDefault'; export { OrgLimitDefaultModel } from './orgLimitDefault'; export { ConnectedAccountModel } from './connectedAccount'; -export { PhoneNumberModel } from './phoneNumber'; -export { MembershipTypeModel } from './membershipType'; export { NodeTypeRegistryModel } from './nodeTypeRegistry'; +export { MembershipTypeModel } from './membershipType'; export { AppMembershipDefaultModel } from './appMembershipDefault'; +export { RlsModuleModel } from './rlsModule'; export { CommitModel } from './commit'; export { OrgMembershipDefaultModel } from './orgMembershipDefault'; export { AuditLogModel } from './auditLog'; export { AppLevelModel } from './appLevel'; -export { EmailModel } from './email'; export { SqlMigrationModel } from './sqlMigration'; +export { EmailModel } from './email'; export { AstMigrationModel } from './astMigration'; -export { UserModel } from './user'; export { AppMembershipModel } from './appMembership'; +export { UserModel } from './user'; export { HierarchyModuleModel } from './hierarchyModule'; diff --git a/sdk/constructive-cli/src/public/orm/models/indexModel.ts b/sdk/constructive-cli/src/public/orm/models/indexModel.ts index 4db3f2083..ffca4ea4c 100644 --- a/sdk/constructive-cli/src/public/orm/models/indexModel.ts +++ b/sdk/constructive-cli/src/public/orm/models/indexModel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class IndexModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/invite.ts b/sdk/constructive-cli/src/public/orm/models/invite.ts index ffacfa690..7cb652492 100644 --- a/sdk/constructive-cli/src/public/orm/models/invite.ts +++ b/sdk/constructive-cli/src/public/orm/models/invite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/invitesModule.ts b/sdk/constructive-cli/src/public/orm/models/invitesModule.ts index 8a25495cc..8e4d790c1 100644 --- a/sdk/constructive-cli/src/public/orm/models/invitesModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/invitesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InvitesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/levelsModule.ts b/sdk/constructive-cli/src/public/orm/models/levelsModule.ts index 4c0cedf16..dd05fdabb 100644 --- a/sdk/constructive-cli/src/public/orm/models/levelsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/levelsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class LevelsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/limitsModule.ts b/sdk/constructive-cli/src/public/orm/models/limitsModule.ts index a6976e0d3..a3ae43570 100644 --- a/sdk/constructive-cli/src/public/orm/models/limitsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/limitsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class LimitsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/membershipType.ts b/sdk/constructive-cli/src/public/orm/models/membershipType.ts index c8f385b4e..9bb48d29b 100644 --- a/sdk/constructive-cli/src/public/orm/models/membershipType.ts +++ b/sdk/constructive-cli/src/public/orm/models/membershipType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/membershipTypesModule.ts b/sdk/constructive-cli/src/public/orm/models/membershipTypesModule.ts index 35e412956..faf147781 100644 --- a/sdk/constructive-cli/src/public/orm/models/membershipTypesModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/membershipTypesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/membershipsModule.ts b/sdk/constructive-cli/src/public/orm/models/membershipsModule.ts index 106924932..e7be07de2 100644 --- a/sdk/constructive-cli/src/public/orm/models/membershipsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/membershipsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/nodeTypeRegistry.ts b/sdk/constructive-cli/src/public/orm/models/nodeTypeRegistry.ts index 021587a23..00f1fa304 100644 --- a/sdk/constructive-cli/src/public/orm/models/nodeTypeRegistry.ts +++ b/sdk/constructive-cli/src/public/orm/models/nodeTypeRegistry.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class NodeTypeRegistryModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/object.ts b/sdk/constructive-cli/src/public/orm/models/object.ts index 72f7b0da4..e6ffa470b 100644 --- a/sdk/constructive-cli/src/public/orm/models/object.ts +++ b/sdk/constructive-cli/src/public/orm/models/object.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ObjectModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgAdminGrant.ts b/sdk/constructive-cli/src/public/orm/models/orgAdminGrant.ts index ad34ec08c..5547eb6b9 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgAdminGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgChartEdge.ts b/sdk/constructive-cli/src/public/orm/models/orgChartEdge.ts index 3ff845429..00b00dfc8 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgChartEdge.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgChartEdge.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgChartEdgeGrant.ts b/sdk/constructive-cli/src/public/orm/models/orgChartEdgeGrant.ts index 40dba3391..be92222db 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgChartEdgeGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgChartEdgeGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgClaimedInvite.ts b/sdk/constructive-cli/src/public/orm/models/orgClaimedInvite.ts index 7b1a668ce..3f4277848 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgClaimedInvite.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgClaimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgGetManagersRecord.ts b/sdk/constructive-cli/src/public/orm/models/orgGetManagersRecord.ts index 9a0cefa8a..e8f5a29ec 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgGetManagersRecord.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgGetManagersRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetManagersRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgGetSubordinatesRecord.ts b/sdk/constructive-cli/src/public/orm/models/orgGetSubordinatesRecord.ts index 5eeec50ca..be9fa6a62 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgGetSubordinatesRecord.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgGetSubordinatesRecord.ts @@ -37,7 +37,12 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetSubordinatesRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs< + S, + OrgGetSubordinatesRecordFilter, + never, + OrgGetSubordinatesRecordsOrderBy + > & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgGrant.ts b/sdk/constructive-cli/src/public/orm/models/orgGrant.ts index 51ffe25e0..7142f7a22 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgInvite.ts b/sdk/constructive-cli/src/public/orm/models/orgInvite.ts index 351f866ab..abf2f2e35 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgInvite.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgLimit.ts b/sdk/constructive-cli/src/public/orm/models/orgLimit.ts index 787dd2e18..4fa9be97a 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgLimit.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgLimitDefault.ts b/sdk/constructive-cli/src/public/orm/models/orgLimitDefault.ts index b66e270b4..d0e0a1a77 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgLimitDefault.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgMember.ts b/sdk/constructive-cli/src/public/orm/models/orgMember.ts index 9045b10e0..4e8e3b6e5 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgMember.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgMember.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMemberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgMembership.ts b/sdk/constructive-cli/src/public/orm/models/orgMembership.ts index 7c5133b07..9ae89014b 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgMembership.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgMembershipDefault.ts b/sdk/constructive-cli/src/public/orm/models/orgMembershipDefault.ts index c4863e35b..c4afaaad7 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgMembershipDefault.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgOwnerGrant.ts b/sdk/constructive-cli/src/public/orm/models/orgOwnerGrant.ts index 57596aecd..d62bd3ab3 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgOwnerGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgPermission.ts b/sdk/constructive-cli/src/public/orm/models/orgPermission.ts index 9a2c0461f..6c4cbf204 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgPermission.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/orgPermissionDefault.ts b/sdk/constructive-cli/src/public/orm/models/orgPermissionDefault.ts index d6c204515..92af6e0db 100644 --- a/sdk/constructive-cli/src/public/orm/models/orgPermissionDefault.ts +++ b/sdk/constructive-cli/src/public/orm/models/orgPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/permissionsModule.ts b/sdk/constructive-cli/src/public/orm/models/permissionsModule.ts index 5f30fad1e..3d65c3247 100644 --- a/sdk/constructive-cli/src/public/orm/models/permissionsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/permissionsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PermissionsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/phoneNumber.ts b/sdk/constructive-cli/src/public/orm/models/phoneNumber.ts index 8122dff00..8b59ca891 100644 --- a/sdk/constructive-cli/src/public/orm/models/phoneNumber.ts +++ b/sdk/constructive-cli/src/public/orm/models/phoneNumber.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/phoneNumbersModule.ts b/sdk/constructive-cli/src/public/orm/models/phoneNumbersModule.ts index 26fdcfd2e..d8dbcded9 100644 --- a/sdk/constructive-cli/src/public/orm/models/phoneNumbersModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/phoneNumbersModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumbersModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/policy.ts b/sdk/constructive-cli/src/public/orm/models/policy.ts index 146ac30f5..2d5ad766b 100644 --- a/sdk/constructive-cli/src/public/orm/models/policy.ts +++ b/sdk/constructive-cli/src/public/orm/models/policy.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PolicyModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/primaryKeyConstraint.ts b/sdk/constructive-cli/src/public/orm/models/primaryKeyConstraint.ts index 296ec2848..e339fd46c 100644 --- a/sdk/constructive-cli/src/public/orm/models/primaryKeyConstraint.ts +++ b/sdk/constructive-cli/src/public/orm/models/primaryKeyConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PrimaryKeyConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/profilesModule.ts b/sdk/constructive-cli/src/public/orm/models/profilesModule.ts index 2970a1f49..3d52c22c5 100644 --- a/sdk/constructive-cli/src/public/orm/models/profilesModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/profilesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ProfilesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/ref.ts b/sdk/constructive-cli/src/public/orm/models/ref.ts index ec666a8e7..bbbefc91f 100644 --- a/sdk/constructive-cli/src/public/orm/models/ref.ts +++ b/sdk/constructive-cli/src/public/orm/models/ref.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RefModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/relationProvision.ts b/sdk/constructive-cli/src/public/orm/models/relationProvision.ts index 83dcb30fd..8d8fc6b12 100644 --- a/sdk/constructive-cli/src/public/orm/models/relationProvision.ts +++ b/sdk/constructive-cli/src/public/orm/models/relationProvision.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RelationProvisionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/rlsModule.ts b/sdk/constructive-cli/src/public/orm/models/rlsModule.ts index 4729eb1b3..71d863919 100644 --- a/sdk/constructive-cli/src/public/orm/models/rlsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/rlsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RlsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/roleType.ts b/sdk/constructive-cli/src/public/orm/models/roleType.ts index dce555ddb..90a0b01dc 100644 --- a/sdk/constructive-cli/src/public/orm/models/roleType.ts +++ b/sdk/constructive-cli/src/public/orm/models/roleType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RoleTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/schema.ts b/sdk/constructive-cli/src/public/orm/models/schema.ts index e930fee2b..5f6660fe0 100644 --- a/sdk/constructive-cli/src/public/orm/models/schema.ts +++ b/sdk/constructive-cli/src/public/orm/models/schema.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SchemaModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/schemaGrant.ts b/sdk/constructive-cli/src/public/orm/models/schemaGrant.ts index 7a311cdb9..78813289e 100644 --- a/sdk/constructive-cli/src/public/orm/models/schemaGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/schemaGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SchemaGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/secretsModule.ts b/sdk/constructive-cli/src/public/orm/models/secretsModule.ts index 55d75dad4..c980e5c8a 100644 --- a/sdk/constructive-cli/src/public/orm/models/secretsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/secretsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SecretsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/secureTableProvision.ts b/sdk/constructive-cli/src/public/orm/models/secureTableProvision.ts index 713dc44c8..f3a438581 100644 --- a/sdk/constructive-cli/src/public/orm/models/secureTableProvision.ts +++ b/sdk/constructive-cli/src/public/orm/models/secureTableProvision.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SecureTableProvisionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/sessionsModule.ts b/sdk/constructive-cli/src/public/orm/models/sessionsModule.ts index 5245d808b..724f530df 100644 --- a/sdk/constructive-cli/src/public/orm/models/sessionsModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/sessionsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SessionsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/site.ts b/sdk/constructive-cli/src/public/orm/models/site.ts index 83b54cc55..65ac6affd 100644 --- a/sdk/constructive-cli/src/public/orm/models/site.ts +++ b/sdk/constructive-cli/src/public/orm/models/site.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/siteMetadatum.ts b/sdk/constructive-cli/src/public/orm/models/siteMetadatum.ts index 38353bdd3..9bafa6686 100644 --- a/sdk/constructive-cli/src/public/orm/models/siteMetadatum.ts +++ b/sdk/constructive-cli/src/public/orm/models/siteMetadatum.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteMetadatumModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/siteModule.ts b/sdk/constructive-cli/src/public/orm/models/siteModule.ts index 59ee85477..b5215f5ee 100644 --- a/sdk/constructive-cli/src/public/orm/models/siteModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/siteModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/siteTheme.ts b/sdk/constructive-cli/src/public/orm/models/siteTheme.ts index e9222e3c5..68707da06 100644 --- a/sdk/constructive-cli/src/public/orm/models/siteTheme.ts +++ b/sdk/constructive-cli/src/public/orm/models/siteTheme.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteThemeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/sqlMigration.ts b/sdk/constructive-cli/src/public/orm/models/sqlMigration.ts index 07bba36b7..29bec4157 100644 --- a/sdk/constructive-cli/src/public/orm/models/sqlMigration.ts +++ b/sdk/constructive-cli/src/public/orm/models/sqlMigration.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SqlMigrationModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/store.ts b/sdk/constructive-cli/src/public/orm/models/store.ts index d6f5e0450..5481b44b9 100644 --- a/sdk/constructive-cli/src/public/orm/models/store.ts +++ b/sdk/constructive-cli/src/public/orm/models/store.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class StoreModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/table.ts b/sdk/constructive-cli/src/public/orm/models/table.ts index 25f1ac127..5f875bd7f 100644 --- a/sdk/constructive-cli/src/public/orm/models/table.ts +++ b/sdk/constructive-cli/src/public/orm/models/table.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/tableGrant.ts b/sdk/constructive-cli/src/public/orm/models/tableGrant.ts index bdd257b1e..eb85d3409 100644 --- a/sdk/constructive-cli/src/public/orm/models/tableGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/tableGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/tableModule.ts b/sdk/constructive-cli/src/public/orm/models/tableModule.ts deleted file mode 100644 index 708e7a4c5..000000000 --- a/sdk/constructive-cli/src/public/orm/models/tableModule.ts +++ /dev/null @@ -1,236 +0,0 @@ -/** - * TableModule model for ORM client - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ -import { OrmClient } from '../client'; -import { - QueryBuilder, - buildFindManyDocument, - buildFindFirstDocument, - buildFindOneDocument, - buildCreateDocument, - buildUpdateByPkDocument, - buildDeleteByPkDocument, -} from '../query-builder'; -import type { - ConnectionResult, - FindManyArgs, - FindFirstArgs, - CreateArgs, - UpdateArgs, - DeleteArgs, - InferSelectResult, - StrictSelect, -} from '../select-types'; -import type { - TableModule, - TableModuleWithRelations, - TableModuleSelect, - TableModuleFilter, - TableModuleOrderBy, - CreateTableModuleInput, - UpdateTableModuleInput, - TableModulePatch, -} from '../input-types'; -import { connectionFieldsMap } from '../input-types'; -export class TableModuleModel { - constructor(private client: OrmClient) {} - findMany( - args: FindManyArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModules: ConnectionResult>; - }> { - const { document, variables } = buildFindManyDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: args?.where, - orderBy: args?.orderBy as string[] | undefined, - first: args?.first, - last: args?.last, - after: args?.after, - before: args?.before, - offset: args?.offset, - }, - 'TableModuleFilter', - 'TableModuleOrderBy', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModules', - document, - variables, - }); - } - findFirst( - args: FindFirstArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModules: { - nodes: InferSelectResult[]; - }; - }> { - const { document, variables } = buildFindFirstDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: args?.where, - }, - 'TableModuleFilter', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModules', - document, - variables, - }); - } - findOne( - args: { - id: string; - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModule: InferSelectResult | null; - }> { - const { document, variables } = buildFindManyDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: { - id: { - equalTo: args.id, - }, - }, - first: 1, - }, - 'TableModuleFilter', - 'TableModuleOrderBy', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModule', - document, - variables, - transform: (data: { - tableModules?: { - nodes?: InferSelectResult[]; - }; - }) => ({ - tableModule: data.tableModules?.nodes?.[0] ?? null, - }), - }); - } - create( - args: CreateArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - createTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildCreateDocument( - 'TableModule', - 'createTableModule', - 'tableModule', - args.select, - args.data, - 'CreateTableModuleInput', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'createTableModule', - document, - variables, - }); - } - update( - args: UpdateArgs< - S, - { - id: string; - }, - TableModulePatch - > & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - updateTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildUpdateByPkDocument( - 'TableModule', - 'updateTableModule', - 'tableModule', - args.select, - args.where.id, - args.data, - 'UpdateTableModuleInput', - 'id', - 'tableModulePatch', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'updateTableModule', - document, - variables, - }); - } - delete( - args: DeleteArgs< - { - id: string; - }, - S - > & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - deleteTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildDeleteByPkDocument( - 'TableModule', - 'deleteTableModule', - 'tableModule', - args.where.id, - 'DeleteTableModuleInput', - 'id', - args.select, - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'deleteTableModule', - document, - variables, - }); - } -} diff --git a/sdk/constructive-cli/src/public/orm/models/tableTemplateModule.ts b/sdk/constructive-cli/src/public/orm/models/tableTemplateModule.ts index 7438901cc..4bb1225ec 100644 --- a/sdk/constructive-cli/src/public/orm/models/tableTemplateModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/tableTemplateModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableTemplateModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/trigger.ts b/sdk/constructive-cli/src/public/orm/models/trigger.ts index 3ad1cf6ad..2839fac37 100644 --- a/sdk/constructive-cli/src/public/orm/models/trigger.ts +++ b/sdk/constructive-cli/src/public/orm/models/trigger.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TriggerModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/triggerFunction.ts b/sdk/constructive-cli/src/public/orm/models/triggerFunction.ts index 7e93572c1..5a9f1ccae 100644 --- a/sdk/constructive-cli/src/public/orm/models/triggerFunction.ts +++ b/sdk/constructive-cli/src/public/orm/models/triggerFunction.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TriggerFunctionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/uniqueConstraint.ts b/sdk/constructive-cli/src/public/orm/models/uniqueConstraint.ts index ad935fcca..c8de8b9fd 100644 --- a/sdk/constructive-cli/src/public/orm/models/uniqueConstraint.ts +++ b/sdk/constructive-cli/src/public/orm/models/uniqueConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UniqueConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/user.ts b/sdk/constructive-cli/src/public/orm/models/user.ts index 7adeca16a..bc2dacdba 100644 --- a/sdk/constructive-cli/src/public/orm/models/user.ts +++ b/sdk/constructive-cli/src/public/orm/models/user.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/userAuthModule.ts b/sdk/constructive-cli/src/public/orm/models/userAuthModule.ts index 59b3f7d69..3ee00a8eb 100644 --- a/sdk/constructive-cli/src/public/orm/models/userAuthModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/userAuthModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserAuthModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/usersModule.ts b/sdk/constructive-cli/src/public/orm/models/usersModule.ts index c61a00ff1..3682dbb29 100644 --- a/sdk/constructive-cli/src/public/orm/models/usersModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/usersModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UsersModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/uuidModule.ts b/sdk/constructive-cli/src/public/orm/models/uuidModule.ts index 1b2f60f23..9a95fd500 100644 --- a/sdk/constructive-cli/src/public/orm/models/uuidModule.ts +++ b/sdk/constructive-cli/src/public/orm/models/uuidModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UuidModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/view.ts b/sdk/constructive-cli/src/public/orm/models/view.ts index d28154954..1bdab5036 100644 --- a/sdk/constructive-cli/src/public/orm/models/view.ts +++ b/sdk/constructive-cli/src/public/orm/models/view.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/viewGrant.ts b/sdk/constructive-cli/src/public/orm/models/viewGrant.ts index e63ef2382..7c0552242 100644 --- a/sdk/constructive-cli/src/public/orm/models/viewGrant.ts +++ b/sdk/constructive-cli/src/public/orm/models/viewGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/viewRule.ts b/sdk/constructive-cli/src/public/orm/models/viewRule.ts index 4bf9c2cca..33a361252 100644 --- a/sdk/constructive-cli/src/public/orm/models/viewRule.ts +++ b/sdk/constructive-cli/src/public/orm/models/viewRule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewRuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/models/viewTable.ts b/sdk/constructive-cli/src/public/orm/models/viewTable.ts index f976d31af..d44582086 100644 --- a/sdk/constructive-cli/src/public/orm/models/viewTable.ts +++ b/sdk/constructive-cli/src/public/orm/models/viewTable.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewTableModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-cli/src/public/orm/mutation/index.ts b/sdk/constructive-cli/src/public/orm/mutation/index.ts index f8ef22b51..43b9fc6e9 100644 --- a/sdk/constructive-cli/src/public/orm/mutation/index.ts +++ b/sdk/constructive-cli/src/public/orm/mutation/index.ts @@ -18,8 +18,8 @@ import type { SetPasswordInput, VerifyEmailInput, ResetPasswordInput, - RemoveNodeAtPathInput, BootstrapUserInput, + RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, @@ -49,8 +49,8 @@ import type { SetPasswordPayload, VerifyEmailPayload, ResetPasswordPayload, - RemoveNodeAtPathPayload, BootstrapUserPayload, + RemoveNodeAtPathPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, @@ -80,8 +80,8 @@ import type { SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ResetPasswordPayloadSelect, - RemoveNodeAtPathPayloadSelect, BootstrapUserPayloadSelect, + RemoveNodeAtPathPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, @@ -135,12 +135,12 @@ export interface VerifyEmailVariables { export interface ResetPasswordVariables { input: ResetPasswordInput; } -export interface RemoveNodeAtPathVariables { - input: RemoveNodeAtPathInput; -} export interface BootstrapUserVariables { input: BootstrapUserInput; } +export interface RemoveNodeAtPathVariables { + input: RemoveNodeAtPathInput; +} export interface SetDataAtPathVariables { input: SetDataAtPathInput; } @@ -535,62 +535,62 @@ export function createMutationOperations(client: OrmClient) { 'ResetPasswordPayload' ), }), - removeNodeAtPath: ( - args: RemoveNodeAtPathVariables, + bootstrapUser: ( + args: BootstrapUserVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - removeNodeAtPath: InferSelectResult | null; + bootstrapUser: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'RemoveNodeAtPath', - fieldName: 'removeNodeAtPath', + operationName: 'BootstrapUser', + fieldName: 'bootstrapUser', ...buildCustomDocument( 'mutation', - 'RemoveNodeAtPath', - 'removeNodeAtPath', + 'BootstrapUser', + 'bootstrapUser', options.select, args, [ { name: 'input', - type: 'RemoveNodeAtPathInput!', + type: 'BootstrapUserInput!', }, ], connectionFieldsMap, - 'RemoveNodeAtPathPayload' + 'BootstrapUserPayload' ), }), - bootstrapUser: ( - args: BootstrapUserVariables, + removeNodeAtPath: ( + args: RemoveNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - bootstrapUser: InferSelectResult | null; + removeNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'BootstrapUser', - fieldName: 'bootstrapUser', + operationName: 'RemoveNodeAtPath', + fieldName: 'removeNodeAtPath', ...buildCustomDocument( 'mutation', - 'BootstrapUser', - 'bootstrapUser', + 'RemoveNodeAtPath', + 'removeNodeAtPath', options.select, args, [ { name: 'input', - type: 'BootstrapUserInput!', + type: 'RemoveNodeAtPathInput!', }, ], connectionFieldsMap, - 'BootstrapUserPayload' + 'RemoveNodeAtPathPayload' ), }), setDataAtPath: ( diff --git a/sdk/constructive-cli/src/public/orm/query-builder.ts b/sdk/constructive-cli/src/public/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-cli/src/public/orm/query-builder.ts +++ b/sdk/constructive-cli/src/public/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/sdk/constructive-react/src/admin/hooks/README.md b/sdk/constructive-react/src/admin/hooks/README.md index 3e0c146a3..8bea00b89 100644 --- a/sdk/constructive-react/src/admin/hooks/README.md +++ b/sdk/constructive-react/src/admin/hooks/README.md @@ -96,16 +96,16 @@ function App() { | `useCreateOrgLimitDefaultMutation` | Mutation | Default maximum values for each named limit, applied when no per-actor override exists | | `useUpdateOrgLimitDefaultMutation` | Mutation | Default maximum values for each named limit, applied when no per-actor override exists | | `useDeleteOrgLimitDefaultMutation` | Mutation | Default maximum values for each named limit, applied when no per-actor override exists | -| `useMembershipTypesQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useMembershipTypeQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useCreateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useUpdateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useDeleteMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | | `useOrgChartEdgeGrantsQuery` | Query | Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table | | `useOrgChartEdgeGrantQuery` | Query | Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table | | `useCreateOrgChartEdgeGrantMutation` | Mutation | Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table | | `useUpdateOrgChartEdgeGrantMutation` | Mutation | Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table | | `useDeleteOrgChartEdgeGrantMutation` | Mutation | Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table | +| `useMembershipTypesQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useMembershipTypeQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useCreateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useUpdateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useDeleteMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | | `useAppLimitsQuery` | Query | Tracks per-actor usage counts against configurable maximum limits | | `useAppLimitQuery` | Query | Tracks per-actor usage counts against configurable maximum limits | | `useCreateAppLimitMutation` | Mutation | Tracks per-actor usage counts against configurable maximum limits | @@ -161,16 +161,6 @@ function App() { | `useCreateOrgMembershipDefaultMutation` | Mutation | Default membership settings per entity, controlling initial approval and verification state for new members | | `useUpdateOrgMembershipDefaultMutation` | Mutation | Default membership settings per entity, controlling initial approval and verification state for new members | | `useDeleteOrgMembershipDefaultMutation` | Mutation | Default membership settings per entity, controlling initial approval and verification state for new members | -| `useInvitesQuery` | Query | Invitation records sent to prospective members via email, with token-based redemption and expiration | -| `useInviteQuery` | Query | Invitation records sent to prospective members via email, with token-based redemption and expiration | -| `useCreateInviteMutation` | Mutation | Invitation records sent to prospective members via email, with token-based redemption and expiration | -| `useUpdateInviteMutation` | Mutation | Invitation records sent to prospective members via email, with token-based redemption and expiration | -| `useDeleteInviteMutation` | Mutation | Invitation records sent to prospective members via email, with token-based redemption and expiration | -| `useAppLevelsQuery` | Query | Defines available levels that users can achieve by completing requirements | -| `useAppLevelQuery` | Query | Defines available levels that users can achieve by completing requirements | -| `useCreateAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | -| `useUpdateAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | -| `useDeleteAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | | `useAppMembershipsQuery` | Query | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useAppMembershipQuery` | Query | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useCreateAppMembershipMutation` | Mutation | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | @@ -181,6 +171,16 @@ function App() { | `useCreateOrgMembershipMutation` | Mutation | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useUpdateOrgMembershipMutation` | Mutation | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useDeleteOrgMembershipMutation` | Mutation | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | +| `useInvitesQuery` | Query | Invitation records sent to prospective members via email, with token-based redemption and expiration | +| `useInviteQuery` | Query | Invitation records sent to prospective members via email, with token-based redemption and expiration | +| `useCreateInviteMutation` | Mutation | Invitation records sent to prospective members via email, with token-based redemption and expiration | +| `useUpdateInviteMutation` | Mutation | Invitation records sent to prospective members via email, with token-based redemption and expiration | +| `useDeleteInviteMutation` | Mutation | Invitation records sent to prospective members via email, with token-based redemption and expiration | +| `useAppLevelsQuery` | Query | Defines available levels that users can achieve by completing requirements | +| `useAppLevelQuery` | Query | Defines available levels that users can achieve by completing requirements | +| `useCreateAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | +| `useUpdateAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | +| `useDeleteAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | | `useOrgInvitesQuery` | Query | Invitation records sent to prospective members via email, with token-based redemption and expiration | | `useOrgInviteQuery` | Query | Invitation records sent to prospective members via email, with token-based redemption and expiration | | `useCreateOrgInviteMutation` | Mutation | Invitation records sent to prospective members via email, with token-based redemption and expiration | @@ -237,20 +237,20 @@ create({ userId: '', depth: '' }); ```typescript // List all appPermissions const { data, isLoading } = useAppPermissionsQuery({ - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Get one appPermission const { data: item } = useAppPermissionQuery({ id: '', - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a appPermission const { mutate: create } = useCreateAppPermissionMutation({ selection: { fields: { id: true } }, }); -create({ name: '', bitnum: '', bitstr: '', description: '' }); +create({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### OrgPermission @@ -258,20 +258,20 @@ create({ name: '', bitnum: '', bitstr: '', description: '', - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a orgPermission const { mutate: create } = useCreateOrgPermissionMutation({ selection: { fields: { id: true } }, }); -create({ name: '', bitnum: '', bitstr: '', description: '' }); +create({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### AppLevelRequirement @@ -279,20 +279,20 @@ create({ name: '', bitnum: '', bitstr: '', description: '', - selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a appLevelRequirement const { mutate: create } = useCreateAppLevelRequirementMutation({ selection: { fields: { id: true } }, }); -create({ name: '', level: '', description: '', requiredCount: '', priority: '' }); +create({ name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### OrgMember @@ -484,46 +484,46 @@ const { mutate: create } = useCreateOrgLimitDefaultMutation({ create({ name: '', max: '' }); ``` -### MembershipType +### OrgChartEdgeGrant ```typescript -// List all membershipTypes -const { data, isLoading } = useMembershipTypesQuery({ - selection: { fields: { id: true, name: true, description: true, prefix: true } }, +// List all orgChartEdgeGrants +const { data, isLoading } = useOrgChartEdgeGrantsQuery({ + selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); -// Get one membershipType -const { data: item } = useMembershipTypeQuery({ +// Get one orgChartEdgeGrant +const { data: item } = useOrgChartEdgeGrantQuery({ id: '', - selection: { fields: { id: true, name: true, description: true, prefix: true } }, + selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); -// Create a membershipType -const { mutate: create } = useCreateMembershipTypeMutation({ +// Create a orgChartEdgeGrant +const { mutate: create } = useCreateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } }, }); -create({ name: '', description: '', prefix: '' }); +create({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` -### OrgChartEdgeGrant +### MembershipType ```typescript -// List all orgChartEdgeGrants -const { data, isLoading } = useOrgChartEdgeGrantsQuery({ - selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }, +// List all membershipTypes +const { data, isLoading } = useMembershipTypesQuery({ + selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); -// Get one orgChartEdgeGrant -const { data: item } = useOrgChartEdgeGrantQuery({ +// Get one membershipType +const { data: item } = useMembershipTypeQuery({ id: '', - selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }, + selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); -// Create a orgChartEdgeGrant -const { mutate: create } = useCreateOrgChartEdgeGrantMutation({ +// Create a membershipType +const { mutate: create } = useCreateMembershipTypeMutation({ selection: { fields: { id: true } }, }); -create({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }); +create({ name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` ### AppLimit @@ -720,20 +720,20 @@ create({ permissions: '', isGrant: '', actorId: '', entityI ```typescript // List all orgChartEdges const { data, isLoading } = useOrgChartEdgesQuery({ - selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); // Get one orgChartEdge const { data: item } = useOrgChartEdgeQuery({ id: '', - selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); // Create a orgChartEdge const { mutate: create } = useCreateOrgChartEdgeMutation({ selection: { fields: { id: true } }, }); -create({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }); +create({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` ### OrgMembershipDefault @@ -757,88 +757,88 @@ const { mutate: create } = useCreateOrgMembershipDefaultMutation({ create({ createdBy: '', updatedBy: '', isApproved: '', entityId: '', deleteMemberCascadeGroups: '', createGroupsCascadeMembers: '' }); ``` -### Invite +### AppMembership ```typescript -// List all invites -const { data, isLoading } = useInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }, +// List all appMemberships +const { data, isLoading } = useAppMembershipsQuery({ + selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, }); -// Get one invite -const { data: item } = useInviteQuery({ +// Get one appMembership +const { data: item } = useAppMembershipQuery({ id: '', - selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, }); -// Create a invite -const { mutate: create } = useCreateInviteMutation({ +// Create a appMembership +const { mutate: create } = useCreateAppMembershipMutation({ selection: { fields: { id: true } }, }); -create({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }); +create({ createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }); ``` -### AppLevel +### OrgMembership ```typescript -// List all appLevels -const { data, isLoading } = useAppLevelsQuery({ - selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }, +// List all orgMemberships +const { data, isLoading } = useOrgMembershipsQuery({ + selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }, }); -// Get one appLevel -const { data: item } = useAppLevelQuery({ +// Get one orgMembership +const { data: item } = useOrgMembershipQuery({ id: '', - selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }, }); -// Create a appLevel -const { mutate: create } = useCreateAppLevelMutation({ +// Create a orgMembership +const { mutate: create } = useCreateOrgMembershipMutation({ selection: { fields: { id: true } }, }); -create({ name: '', description: '', image: '', ownerId: '' }); +create({ createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }); ``` -### AppMembership +### Invite ```typescript -// List all appMemberships -const { data, isLoading } = useAppMembershipsQuery({ - selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, +// List all invites +const { data, isLoading } = useInvitesQuery({ + selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); -// Get one appMembership -const { data: item } = useAppMembershipQuery({ +// Get one invite +const { data: item } = useInviteQuery({ id: '', - selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, + selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); -// Create a appMembership -const { mutate: create } = useCreateAppMembershipMutation({ +// Create a invite +const { mutate: create } = useCreateInviteMutation({ selection: { fields: { id: true } }, }); -create({ createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }); +create({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` -### OrgMembership +### AppLevel ```typescript -// List all orgMemberships -const { data, isLoading } = useOrgMembershipsQuery({ - selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }, +// List all appLevels +const { data, isLoading } = useAppLevelsQuery({ + selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); -// Get one orgMembership -const { data: item } = useOrgMembershipQuery({ +// Get one appLevel +const { data: item } = useAppLevelQuery({ id: '', - selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }, + selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); -// Create a orgMembership -const { mutate: create } = useCreateOrgMembershipMutation({ +// Create a appLevel +const { mutate: create } = useCreateAppLevelMutation({ selection: { fields: { id: true } }, }); -create({ createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }); +create({ name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### OrgInvite @@ -846,20 +846,20 @@ create({ createdBy: '', updatedBy: '', isApproved: '', isBa ```typescript // List all orgInvites const { data, isLoading } = useOrgInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }, + selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); // Get one orgInvite const { data: item } = useOrgInviteQuery({ id: '', - selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }, + selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); // Create a orgInvite const { mutate: create } = useCreateOrgInviteMutation({ selection: { fields: { id: true } }, }); -create({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }); +create({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` ## Custom Operation Hooks diff --git a/sdk/constructive-react/src/admin/hooks/index.ts b/sdk/constructive-react/src/admin/hooks/index.ts index 6a8186143..453c29995 100644 --- a/sdk/constructive-react/src/admin/hooks/index.ts +++ b/sdk/constructive-react/src/admin/hooks/index.ts @@ -2,7 +2,7 @@ * GraphQL SDK * @generated by @constructive-io/graphql-codegen * - * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, AppPermission, OrgPermission, AppLevelRequirement, OrgMember, AppPermissionDefault, OrgPermissionDefault, AppAdminGrant, AppOwnerGrant, OrgAdminGrant, OrgOwnerGrant, AppLimitDefault, OrgLimitDefault, MembershipType, OrgChartEdgeGrant, AppLimit, AppAchievement, AppStep, ClaimedInvite, AppGrant, AppMembershipDefault, OrgLimit, OrgClaimedInvite, OrgGrant, OrgChartEdge, OrgMembershipDefault, Invite, AppLevel, AppMembership, OrgMembership, OrgInvite + * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, AppPermission, OrgPermission, AppLevelRequirement, OrgMember, AppPermissionDefault, OrgPermissionDefault, AppAdminGrant, AppOwnerGrant, OrgAdminGrant, OrgOwnerGrant, AppLimitDefault, OrgLimitDefault, OrgChartEdgeGrant, MembershipType, AppLimit, AppAchievement, AppStep, ClaimedInvite, AppGrant, AppMembershipDefault, OrgLimit, OrgClaimedInvite, OrgGrant, OrgChartEdge, OrgMembershipDefault, AppMembership, OrgMembership, Invite, AppLevel, OrgInvite * * Usage: * diff --git a/sdk/constructive-react/src/admin/hooks/invalidation.ts b/sdk/constructive-react/src/admin/hooks/invalidation.ts index 4566d1c2e..bcb86afc6 100644 --- a/sdk/constructive-react/src/admin/hooks/invalidation.ts +++ b/sdk/constructive-react/src/admin/hooks/invalidation.ts @@ -29,8 +29,8 @@ import { orgOwnerGrantKeys, appLimitDefaultKeys, orgLimitDefaultKeys, - membershipTypeKeys, orgChartEdgeGrantKeys, + membershipTypeKeys, appLimitKeys, appAchievementKeys, appStepKeys, @@ -42,10 +42,10 @@ import { orgGrantKeys, orgChartEdgeKeys, orgMembershipDefaultKeys, - inviteKeys, - appLevelKeys, appMembershipKeys, orgMembershipKeys, + inviteKeys, + appLevelKeys, orgInviteKeys, } from './query-keys'; /** @@ -306,38 +306,38 @@ export const invalidate = { queryKey: orgLimitDefaultKeys.detail(id), }), }, - /** Invalidate membershipType queries */ membershipType: { - /** Invalidate all membershipType queries */ all: (queryClient: QueryClient) => + /** Invalidate orgChartEdgeGrant queries */ orgChartEdgeGrant: { + /** Invalidate all orgChartEdgeGrant queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: membershipTypeKeys.all, + queryKey: orgChartEdgeGrantKeys.all, }), - /** Invalidate membershipType list queries */ lists: (queryClient: QueryClient) => + /** Invalidate orgChartEdgeGrant list queries */ lists: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: membershipTypeKeys.lists(), + queryKey: orgChartEdgeGrantKeys.lists(), }), - /** Invalidate a specific membershipType */ detail: ( + /** Invalidate a specific orgChartEdgeGrant */ detail: ( queryClient: QueryClient, id: string | number ) => queryClient.invalidateQueries({ - queryKey: membershipTypeKeys.detail(id), + queryKey: orgChartEdgeGrantKeys.detail(id), }), }, - /** Invalidate orgChartEdgeGrant queries */ orgChartEdgeGrant: { - /** Invalidate all orgChartEdgeGrant queries */ all: (queryClient: QueryClient) => + /** Invalidate membershipType queries */ membershipType: { + /** Invalidate all membershipType queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: orgChartEdgeGrantKeys.all, + queryKey: membershipTypeKeys.all, }), - /** Invalidate orgChartEdgeGrant list queries */ lists: (queryClient: QueryClient) => + /** Invalidate membershipType list queries */ lists: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: orgChartEdgeGrantKeys.lists(), + queryKey: membershipTypeKeys.lists(), }), - /** Invalidate a specific orgChartEdgeGrant */ detail: ( + /** Invalidate a specific membershipType */ detail: ( queryClient: QueryClient, id: string | number ) => queryClient.invalidateQueries({ - queryKey: orgChartEdgeGrantKeys.detail(id), + queryKey: membershipTypeKeys.detail(id), }), }, /** Invalidate appLimit queries */ appLimit: { @@ -512,34 +512,6 @@ export const invalidate = { queryKey: orgMembershipDefaultKeys.detail(id), }), }, - /** Invalidate invite queries */ invite: { - /** Invalidate all invite queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: inviteKeys.all, - }), - /** Invalidate invite list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: inviteKeys.lists(), - }), - /** Invalidate a specific invite */ detail: (queryClient: QueryClient, id: string | number) => - queryClient.invalidateQueries({ - queryKey: inviteKeys.detail(id), - }), - }, - /** Invalidate appLevel queries */ appLevel: { - /** Invalidate all appLevel queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: appLevelKeys.all, - }), - /** Invalidate appLevel list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: appLevelKeys.lists(), - }), - /** Invalidate a specific appLevel */ detail: (queryClient: QueryClient, id: string | number) => - queryClient.invalidateQueries({ - queryKey: appLevelKeys.detail(id), - }), - }, /** Invalidate appMembership queries */ appMembership: { /** Invalidate all appMembership queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -574,6 +546,34 @@ export const invalidate = { queryKey: orgMembershipKeys.detail(id), }), }, + /** Invalidate invite queries */ invite: { + /** Invalidate all invite queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: inviteKeys.all, + }), + /** Invalidate invite list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: inviteKeys.lists(), + }), + /** Invalidate a specific invite */ detail: (queryClient: QueryClient, id: string | number) => + queryClient.invalidateQueries({ + queryKey: inviteKeys.detail(id), + }), + }, + /** Invalidate appLevel queries */ appLevel: { + /** Invalidate all appLevel queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: appLevelKeys.all, + }), + /** Invalidate appLevel list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: appLevelKeys.lists(), + }), + /** Invalidate a specific appLevel */ detail: (queryClient: QueryClient, id: string | number) => + queryClient.invalidateQueries({ + queryKey: appLevelKeys.detail(id), + }), + }, /** Invalidate orgInvite queries */ orgInvite: { /** Invalidate all orgInvite queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -713,20 +713,20 @@ export const remove = { queryKey: orgLimitDefaultKeys.detail(id), }); }, - /** Remove membershipType from cache */ membershipType: ( + /** Remove orgChartEdgeGrant from cache */ orgChartEdgeGrant: ( queryClient: QueryClient, id: string | number ) => { queryClient.removeQueries({ - queryKey: membershipTypeKeys.detail(id), + queryKey: orgChartEdgeGrantKeys.detail(id), }); }, - /** Remove orgChartEdgeGrant from cache */ orgChartEdgeGrant: ( + /** Remove membershipType from cache */ membershipType: ( queryClient: QueryClient, id: string | number ) => { queryClient.removeQueries({ - queryKey: orgChartEdgeGrantKeys.detail(id), + queryKey: membershipTypeKeys.detail(id), }); }, /** Remove appLimit from cache */ appLimit: (queryClient: QueryClient, id: string | number) => { @@ -802,16 +802,6 @@ export const remove = { queryKey: orgMembershipDefaultKeys.detail(id), }); }, - /** Remove invite from cache */ invite: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: inviteKeys.detail(id), - }); - }, - /** Remove appLevel from cache */ appLevel: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: appLevelKeys.detail(id), - }); - }, /** Remove appMembership from cache */ appMembership: ( queryClient: QueryClient, id: string | number @@ -828,6 +818,16 @@ export const remove = { queryKey: orgMembershipKeys.detail(id), }); }, + /** Remove invite from cache */ invite: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: inviteKeys.detail(id), + }); + }, + /** Remove appLevel from cache */ appLevel: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: appLevelKeys.detail(id), + }); + }, /** Remove orgInvite from cache */ orgInvite: (queryClient: QueryClient, id: string | number) => { queryClient.removeQueries({ queryKey: orgInviteKeys.detail(id), diff --git a/sdk/constructive-react/src/admin/hooks/mutation-keys.ts b/sdk/constructive-react/src/admin/hooks/mutation-keys.ts index ca6c828f5..0f602f8bc 100644 --- a/sdk/constructive-react/src/admin/hooks/mutation-keys.ts +++ b/sdk/constructive-react/src/admin/hooks/mutation-keys.ts @@ -146,15 +146,6 @@ export const orgLimitDefaultMutationKeys = { /** Delete orgLimitDefault mutation key */ delete: (id: string | number) => ['mutation', 'orglimitdefault', 'delete', id] as const, } as const; -export const membershipTypeMutationKeys = { - /** All membershipType mutation keys */ all: ['mutation', 'membershiptype'] as const, - /** Create membershipType mutation key */ create: () => - ['mutation', 'membershiptype', 'create'] as const, - /** Update membershipType mutation key */ update: (id: string | number) => - ['mutation', 'membershiptype', 'update', id] as const, - /** Delete membershipType mutation key */ delete: (id: string | number) => - ['mutation', 'membershiptype', 'delete', id] as const, -} as const; export const orgChartEdgeGrantMutationKeys = { /** All orgChartEdgeGrant mutation keys */ all: ['mutation', 'orgchartedgegrant'] as const, /** Create orgChartEdgeGrant mutation key */ create: () => @@ -164,6 +155,15 @@ export const orgChartEdgeGrantMutationKeys = { /** Delete orgChartEdgeGrant mutation key */ delete: (id: string | number) => ['mutation', 'orgchartedgegrant', 'delete', id] as const, } as const; +export const membershipTypeMutationKeys = { + /** All membershipType mutation keys */ all: ['mutation', 'membershiptype'] as const, + /** Create membershipType mutation key */ create: () => + ['mutation', 'membershiptype', 'create'] as const, + /** Update membershipType mutation key */ update: (id: string | number) => + ['mutation', 'membershiptype', 'update', id] as const, + /** Delete membershipType mutation key */ delete: (id: string | number) => + ['mutation', 'membershiptype', 'delete', id] as const, +} as const; export const appLimitMutationKeys = { /** All appLimit mutation keys */ all: ['mutation', 'applimit'] as const, /** Create appLimit mutation key */ create: () => ['mutation', 'applimit', 'create'] as const, @@ -258,22 +258,6 @@ export const orgMembershipDefaultMutationKeys = { /** Delete orgMembershipDefault mutation key */ delete: (id: string | number) => ['mutation', 'orgmembershipdefault', 'delete', id] as const, } as const; -export const inviteMutationKeys = { - /** All invite mutation keys */ all: ['mutation', 'invite'] as const, - /** Create invite mutation key */ create: () => ['mutation', 'invite', 'create'] as const, - /** Update invite mutation key */ update: (id: string | number) => - ['mutation', 'invite', 'update', id] as const, - /** Delete invite mutation key */ delete: (id: string | number) => - ['mutation', 'invite', 'delete', id] as const, -} as const; -export const appLevelMutationKeys = { - /** All appLevel mutation keys */ all: ['mutation', 'applevel'] as const, - /** Create appLevel mutation key */ create: () => ['mutation', 'applevel', 'create'] as const, - /** Update appLevel mutation key */ update: (id: string | number) => - ['mutation', 'applevel', 'update', id] as const, - /** Delete appLevel mutation key */ delete: (id: string | number) => - ['mutation', 'applevel', 'delete', id] as const, -} as const; export const appMembershipMutationKeys = { /** All appMembership mutation keys */ all: ['mutation', 'appmembership'] as const, /** Create appMembership mutation key */ create: () => @@ -292,6 +276,22 @@ export const orgMembershipMutationKeys = { /** Delete orgMembership mutation key */ delete: (id: string | number) => ['mutation', 'orgmembership', 'delete', id] as const, } as const; +export const inviteMutationKeys = { + /** All invite mutation keys */ all: ['mutation', 'invite'] as const, + /** Create invite mutation key */ create: () => ['mutation', 'invite', 'create'] as const, + /** Update invite mutation key */ update: (id: string | number) => + ['mutation', 'invite', 'update', id] as const, + /** Delete invite mutation key */ delete: (id: string | number) => + ['mutation', 'invite', 'delete', id] as const, +} as const; +export const appLevelMutationKeys = { + /** All appLevel mutation keys */ all: ['mutation', 'applevel'] as const, + /** Create appLevel mutation key */ create: () => ['mutation', 'applevel', 'create'] as const, + /** Update appLevel mutation key */ update: (id: string | number) => + ['mutation', 'applevel', 'update', id] as const, + /** Delete appLevel mutation key */ delete: (id: string | number) => + ['mutation', 'applevel', 'delete', id] as const, +} as const; export const orgInviteMutationKeys = { /** All orgInvite mutation keys */ all: ['mutation', 'orginvite'] as const, /** Create orgInvite mutation key */ create: () => ['mutation', 'orginvite', 'create'] as const, @@ -352,8 +352,8 @@ export const mutationKeys = { orgOwnerGrant: orgOwnerGrantMutationKeys, appLimitDefault: appLimitDefaultMutationKeys, orgLimitDefault: orgLimitDefaultMutationKeys, - membershipType: membershipTypeMutationKeys, orgChartEdgeGrant: orgChartEdgeGrantMutationKeys, + membershipType: membershipTypeMutationKeys, appLimit: appLimitMutationKeys, appAchievement: appAchievementMutationKeys, appStep: appStepMutationKeys, @@ -365,10 +365,10 @@ export const mutationKeys = { orgGrant: orgGrantMutationKeys, orgChartEdge: orgChartEdgeMutationKeys, orgMembershipDefault: orgMembershipDefaultMutationKeys, - invite: inviteMutationKeys, - appLevel: appLevelMutationKeys, appMembership: appMembershipMutationKeys, orgMembership: orgMembershipMutationKeys, + invite: inviteMutationKeys, + appLevel: appLevelMutationKeys, orgInvite: orgInviteMutationKeys, custom: customMutationKeys, } as const; diff --git a/sdk/constructive-react/src/admin/hooks/mutations/index.ts b/sdk/constructive-react/src/admin/hooks/mutations/index.ts index ed7b372ed..5f26780ef 100644 --- a/sdk/constructive-react/src/admin/hooks/mutations/index.ts +++ b/sdk/constructive-react/src/admin/hooks/mutations/index.ts @@ -41,12 +41,12 @@ export * from './useDeleteAppLimitDefaultMutation'; export * from './useCreateOrgLimitDefaultMutation'; export * from './useUpdateOrgLimitDefaultMutation'; export * from './useDeleteOrgLimitDefaultMutation'; -export * from './useCreateMembershipTypeMutation'; -export * from './useUpdateMembershipTypeMutation'; -export * from './useDeleteMembershipTypeMutation'; export * from './useCreateOrgChartEdgeGrantMutation'; export * from './useUpdateOrgChartEdgeGrantMutation'; export * from './useDeleteOrgChartEdgeGrantMutation'; +export * from './useCreateMembershipTypeMutation'; +export * from './useUpdateMembershipTypeMutation'; +export * from './useDeleteMembershipTypeMutation'; export * from './useCreateAppLimitMutation'; export * from './useUpdateAppLimitMutation'; export * from './useDeleteAppLimitMutation'; @@ -80,18 +80,18 @@ export * from './useDeleteOrgChartEdgeMutation'; export * from './useCreateOrgMembershipDefaultMutation'; export * from './useUpdateOrgMembershipDefaultMutation'; export * from './useDeleteOrgMembershipDefaultMutation'; -export * from './useCreateInviteMutation'; -export * from './useUpdateInviteMutation'; -export * from './useDeleteInviteMutation'; -export * from './useCreateAppLevelMutation'; -export * from './useUpdateAppLevelMutation'; -export * from './useDeleteAppLevelMutation'; export * from './useCreateAppMembershipMutation'; export * from './useUpdateAppMembershipMutation'; export * from './useDeleteAppMembershipMutation'; export * from './useCreateOrgMembershipMutation'; export * from './useUpdateOrgMembershipMutation'; export * from './useDeleteOrgMembershipMutation'; +export * from './useCreateInviteMutation'; +export * from './useUpdateInviteMutation'; +export * from './useDeleteInviteMutation'; +export * from './useCreateAppLevelMutation'; +export * from './useUpdateAppLevelMutation'; +export * from './useDeleteAppLevelMutation'; export * from './useCreateOrgInviteMutation'; export * from './useUpdateOrgInviteMutation'; export * from './useDeleteOrgInviteMutation'; diff --git a/sdk/constructive-react/src/admin/hooks/queries/index.ts b/sdk/constructive-react/src/admin/hooks/queries/index.ts index fa333443c..a0417892e 100644 --- a/sdk/constructive-react/src/admin/hooks/queries/index.ts +++ b/sdk/constructive-react/src/admin/hooks/queries/index.ts @@ -29,10 +29,10 @@ export * from './useAppLimitDefaultsQuery'; export * from './useAppLimitDefaultQuery'; export * from './useOrgLimitDefaultsQuery'; export * from './useOrgLimitDefaultQuery'; -export * from './useMembershipTypesQuery'; -export * from './useMembershipTypeQuery'; export * from './useOrgChartEdgeGrantsQuery'; export * from './useOrgChartEdgeGrantQuery'; +export * from './useMembershipTypesQuery'; +export * from './useMembershipTypeQuery'; export * from './useAppLimitsQuery'; export * from './useAppLimitQuery'; export * from './useAppAchievementsQuery'; @@ -55,14 +55,14 @@ export * from './useOrgChartEdgesQuery'; export * from './useOrgChartEdgeQuery'; export * from './useOrgMembershipDefaultsQuery'; export * from './useOrgMembershipDefaultQuery'; -export * from './useInvitesQuery'; -export * from './useInviteQuery'; -export * from './useAppLevelsQuery'; -export * from './useAppLevelQuery'; export * from './useAppMembershipsQuery'; export * from './useAppMembershipQuery'; export * from './useOrgMembershipsQuery'; export * from './useOrgMembershipQuery'; +export * from './useInvitesQuery'; +export * from './useInviteQuery'; +export * from './useAppLevelsQuery'; +export * from './useAppLevelQuery'; export * from './useOrgInvitesQuery'; export * from './useOrgInviteQuery'; export * from './useAppPermissionsGetPaddedMaskQuery'; diff --git a/sdk/constructive-react/src/admin/hooks/query-keys.ts b/sdk/constructive-react/src/admin/hooks/query-keys.ts index 19f130656..2ffc28a32 100644 --- a/sdk/constructive-react/src/admin/hooks/query-keys.ts +++ b/sdk/constructive-react/src/admin/hooks/query-keys.ts @@ -145,15 +145,6 @@ export const orgLimitDefaultKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...orgLimitDefaultKeys.details(), id] as const, } as const; -export const membershipTypeKeys = { - /** All membershipType queries */ all: ['membershiptype'] as const, - /** List query keys */ lists: () => [...membershipTypeKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...membershipTypeKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...membershipTypeKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...membershipTypeKeys.details(), id] as const, -} as const; export const orgChartEdgeGrantKeys = { /** All orgChartEdgeGrant queries */ all: ['orgchartedgegrant'] as const, /** List query keys */ lists: () => [...orgChartEdgeGrantKeys.all, 'list'] as const, @@ -163,6 +154,15 @@ export const orgChartEdgeGrantKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...orgChartEdgeGrantKeys.details(), id] as const, } as const; +export const membershipTypeKeys = { + /** All membershipType queries */ all: ['membershiptype'] as const, + /** List query keys */ lists: () => [...membershipTypeKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...membershipTypeKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...membershipTypeKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...membershipTypeKeys.details(), id] as const, +} as const; export const appLimitKeys = { /** All appLimit queries */ all: ['applimit'] as const, /** List query keys */ lists: () => [...appLimitKeys.all, 'list'] as const, @@ -262,24 +262,6 @@ export const orgMembershipDefaultKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...orgMembershipDefaultKeys.details(), id] as const, } as const; -export const inviteKeys = { - /** All invite queries */ all: ['invite'] as const, - /** List query keys */ lists: () => [...inviteKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...inviteKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...inviteKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...inviteKeys.details(), id] as const, -} as const; -export const appLevelKeys = { - /** All appLevel queries */ all: ['applevel'] as const, - /** List query keys */ lists: () => [...appLevelKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...appLevelKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...appLevelKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...appLevelKeys.details(), id] as const, -} as const; export const appMembershipKeys = { /** All appMembership queries */ all: ['appmembership'] as const, /** List query keys */ lists: () => [...appMembershipKeys.all, 'list'] as const, @@ -298,6 +280,24 @@ export const orgMembershipKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...orgMembershipKeys.details(), id] as const, } as const; +export const inviteKeys = { + /** All invite queries */ all: ['invite'] as const, + /** List query keys */ lists: () => [...inviteKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...inviteKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...inviteKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...inviteKeys.details(), id] as const, +} as const; +export const appLevelKeys = { + /** All appLevel queries */ all: ['applevel'] as const, + /** List query keys */ lists: () => [...appLevelKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...appLevelKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...appLevelKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...appLevelKeys.details(), id] as const, +} as const; export const orgInviteKeys = { /** All orgInvite queries */ all: ['orginvite'] as const, /** List query keys */ lists: () => [...orgInviteKeys.all, 'list'] as const, @@ -377,8 +377,8 @@ export const queryKeys = { orgOwnerGrant: orgOwnerGrantKeys, appLimitDefault: appLimitDefaultKeys, orgLimitDefault: orgLimitDefaultKeys, - membershipType: membershipTypeKeys, orgChartEdgeGrant: orgChartEdgeGrantKeys, + membershipType: membershipTypeKeys, appLimit: appLimitKeys, appAchievement: appAchievementKeys, appStep: appStepKeys, @@ -390,10 +390,10 @@ export const queryKeys = { orgGrant: orgGrantKeys, orgChartEdge: orgChartEdgeKeys, orgMembershipDefault: orgMembershipDefaultKeys, - invite: inviteKeys, - appLevel: appLevelKeys, appMembership: appMembershipKeys, orgMembership: orgMembershipKeys, + invite: inviteKeys, + appLevel: appLevelKeys, orgInvite: orgInviteKeys, custom: customQueryKeys, } as const; diff --git a/sdk/constructive-react/src/admin/orm/README.md b/sdk/constructive-react/src/admin/orm/README.md index 4269dd02c..02cd23d7a 100644 --- a/sdk/constructive-react/src/admin/orm/README.md +++ b/sdk/constructive-react/src/admin/orm/README.md @@ -35,8 +35,8 @@ const db = createClient({ | `orgOwnerGrant` | findMany, findOne, create, update, delete | | `appLimitDefault` | findMany, findOne, create, update, delete | | `orgLimitDefault` | findMany, findOne, create, update, delete | -| `membershipType` | findMany, findOne, create, update, delete | | `orgChartEdgeGrant` | findMany, findOne, create, update, delete | +| `membershipType` | findMany, findOne, create, update, delete | | `appLimit` | findMany, findOne, create, update, delete | | `appAchievement` | findMany, findOne, create, update, delete | | `appStep` | findMany, findOne, create, update, delete | @@ -48,10 +48,10 @@ const db = createClient({ | `orgGrant` | findMany, findOne, create, update, delete | | `orgChartEdge` | findMany, findOne, create, update, delete | | `orgMembershipDefault` | findMany, findOne, create, update, delete | -| `invite` | findMany, findOne, create, update, delete | -| `appLevel` | findMany, findOne, create, update, delete | | `appMembership` | findMany, findOne, create, update, delete | | `orgMembership` | findMany, findOne, create, update, delete | +| `invite` | findMany, findOne, create, update, delete | +| `appLevel` | findMany, findOne, create, update, delete | | `orgInvite` | findMany, findOne, create, update, delete | ## Table Operations @@ -129,18 +129,20 @@ CRUD operations for AppPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appPermission records -const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -162,18 +164,20 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgPermission records -const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -198,18 +202,20 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevelRequirement records -const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute(); +const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -511,73 +517,78 @@ const updated = await db.orgLimitDefault.update({ where: { id: '' }, data const deleted = await db.orgLimitDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.membershipType` +### `db.orgChartEdgeGrant` -CRUD operations for MembershipType records. +CRUD operations for OrgChartEdgeGrant records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | -| `description` | String | Yes | -| `prefix` | String | Yes | +| `id` | UUID | No | +| `entityId` | UUID | Yes | +| `childId` | UUID | Yes | +| `parentId` | UUID | Yes | +| `grantorId` | UUID | Yes | +| `isGrant` | Boolean | Yes | +| `positionTitle` | String | Yes | +| `positionLevel` | Int | Yes | +| `createdAt` | Datetime | No | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all membershipType records -const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true } }).execute(); +// List all orgChartEdgeGrant records +const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true } }).execute(); +const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); +const deleted = await db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute(); ``` -### `db.orgChartEdgeGrant` +### `db.membershipType` -CRUD operations for OrgChartEdgeGrant records. +CRUD operations for MembershipType records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `entityId` | UUID | Yes | -| `childId` | UUID | Yes | -| `parentId` | UUID | Yes | -| `grantorId` | UUID | Yes | -| `isGrant` | Boolean | Yes | -| `positionTitle` | String | Yes | -| `positionLevel` | Int | Yes | -| `createdAt` | Datetime | No | +| `id` | Int | No | +| `name` | String | Yes | +| `description` | String | Yes | +| `prefix` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all orgChartEdgeGrant records -const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +// List all membershipType records +const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); +const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute(); +const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` ### `db.appLimit` @@ -906,18 +917,20 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | Yes | | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdge records -const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -963,167 +976,171 @@ const updated = await db.orgMembershipDefault.update({ where: { id: '' }, const deleted = await db.orgMembershipDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.invite` +### `db.appMembership` -CRUD operations for Invite records. +CRUD operations for AppMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `email` | ConstructiveInternalTypeEmail | Yes | -| `senderId` | UUID | Yes | -| `inviteToken` | String | Yes | -| `inviteValid` | Boolean | Yes | -| `inviteLimit` | Int | Yes | -| `inviteCount` | Int | Yes | -| `multiple` | Boolean | Yes | -| `data` | JSON | Yes | -| `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isVerified` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all invite records -const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +// List all appMembership records +const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Get one by id -const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Create -const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute(); +const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); +const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.invite.delete({ where: { id: '' } }).execute(); +const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appLevel` +### `db.orgMembership` -CRUD operations for AppLevel records. +CRUD operations for OrgMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `name` | String | Yes | -| `description` | String | Yes | -| `image` | ConstructiveInternalTypeImage | Yes | -| `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `entityId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all appLevel records -const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +// List all orgMembership records +const items = await db.orgMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); // Get one by id -const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.orgMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); // Create -const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute(); +const created = await db.orgMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.orgMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); +const deleted = await db.orgMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembership` +### `db.invite` -CRUD operations for AppMembership records. +CRUD operations for Invite records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `email` | ConstructiveInternalTypeEmail | Yes | +| `senderId` | UUID | Yes | +| `inviteToken` | String | Yes | +| `inviteValid` | Boolean | Yes | +| `inviteLimit` | Int | Yes | +| `inviteCount` | Int | Yes | +| `multiple` | Boolean | Yes | +| `data` | JSON | Yes | +| `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isVerified` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembership records -const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +// List all invite records +const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.invite.delete({ where: { id: '' } }).execute(); ``` -### `db.orgMembership` +### `db.appLevel` -CRUD operations for OrgMembership records. +CRUD operations for AppLevel records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `name` | String | Yes | +| `description` | String | Yes | +| `image` | ConstructiveInternalTypeImage | Yes | +| `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `entityId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all orgMembership records -const items = await db.orgMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); +// List all appLevel records +const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); +const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.orgMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.orgMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); ``` ### `db.orgInvite` @@ -1148,18 +1165,20 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `entityId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgInvite records -const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute(); +const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-react/src/admin/orm/index.ts b/sdk/constructive-react/src/admin/orm/index.ts index 524d28db3..e7f526c6c 100644 --- a/sdk/constructive-react/src/admin/orm/index.ts +++ b/sdk/constructive-react/src/admin/orm/index.ts @@ -19,8 +19,8 @@ import { OrgAdminGrantModel } from './models/orgAdminGrant'; import { OrgOwnerGrantModel } from './models/orgOwnerGrant'; import { AppLimitDefaultModel } from './models/appLimitDefault'; import { OrgLimitDefaultModel } from './models/orgLimitDefault'; -import { MembershipTypeModel } from './models/membershipType'; import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant'; +import { MembershipTypeModel } from './models/membershipType'; import { AppLimitModel } from './models/appLimit'; import { AppAchievementModel } from './models/appAchievement'; import { AppStepModel } from './models/appStep'; @@ -32,10 +32,10 @@ import { OrgClaimedInviteModel } from './models/orgClaimedInvite'; import { OrgGrantModel } from './models/orgGrant'; import { OrgChartEdgeModel } from './models/orgChartEdge'; import { OrgMembershipDefaultModel } from './models/orgMembershipDefault'; -import { InviteModel } from './models/invite'; -import { AppLevelModel } from './models/appLevel'; import { AppMembershipModel } from './models/appMembership'; import { OrgMembershipModel } from './models/orgMembership'; +import { InviteModel } from './models/invite'; +import { AppLevelModel } from './models/appLevel'; import { OrgInviteModel } from './models/orgInvite'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -86,8 +86,8 @@ export function createClient(config: OrmClientConfig) { orgOwnerGrant: new OrgOwnerGrantModel(client), appLimitDefault: new AppLimitDefaultModel(client), orgLimitDefault: new OrgLimitDefaultModel(client), - membershipType: new MembershipTypeModel(client), orgChartEdgeGrant: new OrgChartEdgeGrantModel(client), + membershipType: new MembershipTypeModel(client), appLimit: new AppLimitModel(client), appAchievement: new AppAchievementModel(client), appStep: new AppStepModel(client), @@ -99,10 +99,10 @@ export function createClient(config: OrmClientConfig) { orgGrant: new OrgGrantModel(client), orgChartEdge: new OrgChartEdgeModel(client), orgMembershipDefault: new OrgMembershipDefaultModel(client), - invite: new InviteModel(client), - appLevel: new AppLevelModel(client), appMembership: new AppMembershipModel(client), orgMembership: new OrgMembershipModel(client), + invite: new InviteModel(client), + appLevel: new AppLevelModel(client), orgInvite: new OrgInviteModel(client), query: createQueryOperations(client), mutation: createMutationOperations(client), diff --git a/sdk/constructive-react/src/admin/orm/input-types.ts b/sdk/constructive-react/src/admin/orm/input-types.ts index 6bc1887db..7948bd36c 100644 --- a/sdk/constructive-react/src/admin/orm/input-types.ts +++ b/sdk/constructive-react/src/admin/orm/input-types.ts @@ -163,6 +163,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; @@ -246,6 +253,10 @@ export interface AppPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface OrgPermission { @@ -258,6 +269,10 @@ export interface OrgPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines the specific requirements that must be met to achieve a level */ export interface AppLevelRequirement { @@ -274,6 +289,10 @@ export interface AppLevelRequirement { priority?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Simplified view of active members in an entity, used for listing who belongs to an org or group */ export interface OrgMember { @@ -363,17 +382,6 @@ export interface OrgLimitDefault { /** Default maximum usage allowed for this limit */ max?: number | null; } -/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ -export interface MembershipType { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ - name?: string | null; - /** Description of what this membership type represents */ - description?: string | null; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string | null; -} /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */ export interface OrgChartEdgeGrant { id: string; @@ -393,6 +401,27 @@ export interface OrgChartEdgeGrant { positionLevel?: number | null; /** Timestamp when this grant or revocation was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ +export interface MembershipType { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name?: string | null; + /** Description of what this membership type represents */ + description?: string | null; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface AppLimit { @@ -521,6 +550,10 @@ export interface OrgChartEdge { positionTitle?: string | null; /** Numeric seniority level for this position (higher = more senior) */ positionLevel?: number | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface OrgMembershipDefault { @@ -538,44 +571,6 @@ export interface OrgMembershipDefault { /** When a group is created, whether to auto-add existing org members as group members */ createGroupsCascadeMembers?: boolean | null; } -/** Invitation records sent to prospective members via email, with token-based redemption and expiration */ -export interface Invite { - id: string; - /** Email address of the invited recipient */ - email?: ConstructiveInternalTypeEmail | null; - /** User ID of the member who sent this invitation */ - senderId?: string | null; - /** Unique random hex token used to redeem this invitation */ - inviteToken?: string | null; - /** Whether this invitation is still valid and can be redeemed */ - inviteValid?: boolean | null; - /** Maximum number of times this invite can be claimed; -1 means unlimited */ - inviteLimit?: number | null; - /** Running count of how many times this invite has been claimed */ - inviteCount?: number | null; - /** Whether this invite can be claimed by multiple recipients */ - multiple?: boolean | null; - /** Optional JSON payload of additional invite metadata */ - data?: Record | null; - /** Timestamp after which this invitation can no longer be redeemed */ - expiresAt?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -/** Defines available levels that users can achieve by completing requirements */ -export interface AppLevel { - id: string; - /** Unique name of the level */ - name?: string | null; - /** Human-readable description of what this level represents */ - description?: string | null; - /** Badge or icon image associated with this level */ - image?: ConstructiveInternalTypeImage | null; - /** Optional owner (actor) who created or manages this level */ - ownerId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */ export interface AppMembership { id: string; @@ -635,6 +630,52 @@ export interface OrgMembership { profileId?: string | null; } /** Invitation records sent to prospective members via email, with token-based redemption and expiration */ +export interface Invite { + id: string; + /** Email address of the invited recipient */ + email?: ConstructiveInternalTypeEmail | null; + /** User ID of the member who sent this invitation */ + senderId?: string | null; + /** Unique random hex token used to redeem this invitation */ + inviteToken?: string | null; + /** Whether this invitation is still valid and can be redeemed */ + inviteValid?: boolean | null; + /** Maximum number of times this invite can be claimed; -1 means unlimited */ + inviteLimit?: number | null; + /** Running count of how many times this invite has been claimed */ + inviteCount?: number | null; + /** Whether this invite can be claimed by multiple recipients */ + multiple?: boolean | null; + /** Optional JSON payload of additional invite metadata */ + data?: Record | null; + /** Timestamp after which this invitation can no longer be redeemed */ + expiresAt?: string | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines available levels that users can achieve by completing requirements */ +export interface AppLevel { + id: string; + /** Unique name of the level */ + name?: string | null; + /** Human-readable description of what this level represents */ + description?: string | null; + /** Badge or icon image associated with this level */ + image?: ConstructiveInternalTypeImage | null; + /** Optional owner (actor) who created or manages this level */ + ownerId?: string | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Invitation records sent to prospective members via email, with token-based redemption and expiration */ export interface OrgInvite { id: string; /** Email address of the invited recipient */ @@ -660,6 +701,10 @@ export interface OrgInvite { createdAt?: string | null; updatedAt?: string | null; entityId?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -688,8 +733,8 @@ export interface OrgAdminGrantRelations {} export interface OrgOwnerGrantRelations {} export interface AppLimitDefaultRelations {} export interface OrgLimitDefaultRelations {} -export interface MembershipTypeRelations {} export interface OrgChartEdgeGrantRelations {} +export interface MembershipTypeRelations {} export interface AppLimitRelations {} export interface AppAchievementRelations {} export interface AppStepRelations {} @@ -701,10 +746,10 @@ export interface OrgClaimedInviteRelations {} export interface OrgGrantRelations {} export interface OrgChartEdgeRelations {} export interface OrgMembershipDefaultRelations {} -export interface InviteRelations {} -export interface AppLevelRelations {} export interface AppMembershipRelations {} export interface OrgMembershipRelations {} +export interface InviteRelations {} +export interface AppLevelRelations {} export interface OrgInviteRelations {} // ============ Entity Types With Relations ============ export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & @@ -725,8 +770,8 @@ export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations; export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations; export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations; export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations; -export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations; +export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type AppLimitWithRelations = AppLimit & AppLimitRelations; export type AppAchievementWithRelations = AppAchievement & AppAchievementRelations; export type AppStepWithRelations = AppStep & AppStepRelations; @@ -740,10 +785,10 @@ export type OrgGrantWithRelations = OrgGrant & OrgGrantRelations; export type OrgChartEdgeWithRelations = OrgChartEdge & OrgChartEdgeRelations; export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations; -export type InviteWithRelations = Invite & InviteRelations; -export type AppLevelWithRelations = AppLevel & AppLevelRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations; +export type InviteWithRelations = Invite & InviteRelations; +export type AppLevelWithRelations = AppLevel & AppLevelRelations; export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -760,6 +805,8 @@ export type AppPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgPermissionSelect = { id?: boolean; @@ -767,6 +814,8 @@ export type OrgPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppLevelRequirementSelect = { id?: boolean; @@ -777,6 +826,8 @@ export type AppLevelRequirementSelect = { priority?: boolean; createdAt?: boolean; updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMemberSelect = { id?: boolean; @@ -837,12 +888,6 @@ export type OrgLimitDefaultSelect = { name?: boolean; max?: boolean; }; -export type MembershipTypeSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - prefix?: boolean; -}; export type OrgChartEdgeGrantSelect = { id?: boolean; entityId?: boolean; @@ -853,6 +898,17 @@ export type OrgChartEdgeGrantSelect = { positionTitle?: boolean; positionLevel?: boolean; createdAt?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type MembershipTypeSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + prefix?: boolean; + descriptionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppLimitSelect = { id?: boolean; @@ -939,6 +995,8 @@ export type OrgChartEdgeSelect = { parentId?: boolean; positionTitle?: boolean; positionLevel?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMembershipDefaultSelect = { id?: boolean; @@ -951,29 +1009,6 @@ export type OrgMembershipDefaultSelect = { deleteMemberCascadeGroups?: boolean; createGroupsCascadeMembers?: boolean; }; -export type InviteSelect = { - id?: boolean; - email?: boolean; - senderId?: boolean; - inviteToken?: boolean; - inviteValid?: boolean; - inviteLimit?: boolean; - inviteCount?: boolean; - multiple?: boolean; - data?: boolean; - expiresAt?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; -export type AppLevelSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - image?: boolean; - ownerId?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; export type AppMembershipSelect = { id?: boolean; createdAt?: boolean; @@ -1010,6 +1045,33 @@ export type OrgMembershipSelect = { entityId?: boolean; profileId?: boolean; }; +export type InviteSelect = { + id?: boolean; + email?: boolean; + senderId?: boolean; + inviteToken?: boolean; + inviteValid?: boolean; + inviteLimit?: boolean; + inviteCount?: boolean; + multiple?: boolean; + data?: boolean; + expiresAt?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type AppLevelSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + image?: boolean; + ownerId?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; export type OrgInviteSelect = { id?: boolean; email?: boolean; @@ -1025,6 +1087,8 @@ export type OrgInviteSelect = { createdAt?: boolean; updatedAt?: boolean; entityId?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; // ============ Table Filter Types ============ export interface OrgGetManagersRecordFilter { @@ -1047,6 +1111,8 @@ export interface AppPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppPermissionFilter[]; or?: AppPermissionFilter[]; not?: AppPermissionFilter; @@ -1057,6 +1123,8 @@ export interface OrgPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgPermissionFilter[]; or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; @@ -1070,6 +1138,8 @@ export interface AppLevelRequirementFilter { priority?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelRequirementFilter[]; or?: AppLevelRequirementFilter[]; not?: AppLevelRequirementFilter; @@ -1160,15 +1230,6 @@ export interface OrgLimitDefaultFilter { or?: OrgLimitDefaultFilter[]; not?: OrgLimitDefaultFilter; } -export interface MembershipTypeFilter { - id?: IntFilter; - name?: StringFilter; - description?: StringFilter; - prefix?: StringFilter; - and?: MembershipTypeFilter[]; - or?: MembershipTypeFilter[]; - not?: MembershipTypeFilter; -} export interface OrgChartEdgeGrantFilter { id?: UUIDFilter; entityId?: UUIDFilter; @@ -1179,10 +1240,24 @@ export interface OrgChartEdgeGrantFilter { positionTitle?: StringFilter; positionLevel?: IntFilter; createdAt?: DatetimeFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeGrantFilter[]; or?: OrgChartEdgeGrantFilter[]; not?: OrgChartEdgeGrantFilter; } +export interface MembershipTypeFilter { + id?: IntFilter; + name?: StringFilter; + description?: StringFilter; + prefix?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: MembershipTypeFilter[]; + or?: MembershipTypeFilter[]; + not?: MembershipTypeFilter; +} export interface AppLimitFilter { id?: UUIDFilter; name?: StringFilter; @@ -1295,6 +1370,8 @@ export interface OrgChartEdgeFilter { parentId?: UUIDFilter; positionTitle?: StringFilter; positionLevel?: IntFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeFilter[]; or?: OrgChartEdgeFilter[]; not?: OrgChartEdgeFilter; @@ -1313,35 +1390,6 @@ export interface OrgMembershipDefaultFilter { or?: OrgMembershipDefaultFilter[]; not?: OrgMembershipDefaultFilter; } -export interface InviteFilter { - id?: UUIDFilter; - email?: StringFilter; - senderId?: UUIDFilter; - inviteToken?: StringFilter; - inviteValid?: BooleanFilter; - inviteLimit?: IntFilter; - inviteCount?: IntFilter; - multiple?: BooleanFilter; - data?: JSONFilter; - expiresAt?: DatetimeFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: InviteFilter[]; - or?: InviteFilter[]; - not?: InviteFilter; -} -export interface AppLevelFilter { - id?: UUIDFilter; - name?: StringFilter; - description?: StringFilter; - image?: StringFilter; - ownerId?: UUIDFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: AppLevelFilter[]; - or?: AppLevelFilter[]; - not?: AppLevelFilter; -} export interface AppMembershipFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -1384,6 +1432,39 @@ export interface OrgMembershipFilter { or?: OrgMembershipFilter[]; not?: OrgMembershipFilter; } +export interface InviteFilter { + id?: UUIDFilter; + email?: StringFilter; + senderId?: UUIDFilter; + inviteToken?: StringFilter; + inviteValid?: BooleanFilter; + inviteLimit?: IntFilter; + inviteCount?: IntFilter; + multiple?: BooleanFilter; + data?: JSONFilter; + expiresAt?: DatetimeFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: InviteFilter[]; + or?: InviteFilter[]; + not?: InviteFilter; +} +export interface AppLevelFilter { + id?: UUIDFilter; + name?: StringFilter; + description?: StringFilter; + image?: StringFilter; + ownerId?: UUIDFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: AppLevelFilter[]; + or?: AppLevelFilter[]; + not?: AppLevelFilter; +} export interface OrgInviteFilter { id?: UUIDFilter; email?: StringFilter; @@ -1399,291 +1480,12 @@ export interface OrgInviteFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; entityId?: UUIDFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgInviteFilter[]; or?: OrgInviteFilter[]; not?: OrgInviteFilter; } -// ============ Table Condition Types ============ -export interface OrgGetManagersRecordCondition { - userId?: string | null; - depth?: number | null; -} -export interface OrgGetSubordinatesRecordCondition { - userId?: string | null; - depth?: number | null; -} -export interface AppPermissionCondition { - id?: string | null; - name?: string | null; - bitnum?: number | null; - bitstr?: string | null; - description?: string | null; -} -export interface OrgPermissionCondition { - id?: string | null; - name?: string | null; - bitnum?: number | null; - bitstr?: string | null; - description?: string | null; -} -export interface AppLevelRequirementCondition { - id?: string | null; - name?: string | null; - level?: string | null; - description?: string | null; - requiredCount?: number | null; - priority?: number | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgMemberCondition { - id?: string | null; - isAdmin?: boolean | null; - actorId?: string | null; - entityId?: string | null; -} -export interface AppPermissionDefaultCondition { - id?: string | null; - permissions?: string | null; -} -export interface OrgPermissionDefaultCondition { - id?: string | null; - permissions?: string | null; - entityId?: string | null; -} -export interface AppAdminGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppOwnerGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgAdminGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - entityId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgOwnerGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - entityId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppLimitDefaultCondition { - id?: string | null; - name?: string | null; - max?: number | null; -} -export interface OrgLimitDefaultCondition { - id?: string | null; - name?: string | null; - max?: number | null; -} -export interface MembershipTypeCondition { - id?: number | null; - name?: string | null; - description?: string | null; - prefix?: string | null; -} -export interface OrgChartEdgeGrantCondition { - id?: string | null; - entityId?: string | null; - childId?: string | null; - parentId?: string | null; - grantorId?: string | null; - isGrant?: boolean | null; - positionTitle?: string | null; - positionLevel?: number | null; - createdAt?: string | null; -} -export interface AppLimitCondition { - id?: string | null; - name?: string | null; - actorId?: string | null; - num?: number | null; - max?: number | null; -} -export interface AppAchievementCondition { - id?: string | null; - actorId?: string | null; - name?: string | null; - count?: number | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppStepCondition { - id?: string | null; - actorId?: string | null; - name?: string | null; - count?: number | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface ClaimedInviteCondition { - id?: string | null; - data?: unknown | null; - senderId?: string | null; - receiverId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppGrantCondition { - id?: string | null; - permissions?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppMembershipDefaultCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - isVerified?: boolean | null; -} -export interface OrgLimitCondition { - id?: string | null; - name?: string | null; - actorId?: string | null; - num?: number | null; - max?: number | null; - entityId?: string | null; -} -export interface OrgClaimedInviteCondition { - id?: string | null; - data?: unknown | null; - senderId?: string | null; - receiverId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - entityId?: string | null; -} -export interface OrgGrantCondition { - id?: string | null; - permissions?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - entityId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgChartEdgeCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - entityId?: string | null; - childId?: string | null; - parentId?: string | null; - positionTitle?: string | null; - positionLevel?: number | null; -} -export interface OrgMembershipDefaultCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - entityId?: string | null; - deleteMemberCascadeGroups?: boolean | null; - createGroupsCascadeMembers?: boolean | null; -} -export interface InviteCondition { - id?: string | null; - email?: unknown | null; - senderId?: string | null; - inviteToken?: string | null; - inviteValid?: boolean | null; - inviteLimit?: number | null; - inviteCount?: number | null; - multiple?: boolean | null; - data?: unknown | null; - expiresAt?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppLevelCondition { - id?: string | null; - name?: string | null; - description?: string | null; - image?: unknown | null; - ownerId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppMembershipCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - isBanned?: boolean | null; - isDisabled?: boolean | null; - isVerified?: boolean | null; - isActive?: boolean | null; - isOwner?: boolean | null; - isAdmin?: boolean | null; - permissions?: string | null; - granted?: string | null; - actorId?: string | null; - profileId?: string | null; -} -export interface OrgMembershipCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - isBanned?: boolean | null; - isDisabled?: boolean | null; - isActive?: boolean | null; - isOwner?: boolean | null; - isAdmin?: boolean | null; - permissions?: string | null; - granted?: string | null; - actorId?: string | null; - entityId?: string | null; - profileId?: string | null; -} -export interface OrgInviteCondition { - id?: string | null; - email?: unknown | null; - senderId?: string | null; - receiverId?: string | null; - inviteToken?: string | null; - inviteValid?: boolean | null; - inviteLimit?: number | null; - inviteCount?: number | null; - multiple?: boolean | null; - data?: unknown | null; - expiresAt?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - entityId?: string | null; -} // ============ OrderBy Types ============ export type OrgGetManagersRecordsOrderBy = | 'PRIMARY_KEY_ASC' @@ -1714,7 +1516,11 @@ export type AppPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1728,7 +1534,11 @@ export type OrgPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLevelRequirementOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1748,7 +1558,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMemberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1867,18 +1681,6 @@ export type OrgLimitDefaultOrderBy = | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC'; -export type MembershipTypeOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'PREFIX_ASC' - | 'PREFIX_DESC'; export type OrgChartEdgeGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1900,7 +1702,29 @@ export type OrgChartEdgeGrantOrderBy = | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +export type MembershipTypeOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'PREFIX_ASC' + | 'PREFIX_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'PREFIX_TRGM_SIMILARITY_ASC' + | 'PREFIX_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLimitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -2072,7 +1896,11 @@ export type OrgChartEdgeOrderBy = | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' - | 'POSITION_LEVEL_DESC'; + | 'POSITION_LEVEL_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -2095,52 +1923,6 @@ export type OrgMembershipDefaultOrderBy = | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC'; -export type InviteOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'EMAIL_ASC' - | 'EMAIL_DESC' - | 'SENDER_ID_ASC' - | 'SENDER_ID_DESC' - | 'INVITE_TOKEN_ASC' - | 'INVITE_TOKEN_DESC' - | 'INVITE_VALID_ASC' - | 'INVITE_VALID_DESC' - | 'INVITE_LIMIT_ASC' - | 'INVITE_LIMIT_DESC' - | 'INVITE_COUNT_ASC' - | 'INVITE_COUNT_DESC' - | 'MULTIPLE_ASC' - | 'MULTIPLE_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'EXPIRES_AT_ASC' - | 'EXPIRES_AT_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type AppLevelOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'IMAGE_ASC' - | 'IMAGE_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; export type AppMembershipOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -2213,6 +1995,60 @@ export type OrgMembershipOrderBy = | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +export type InviteOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'EMAIL_ASC' + | 'EMAIL_DESC' + | 'SENDER_ID_ASC' + | 'SENDER_ID_DESC' + | 'INVITE_TOKEN_ASC' + | 'INVITE_TOKEN_DESC' + | 'INVITE_VALID_ASC' + | 'INVITE_VALID_DESC' + | 'INVITE_LIMIT_ASC' + | 'INVITE_LIMIT_DESC' + | 'INVITE_COUNT_ASC' + | 'INVITE_COUNT_DESC' + | 'MULTIPLE_ASC' + | 'MULTIPLE_DESC' + | 'DATA_ASC' + | 'DATA_DESC' + | 'EXPIRES_AT_ASC' + | 'EXPIRES_AT_DESC' + | 'CREATED_AT_ASC' + | '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'; +export type AppLevelOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'IMAGE_ASC' + | 'IMAGE_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'; export type OrgInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -2244,7 +2080,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ export interface CreateOrgGetManagersRecordInput { clientMutationId?: string; @@ -2300,6 +2140,8 @@ export interface AppPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppPermissionInput { clientMutationId?: string; @@ -2324,6 +2166,8 @@ export interface OrgPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgPermissionInput { clientMutationId?: string; @@ -2350,6 +2194,8 @@ export interface AppLevelRequirementPatch { description?: string | null; requiredCount?: number | null; priority?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelRequirementInput { clientMutationId?: string; @@ -2552,28 +2398,6 @@ export interface DeleteOrgLimitDefaultInput { clientMutationId?: string; id: string; } -export interface CreateMembershipTypeInput { - clientMutationId?: string; - membershipType: { - name: string; - description: string; - prefix: string; - }; -} -export interface MembershipTypePatch { - name?: string | null; - description?: string | null; - prefix?: string | null; -} -export interface UpdateMembershipTypeInput { - clientMutationId?: string; - id: number; - membershipTypePatch: MembershipTypePatch; -} -export interface DeleteMembershipTypeInput { - clientMutationId?: string; - id: number; -} export interface CreateOrgChartEdgeGrantInput { clientMutationId?: string; orgChartEdgeGrant: { @@ -2594,6 +2418,8 @@ export interface OrgChartEdgeGrantPatch { isGrant?: boolean | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeGrantInput { clientMutationId?: string; @@ -2604,6 +2430,31 @@ export interface DeleteOrgChartEdgeGrantInput { clientMutationId?: string; id: string; } +export interface CreateMembershipTypeInput { + clientMutationId?: string; + membershipType: { + name: string; + description: string; + prefix: string; + }; +} +export interface MembershipTypePatch { + name?: string | null; + description?: string | null; + prefix?: string | null; + descriptionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateMembershipTypeInput { + clientMutationId?: string; + id: number; + membershipTypePatch: MembershipTypePatch; +} +export interface DeleteMembershipTypeInput { + clientMutationId?: string; + id: number; +} export interface CreateAppLimitInput { clientMutationId?: string; appLimit: { @@ -2834,6 +2685,8 @@ export interface OrgChartEdgePatch { parentId?: string | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeInput { clientMutationId?: string; @@ -2872,64 +2725,6 @@ export interface DeleteOrgMembershipDefaultInput { clientMutationId?: string; id: string; } -export interface CreateInviteInput { - clientMutationId?: string; - invite: { - email?: ConstructiveInternalTypeEmail; - senderId?: string; - inviteToken?: string; - inviteValid?: boolean; - inviteLimit?: number; - inviteCount?: number; - multiple?: boolean; - data?: Record; - expiresAt?: string; - }; -} -export interface InvitePatch { - email?: ConstructiveInternalTypeEmail | null; - senderId?: string | null; - inviteToken?: string | null; - inviteValid?: boolean | null; - inviteLimit?: number | null; - inviteCount?: number | null; - multiple?: boolean | null; - data?: Record | null; - expiresAt?: string | null; -} -export interface UpdateInviteInput { - clientMutationId?: string; - id: string; - invitePatch: InvitePatch; -} -export interface DeleteInviteInput { - clientMutationId?: string; - id: string; -} -export interface CreateAppLevelInput { - clientMutationId?: string; - appLevel: { - name: string; - description?: string; - image?: ConstructiveInternalTypeImage; - ownerId?: string; - }; -} -export interface AppLevelPatch { - name?: string | null; - description?: string | null; - image?: ConstructiveInternalTypeImage | null; - ownerId?: string | null; -} -export interface UpdateAppLevelInput { - clientMutationId?: string; - id: string; - appLevelPatch: AppLevelPatch; -} -export interface DeleteAppLevelInput { - clientMutationId?: string; - id: string; -} export interface CreateAppMembershipInput { clientMutationId?: string; appMembership: { @@ -3014,6 +2809,68 @@ export interface DeleteOrgMembershipInput { clientMutationId?: string; id: string; } +export interface CreateInviteInput { + clientMutationId?: string; + invite: { + email?: ConstructiveInternalTypeEmail; + senderId?: string; + inviteToken?: string; + inviteValid?: boolean; + inviteLimit?: number; + inviteCount?: number; + multiple?: boolean; + data?: Record; + expiresAt?: string; + }; +} +export interface InvitePatch { + email?: ConstructiveInternalTypeEmail | null; + senderId?: string | null; + inviteToken?: string | null; + inviteValid?: boolean | null; + inviteLimit?: number | null; + inviteCount?: number | null; + multiple?: boolean | null; + data?: Record | null; + expiresAt?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateInviteInput { + clientMutationId?: string; + id: string; + invitePatch: InvitePatch; +} +export interface DeleteInviteInput { + clientMutationId?: string; + id: string; +} +export interface CreateAppLevelInput { + clientMutationId?: string; + appLevel: { + name: string; + description?: string; + image?: ConstructiveInternalTypeImage; + ownerId?: string; + }; +} +export interface AppLevelPatch { + name?: string | null; + description?: string | null; + image?: ConstructiveInternalTypeImage | null; + ownerId?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateAppLevelInput { + clientMutationId?: string; + id: string; + appLevelPatch: AppLevelPatch; +} +export interface DeleteAppLevelInput { + clientMutationId?: string; + id: string; +} export interface CreateOrgInviteInput { clientMutationId?: string; orgInvite: { @@ -3042,6 +2899,8 @@ export interface OrgInvitePatch { data?: Record | null; expiresAt?: string | null; entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgInviteInput { clientMutationId?: string; @@ -3677,51 +3536,6 @@ export type DeleteOrgLimitDefaultPayloadSelect = { select: OrgLimitDefaultEdgeSelect; }; }; -export interface CreateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was created by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type CreateMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; -export interface UpdateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was updated by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type UpdateMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; -export interface DeleteMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was deleted by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type DeleteMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; export interface CreateOrgChartEdgeGrantPayload { clientMutationId?: string | null; /** The `OrgChartEdgeGrant` that was created by this mutation. */ @@ -3763,8 +3577,53 @@ export type DeleteOrgChartEdgeGrantPayloadSelect = { orgChartEdgeGrant?: { select: OrgChartEdgeGrantSelect; }; - orgChartEdgeGrantEdge?: { - select: OrgChartEdgeGrantEdgeSelect; + orgChartEdgeGrantEdge?: { + select: OrgChartEdgeGrantEdgeSelect; + }; +}; +export interface CreateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was created by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type CreateMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; +export interface UpdateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was updated by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type UpdateMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; +export interface DeleteMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was deleted by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type DeleteMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; }; }; export interface CreateAppLimitPayload { @@ -4262,96 +4121,6 @@ export type DeleteOrgMembershipDefaultPayloadSelect = { select: OrgMembershipDefaultEdgeSelect; }; }; -export interface CreateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was created by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type CreateInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface UpdateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was updated by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type UpdateInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface DeleteInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was deleted by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type DeleteInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface CreateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was created by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type CreateAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; -export interface UpdateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was updated by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type UpdateAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; -export interface DeleteAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was deleted by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type DeleteAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; export interface CreateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was created by this mutation. */ @@ -4442,6 +4211,96 @@ export type DeleteOrgMembershipPayloadSelect = { select: OrgMembershipEdgeSelect; }; }; +export interface CreateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was created by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type CreateInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface UpdateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was updated by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type UpdateInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface DeleteInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was deleted by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type DeleteInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface CreateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was created by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type CreateAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; +export interface UpdateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was updated by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type UpdateAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; +export interface DeleteAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was deleted by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type DeleteAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; export interface CreateOrgInvitePayload { clientMutationId?: string | null; /** The `OrgInvite` that was created by this mutation. */ @@ -4648,18 +4507,6 @@ export type OrgLimitDefaultEdgeSelect = { select: OrgLimitDefaultSelect; }; }; -/** A `MembershipType` edge in the connection. */ -export interface MembershipTypeEdge { - cursor?: string | null; - /** The `MembershipType` at the end of the edge. */ - node?: MembershipType | null; -} -export type MembershipTypeEdgeSelect = { - cursor?: boolean; - node?: { - select: MembershipTypeSelect; - }; -}; /** A `OrgChartEdgeGrant` edge in the connection. */ export interface OrgChartEdgeGrantEdge { cursor?: string | null; @@ -4672,6 +4519,18 @@ export type OrgChartEdgeGrantEdgeSelect = { select: OrgChartEdgeGrantSelect; }; }; +/** A `MembershipType` edge in the connection. */ +export interface MembershipTypeEdge { + cursor?: string | null; + /** The `MembershipType` at the end of the edge. */ + node?: MembershipType | null; +} +export type MembershipTypeEdgeSelect = { + cursor?: boolean; + node?: { + select: MembershipTypeSelect; + }; +}; /** A `AppLimit` edge in the connection. */ export interface AppLimitEdge { cursor?: string | null; @@ -4804,30 +4663,6 @@ export type OrgMembershipDefaultEdgeSelect = { select: OrgMembershipDefaultSelect; }; }; -/** A `Invite` edge in the connection. */ -export interface InviteEdge { - cursor?: string | null; - /** The `Invite` at the end of the edge. */ - node?: Invite | null; -} -export type InviteEdgeSelect = { - cursor?: boolean; - node?: { - select: InviteSelect; - }; -}; -/** A `AppLevel` edge in the connection. */ -export interface AppLevelEdge { - cursor?: string | null; - /** The `AppLevel` at the end of the edge. */ - node?: AppLevel | null; -} -export type AppLevelEdgeSelect = { - cursor?: boolean; - node?: { - select: AppLevelSelect; - }; -}; /** A `AppMembership` edge in the connection. */ export interface AppMembershipEdge { cursor?: string | null; @@ -4852,6 +4687,30 @@ export type OrgMembershipEdgeSelect = { select: OrgMembershipSelect; }; }; +/** A `Invite` edge in the connection. */ +export interface InviteEdge { + cursor?: string | null; + /** The `Invite` at the end of the edge. */ + node?: Invite | null; +} +export type InviteEdgeSelect = { + cursor?: boolean; + node?: { + select: InviteSelect; + }; +}; +/** A `AppLevel` edge in the connection. */ +export interface AppLevelEdge { + cursor?: string | null; + /** The `AppLevel` at the end of the edge. */ + node?: AppLevel | null; +} +export type AppLevelEdgeSelect = { + cursor?: boolean; + node?: { + select: AppLevelSelect; + }; +}; /** A `OrgInvite` edge in the connection. */ export interface OrgInviteEdge { cursor?: string | null; diff --git a/sdk/constructive-react/src/admin/orm/models/appAchievement.ts b/sdk/constructive-react/src/admin/orm/models/appAchievement.ts index c26bd04df..b6b13c6ca 100644 --- a/sdk/constructive-react/src/admin/orm/models/appAchievement.ts +++ b/sdk/constructive-react/src/admin/orm/models/appAchievement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAchievementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appAdminGrant.ts b/sdk/constructive-react/src/admin/orm/models/appAdminGrant.ts index 994dcd67d..e109a5074 100644 --- a/sdk/constructive-react/src/admin/orm/models/appAdminGrant.ts +++ b/sdk/constructive-react/src/admin/orm/models/appAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appGrant.ts b/sdk/constructive-react/src/admin/orm/models/appGrant.ts index df4f3ac72..d6c381d48 100644 --- a/sdk/constructive-react/src/admin/orm/models/appGrant.ts +++ b/sdk/constructive-react/src/admin/orm/models/appGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appLevel.ts b/sdk/constructive-react/src/admin/orm/models/appLevel.ts index 16a46df57..69e6100e0 100644 --- a/sdk/constructive-react/src/admin/orm/models/appLevel.ts +++ b/sdk/constructive-react/src/admin/orm/models/appLevel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appLevelRequirement.ts b/sdk/constructive-react/src/admin/orm/models/appLevelRequirement.ts index a67824ec2..085346af5 100644 --- a/sdk/constructive-react/src/admin/orm/models/appLevelRequirement.ts +++ b/sdk/constructive-react/src/admin/orm/models/appLevelRequirement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelRequirementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appLimit.ts b/sdk/constructive-react/src/admin/orm/models/appLimit.ts index 6671f9d37..667cf913e 100644 --- a/sdk/constructive-react/src/admin/orm/models/appLimit.ts +++ b/sdk/constructive-react/src/admin/orm/models/appLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appLimitDefault.ts b/sdk/constructive-react/src/admin/orm/models/appLimitDefault.ts index 8d926da0a..b2ca4d794 100644 --- a/sdk/constructive-react/src/admin/orm/models/appLimitDefault.ts +++ b/sdk/constructive-react/src/admin/orm/models/appLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appMembership.ts b/sdk/constructive-react/src/admin/orm/models/appMembership.ts index 2631ec415..fe22a66c1 100644 --- a/sdk/constructive-react/src/admin/orm/models/appMembership.ts +++ b/sdk/constructive-react/src/admin/orm/models/appMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appMembershipDefault.ts b/sdk/constructive-react/src/admin/orm/models/appMembershipDefault.ts index ba0c3ce53..333231b61 100644 --- a/sdk/constructive-react/src/admin/orm/models/appMembershipDefault.ts +++ b/sdk/constructive-react/src/admin/orm/models/appMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appOwnerGrant.ts b/sdk/constructive-react/src/admin/orm/models/appOwnerGrant.ts index a18dd21c4..0c2e436d0 100644 --- a/sdk/constructive-react/src/admin/orm/models/appOwnerGrant.ts +++ b/sdk/constructive-react/src/admin/orm/models/appOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appPermission.ts b/sdk/constructive-react/src/admin/orm/models/appPermission.ts index ab24d7bfc..c1740e8cc 100644 --- a/sdk/constructive-react/src/admin/orm/models/appPermission.ts +++ b/sdk/constructive-react/src/admin/orm/models/appPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appPermissionDefault.ts b/sdk/constructive-react/src/admin/orm/models/appPermissionDefault.ts index 3951ef4bb..926a76f55 100644 --- a/sdk/constructive-react/src/admin/orm/models/appPermissionDefault.ts +++ b/sdk/constructive-react/src/admin/orm/models/appPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/appStep.ts b/sdk/constructive-react/src/admin/orm/models/appStep.ts index 7c4ab983c..a6895d488 100644 --- a/sdk/constructive-react/src/admin/orm/models/appStep.ts +++ b/sdk/constructive-react/src/admin/orm/models/appStep.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppStepModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/claimedInvite.ts b/sdk/constructive-react/src/admin/orm/models/claimedInvite.ts index 9a679a488..2acbbcddc 100644 --- a/sdk/constructive-react/src/admin/orm/models/claimedInvite.ts +++ b/sdk/constructive-react/src/admin/orm/models/claimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/index.ts b/sdk/constructive-react/src/admin/orm/models/index.ts index f20a6d0a4..e04c1406f 100644 --- a/sdk/constructive-react/src/admin/orm/models/index.ts +++ b/sdk/constructive-react/src/admin/orm/models/index.ts @@ -17,8 +17,8 @@ export { OrgAdminGrantModel } from './orgAdminGrant'; export { OrgOwnerGrantModel } from './orgOwnerGrant'; export { AppLimitDefaultModel } from './appLimitDefault'; export { OrgLimitDefaultModel } from './orgLimitDefault'; -export { MembershipTypeModel } from './membershipType'; export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant'; +export { MembershipTypeModel } from './membershipType'; export { AppLimitModel } from './appLimit'; export { AppAchievementModel } from './appAchievement'; export { AppStepModel } from './appStep'; @@ -30,8 +30,8 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite'; export { OrgGrantModel } from './orgGrant'; export { OrgChartEdgeModel } from './orgChartEdge'; export { OrgMembershipDefaultModel } from './orgMembershipDefault'; -export { InviteModel } from './invite'; -export { AppLevelModel } from './appLevel'; export { AppMembershipModel } from './appMembership'; export { OrgMembershipModel } from './orgMembership'; +export { InviteModel } from './invite'; +export { AppLevelModel } from './appLevel'; export { OrgInviteModel } from './orgInvite'; diff --git a/sdk/constructive-react/src/admin/orm/models/invite.ts b/sdk/constructive-react/src/admin/orm/models/invite.ts index ffacfa690..7cb652492 100644 --- a/sdk/constructive-react/src/admin/orm/models/invite.ts +++ b/sdk/constructive-react/src/admin/orm/models/invite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/membershipType.ts b/sdk/constructive-react/src/admin/orm/models/membershipType.ts index c8f385b4e..9bb48d29b 100644 --- a/sdk/constructive-react/src/admin/orm/models/membershipType.ts +++ b/sdk/constructive-react/src/admin/orm/models/membershipType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgAdminGrant.ts b/sdk/constructive-react/src/admin/orm/models/orgAdminGrant.ts index ad34ec08c..5547eb6b9 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgAdminGrant.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgChartEdge.ts b/sdk/constructive-react/src/admin/orm/models/orgChartEdge.ts index 3ff845429..00b00dfc8 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgChartEdge.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgChartEdge.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgChartEdgeGrant.ts b/sdk/constructive-react/src/admin/orm/models/orgChartEdgeGrant.ts index 40dba3391..be92222db 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgChartEdgeGrant.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgChartEdgeGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgClaimedInvite.ts b/sdk/constructive-react/src/admin/orm/models/orgClaimedInvite.ts index 7b1a668ce..3f4277848 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgClaimedInvite.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgClaimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgGetManagersRecord.ts b/sdk/constructive-react/src/admin/orm/models/orgGetManagersRecord.ts index 9a0cefa8a..e8f5a29ec 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgGetManagersRecord.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgGetManagersRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetManagersRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgGetSubordinatesRecord.ts b/sdk/constructive-react/src/admin/orm/models/orgGetSubordinatesRecord.ts index 5eeec50ca..be9fa6a62 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgGetSubordinatesRecord.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgGetSubordinatesRecord.ts @@ -37,7 +37,12 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetSubordinatesRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs< + S, + OrgGetSubordinatesRecordFilter, + never, + OrgGetSubordinatesRecordsOrderBy + > & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgGrant.ts b/sdk/constructive-react/src/admin/orm/models/orgGrant.ts index 51ffe25e0..7142f7a22 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgGrant.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgInvite.ts b/sdk/constructive-react/src/admin/orm/models/orgInvite.ts index 351f866ab..abf2f2e35 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgInvite.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgLimit.ts b/sdk/constructive-react/src/admin/orm/models/orgLimit.ts index 787dd2e18..4fa9be97a 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgLimit.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgLimitDefault.ts b/sdk/constructive-react/src/admin/orm/models/orgLimitDefault.ts index b66e270b4..d0e0a1a77 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgLimitDefault.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgMember.ts b/sdk/constructive-react/src/admin/orm/models/orgMember.ts index 9045b10e0..4e8e3b6e5 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgMember.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgMember.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMemberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgMembership.ts b/sdk/constructive-react/src/admin/orm/models/orgMembership.ts index 7c5133b07..9ae89014b 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgMembership.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgMembershipDefault.ts b/sdk/constructive-react/src/admin/orm/models/orgMembershipDefault.ts index c4863e35b..c4afaaad7 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgMembershipDefault.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgOwnerGrant.ts b/sdk/constructive-react/src/admin/orm/models/orgOwnerGrant.ts index 57596aecd..d62bd3ab3 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgOwnerGrant.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgPermission.ts b/sdk/constructive-react/src/admin/orm/models/orgPermission.ts index 9a2c0461f..6c4cbf204 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgPermission.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/models/orgPermissionDefault.ts b/sdk/constructive-react/src/admin/orm/models/orgPermissionDefault.ts index d6c204515..92af6e0db 100644 --- a/sdk/constructive-react/src/admin/orm/models/orgPermissionDefault.ts +++ b/sdk/constructive-react/src/admin/orm/models/orgPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/admin/orm/query-builder.ts b/sdk/constructive-react/src/admin/orm/query-builder.ts index 67c3992b5..969c14937 100644 --- a/sdk/constructive-react/src/admin/orm/query-builder.ts +++ b/sdk/constructive-react/src/admin/orm/query-builder.ts @@ -189,12 +189,13 @@ export function buildSelections( // Document Builders // ============================================================================ -export function buildFindManyDocument( +export function buildFindManyDocument( operationName: string, queryField: string, select: TSelect, args: { where?: TWhere; + condition?: TCondition; orderBy?: string[]; first?: number; last?: number; @@ -204,7 +205,8 @@ export function buildFindManyDocument( }, filterTypeName: string, orderByTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -214,10 +216,19 @@ export function buildFindManyDocument( const queryArgs: ArgumentNode[] = []; const variables: Record = {}; + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -290,13 +301,14 @@ export function buildFindManyDocument( return { document: print(document), variables }; } -export function buildFindFirstDocument( +export function buildFindFirstDocument( operationName: string, queryField: string, select: TSelect, - args: { where?: TWhere }, + args: { where?: TWhere; condition?: TCondition }, filterTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -313,10 +325,19 @@ export function buildFindFirstDocument( queryArgs, variables ); + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -728,7 +749,7 @@ function buildConnectionSelections(nodeSelections: FieldNode[]): FieldNode[] { interface VariableSpec { varName: string; argName?: string; - typeName: string; + typeName?: string; value: unknown; } @@ -779,7 +800,7 @@ function addVariable( args: ArgumentNode[], variables: Record ): void { - if (spec.value === undefined) return; + if (spec.value === undefined || !spec.typeName) return; definitions.push( t.variableDefinition({ diff --git a/sdk/constructive-react/src/admin/orm/select-types.ts b/sdk/constructive-react/src/admin/orm/select-types.ts index 80165efa6..919d1b935 100644 --- a/sdk/constructive-react/src/admin/orm/select-types.ts +++ b/sdk/constructive-react/src/admin/orm/select-types.ts @@ -16,9 +16,10 @@ export interface PageInfo { endCursor?: string | null; } -export interface FindManyArgs { +export interface FindManyArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; orderBy?: TOrderBy[]; first?: number; last?: number; @@ -27,9 +28,10 @@ export interface FindManyArgs { offset?: number; } -export interface FindFirstArgs { +export interface FindFirstArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; } export interface CreateArgs { diff --git a/sdk/constructive-react/src/admin/schema-types.ts b/sdk/constructive-react/src/admin/schema-types.ts index 305e16a35..3e6c51fdf 100644 --- a/sdk/constructive-react/src/admin/schema-types.ts +++ b/sdk/constructive-react/src/admin/schema-types.ts @@ -53,6 +53,7 @@ import type { StringListFilter, UUIDFilter, UUIDListFilter, + VectorFilter, } from './types'; export type ConstructiveInternalTypeEmail = unknown; export type ConstructiveInternalTypeImage = unknown; @@ -157,15 +158,6 @@ export type OrgLimitDefaultOrderBy = | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC'; -/** Methods to use when ordering `MembershipType`. */ -export type MembershipTypeOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC'; /** Methods to use when ordering `OrgChartEdgeGrant`. */ export type OrgChartEdgeGrantOrderBy = | 'NATURAL' @@ -180,7 +172,26 @@ export type OrgChartEdgeGrantOrderBy = | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' - | 'GRANTOR_ID_DESC'; + | 'GRANTOR_ID_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +/** Methods to use when ordering `MembershipType`. */ +export type MembershipTypeOrderBy = + | 'NATURAL' + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'ID_ASC' + | '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'; /** Methods to use when ordering `AppPermission`. */ export type AppPermissionOrderBy = | 'NATURAL' @@ -191,7 +202,11 @@ export type AppPermissionOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' - | 'BITNUM_DESC'; + | 'BITNUM_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `OrgPermission`. */ export type OrgPermissionOrderBy = | 'NATURAL' @@ -202,7 +217,11 @@ export type OrgPermissionOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' - | 'BITNUM_DESC'; + | 'BITNUM_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppLimit`. */ export type AppLimitOrderBy = | 'NATURAL' @@ -346,7 +365,11 @@ export type OrgChartEdgeOrderBy = | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' - | 'PARENT_ID_DESC'; + | 'PARENT_ID_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `OrgMembershipDefault`. */ export type OrgMembershipDefaultOrderBy = | 'NATURAL' @@ -380,41 +403,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -/** Methods to use when ordering `Invite`. */ -export type InviteOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'EMAIL_ASC' - | 'EMAIL_DESC' - | 'SENDER_ID_ASC' - | 'SENDER_ID_DESC' - | 'INVITE_TOKEN_ASC' - | 'INVITE_TOKEN_DESC' - | 'INVITE_VALID_ASC' - | 'INVITE_VALID_DESC' - | 'EXPIRES_AT_ASC' - | 'EXPIRES_AT_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -/** Methods to use when ordering `AppLevel`. */ -export type 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'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppMembership`. */ export type AppMembershipOrderBy = | 'NATURAL' @@ -463,6 +456,48 @@ export type OrgMembershipOrderBy = | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +/** Methods to use when ordering `Invite`. */ +export type InviteOrderBy = + | 'NATURAL' + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'ID_ASC' + | 'ID_DESC' + | 'EMAIL_ASC' + | 'EMAIL_DESC' + | 'SENDER_ID_ASC' + | 'SENDER_ID_DESC' + | 'INVITE_TOKEN_ASC' + | 'INVITE_TOKEN_DESC' + | 'INVITE_VALID_ASC' + | 'INVITE_VALID_DESC' + | 'EXPIRES_AT_ASC' + | 'EXPIRES_AT_DESC' + | 'CREATED_AT_ASC' + | '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'; +/** Methods to use when ordering `AppLevel`. */ +export type 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'; /** Methods to use when ordering `OrgInvite`. */ export type OrgInviteOrderBy = | 'NATURAL' @@ -485,21 +520,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; -/** - * A condition to be used against `OrgMember` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgMemberCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isAdmin` field. */ - isAdmin?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; -} + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */ export interface OrgMemberFilter { /** Filter by the object’s `id` field. */ @@ -517,16 +542,6 @@ export interface OrgMemberFilter { /** Negates the expression. */ not?: OrgMemberFilter; } -/** - * A condition to be used against `AppPermissionDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface AppPermissionDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; -} /** A filter to be used against `AppPermissionDefault` object types. All fields are combined with a logical ‘and.’ */ export interface AppPermissionDefaultFilter { /** Filter by the object’s `id` field. */ @@ -540,18 +555,6 @@ export interface AppPermissionDefaultFilter { /** Negates the expression. */ not?: AppPermissionDefaultFilter; } -/** - * A condition to be used against `OrgPermissionDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface OrgPermissionDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; -} /** A filter to be used against `OrgPermissionDefault` object types. All fields are combined with a logical ‘and.’ */ export interface OrgPermissionDefaultFilter { /** Filter by the object’s `id` field. */ @@ -567,24 +570,6 @@ export interface OrgPermissionDefaultFilter { /** Negates the expression. */ not?: OrgPermissionDefaultFilter; } -/** - * A condition to be used against `AppAdminGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppAdminGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ */ export interface AppAdminGrantFilter { /** Filter by the object’s `id` field. */ @@ -606,24 +591,6 @@ export interface AppAdminGrantFilter { /** Negates the expression. */ not?: AppAdminGrantFilter; } -/** - * A condition to be used against `AppOwnerGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppOwnerGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ export interface AppOwnerGrantFilter { /** Filter by the object’s `id` field. */ @@ -645,26 +612,6 @@ export interface AppOwnerGrantFilter { /** Negates the expression. */ not?: AppOwnerGrantFilter; } -/** - * A condition to be used against `OrgAdminGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgAdminGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ */ export interface OrgAdminGrantFilter { /** Filter by the object’s `id` field. */ @@ -688,26 +635,6 @@ export interface OrgAdminGrantFilter { /** Negates the expression. */ not?: OrgAdminGrantFilter; } -/** - * A condition to be used against `OrgOwnerGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgOwnerGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ export interface OrgOwnerGrantFilter { /** Filter by the object’s `id` field. */ @@ -731,18 +658,6 @@ export interface OrgOwnerGrantFilter { /** Negates the expression. */ not?: OrgOwnerGrantFilter; } -/** - * A condition to be used against `AppLimitDefault` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppLimitDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `max` field. */ - max?: number; -} /** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitDefaultFilter { /** Filter by the object’s `id` field. */ @@ -758,17 +673,12 @@ export interface AppLimitDefaultFilter { /** Negates the expression. */ not?: AppLimitDefaultFilter; } -/** - * A condition to be used against `OrgLimitDefault` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgLimitDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `max` field. */ - max?: number; +/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */ +export interface 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?: number; } /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */ export interface OrgLimitDefaultFilter { @@ -785,61 +695,6 @@ export interface OrgLimitDefaultFilter { /** Negates the expression. */ not?: OrgLimitDefaultFilter; } -/** - * A condition to be used against `MembershipType` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface MembershipTypeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: number; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; -} -/** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */ -export interface MembershipTypeFilter { - /** Filter by the object’s `id` field. */ - id?: IntFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `description` field. */ - description?: StringFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Checks for all expressions in this list. */ - and?: MembershipTypeFilter[]; - /** Checks for any expressions in this list. */ - or?: MembershipTypeFilter[]; - /** Negates the expression. */ - not?: MembershipTypeFilter; -} -/** - * A condition to be used against `OrgChartEdgeGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgChartEdgeGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `childId` field. */ - childId?: string; - /** Checks for equality with the object’s `parentId` field. */ - parentId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `positionTitle` field. */ - positionTitle?: string; - /** Checks for equality with the object’s `positionLevel` field. */ - positionLevel?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; -} /** A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */ export interface OrgChartEdgeGrantFilter { /** Filter by the object’s `id` field. */ @@ -866,22 +721,43 @@ export interface OrgChartEdgeGrantFilter { or?: 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; } -/** - * A condition to be used against `AppPermission` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppPermissionCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `bitnum` field. */ - bitnum?: number; - /** Checks for equality with the object’s `bitstr` field. */ - bitstr?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; +/** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */ +export interface MembershipTypeFilter { + /** Filter by the object’s `id` field. */ + id?: IntFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `description` field. */ + description?: StringFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Checks for all expressions in this list. */ + and?: MembershipTypeFilter[]; + /** Checks for any expressions in this list. */ + or?: 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; } /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */ export interface AppPermissionFilter { @@ -901,22 +777,15 @@ export interface AppPermissionFilter { or?: AppPermissionFilter[]; /** Negates the expression. */ not?: AppPermissionFilter; -} -/** - * A condition to be used against `OrgPermission` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgPermissionCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `bitnum` field. */ - bitnum?: number; - /** Checks for equality with the object’s `bitstr` field. */ - bitstr?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; + /** 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; } /** A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ */ export interface OrgPermissionFilter { @@ -936,22 +805,15 @@ export interface OrgPermissionFilter { or?: OrgPermissionFilter[]; /** Negates the expression. */ not?: OrgPermissionFilter; -} -/** - * A condition to be used against `AppLimit` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AppLimitCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `num` field. */ - num?: number; - /** Checks for equality with the object’s `max` field. */ - max?: number; + /** 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; } /** A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitFilter { @@ -972,24 +834,6 @@ export interface AppLimitFilter { /** Negates the expression. */ not?: AppLimitFilter; } -/** - * A condition to be used against `AppAchievement` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppAchievementCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `count` field. */ - count?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ */ export interface AppAchievementFilter { /** Filter by the object’s `id` field. */ @@ -1011,21 +855,6 @@ export interface AppAchievementFilter { /** Negates the expression. */ not?: AppAchievementFilter; } -/** A condition to be used against `AppStep` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface AppStepCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `count` field. */ - count?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ */ export interface AppStepFilter { /** Filter by the object’s `id` field. */ @@ -1047,24 +876,6 @@ export interface AppStepFilter { /** Negates the expression. */ not?: AppStepFilter; } -/** - * A condition to be used against `ClaimedInvite` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface ClaimedInviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `receiverId` field. */ - receiverId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ export interface ClaimedInviteFilter { /** Filter by the object’s `id` field. */ @@ -1084,26 +895,6 @@ export interface ClaimedInviteFilter { /** Negates the expression. */ not?: ClaimedInviteFilter; } -/** - * A condition to be used against `AppGrant` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AppGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ */ export interface AppGrantFilter { /** Filter by the object’s `id` field. */ @@ -1127,26 +918,6 @@ export interface AppGrantFilter { /** Negates the expression. */ not?: AppGrantFilter; } -/** - * A condition to be used against `AppMembershipDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface AppMembershipDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; -} /** A filter to be used against `AppMembershipDefault` object types. All fields are combined with a logical ‘and.’ */ export interface AppMembershipDefaultFilter { /** Filter by the object’s `id` field. */ @@ -1170,24 +941,6 @@ export interface AppMembershipDefaultFilter { /** Negates the expression. */ not?: AppMembershipDefaultFilter; } -/** - * A condition to be used against `OrgLimit` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgLimitCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `num` field. */ - num?: number; - /** Checks for equality with the object’s `max` field. */ - max?: number; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; -} /** A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ */ export interface OrgLimitFilter { /** Filter by the object’s `id` field. */ @@ -1209,26 +962,6 @@ export interface OrgLimitFilter { /** Negates the expression. */ not?: OrgLimitFilter; } -/** - * A condition to be used against `OrgClaimedInvite` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgClaimedInviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `receiverId` field. */ - receiverId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; -} /** A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ export interface OrgClaimedInviteFilter { /** Filter by the object’s `id` field. */ @@ -1250,28 +983,6 @@ export interface OrgClaimedInviteFilter { /** Negates the expression. */ not?: OrgClaimedInviteFilter; } -/** - * A condition to be used against `OrgGrant` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ */ export interface OrgGrantFilter { /** Filter by the object’s `id` field. */ @@ -1297,28 +1008,6 @@ export interface OrgGrantFilter { /** Negates the expression. */ not?: OrgGrantFilter; } -/** - * A condition to be used against `OrgChartEdge` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgChartEdgeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `childId` field. */ - childId?: string; - /** Checks for equality with the object’s `parentId` field. */ - parentId?: string; - /** Checks for equality with the object’s `positionTitle` field. */ - positionTitle?: string; - /** Checks for equality with the object’s `positionLevel` field. */ - positionLevel?: number; -} /** A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ */ export interface OrgChartEdgeFilter { /** Filter by the object’s `id` field. */ @@ -1343,30 +1032,15 @@ export interface OrgChartEdgeFilter { or?: OrgChartEdgeFilter[]; /** Negates the expression. */ not?: OrgChartEdgeFilter; -} -/** - * A condition to be used against `OrgMembershipDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface OrgMembershipDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `deleteMemberCascadeGroups` field. */ - deleteMemberCascadeGroups?: boolean; - /** Checks for equality with the object’s `createGroupsCascadeMembers` field. */ - createGroupsCascadeMembers?: 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; } /** A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ */ export interface OrgMembershipDefaultFilter { @@ -1395,28 +1069,6 @@ export interface OrgMembershipDefaultFilter { /** Negates the expression. */ not?: OrgMembershipDefaultFilter; } -/** - * A condition to be used against `AppLevelRequirement` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface AppLevelRequirementCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `level` field. */ - level?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `requiredCount` field. */ - requiredCount?: number; - /** Checks for equality with the object’s `priority` field. */ - priority?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ */ export interface AppLevelRequirementFilter { /** Filter by the object’s `id` field. */ @@ -1441,33 +1093,97 @@ export interface AppLevelRequirementFilter { or?: 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; } -/** A condition to be used against `Invite` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface InviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `email` field. */ - email?: ConstructiveInternalTypeEmail; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `inviteToken` field. */ - inviteToken?: string; - /** Checks for equality with the object’s `inviteValid` field. */ - inviteValid?: boolean; - /** Checks for equality with the object’s `inviteLimit` field. */ - inviteLimit?: number; - /** Checks for equality with the object’s `inviteCount` field. */ - inviteCount?: number; - /** Checks for equality with the object’s `multiple` field. */ - multiple?: boolean; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `expiresAt` field. */ - expiresAt?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */ +export interface AppMembershipFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; + /** Filter by the object’s `createdBy` field. */ + createdBy?: UUIDFilter; + /** Filter by the object’s `updatedBy` field. */ + updatedBy?: UUIDFilter; + /** Filter by the object’s `isApproved` field. */ + isApproved?: BooleanFilter; + /** Filter by the object’s `isBanned` field. */ + isBanned?: BooleanFilter; + /** Filter by the object’s `isDisabled` field. */ + isDisabled?: BooleanFilter; + /** Filter by the object’s `isVerified` field. */ + isVerified?: BooleanFilter; + /** Filter by the object’s `isActive` field. */ + isActive?: BooleanFilter; + /** Filter by the object’s `isOwner` field. */ + isOwner?: BooleanFilter; + /** Filter by the object’s `isAdmin` field. */ + isAdmin?: BooleanFilter; + /** Filter by the object’s `permissions` field. */ + permissions?: BitStringFilter; + /** Filter by the object’s `granted` field. */ + granted?: BitStringFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `profileId` field. */ + profileId?: UUIDFilter; + /** Checks for all expressions in this list. */ + and?: AppMembershipFilter[]; + /** Checks for any expressions in this list. */ + or?: AppMembershipFilter[]; + /** Negates the expression. */ + not?: AppMembershipFilter; +} +/** A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgMembershipFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; + /** Filter by the object’s `createdBy` field. */ + createdBy?: UUIDFilter; + /** Filter by the object’s `updatedBy` field. */ + updatedBy?: UUIDFilter; + /** Filter by the object’s `isApproved` field. */ + isApproved?: BooleanFilter; + /** Filter by the object’s `isBanned` field. */ + isBanned?: BooleanFilter; + /** Filter by the object’s `isDisabled` field. */ + isDisabled?: BooleanFilter; + /** Filter by the object’s `isActive` field. */ + isActive?: BooleanFilter; + /** Filter by the object’s `isOwner` field. */ + isOwner?: BooleanFilter; + /** Filter by the object’s `isAdmin` field. */ + isAdmin?: BooleanFilter; + /** Filter by the object’s `permissions` field. */ + permissions?: BitStringFilter; + /** Filter by the object’s `granted` field. */ + granted?: BitStringFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `profileId` field. */ + profileId?: UUIDFilter; + /** Checks for all expressions in this list. */ + and?: OrgMembershipFilter[]; + /** Checks for any expressions in this list. */ + or?: OrgMembershipFilter[]; + /** Negates the expression. */ + not?: OrgMembershipFilter; } /** A filter to be used against `Invite` object types. All fields are combined with a logical ‘and.’ */ export interface InviteFilter { @@ -1499,6 +1215,15 @@ export interface InviteFilter { or?: 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; } /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */ export interface ConstructiveInternalTypeEmailFilter { @@ -1577,26 +1302,6 @@ export interface ConstructiveInternalTypeEmailFilter { /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; } -/** - * A condition to be used against `AppLevel` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AppLevelCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `image` field. */ - image?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ */ export interface AppLevelFilter { /** Filter by the object’s `id` field. */ @@ -1612,240 +1317,57 @@ export interface AppLevelFilter { /** 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; -} -/** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */ -export interface ConstructiveInternalTypeImageFilter { - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: boolean; - /** Equal to the specified value. */ - equalTo?: ConstructiveInternalTypeImage; - /** Not equal to the specified value. */ - notEqualTo?: ConstructiveInternalTypeImage; - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: ConstructiveInternalTypeImage; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: ConstructiveInternalTypeImage; - /** Included in the specified list. */ - in?: ConstructiveInternalTypeImage[]; - /** Not included in the specified list. */ - notIn?: ConstructiveInternalTypeImage[]; - /** Less than the specified value. */ - lessThan?: ConstructiveInternalTypeImage; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: ConstructiveInternalTypeImage; - /** Greater than the specified value. */ - greaterThan?: ConstructiveInternalTypeImage; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: ConstructiveInternalTypeImage; - /** Contains the specified JSON. */ - contains?: ConstructiveInternalTypeImage; - /** Contains the specified key. */ - containsKey?: string; - /** Contains all of the specified keys. */ - containsAllKeys?: string[]; - /** Contains any of the specified keys. */ - containsAnyKeys?: string[]; - /** Contained by the specified JSON. */ - containedBy?: ConstructiveInternalTypeImage; -} -/** - * A condition to be used against `AppMembership` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppMembershipCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `isBanned` field. */ - isBanned?: boolean; - /** Checks for equality with the object’s `isDisabled` field. */ - isDisabled?: boolean; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isActive` field. */ - isActive?: boolean; - /** Checks for equality with the object’s `isOwner` field. */ - isOwner?: boolean; - /** Checks for equality with the object’s `isAdmin` field. */ - isAdmin?: boolean; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `granted` field. */ - granted?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `profileId` field. */ - profileId?: string; -} -/** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */ -export interface AppMembershipFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; - /** Filter by the object’s `createdBy` field. */ - createdBy?: UUIDFilter; - /** Filter by the object’s `updatedBy` field. */ - updatedBy?: UUIDFilter; - /** Filter by the object’s `isApproved` field. */ - isApproved?: BooleanFilter; - /** Filter by the object’s `isBanned` field. */ - isBanned?: BooleanFilter; - /** Filter by the object’s `isDisabled` field. */ - isDisabled?: BooleanFilter; - /** Filter by the object’s `isVerified` field. */ - isVerified?: BooleanFilter; - /** Filter by the object’s `isActive` field. */ - isActive?: BooleanFilter; - /** Filter by the object’s `isOwner` field. */ - isOwner?: BooleanFilter; - /** Filter by the object’s `isAdmin` field. */ - isAdmin?: BooleanFilter; - /** Filter by the object’s `permissions` field. */ - permissions?: BitStringFilter; - /** Filter by the object’s `granted` field. */ - granted?: BitStringFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `profileId` field. */ - profileId?: UUIDFilter; - /** Checks for all expressions in this list. */ - and?: AppMembershipFilter[]; - /** Checks for any expressions in this list. */ - or?: AppMembershipFilter[]; - /** Negates the expression. */ - not?: AppMembershipFilter; -} -/** - * A condition to be used against `OrgMembership` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgMembershipCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `isBanned` field. */ - isBanned?: boolean; - /** Checks for equality with the object’s `isDisabled` field. */ - isDisabled?: boolean; - /** Checks for equality with the object’s `isActive` field. */ - isActive?: boolean; - /** Checks for equality with the object’s `isOwner` field. */ - isOwner?: boolean; - /** Checks for equality with the object’s `isAdmin` field. */ - isAdmin?: boolean; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `granted` field. */ - granted?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `profileId` field. */ - profileId?: string; -} -/** A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgMembershipFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; - /** Filter by the object’s `createdBy` field. */ - createdBy?: UUIDFilter; - /** Filter by the object’s `updatedBy` field. */ - updatedBy?: UUIDFilter; - /** Filter by the object’s `isApproved` field. */ - isApproved?: BooleanFilter; - /** Filter by the object’s `isBanned` field. */ - isBanned?: BooleanFilter; - /** Filter by the object’s `isDisabled` field. */ - isDisabled?: BooleanFilter; - /** Filter by the object’s `isActive` field. */ - isActive?: BooleanFilter; - /** Filter by the object’s `isOwner` field. */ - isOwner?: BooleanFilter; - /** Filter by the object’s `isAdmin` field. */ - isAdmin?: BooleanFilter; - /** Filter by the object’s `permissions` field. */ - permissions?: BitStringFilter; - /** Filter by the object’s `granted` field. */ - granted?: BitStringFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `profileId` field. */ - profileId?: UUIDFilter; - /** Checks for all expressions in this list. */ - and?: OrgMembershipFilter[]; - /** Checks for any expressions in this list. */ - or?: OrgMembershipFilter[]; - /** Negates the expression. */ - not?: OrgMembershipFilter; -} -/** - * A condition to be used against `OrgInvite` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgInviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `email` field. */ - email?: ConstructiveInternalTypeEmail; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `receiverId` field. */ - receiverId?: string; - /** Checks for equality with the object’s `inviteToken` field. */ - inviteToken?: string; - /** Checks for equality with the object’s `inviteValid` field. */ - inviteValid?: boolean; - /** Checks for equality with the object’s `inviteLimit` field. */ - inviteLimit?: number; - /** Checks for equality with the object’s `inviteCount` field. */ - inviteCount?: number; - /** Checks for equality with the object’s `multiple` field. */ - multiple?: boolean; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `expiresAt` field. */ - expiresAt?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; + 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; + /** 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; +} +/** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */ +export interface ConstructiveInternalTypeImageFilter { + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: boolean; + /** Equal to the specified value. */ + equalTo?: ConstructiveInternalTypeImage; + /** Not equal to the specified value. */ + notEqualTo?: ConstructiveInternalTypeImage; + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: ConstructiveInternalTypeImage; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: ConstructiveInternalTypeImage; + /** Included in the specified list. */ + in?: ConstructiveInternalTypeImage[]; + /** Not included in the specified list. */ + notIn?: ConstructiveInternalTypeImage[]; + /** Less than the specified value. */ + lessThan?: ConstructiveInternalTypeImage; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: ConstructiveInternalTypeImage; + /** Greater than the specified value. */ + greaterThan?: ConstructiveInternalTypeImage; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: ConstructiveInternalTypeImage; + /** Contains the specified JSON. */ + contains?: ConstructiveInternalTypeImage; + /** Contains the specified key. */ + containsKey?: string; + /** Contains all of the specified keys. */ + containsAllKeys?: string[]; + /** Contains any of the specified keys. */ + containsAnyKeys?: string[]; + /** Contained by the specified JSON. */ + containedBy?: ConstructiveInternalTypeImage; } /** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */ export interface OrgInviteFilter { @@ -1881,6 +1403,15 @@ export interface OrgInviteFilter { or?: 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; } export interface SubmitInviteCodeInput { clientMutationId?: string; @@ -2023,22 +1554,6 @@ export interface OrgLimitDefaultInput { /** Default maximum usage allowed for this limit */ max?: number; } -export interface CreateMembershipTypeInput { - clientMutationId?: string; - /** The `MembershipType` to be created by this mutation. */ - membershipType: MembershipTypeInput; -} -/** An input for mutations affecting `MembershipType` */ -export interface MembershipTypeInput { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ - name: string; - /** Description of what this membership type represents */ - description: string; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix: string; -} export interface CreateOrgChartEdgeGrantInput { clientMutationId?: string; /** The `OrgChartEdgeGrant` to be created by this mutation. */ @@ -2064,6 +1579,22 @@ export interface OrgChartEdgeGrantInput { /** Timestamp when this grant or revocation was recorded */ createdAt?: string; } +export interface CreateMembershipTypeInput { + clientMutationId?: string; + /** The `MembershipType` to be created by this mutation. */ + membershipType: MembershipTypeInput; +} +/** An input for mutations affecting `MembershipType` */ +export interface MembershipTypeInput { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name: string; + /** Description of what this membership type represents */ + description: string; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix: string; +} export interface CreateAppPermissionInput { clientMutationId?: string; /** The `AppPermission` to be created by this mutation. */ @@ -2318,54 +1849,6 @@ export interface AppLevelRequirementInput { createdAt?: string; updatedAt?: string; } -export interface CreateInviteInput { - clientMutationId?: string; - /** The `Invite` to be created by this mutation. */ - invite: InviteInput; -} -/** An input for mutations affecting `Invite` */ -export interface InviteInput { - id?: string; - /** Email address of the invited recipient */ - email?: ConstructiveInternalTypeEmail; - /** User ID of the member who sent this invitation */ - senderId?: string; - /** Unique random hex token used to redeem this invitation */ - inviteToken?: string; - /** Whether this invitation is still valid and can be redeemed */ - inviteValid?: boolean; - /** Maximum number of times this invite can be claimed; -1 means unlimited */ - inviteLimit?: number; - /** Running count of how many times this invite has been claimed */ - inviteCount?: number; - /** Whether this invite can be claimed by multiple recipients */ - multiple?: boolean; - /** Optional JSON payload of additional invite metadata */ - data?: unknown; - /** Timestamp after which this invitation can no longer be redeemed */ - expiresAt?: string; - createdAt?: string; - updatedAt?: string; -} -export interface CreateAppLevelInput { - clientMutationId?: string; - /** The `AppLevel` to be created by this mutation. */ - appLevel: AppLevelInput; -} -/** An input for mutations affecting `AppLevel` */ -export interface AppLevelInput { - id?: string; - /** 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?: string; - createdAt?: string; - updatedAt?: string; -} export interface CreateAppMembershipInput { clientMutationId?: string; /** The `AppMembership` to be created by this mutation. */ @@ -2434,6 +1917,54 @@ export interface OrgMembershipInput { entityId: string; profileId?: string; } +export interface CreateInviteInput { + clientMutationId?: string; + /** The `Invite` to be created by this mutation. */ + invite: InviteInput; +} +/** An input for mutations affecting `Invite` */ +export interface InviteInput { + id?: string; + /** Email address of the invited recipient */ + email?: ConstructiveInternalTypeEmail; + /** User ID of the member who sent this invitation */ + senderId?: string; + /** Unique random hex token used to redeem this invitation */ + inviteToken?: string; + /** Whether this invitation is still valid and can be redeemed */ + inviteValid?: boolean; + /** Maximum number of times this invite can be claimed; -1 means unlimited */ + inviteLimit?: number; + /** Running count of how many times this invite has been claimed */ + inviteCount?: number; + /** Whether this invite can be claimed by multiple recipients */ + multiple?: boolean; + /** Optional JSON payload of additional invite metadata */ + data?: unknown; + /** Timestamp after which this invitation can no longer be redeemed */ + expiresAt?: string; + createdAt?: string; + updatedAt?: string; +} +export interface CreateAppLevelInput { + clientMutationId?: string; + /** The `AppLevel` to be created by this mutation. */ + appLevel: AppLevelInput; +} +/** An input for mutations affecting `AppLevel` */ +export interface AppLevelInput { + id?: string; + /** 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?: string; + createdAt?: string; + updatedAt?: string; +} export interface CreateOrgInviteInput { clientMutationId?: string; /** The `OrgInvite` to be created by this mutation. */ @@ -2608,24 +2139,6 @@ export interface OrgLimitDefaultPatch { /** Default maximum usage allowed for this limit */ max?: number; } -export interface UpdateMembershipTypeInput { - clientMutationId?: string; - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** An object where the defined keys will be set on the `MembershipType` being updated. */ - membershipTypePatch: MembershipTypePatch; -} -/** Represents an update to a `MembershipType`. Fields that are set will be updated. */ -export interface MembershipTypePatch { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id?: number; - /** Human-readable name of the membership type */ - name?: string; - /** Description of what this membership type represents */ - description?: string; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string; -} export interface UpdateOrgChartEdgeGrantInput { clientMutationId?: string; id: string; @@ -2652,6 +2165,24 @@ export interface OrgChartEdgeGrantPatch { /** Timestamp when this grant or revocation was recorded */ createdAt?: string; } +export interface UpdateMembershipTypeInput { + clientMutationId?: string; + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** An object where the defined keys will be set on the `MembershipType` being updated. */ + membershipTypePatch: MembershipTypePatch; +} +/** Represents an update to a `MembershipType`. Fields that are set will be updated. */ +export interface MembershipTypePatch { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id?: number; + /** Human-readable name of the membership type */ + name?: string; + /** Description of what this membership type represents */ + description?: string; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string; +} export interface UpdateAppPermissionInput { clientMutationId?: string; id: string; @@ -2920,58 +2451,6 @@ export interface AppLevelRequirementPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateInviteInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `Invite` being updated. */ - invitePatch: InvitePatch; -} -/** Represents an update to a `Invite`. Fields that are set will be updated. */ -export interface InvitePatch { - id?: string; - /** Email address of the invited recipient */ - email?: ConstructiveInternalTypeEmail; - /** User ID of the member who sent this invitation */ - senderId?: string; - /** Unique random hex token used to redeem this invitation */ - inviteToken?: string; - /** Whether this invitation is still valid and can be redeemed */ - inviteValid?: boolean; - /** Maximum number of times this invite can be claimed; -1 means unlimited */ - inviteLimit?: number; - /** Running count of how many times this invite has been claimed */ - inviteCount?: number; - /** Whether this invite can be claimed by multiple recipients */ - multiple?: boolean; - /** Optional JSON payload of additional invite metadata */ - data?: unknown; - /** Timestamp after which this invitation can no longer be redeemed */ - expiresAt?: string; - createdAt?: string; - updatedAt?: string; -} -export interface UpdateAppLevelInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `AppLevel` being updated. */ - appLevelPatch: AppLevelPatch; -} -/** Represents an update to a `AppLevel`. Fields that are set will be updated. */ -export interface AppLevelPatch { - id?: string; - /** 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?: string; - createdAt?: string; - updatedAt?: string; - /** Upload for Badge or icon image associated with this level */ - imageUpload?: File; -} export interface UpdateAppMembershipInput { clientMutationId?: string; id: string; @@ -3042,6 +2521,58 @@ export interface OrgMembershipPatch { entityId?: string; profileId?: string; } +export interface UpdateInviteInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `Invite` being updated. */ + invitePatch: InvitePatch; +} +/** Represents an update to a `Invite`. Fields that are set will be updated. */ +export interface InvitePatch { + id?: string; + /** Email address of the invited recipient */ + email?: ConstructiveInternalTypeEmail; + /** User ID of the member who sent this invitation */ + senderId?: string; + /** Unique random hex token used to redeem this invitation */ + inviteToken?: string; + /** Whether this invitation is still valid and can be redeemed */ + inviteValid?: boolean; + /** Maximum number of times this invite can be claimed; -1 means unlimited */ + inviteLimit?: number; + /** Running count of how many times this invite has been claimed */ + inviteCount?: number; + /** Whether this invite can be claimed by multiple recipients */ + multiple?: boolean; + /** Optional JSON payload of additional invite metadata */ + data?: unknown; + /** Timestamp after which this invitation can no longer be redeemed */ + expiresAt?: string; + createdAt?: string; + updatedAt?: string; +} +export interface UpdateAppLevelInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `AppLevel` being updated. */ + appLevelPatch: AppLevelPatch; +} +/** Represents an update to a `AppLevel`. Fields that are set will be updated. */ +export interface AppLevelPatch { + id?: string; + /** 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?: string; + createdAt?: string; + updatedAt?: string; + /** Upload for Badge or icon image associated with this level */ + imageUpload?: File; +} export interface UpdateOrgInviteInput { clientMutationId?: string; id: string; @@ -3111,15 +2642,15 @@ export interface DeleteOrgLimitDefaultInput { clientMutationId?: string; id: string; } +export interface DeleteOrgChartEdgeGrantInput { + clientMutationId?: string; + id: string; +} export interface DeleteMembershipTypeInput { clientMutationId?: string; /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ id: number; } -export interface DeleteOrgChartEdgeGrantInput { - clientMutationId?: string; - id: string; -} export interface DeleteAppPermissionInput { clientMutationId?: string; id: string; @@ -3176,19 +2707,19 @@ export interface DeleteAppLevelRequirementInput { clientMutationId?: string; id: string; } -export interface DeleteInviteInput { +export interface DeleteAppMembershipInput { clientMutationId?: string; id: string; } -export interface DeleteAppLevelInput { +export interface DeleteOrgMembershipInput { clientMutationId?: string; id: string; } -export interface DeleteAppMembershipInput { +export interface DeleteInviteInput { clientMutationId?: string; id: string; } -export interface DeleteOrgMembershipInput { +export interface DeleteAppLevelInput { clientMutationId?: string; id: string; } @@ -3294,13 +2825,6 @@ export interface OrgLimitDefaultConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `MembershipType` values. */ -export interface MembershipTypeConnection { - nodes: MembershipType[]; - edges: MembershipTypeEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `OrgChartEdgeGrant` values. */ export interface OrgChartEdgeGrantConnection { nodes: OrgChartEdgeGrant[]; @@ -3308,6 +2832,13 @@ export interface OrgChartEdgeGrantConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `MembershipType` values. */ +export interface MembershipTypeConnection { + nodes: MembershipType[]; + edges: MembershipTypeEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `AppLimit` values. */ export interface AppLimitConnection { nodes: AppLimit[]; @@ -3385,20 +2916,6 @@ export interface OrgMembershipDefaultConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Invite` values. */ -export interface InviteConnection { - nodes: Invite[]; - edges: InviteEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -/** A connection to a list of `AppLevel` values. */ -export interface AppLevelConnection { - nodes: AppLevel[]; - edges: AppLevelEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `AppMembership` values. */ export interface AppMembershipConnection { nodes: AppMembership[]; @@ -3413,6 +2930,20 @@ export interface OrgMembershipConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `Invite` values. */ +export interface InviteConnection { + nodes: Invite[]; + edges: InviteEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `AppLevel` values. */ +export interface AppLevelConnection { + nodes: AppLevel[]; + edges: AppLevelEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `OrgInvite` values. */ export interface OrgInviteConnection { nodes: OrgInvite[]; @@ -3486,18 +3017,18 @@ export interface CreateOrgLimitDefaultPayload { orgLimitDefault?: OrgLimitDefault | null; orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; } -export interface CreateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was created by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} export interface CreateOrgChartEdgeGrantPayload { clientMutationId?: string | null; /** The `OrgChartEdgeGrant` that was created by this mutation. */ orgChartEdgeGrant?: OrgChartEdgeGrant | null; orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null; } +export interface CreateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was created by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} export interface CreateAppPermissionPayload { clientMutationId?: string | null; /** The `AppPermission` that was created by this mutation. */ @@ -3582,18 +3113,6 @@ export interface CreateAppLevelRequirementPayload { appLevelRequirement?: AppLevelRequirement | null; appLevelRequirementEdge?: AppLevelRequirementEdge | null; } -export interface CreateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was created by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export interface CreateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was created by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} export interface CreateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was created by this mutation. */ @@ -3606,6 +3125,18 @@ export interface CreateOrgMembershipPayload { orgMembership?: OrgMembership | null; orgMembershipEdge?: OrgMembershipEdge | null; } +export interface CreateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was created by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export interface CreateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was created by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} export interface CreateOrgInvitePayload { clientMutationId?: string | null; /** The `OrgInvite` that was created by this mutation. */ @@ -3666,18 +3197,18 @@ export interface UpdateOrgLimitDefaultPayload { orgLimitDefault?: OrgLimitDefault | null; orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; } -export interface UpdateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was updated by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} export interface UpdateOrgChartEdgeGrantPayload { clientMutationId?: string | null; /** The `OrgChartEdgeGrant` that was updated by this mutation. */ orgChartEdgeGrant?: OrgChartEdgeGrant | null; orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null; } +export interface UpdateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was updated by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} export interface UpdateAppPermissionPayload { clientMutationId?: string | null; /** The `AppPermission` that was updated by this mutation. */ @@ -3762,18 +3293,6 @@ export interface UpdateAppLevelRequirementPayload { appLevelRequirement?: AppLevelRequirement | null; appLevelRequirementEdge?: AppLevelRequirementEdge | null; } -export interface UpdateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was updated by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export interface UpdateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was updated by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} export interface UpdateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was updated by this mutation. */ @@ -3786,6 +3305,18 @@ export interface UpdateOrgMembershipPayload { orgMembership?: OrgMembership | null; orgMembershipEdge?: OrgMembershipEdge | null; } +export interface UpdateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was updated by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export interface UpdateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was updated by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} export interface UpdateOrgInvitePayload { clientMutationId?: string | null; /** The `OrgInvite` that was updated by this mutation. */ @@ -3846,18 +3377,18 @@ export interface DeleteOrgLimitDefaultPayload { orgLimitDefault?: OrgLimitDefault | null; orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; } -export interface DeleteMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was deleted by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} export interface DeleteOrgChartEdgeGrantPayload { clientMutationId?: string | null; /** The `OrgChartEdgeGrant` that was deleted by this mutation. */ orgChartEdgeGrant?: OrgChartEdgeGrant | null; orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null; } +export interface DeleteMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was deleted by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} export interface DeleteAppPermissionPayload { clientMutationId?: string | null; /** The `AppPermission` that was deleted by this mutation. */ @@ -3942,18 +3473,6 @@ export interface DeleteAppLevelRequirementPayload { appLevelRequirement?: AppLevelRequirement | null; appLevelRequirementEdge?: AppLevelRequirementEdge | null; } -export interface DeleteInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was deleted by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export interface DeleteAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was deleted by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} export interface DeleteAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was deleted by this mutation. */ @@ -3966,6 +3485,18 @@ export interface DeleteOrgMembershipPayload { orgMembership?: OrgMembership | null; orgMembershipEdge?: OrgMembershipEdge | null; } +export interface DeleteInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was deleted by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export interface DeleteAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was deleted by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} export interface DeleteOrgInvitePayload { clientMutationId?: string | null; /** The `OrgInvite` that was deleted by this mutation. */ @@ -4067,18 +3598,18 @@ export interface OrgLimitDefaultEdge { /** The `OrgLimitDefault` at the end of the edge. */ node?: OrgLimitDefault | null; } -/** A `MembershipType` edge in the connection. */ -export interface MembershipTypeEdge { - cursor?: string | null; - /** The `MembershipType` at the end of the edge. */ - node?: MembershipType | null; -} /** A `OrgChartEdgeGrant` edge in the connection. */ export interface OrgChartEdgeGrantEdge { cursor?: string | null; /** The `OrgChartEdgeGrant` at the end of the edge. */ node?: OrgChartEdgeGrant | null; } +/** A `MembershipType` edge in the connection. */ +export interface MembershipTypeEdge { + cursor?: string | null; + /** The `MembershipType` at the end of the edge. */ + node?: MembershipType | null; +} /** A `AppLimit` edge in the connection. */ export interface AppLimitEdge { cursor?: string | null; @@ -4145,18 +3676,6 @@ export interface OrgMembershipDefaultEdge { /** The `OrgMembershipDefault` at the end of the edge. */ node?: OrgMembershipDefault | null; } -/** A `Invite` edge in the connection. */ -export interface InviteEdge { - cursor?: string | null; - /** The `Invite` at the end of the edge. */ - node?: Invite | null; -} -/** A `AppLevel` edge in the connection. */ -export interface AppLevelEdge { - cursor?: string | null; - /** The `AppLevel` at the end of the edge. */ - node?: AppLevel | null; -} /** A `AppMembership` edge in the connection. */ export interface AppMembershipEdge { cursor?: string | null; @@ -4169,6 +3688,18 @@ export interface OrgMembershipEdge { /** The `OrgMembership` at the end of the edge. */ node?: OrgMembership | null; } +/** A `Invite` edge in the connection. */ +export interface InviteEdge { + cursor?: string | null; + /** The `Invite` at the end of the edge. */ + node?: Invite | null; +} +/** A `AppLevel` edge in the connection. */ +export interface AppLevelEdge { + cursor?: string | null; + /** The `AppLevel` at the end of the edge. */ + node?: AppLevel | null; +} /** A `OrgInvite` edge in the connection. */ export interface OrgInviteEdge { cursor?: string | null; diff --git a/sdk/constructive-react/src/admin/types.ts b/sdk/constructive-react/src/admin/types.ts index 07c653c6f..6c209bbab 100644 --- a/sdk/constructive-react/src/admin/types.ts +++ b/sdk/constructive-react/src/admin/types.ts @@ -19,6 +19,8 @@ export interface AppPermission { bitnum: number | null; bitstr: string | null; description: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface OrgPermission { id: string | null; @@ -26,6 +28,8 @@ export interface OrgPermission { bitnum: number | null; bitstr: string | null; description: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppLevelRequirement { id: string | null; @@ -36,6 +40,8 @@ export interface AppLevelRequirement { priority: number | null; createdAt: string | null; updatedAt: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface OrgMember { id: string | null; @@ -96,12 +102,6 @@ export interface OrgLimitDefault { name: string | null; max: number | null; } -export interface MembershipType { - id: number | null; - name: string | null; - description: string | null; - prefix: string | null; -} export interface OrgChartEdgeGrant { id: string | null; entityId: string | null; @@ -112,6 +112,17 @@ export interface OrgChartEdgeGrant { positionTitle: string | null; positionLevel: number | null; createdAt: string | null; + positionTitleTrgmSimilarity: number | null; + searchScore: number | null; +} +export interface MembershipType { + id: number | null; + name: string | null; + description: string | null; + prefix: string | null; + descriptionTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppLimit { id: string | null; @@ -198,6 +209,8 @@ export interface OrgChartEdge { parentId: string | null; positionTitle: string | null; positionLevel: number | null; + positionTitleTrgmSimilarity: number | null; + searchScore: number | null; } export interface OrgMembershipDefault { id: string | null; @@ -210,29 +223,6 @@ export interface OrgMembershipDefault { deleteMemberCascadeGroups: boolean | null; createGroupsCascadeMembers: boolean | null; } -export interface Invite { - id: string | null; - email: ConstructiveInternalTypeEmail | null; - senderId: string | null; - inviteToken: string | null; - inviteValid: boolean | null; - inviteLimit: number | null; - inviteCount: number | null; - multiple: boolean | null; - data: unknown | null; - expiresAt: string | null; - createdAt: string | null; - updatedAt: string | null; -} -export interface AppLevel { - id: string | null; - name: string | null; - description: string | null; - image: ConstructiveInternalTypeImage | null; - ownerId: string | null; - createdAt: string | null; - updatedAt: string | null; -} export interface AppMembership { id: string | null; createdAt: string | null; @@ -269,6 +259,33 @@ export interface OrgMembership { entityId: string | null; profileId: string | null; } +export interface Invite { + id: string | null; + email: ConstructiveInternalTypeEmail | null; + senderId: string | null; + inviteToken: string | null; + inviteValid: boolean | null; + inviteLimit: number | null; + inviteCount: number | null; + multiple: boolean | null; + data: unknown | null; + expiresAt: string | null; + createdAt: string | null; + updatedAt: string | null; + inviteTokenTrgmSimilarity: number | null; + searchScore: number | null; +} +export interface AppLevel { + id: string | null; + name: string | null; + description: string | null; + image: ConstructiveInternalTypeImage | null; + ownerId: string | null; + createdAt: string | null; + updatedAt: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; +} export interface OrgInvite { id: string | null; email: ConstructiveInternalTypeEmail | null; @@ -284,6 +301,8 @@ export interface OrgInvite { createdAt: string | null; updatedAt: string | null; entityId: string | null; + inviteTokenTrgmSimilarity: number | null; + searchScore: number | null; } export interface StringFilter { isNull?: boolean; @@ -442,6 +461,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; diff --git a/sdk/constructive-react/src/auth/hooks/README.md b/sdk/constructive-react/src/auth/hooks/README.md index 45931d894..338ac9bb5 100644 --- a/sdk/constructive-react/src/auth/hooks/README.md +++ b/sdk/constructive-react/src/auth/hooks/README.md @@ -32,16 +32,16 @@ function App() { | Hook | Type | Description | |------|------|-------------| -| `useRoleTypesQuery` | Query | List all roleTypes | -| `useRoleTypeQuery` | Query | Get one roleType | -| `useCreateRoleTypeMutation` | Mutation | Create a roleType | -| `useUpdateRoleTypeMutation` | Mutation | Update a roleType | -| `useDeleteRoleTypeMutation` | Mutation | Delete a roleType | | `useCryptoAddressesQuery` | Query | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | | `useCryptoAddressQuery` | Query | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | | `useCreateCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | | `useUpdateCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | | `useDeleteCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | +| `useRoleTypesQuery` | Query | List all roleTypes | +| `useRoleTypeQuery` | Query | Get one roleType | +| `useCreateRoleTypeMutation` | Mutation | Create a roleType | +| `useUpdateRoleTypeMutation` | Mutation | Update a roleType | +| `useDeleteRoleTypeMutation` | Mutation | Delete a roleType | | `usePhoneNumbersQuery` | Query | User phone numbers with country code, verification, and primary-number management | | `usePhoneNumberQuery` | Query | User phone numbers with country code, verification, and primary-number management | | `useCreatePhoneNumberMutation` | Mutation | User phone numbers with country code, verification, and primary-number management | @@ -90,46 +90,46 @@ function App() { ## Table Hooks -### RoleType +### CryptoAddress ```typescript -// List all roleTypes -const { data, isLoading } = useRoleTypesQuery({ - selection: { fields: { id: true, name: true } }, +// List all cryptoAddresses +const { data, isLoading } = useCryptoAddressesQuery({ + selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }, }); -// Get one roleType -const { data: item } = useRoleTypeQuery({ +// Get one cryptoAddress +const { data: item } = useCryptoAddressQuery({ id: '', - selection: { fields: { id: true, name: true } }, + selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }, }); -// Create a roleType -const { mutate: create } = useCreateRoleTypeMutation({ +// Create a cryptoAddress +const { mutate: create } = useCreateCryptoAddressMutation({ selection: { fields: { id: true } }, }); -create({ name: '' }); +create({ ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }); ``` -### CryptoAddress +### RoleType ```typescript -// List all cryptoAddresses -const { data, isLoading } = useCryptoAddressesQuery({ - selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, +// List all roleTypes +const { data, isLoading } = useRoleTypesQuery({ + selection: { fields: { id: true, name: true } }, }); -// Get one cryptoAddress -const { data: item } = useCryptoAddressQuery({ +// Get one roleType +const { data: item } = useRoleTypeQuery({ id: '', - selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true } }, }); -// Create a cryptoAddress -const { mutate: create } = useCreateCryptoAddressMutation({ +// Create a roleType +const { mutate: create } = useCreateRoleTypeMutation({ selection: { fields: { id: true } }, }); -create({ ownerId: '', address: '', isVerified: '', isPrimary: '' }); +create({ name: '' }); ``` ### PhoneNumber @@ -137,20 +137,20 @@ create({ ownerId: '', address: '', isVerified: '', isPrimar ```typescript // List all phoneNumbers const { data, isLoading } = usePhoneNumbersQuery({ - selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }, }); // Get one phoneNumber const { data: item } = usePhoneNumberQuery({ id: '', - selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }, }); // Create a phoneNumber const { mutate: create } = useCreatePhoneNumberMutation({ selection: { fields: { id: true } }, }); -create({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }); +create({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }); ``` ### ConnectedAccount @@ -158,20 +158,20 @@ create({ ownerId: '', cc: '', number: '', isVerified: '', - selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }, }); // Create a connectedAccount const { mutate: create } = useCreateConnectedAccountMutation({ selection: { fields: { id: true } }, }); -create({ ownerId: '', service: '', identifier: '', details: '', isVerified: '' }); +create({ ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }); ``` ### AuditLog @@ -179,20 +179,20 @@ create({ ownerId: '', service: '', identifier: '', details: ```typescript // List all auditLogs const { data, isLoading } = useAuditLogsQuery({ - selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }, + selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }, }); // Get one auditLog const { data: item } = useAuditLogQuery({ id: '', - selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }, + selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }, }); // Create a auditLog const { mutate: create } = useCreateAuditLogMutation({ selection: { fields: { id: true } }, }); -create({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }); +create({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }); ``` ### Email @@ -221,20 +221,20 @@ create({ ownerId: '', email: '', isVerified: '', isPrimary: ```typescript // List all users const { data, isLoading } = useUsersQuery({ - selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }, + selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }, }); // Get one user const { data: item } = useUserQuery({ id: '', - selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }, + selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }, }); // Create a user const { mutate: create } = useCreateUserMutation({ selection: { fields: { id: true } }, }); -create({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }); +create({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }); ``` ## Custom Operation Hooks diff --git a/sdk/constructive-react/src/auth/hooks/index.ts b/sdk/constructive-react/src/auth/hooks/index.ts index 017d2646f..0bc4523c1 100644 --- a/sdk/constructive-react/src/auth/hooks/index.ts +++ b/sdk/constructive-react/src/auth/hooks/index.ts @@ -2,7 +2,7 @@ * GraphQL SDK * @generated by @constructive-io/graphql-codegen * - * Tables: RoleType, CryptoAddress, PhoneNumber, ConnectedAccount, AuditLog, Email, User + * Tables: CryptoAddress, RoleType, PhoneNumber, ConnectedAccount, AuditLog, Email, User * * Usage: * diff --git a/sdk/constructive-react/src/auth/hooks/invalidation.ts b/sdk/constructive-react/src/auth/hooks/invalidation.ts index 631c7bece..57629824d 100644 --- a/sdk/constructive-react/src/auth/hooks/invalidation.ts +++ b/sdk/constructive-react/src/auth/hooks/invalidation.ts @@ -15,8 +15,8 @@ import type { QueryClient } from '@tanstack/react-query'; import { - roleTypeKeys, cryptoAddressKeys, + roleTypeKeys, phoneNumberKeys, connectedAccountKeys, auditLogKeys, @@ -43,20 +43,6 @@ import { * ``` */ export const invalidate = { - /** Invalidate roleType queries */ roleType: { - /** Invalidate all roleType queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: roleTypeKeys.all, - }), - /** Invalidate roleType list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: roleTypeKeys.lists(), - }), - /** Invalidate a specific roleType */ detail: (queryClient: QueryClient, id: string | number) => - queryClient.invalidateQueries({ - queryKey: roleTypeKeys.detail(id), - }), - }, /** Invalidate cryptoAddress queries */ cryptoAddress: { /** Invalidate all cryptoAddress queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -74,6 +60,20 @@ export const invalidate = { queryKey: cryptoAddressKeys.detail(id), }), }, + /** Invalidate roleType queries */ roleType: { + /** Invalidate all roleType queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: roleTypeKeys.all, + }), + /** Invalidate roleType list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: roleTypeKeys.lists(), + }), + /** Invalidate a specific roleType */ detail: (queryClient: QueryClient, id: string | number) => + queryClient.invalidateQueries({ + queryKey: roleTypeKeys.detail(id), + }), + }, /** Invalidate phoneNumber queries */ phoneNumber: { /** Invalidate all phoneNumber queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -163,11 +163,6 @@ export const invalidate = { * instead of just invalidating (which would trigger a refetch). */ export const remove = { - /** Remove roleType from cache */ roleType: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: roleTypeKeys.detail(id), - }); - }, /** Remove cryptoAddress from cache */ cryptoAddress: ( queryClient: QueryClient, id: string | number @@ -176,6 +171,11 @@ export const remove = { queryKey: cryptoAddressKeys.detail(id), }); }, + /** Remove roleType from cache */ roleType: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: roleTypeKeys.detail(id), + }); + }, /** Remove phoneNumber from cache */ phoneNumber: ( queryClient: QueryClient, id: string | number diff --git a/sdk/constructive-react/src/auth/hooks/mutation-keys.ts b/sdk/constructive-react/src/auth/hooks/mutation-keys.ts index 6aa28d36e..697753882 100644 --- a/sdk/constructive-react/src/auth/hooks/mutation-keys.ts +++ b/sdk/constructive-react/src/auth/hooks/mutation-keys.ts @@ -18,14 +18,6 @@ // Entity Mutation Keys // ============================================================================ -export const roleTypeMutationKeys = { - /** All roleType mutation keys */ all: ['mutation', 'roletype'] as const, - /** Create roleType mutation key */ create: () => ['mutation', 'roletype', 'create'] as const, - /** Update roleType mutation key */ update: (id: string | number) => - ['mutation', 'roletype', 'update', id] as const, - /** Delete roleType mutation key */ delete: (id: string | number) => - ['mutation', 'roletype', 'delete', id] as const, -} as const; export const cryptoAddressMutationKeys = { /** All cryptoAddress mutation keys */ all: ['mutation', 'cryptoaddress'] as const, /** Create cryptoAddress mutation key */ create: () => @@ -35,6 +27,14 @@ export const cryptoAddressMutationKeys = { /** Delete cryptoAddress mutation key */ delete: (id: string | number) => ['mutation', 'cryptoaddress', 'delete', id] as const, } as const; +export const roleTypeMutationKeys = { + /** All roleType mutation keys */ all: ['mutation', 'roletype'] as const, + /** Create roleType mutation key */ create: () => ['mutation', 'roletype', 'create'] as const, + /** Update roleType mutation key */ update: (id: string | number) => + ['mutation', 'roletype', 'update', id] as const, + /** Delete roleType mutation key */ delete: (id: string | number) => + ['mutation', 'roletype', 'delete', id] as const, +} as const; export const phoneNumberMutationKeys = { /** All phoneNumber mutation keys */ all: ['mutation', 'phonenumber'] as const, /** Create phoneNumber mutation key */ create: () => @@ -169,8 +169,8 @@ export const customMutationKeys = { * ``` */ export const mutationKeys = { - roleType: roleTypeMutationKeys, cryptoAddress: cryptoAddressMutationKeys, + roleType: roleTypeMutationKeys, phoneNumber: phoneNumberMutationKeys, connectedAccount: connectedAccountMutationKeys, auditLog: auditLogMutationKeys, diff --git a/sdk/constructive-react/src/auth/hooks/mutations/index.ts b/sdk/constructive-react/src/auth/hooks/mutations/index.ts index 36c87a594..c8fad130e 100644 --- a/sdk/constructive-react/src/auth/hooks/mutations/index.ts +++ b/sdk/constructive-react/src/auth/hooks/mutations/index.ts @@ -3,12 +3,12 @@ * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ -export * from './useCreateRoleTypeMutation'; -export * from './useUpdateRoleTypeMutation'; -export * from './useDeleteRoleTypeMutation'; export * from './useCreateCryptoAddressMutation'; export * from './useUpdateCryptoAddressMutation'; export * from './useDeleteCryptoAddressMutation'; +export * from './useCreateRoleTypeMutation'; +export * from './useUpdateRoleTypeMutation'; +export * from './useDeleteRoleTypeMutation'; export * from './useCreatePhoneNumberMutation'; export * from './useUpdatePhoneNumberMutation'; export * from './useDeletePhoneNumberMutation'; diff --git a/sdk/constructive-react/src/auth/hooks/queries/index.ts b/sdk/constructive-react/src/auth/hooks/queries/index.ts index 3c45a0896..14482bbf3 100644 --- a/sdk/constructive-react/src/auth/hooks/queries/index.ts +++ b/sdk/constructive-react/src/auth/hooks/queries/index.ts @@ -3,10 +3,10 @@ * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ -export * from './useRoleTypesQuery'; -export * from './useRoleTypeQuery'; export * from './useCryptoAddressesQuery'; export * from './useCryptoAddressQuery'; +export * from './useRoleTypesQuery'; +export * from './useRoleTypeQuery'; export * from './usePhoneNumbersQuery'; export * from './usePhoneNumberQuery'; export * from './useConnectedAccountsQuery'; diff --git a/sdk/constructive-react/src/auth/hooks/query-keys.ts b/sdk/constructive-react/src/auth/hooks/query-keys.ts index 7df8f49ce..25378df93 100644 --- a/sdk/constructive-react/src/auth/hooks/query-keys.ts +++ b/sdk/constructive-react/src/auth/hooks/query-keys.ts @@ -19,15 +19,6 @@ // Entity Query Keys // ============================================================================ -export const roleTypeKeys = { - /** All roleType queries */ all: ['roletype'] as const, - /** List query keys */ lists: () => [...roleTypeKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...roleTypeKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...roleTypeKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...roleTypeKeys.details(), id] as const, -} as const; export const cryptoAddressKeys = { /** All cryptoAddress queries */ all: ['cryptoaddress'] as const, /** List query keys */ lists: () => [...cryptoAddressKeys.all, 'list'] as const, @@ -37,6 +28,15 @@ export const cryptoAddressKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...cryptoAddressKeys.details(), id] as const, } as const; +export const roleTypeKeys = { + /** All roleType queries */ all: ['roletype'] as const, + /** List query keys */ lists: () => [...roleTypeKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...roleTypeKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...roleTypeKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...roleTypeKeys.details(), id] as const, +} as const; export const phoneNumberKeys = { /** All phoneNumber queries */ all: ['phonenumber'] as const, /** List query keys */ lists: () => [...phoneNumberKeys.all, 'list'] as const, @@ -116,8 +116,8 @@ export const customQueryKeys = { * ``` */ export const queryKeys = { - roleType: roleTypeKeys, cryptoAddress: cryptoAddressKeys, + roleType: roleTypeKeys, phoneNumber: phoneNumberKeys, connectedAccount: connectedAccountKeys, auditLog: auditLogKeys, diff --git a/sdk/constructive-react/src/auth/orm/README.md b/sdk/constructive-react/src/auth/orm/README.md index 19b4a6b78..a9eb59719 100644 --- a/sdk/constructive-react/src/auth/orm/README.md +++ b/sdk/constructive-react/src/auth/orm/README.md @@ -21,8 +21,8 @@ const db = createClient({ | Model | Operations | |-------|------------| -| `roleType` | findMany, findOne, create, update, delete | | `cryptoAddress` | findMany, findOne, create, update, delete | +| `roleType` | findMany, findOne, create, update, delete | | `phoneNumber` | findMany, findOne, create, update, delete | | `connectedAccount` | findMany, findOne, create, update, delete | | `auditLog` | findMany, findOne, create, update, delete | @@ -31,69 +31,71 @@ const db = createClient({ ## Table Operations -### `db.roleType` +### `db.cryptoAddress` -CRUD operations for RoleType records. +CRUD operations for CryptoAddress records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `address` | String | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | +| `createdAt` | Datetime | No | +| `updatedAt` | Datetime | No | +| `addressTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all roleType records -const items = await db.roleType.findMany({ select: { id: true, name: true } }).execute(); +// List all cryptoAddress records +const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.roleType.findOne({ id: '', select: { id: true, name: true } }).execute(); +const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.roleType.create({ data: { name: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.roleType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.roleType.delete({ where: { id: '' } }).execute(); +const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); ``` -### `db.cryptoAddress` +### `db.roleType` -CRUD operations for CryptoAddress records. +CRUD operations for RoleType records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `address` | String | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | -| `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | +| `id` | Int | No | +| `name` | String | Yes | **Operations:** ```typescript -// List all cryptoAddress records -const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all roleType records +const items = await db.roleType.findMany({ select: { id: true, name: true } }).execute(); // Get one by id -const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.roleType.findOne({ id: '', select: { id: true, name: true } }).execute(); // Create -const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.roleType.create({ data: { name: '' }, select: { id: true } }).execute(); // Update -const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.roleType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +const deleted = await db.roleType.delete({ where: { id: '' } }).execute(); ``` ### `db.phoneNumber` @@ -112,18 +114,21 @@ CRUD operations for PhoneNumber records. | `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `ccTrgmSimilarity` | Float | Yes | +| `numberTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all phoneNumber records -const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -148,18 +153,21 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `serviceTrgmSimilarity` | Float | Yes | +| `identifierTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccount records -const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -184,18 +192,20 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | Yes | | `success` | Boolean | Yes | | `createdAt` | Datetime | No | +| `userAgentTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all auditLog records -const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute(); +const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute(); @@ -256,18 +266,20 @@ CRUD operations for User records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `searchTsvRank` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all user records -const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute(); +const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-react/src/auth/orm/index.ts b/sdk/constructive-react/src/auth/orm/index.ts index 3718b175a..51b7e07ae 100644 --- a/sdk/constructive-react/src/auth/orm/index.ts +++ b/sdk/constructive-react/src/auth/orm/index.ts @@ -5,8 +5,8 @@ */ import { OrmClient } from './client'; import type { OrmClientConfig } from './client'; -import { RoleTypeModel } from './models/roleType'; import { CryptoAddressModel } from './models/cryptoAddress'; +import { RoleTypeModel } from './models/roleType'; import { PhoneNumberModel } from './models/phoneNumber'; import { ConnectedAccountModel } from './models/connectedAccount'; import { AuditLogModel } from './models/auditLog'; @@ -47,8 +47,8 @@ export { createMutationOperations } from './mutation'; export function createClient(config: OrmClientConfig) { const client = new OrmClient(config); return { - roleType: new RoleTypeModel(client), cryptoAddress: new CryptoAddressModel(client), + roleType: new RoleTypeModel(client), phoneNumber: new PhoneNumberModel(client), connectedAccount: new ConnectedAccountModel(client), auditLog: new AuditLogModel(client), diff --git a/sdk/constructive-react/src/auth/orm/input-types.ts b/sdk/constructive-react/src/auth/orm/input-types.ts index 4cc717c63..0f48b534f 100644 --- a/sdk/constructive-react/src/auth/orm/input-types.ts +++ b/sdk/constructive-react/src/auth/orm/input-types.ts @@ -163,6 +163,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; @@ -227,12 +234,8 @@ export interface UUIDListFilter { export type ConstructiveInternalTypeEmail = unknown; export type ConstructiveInternalTypeImage = unknown; export type ConstructiveInternalTypeOrigin = unknown; -// ============ Entity Types ============ -export interface RoleType { - id: number; - name?: string | null; -} /** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ +// ============ Entity Types ============ export interface CryptoAddress { id: string; ownerId?: string | null; @@ -244,6 +247,14 @@ export interface CryptoAddress { isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `address`. Returns null when no trgm search filter is active. */ + addressTrgmSimilarity?: number | null; + /** 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?: number | null; +} +export interface RoleType { + id: number; + name?: string | null; } /** User phone numbers with country code, verification, and primary-number management */ export interface PhoneNumber { @@ -259,6 +270,12 @@ export interface PhoneNumber { isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. */ + ccTrgmSimilarity?: number | null; + /** TRGM similarity when searching `number`. Returns null when no trgm search filter is active. */ + numberTrgmSimilarity?: number | null; + /** 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?: number | null; } /** OAuth and social login connections linking external service accounts to users */ export interface ConnectedAccount { @@ -274,6 +291,12 @@ export interface ConnectedAccount { isVerified?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `service`. Returns null when no trgm search filter is active. */ + serviceTrgmSimilarity?: number | null; + /** TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. */ + identifierTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) */ export interface AuditLog { @@ -292,6 +315,10 @@ export interface AuditLog { success?: boolean | null; /** Timestamp when the audit event was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. */ + userAgentTrgmSimilarity?: number | null; + /** 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?: number | null; } /** User email addresses with verification and primary-email management */ export interface Email { @@ -315,8 +342,12 @@ export interface User { type?: number | null; createdAt?: string | null; updatedAt?: string | null; - /** Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. */ + /** TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. */ searchTsvRank?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -331,10 +362,10 @@ export interface PageInfo { endCursor?: string | null; } // ============ Entity Relation Types ============ -export interface RoleTypeRelations {} export interface CryptoAddressRelations { owner?: User | null; } +export interface RoleTypeRelations {} export interface PhoneNumberRelations { owner?: User | null; } @@ -351,18 +382,14 @@ export interface UserRelations { roleType?: RoleType | null; } // ============ Entity Types With Relations ============ -export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; +export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; export type AuditLogWithRelations = AuditLog & AuditLogRelations; export type EmailWithRelations = Email & EmailRelations; export type UserWithRelations = User & UserRelations; // ============ Entity Select Types ============ -export type RoleTypeSelect = { - id?: boolean; - name?: boolean; -}; export type CryptoAddressSelect = { id?: boolean; ownerId?: boolean; @@ -371,10 +398,16 @@ export type CryptoAddressSelect = { isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + addressTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; }; +export type RoleTypeSelect = { + id?: boolean; + name?: boolean; +}; export type PhoneNumberSelect = { id?: boolean; ownerId?: boolean; @@ -384,6 +417,9 @@ export type PhoneNumberSelect = { isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + ccTrgmSimilarity?: boolean; + numberTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -397,6 +433,9 @@ export type ConnectedAccountSelect = { isVerified?: boolean; createdAt?: boolean; updatedAt?: boolean; + serviceTrgmSimilarity?: boolean; + identifierTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -410,6 +449,8 @@ export type AuditLogSelect = { ipAddress?: boolean; success?: boolean; createdAt?: boolean; + userAgentTrgmSimilarity?: boolean; + searchScore?: boolean; actor?: { select: UserSelect; }; @@ -436,18 +477,13 @@ export type UserSelect = { createdAt?: boolean; updatedAt?: boolean; searchTsvRank?: boolean; + displayNameTrgmSimilarity?: boolean; + searchScore?: boolean; roleType?: { select: RoleTypeSelect; }; }; // ============ Table Filter Types ============ -export interface RoleTypeFilter { - id?: IntFilter; - name?: StringFilter; - and?: RoleTypeFilter[]; - or?: RoleTypeFilter[]; - not?: RoleTypeFilter; -} export interface CryptoAddressFilter { id?: UUIDFilter; ownerId?: UUIDFilter; @@ -456,10 +492,19 @@ export interface CryptoAddressFilter { isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + addressTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAddressFilter[]; or?: CryptoAddressFilter[]; not?: CryptoAddressFilter; } +export interface RoleTypeFilter { + id?: IntFilter; + name?: StringFilter; + and?: RoleTypeFilter[]; + or?: RoleTypeFilter[]; + not?: RoleTypeFilter; +} export interface PhoneNumberFilter { id?: UUIDFilter; ownerId?: UUIDFilter; @@ -469,6 +514,9 @@ export interface PhoneNumberFilter { isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + ccTrgmSimilarity?: FloatFilter; + numberTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PhoneNumberFilter[]; or?: PhoneNumberFilter[]; not?: PhoneNumberFilter; @@ -482,6 +530,9 @@ export interface ConnectedAccountFilter { isVerified?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + serviceTrgmSimilarity?: FloatFilter; + identifierTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountFilter[]; or?: ConnectedAccountFilter[]; not?: ConnectedAccountFilter; @@ -495,6 +546,8 @@ export interface AuditLogFilter { ipAddress?: InternetAddressFilter; success?: BooleanFilter; createdAt?: DatetimeFilter; + userAgentTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AuditLogFilter[]; or?: AuditLogFilter[]; not?: AuditLogFilter; @@ -521,83 +574,13 @@ export interface UserFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; searchTsvRank?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UserFilter[]; or?: UserFilter[]; not?: UserFilter; } -// ============ Table Condition Types ============ -export interface RoleTypeCondition { - id?: number | null; - name?: string | null; -} -export interface CryptoAddressCondition { - id?: string | null; - ownerId?: string | null; - address?: string | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface PhoneNumberCondition { - id?: string | null; - ownerId?: string | null; - cc?: string | null; - number?: string | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface ConnectedAccountCondition { - id?: string | null; - ownerId?: string | null; - service?: string | null; - identifier?: string | null; - details?: unknown | null; - isVerified?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AuditLogCondition { - id?: string | null; - event?: string | null; - actorId?: string | null; - origin?: unknown | null; - userAgent?: string | null; - ipAddress?: string | null; - success?: boolean | null; - createdAt?: string | null; -} -export interface EmailCondition { - id?: string | null; - ownerId?: string | null; - email?: unknown | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface UserCondition { - id?: string | null; - username?: string | null; - displayName?: string | null; - profilePicture?: unknown | null; - searchTsv?: string | null; - type?: number | null; - createdAt?: string | null; - updatedAt?: string | null; - searchTsvRank?: number | null; -} // ============ OrderBy Types ============ -export type RoleTypeOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC'; export type CryptoAddressOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -615,7 +598,19 @@ export type CryptoAddressOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'ADDRESS_TRGM_SIMILARITY_ASC' + | 'ADDRESS_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +export type RoleTypeOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC'; export type PhoneNumberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -635,7 +630,13 @@ export type PhoneNumberOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ConnectedAccountOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -655,7 +656,13 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type AuditLogOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -675,7 +682,11 @@ export type AuditLogOrderBy = | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EmailOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -715,26 +726,12 @@ export type UserOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ -export interface CreateRoleTypeInput { - clientMutationId?: string; - roleType: { - name: string; - }; -} -export interface RoleTypePatch { - name?: string | null; -} -export interface UpdateRoleTypeInput { - clientMutationId?: string; - id: number; - roleTypePatch: RoleTypePatch; -} -export interface DeleteRoleTypeInput { - clientMutationId?: string; - id: number; -} export interface CreateCryptoAddressInput { clientMutationId?: string; cryptoAddress: { @@ -749,6 +746,8 @@ export interface CryptoAddressPatch { address?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + addressTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAddressInput { clientMutationId?: string; @@ -759,6 +758,24 @@ export interface DeleteCryptoAddressInput { clientMutationId?: string; id: string; } +export interface CreateRoleTypeInput { + clientMutationId?: string; + roleType: { + name: string; + }; +} +export interface RoleTypePatch { + name?: string | null; +} +export interface UpdateRoleTypeInput { + clientMutationId?: string; + id: number; + roleTypePatch: RoleTypePatch; +} +export interface DeleteRoleTypeInput { + clientMutationId?: string; + id: number; +} export interface CreatePhoneNumberInput { clientMutationId?: string; phoneNumber: { @@ -775,6 +792,9 @@ export interface PhoneNumberPatch { number?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + ccTrgmSimilarity?: number | null; + numberTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePhoneNumberInput { clientMutationId?: string; @@ -801,6 +821,9 @@ export interface ConnectedAccountPatch { identifier?: string | null; details?: Record | null; isVerified?: boolean | null; + serviceTrgmSimilarity?: number | null; + identifierTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountInput { clientMutationId?: string; @@ -829,6 +852,8 @@ export interface AuditLogPatch { userAgent?: string | null; ipAddress?: string | null; success?: boolean | null; + userAgentTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAuditLogInput { clientMutationId?: string; @@ -880,6 +905,8 @@ export interface UserPatch { searchTsv?: string | null; type?: number | null; searchTsvRank?: number | null; + displayNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUserInput { clientMutationId?: string; @@ -1126,51 +1153,6 @@ export type VerifyTotpPayloadSelect = { select: SessionSelect; }; }; -export interface CreateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was created by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type CreateRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; -export interface UpdateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was updated by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type UpdateRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; -export interface DeleteRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was deleted by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type DeleteRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; export interface CreateCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was created by this mutation. */ @@ -1216,6 +1198,51 @@ export type DeleteCryptoAddressPayloadSelect = { select: CryptoAddressEdgeSelect; }; }; +export interface CreateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was created by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type CreateRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; +export interface UpdateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was updated by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type UpdateRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; +export interface DeleteRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was deleted by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type DeleteRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; export interface CreatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was created by this mutation. */ @@ -1448,6 +1475,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInOneTimeTokenRecordSelect = { id?: boolean; @@ -1456,6 +1487,8 @@ export type SignInOneTimeTokenRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignInRecord { id?: string | null; @@ -1464,6 +1497,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInRecordSelect = { id?: boolean; @@ -1472,6 +1509,8 @@ export type SignInRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignUpRecord { id?: string | null; @@ -1480,6 +1519,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignUpRecordSelect = { id?: boolean; @@ -1488,6 +1531,8 @@ export type SignUpRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ExtendTokenExpiresRecord { id?: string | null; @@ -1526,6 +1571,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SessionSelect = { id?: boolean; @@ -1542,18 +1595,10 @@ export type SessionSelect = { csrfSecret?: boolean; createdAt?: boolean; updatedAt?: boolean; -}; -/** A `RoleType` edge in the connection. */ -export interface RoleTypeEdge { - cursor?: string | null; - /** The `RoleType` at the end of the edge. */ - node?: RoleType | null; -} -export type RoleTypeEdgeSelect = { - cursor?: boolean; - node?: { - select: RoleTypeSelect; - }; + uagentTrgmSimilarity?: boolean; + fingerprintModeTrgmSimilarity?: boolean; + csrfSecretTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** A `CryptoAddress` edge in the connection. */ export interface CryptoAddressEdge { @@ -1567,6 +1612,18 @@ export type CryptoAddressEdgeSelect = { select: CryptoAddressSelect; }; }; +/** A `RoleType` edge in the connection. */ +export interface RoleTypeEdge { + cursor?: string | null; + /** The `RoleType` at the end of the edge. */ + node?: RoleType | null; +} +export type RoleTypeEdgeSelect = { + cursor?: boolean; + node?: { + select: RoleTypeSelect; + }; +}; /** A `PhoneNumber` edge in the connection. */ export interface PhoneNumberEdge { cursor?: string | null; diff --git a/sdk/constructive-react/src/auth/orm/models/auditLog.ts b/sdk/constructive-react/src/auth/orm/models/auditLog.ts index 3d6aacb4e..6923d2902 100644 --- a/sdk/constructive-react/src/auth/orm/models/auditLog.ts +++ b/sdk/constructive-react/src/auth/orm/models/auditLog.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AuditLogModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/auth/orm/models/connectedAccount.ts b/sdk/constructive-react/src/auth/orm/models/connectedAccount.ts index 0f2523553..2c68e0072 100644 --- a/sdk/constructive-react/src/auth/orm/models/connectedAccount.ts +++ b/sdk/constructive-react/src/auth/orm/models/connectedAccount.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/auth/orm/models/cryptoAddress.ts b/sdk/constructive-react/src/auth/orm/models/cryptoAddress.ts index 8d0c9b387..612da9a59 100644 --- a/sdk/constructive-react/src/auth/orm/models/cryptoAddress.ts +++ b/sdk/constructive-react/src/auth/orm/models/cryptoAddress.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/auth/orm/models/email.ts b/sdk/constructive-react/src/auth/orm/models/email.ts index d03c2180b..c73b51b9d 100644 --- a/sdk/constructive-react/src/auth/orm/models/email.ts +++ b/sdk/constructive-react/src/auth/orm/models/email.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/auth/orm/models/index.ts b/sdk/constructive-react/src/auth/orm/models/index.ts index 67ded861a..5ef4dde11 100644 --- a/sdk/constructive-react/src/auth/orm/models/index.ts +++ b/sdk/constructive-react/src/auth/orm/models/index.ts @@ -3,8 +3,8 @@ * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ -export { RoleTypeModel } from './roleType'; export { CryptoAddressModel } from './cryptoAddress'; +export { RoleTypeModel } from './roleType'; export { PhoneNumberModel } from './phoneNumber'; export { ConnectedAccountModel } from './connectedAccount'; export { AuditLogModel } from './auditLog'; diff --git a/sdk/constructive-react/src/auth/orm/models/phoneNumber.ts b/sdk/constructive-react/src/auth/orm/models/phoneNumber.ts index 8122dff00..8b59ca891 100644 --- a/sdk/constructive-react/src/auth/orm/models/phoneNumber.ts +++ b/sdk/constructive-react/src/auth/orm/models/phoneNumber.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/auth/orm/models/roleType.ts b/sdk/constructive-react/src/auth/orm/models/roleType.ts index dce555ddb..90a0b01dc 100644 --- a/sdk/constructive-react/src/auth/orm/models/roleType.ts +++ b/sdk/constructive-react/src/auth/orm/models/roleType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RoleTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/auth/orm/models/user.ts b/sdk/constructive-react/src/auth/orm/models/user.ts index 7adeca16a..bc2dacdba 100644 --- a/sdk/constructive-react/src/auth/orm/models/user.ts +++ b/sdk/constructive-react/src/auth/orm/models/user.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/auth/orm/query-builder.ts b/sdk/constructive-react/src/auth/orm/query-builder.ts index 67c3992b5..969c14937 100644 --- a/sdk/constructive-react/src/auth/orm/query-builder.ts +++ b/sdk/constructive-react/src/auth/orm/query-builder.ts @@ -189,12 +189,13 @@ export function buildSelections( // Document Builders // ============================================================================ -export function buildFindManyDocument( +export function buildFindManyDocument( operationName: string, queryField: string, select: TSelect, args: { where?: TWhere; + condition?: TCondition; orderBy?: string[]; first?: number; last?: number; @@ -204,7 +205,8 @@ export function buildFindManyDocument( }, filterTypeName: string, orderByTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -214,10 +216,19 @@ export function buildFindManyDocument( const queryArgs: ArgumentNode[] = []; const variables: Record = {}; + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -290,13 +301,14 @@ export function buildFindManyDocument( return { document: print(document), variables }; } -export function buildFindFirstDocument( +export function buildFindFirstDocument( operationName: string, queryField: string, select: TSelect, - args: { where?: TWhere }, + args: { where?: TWhere; condition?: TCondition }, filterTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -313,10 +325,19 @@ export function buildFindFirstDocument( queryArgs, variables ); + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -728,7 +749,7 @@ function buildConnectionSelections(nodeSelections: FieldNode[]): FieldNode[] { interface VariableSpec { varName: string; argName?: string; - typeName: string; + typeName?: string; value: unknown; } @@ -779,7 +800,7 @@ function addVariable( args: ArgumentNode[], variables: Record ): void { - if (spec.value === undefined) return; + if (spec.value === undefined || !spec.typeName) return; definitions.push( t.variableDefinition({ diff --git a/sdk/constructive-react/src/auth/orm/select-types.ts b/sdk/constructive-react/src/auth/orm/select-types.ts index 80165efa6..919d1b935 100644 --- a/sdk/constructive-react/src/auth/orm/select-types.ts +++ b/sdk/constructive-react/src/auth/orm/select-types.ts @@ -16,9 +16,10 @@ export interface PageInfo { endCursor?: string | null; } -export interface FindManyArgs { +export interface FindManyArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; orderBy?: TOrderBy[]; first?: number; last?: number; @@ -27,9 +28,10 @@ export interface FindManyArgs { offset?: number; } -export interface FindFirstArgs { +export interface FindFirstArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; } export interface CreateArgs { diff --git a/sdk/constructive-react/src/auth/schema-types.ts b/sdk/constructive-react/src/auth/schema-types.ts index 4754d1eb9..932874a87 100644 --- a/sdk/constructive-react/src/auth/schema-types.ts +++ b/sdk/constructive-react/src/auth/schema-types.ts @@ -28,19 +28,11 @@ import type { StringListFilter, UUIDFilter, UUIDListFilter, + VectorFilter, } from './types'; export type ConstructiveInternalTypeEmail = unknown; export type ConstructiveInternalTypeImage = unknown; export type ConstructiveInternalTypeOrigin = unknown; -/** Methods to use when ordering `RoleType`. */ -export type RoleTypeOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC'; /** Methods to use when ordering `CryptoAddress`. */ export type CryptoAddressOrderBy = | 'NATURAL' @@ -53,7 +45,20 @@ export type CryptoAddressOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'ADDRESS_TRGM_SIMILARITY_ASC' + | 'ADDRESS_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +/** Methods to use when ordering `RoleType`. */ +export type RoleTypeOrderBy = + | 'NATURAL' + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC'; /** Methods to use when ordering `PhoneNumber`. */ export type PhoneNumberOrderBy = | 'NATURAL' @@ -66,7 +71,13 @@ export type PhoneNumberOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `ConnectedAccount`. */ export type ConnectedAccountOrderBy = | 'NATURAL' @@ -81,7 +92,13 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `AuditLog`. */ export type AuditLogOrderBy = | 'NATURAL' @@ -90,7 +107,11 @@ export type AuditLogOrderBy = | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' - | 'EVENT_DESC'; + | 'EVENT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `Email`. */ export type EmailOrderBy = | 'NATURAL' @@ -120,50 +141,11 @@ export type UserOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; -/** - * A condition to be used against `RoleType` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface RoleTypeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: number; - /** Checks for equality with the object’s `name` field. */ - name?: string; -} -/** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */ -export interface RoleTypeFilter { - /** Filter by the object’s `id` field. */ - id?: IntFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Checks for all expressions in this list. */ - and?: RoleTypeFilter[]; - /** Checks for any expressions in this list. */ - or?: RoleTypeFilter[]; - /** Negates the expression. */ - not?: RoleTypeFilter; -} -/** - * A condition to be used against `CryptoAddress` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface CryptoAddressCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `address` field. */ - address?: string; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isPrimary` field. */ - isPrimary?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */ export interface CryptoAddressFilter { /** Filter by the object’s `id` field. */ @@ -186,28 +168,110 @@ export interface CryptoAddressFilter { 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; } -/** - * A condition to be used against `PhoneNumber` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface PhoneNumberCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `cc` field. */ - cc?: string; - /** Checks for equality with the object’s `number` field. */ - number?: string; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isPrimary` field. */ - isPrimary?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */ +export interface 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?: number; +} +/** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */ +export interface UserFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `username` field. */ + username?: StringFilter; + /** Filter by the object’s `displayName` field. */ + displayName?: StringFilter; + /** Filter by the object’s `profilePicture` field. */ + profilePicture?: ConstructiveInternalTypeImageFilter; + /** Filter by the object’s `searchTsv` field. */ + searchTsv?: FullTextFilter; + /** Filter by the object’s `type` field. */ + type?: IntFilter; + /** 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?: UserFilter[]; + /** Checks for any expressions in this list. */ + or?: UserFilter[]; + /** Negates the expression. */ + not?: UserFilter; + /** Filter by the object’s `roleType` relation. */ + roleType?: RoleTypeFilter; + /** TSV search on the `search_tsv` column. */ + tsvSearchTsv?: string; + /** TRGM search on the `display_name` column. */ + trgmDisplayName?: 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 ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */ +export interface ConstructiveInternalTypeImageFilter { + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: boolean; + /** Equal to the specified value. */ + equalTo?: ConstructiveInternalTypeImage; + /** Not equal to the specified value. */ + notEqualTo?: ConstructiveInternalTypeImage; + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: ConstructiveInternalTypeImage; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: ConstructiveInternalTypeImage; + /** Included in the specified list. */ + in?: ConstructiveInternalTypeImage[]; + /** Not included in the specified list. */ + notIn?: ConstructiveInternalTypeImage[]; + /** Less than the specified value. */ + lessThan?: ConstructiveInternalTypeImage; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: ConstructiveInternalTypeImage; + /** Greater than the specified value. */ + greaterThan?: ConstructiveInternalTypeImage; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: ConstructiveInternalTypeImage; + /** Contains the specified JSON. */ + contains?: ConstructiveInternalTypeImage; + /** Contains the specified key. */ + containsKey?: string; + /** Contains all of the specified keys. */ + containsAllKeys?: string[]; + /** Contains any of the specified keys. */ + containsAnyKeys?: string[]; + /** Contained by the specified JSON. */ + containedBy?: ConstructiveInternalTypeImage; +} +/** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */ +export interface RoleTypeFilter { + /** Filter by the object’s `id` field. */ + id?: IntFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Checks for all expressions in this list. */ + and?: RoleTypeFilter[]; + /** Checks for any expressions in this list. */ + or?: RoleTypeFilter[]; + /** Negates the expression. */ + not?: RoleTypeFilter; } /** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */ export interface PhoneNumberFilter { @@ -233,28 +297,19 @@ export interface PhoneNumberFilter { or?: PhoneNumberFilter[]; /** Negates the expression. */ not?: PhoneNumberFilter; -} -/** - * A condition to be used against `ConnectedAccount` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface ConnectedAccountCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `service` field. */ - service?: string; - /** Checks for equality with the object’s `identifier` field. */ - identifier?: string; - /** Checks for equality with the object’s `details` field. */ - details?: unknown; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + /** 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; } /** A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */ export interface ConnectedAccountFilter { @@ -280,28 +335,19 @@ export interface ConnectedAccountFilter { or?: ConnectedAccountFilter[]; /** Negates the expression. */ not?: ConnectedAccountFilter; -} -/** - * A condition to be used against `AuditLog` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AuditLogCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `event` field. */ - event?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `origin` field. */ - origin?: ConstructiveInternalTypeOrigin; - /** Checks for equality with the object’s `userAgent` field. */ - userAgent?: string; - /** Checks for equality with the object’s `ipAddress` field. */ - ipAddress?: string; - /** Checks for equality with the object’s `success` field. */ - success?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; + /** 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; } /** A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ */ export interface AuditLogFilter { @@ -327,6 +373,17 @@ export interface AuditLogFilter { 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.’ */ export interface ConstructiveInternalTypeOriginFilter { @@ -405,23 +462,6 @@ export interface ConstructiveInternalTypeOriginFilter { /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: string; } -/** A condition to be used against `Email` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface EmailCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `email` field. */ - email?: ConstructiveInternalTypeEmail; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isPrimary` field. */ - isPrimary?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */ export interface EmailFilter { /** Filter by the object’s `id` field. */ @@ -444,6 +484,8 @@ export interface EmailFilter { or?: EmailFilter[]; /** Negates the expression. */ not?: EmailFilter; + /** Filter by the object’s `owner` relation. */ + owner?: UserFilter; } /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */ export interface ConstructiveInternalTypeEmailFilter { @@ -522,87 +564,6 @@ export interface ConstructiveInternalTypeEmailFilter { /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; } -/** A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface UserCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `username` field. */ - username?: string; - /** Checks for equality with the object’s `displayName` field. */ - displayName?: string; - /** Checks for equality with the object’s `profilePicture` field. */ - profilePicture?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `searchTsv` field. */ - searchTsv?: string; - /** Checks for equality with the object’s `type` field. */ - type?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Full-text search on the `search_tsv` tsvector column using `websearch_to_tsquery`. */ - fullTextSearchTsv?: string; -} -/** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */ -export interface UserFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `username` field. */ - username?: StringFilter; - /** Filter by the object’s `displayName` field. */ - displayName?: StringFilter; - /** Filter by the object’s `profilePicture` field. */ - profilePicture?: ConstructiveInternalTypeImageFilter; - /** Filter by the object’s `searchTsv` field. */ - searchTsv?: FullTextFilter; - /** Filter by the object’s `type` field. */ - type?: IntFilter; - /** 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?: UserFilter[]; - /** Checks for any expressions in this list. */ - or?: UserFilter[]; - /** Negates the expression. */ - not?: UserFilter; -} -/** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */ -export interface ConstructiveInternalTypeImageFilter { - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: boolean; - /** Equal to the specified value. */ - equalTo?: ConstructiveInternalTypeImage; - /** Not equal to the specified value. */ - notEqualTo?: ConstructiveInternalTypeImage; - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: ConstructiveInternalTypeImage; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: ConstructiveInternalTypeImage; - /** Included in the specified list. */ - in?: ConstructiveInternalTypeImage[]; - /** Not included in the specified list. */ - notIn?: ConstructiveInternalTypeImage[]; - /** Less than the specified value. */ - lessThan?: ConstructiveInternalTypeImage; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: ConstructiveInternalTypeImage; - /** Greater than the specified value. */ - greaterThan?: ConstructiveInternalTypeImage; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: ConstructiveInternalTypeImage; - /** Contains the specified JSON. */ - contains?: ConstructiveInternalTypeImage; - /** Contains the specified key. */ - containsKey?: string; - /** Contains all of the specified keys. */ - containsAllKeys?: string[]; - /** Contains any of the specified keys. */ - containsAnyKeys?: string[]; - /** Contained by the specified JSON. */ - containedBy?: ConstructiveInternalTypeImage; -} export interface SignOutInput { clientMutationId?: string; } @@ -701,16 +662,6 @@ export interface VerifyTotpInput { clientMutationId?: string; totpValue: string; } -export interface CreateRoleTypeInput { - clientMutationId?: string; - /** The `RoleType` to be created by this mutation. */ - roleType: RoleTypeInput; -} -/** An input for mutations affecting `RoleType` */ -export interface RoleTypeInput { - id: number; - name: string; -} export interface CreateCryptoAddressInput { clientMutationId?: string; /** The `CryptoAddress` to be created by this mutation. */ @@ -729,6 +680,16 @@ export interface CryptoAddressInput { createdAt?: string; updatedAt?: string; } +export interface CreateRoleTypeInput { + clientMutationId?: string; + /** The `RoleType` to be created by this mutation. */ + roleType: RoleTypeInput; +} +/** An input for mutations affecting `RoleType` */ +export interface RoleTypeInput { + id: number; + name: string; +} export interface CreatePhoneNumberInput { clientMutationId?: string; /** The `PhoneNumber` to be created by this mutation. */ @@ -826,17 +787,6 @@ export interface UserInput { createdAt?: string; updatedAt?: string; } -export interface UpdateRoleTypeInput { - clientMutationId?: string; - id: number; - /** An object where the defined keys will be set on the `RoleType` being updated. */ - roleTypePatch: RoleTypePatch; -} -/** Represents an update to a `RoleType`. Fields that are set will be updated. */ -export interface RoleTypePatch { - id?: number; - name?: string; -} export interface UpdateCryptoAddressInput { clientMutationId?: string; id: string; @@ -856,6 +806,17 @@ export interface CryptoAddressPatch { createdAt?: string; updatedAt?: string; } +export interface UpdateRoleTypeInput { + clientMutationId?: string; + id: number; + /** An object where the defined keys will be set on the `RoleType` being updated. */ + roleTypePatch: RoleTypePatch; +} +/** Represents an update to a `RoleType`. Fields that are set will be updated. */ +export interface RoleTypePatch { + id?: number; + name?: string; +} export interface UpdatePhoneNumberInput { clientMutationId?: string; id: string; @@ -960,14 +921,14 @@ export interface UserPatch { /** File upload for the `profilePicture` field. */ profilePictureUpload?: File; } -export interface DeleteRoleTypeInput { - clientMutationId?: string; - id: number; -} export interface DeleteCryptoAddressInput { clientMutationId?: string; id: string; } +export interface DeleteRoleTypeInput { + clientMutationId?: string; + id: number; +} export interface DeletePhoneNumberInput { clientMutationId?: string; id: string; @@ -988,13 +949,6 @@ export interface DeleteUserInput { clientMutationId?: string; id: string; } -/** A connection to a list of `RoleType` values. */ -export interface RoleTypeConnection { - nodes: RoleType[]; - edges: RoleTypeEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `CryptoAddress` values. */ export interface CryptoAddressConnection { nodes: CryptoAddress[]; @@ -1002,6 +956,13 @@ export interface CryptoAddressConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `RoleType` values. */ +export interface RoleTypeConnection { + nodes: RoleType[]; + edges: RoleTypeEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `PhoneNumber` values. */ export interface PhoneNumberConnection { nodes: PhoneNumber[]; @@ -1102,18 +1063,18 @@ export interface VerifyTotpPayload { clientMutationId?: string | null; result?: Session | null; } -export interface CreateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was created by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} export interface CreateCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was created by this mutation. */ cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } +export interface CreateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was created by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} export interface CreatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was created by this mutation. */ @@ -1144,18 +1105,18 @@ export interface CreateUserPayload { user?: User | null; userEdge?: UserEdge | null; } -export interface UpdateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was updated by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} export interface UpdateCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was updated by this mutation. */ cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } +export interface UpdateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was updated by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} export interface UpdatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was updated by this mutation. */ @@ -1186,18 +1147,18 @@ export interface UpdateUserPayload { user?: User | null; userEdge?: UserEdge | null; } -export interface DeleteRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was deleted by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} export interface DeleteCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was deleted by this mutation. */ cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } +export interface DeleteRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was deleted by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} export interface DeletePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was deleted by this mutation. */ @@ -1228,11 +1189,11 @@ export interface DeleteUserPayload { user?: User | null; userEdge?: UserEdge | null; } -/** A `RoleType` edge in the connection. */ -export interface RoleTypeEdge { +/** A `CryptoAddress` edge in the connection. */ +export interface CryptoAddressEdge { cursor?: string | null; - /** The `RoleType` at the end of the edge. */ - node?: RoleType | null; + /** The `CryptoAddress` at the end of the edge. */ + node?: CryptoAddress | null; } /** Information about pagination in a connection. */ export interface PageInfo { @@ -1245,11 +1206,11 @@ export interface PageInfo { /** When paginating forwards, the cursor to continue. */ endCursor?: string | null; } -/** A `CryptoAddress` edge in the connection. */ -export interface CryptoAddressEdge { +/** A `RoleType` edge in the connection. */ +export interface RoleTypeEdge { cursor?: string | null; - /** The `CryptoAddress` at the end of the edge. */ - node?: CryptoAddress | null; + /** The `RoleType` at the end of the edge. */ + node?: RoleType | null; } /** A `PhoneNumber` edge in the connection. */ export interface PhoneNumberEdge { @@ -1302,6 +1263,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SignInRecord { id?: string | null; @@ -1310,6 +1275,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SignUpRecord { id?: string | null; @@ -1318,6 +1287,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ExtendTokenExpiresRecord { id?: string | null; @@ -1351,6 +1324,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Information about a table field/column */ export interface MetaField { diff --git a/sdk/constructive-react/src/auth/types.ts b/sdk/constructive-react/src/auth/types.ts index a14c9a9ba..1b07d3334 100644 --- a/sdk/constructive-react/src/auth/types.ts +++ b/sdk/constructive-react/src/auth/types.ts @@ -6,10 +6,6 @@ export type ConstructiveInternalTypeEmail = unknown; export type ConstructiveInternalTypeImage = unknown; export type ConstructiveInternalTypeOrigin = unknown; -export interface RoleType { - id: number | null; - name: string | null; -} export interface CryptoAddress { id: string | null; ownerId: string | null; @@ -18,6 +14,12 @@ export interface CryptoAddress { isPrimary: boolean | null; createdAt: string | null; updatedAt: string | null; + addressTrgmSimilarity: number | null; + searchScore: number | null; +} +export interface RoleType { + id: number | null; + name: string | null; } export interface PhoneNumber { id: string | null; @@ -28,6 +30,9 @@ export interface PhoneNumber { isPrimary: boolean | null; createdAt: string | null; updatedAt: string | null; + ccTrgmSimilarity: number | null; + numberTrgmSimilarity: number | null; + searchScore: number | null; } export interface ConnectedAccount { id: string | null; @@ -38,6 +43,9 @@ export interface ConnectedAccount { isVerified: boolean | null; createdAt: string | null; updatedAt: string | null; + serviceTrgmSimilarity: number | null; + identifierTrgmSimilarity: number | null; + searchScore: number | null; } export interface AuditLog { id: string | null; @@ -48,6 +56,8 @@ export interface AuditLog { ipAddress: string | null; success: boolean | null; createdAt: string | null; + userAgentTrgmSimilarity: number | null; + searchScore: number | null; } export interface Email { id: string | null; @@ -68,6 +78,8 @@ export interface User { createdAt: string | null; updatedAt: string | null; searchTsvRank: number | null; + displayNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface StringFilter { isNull?: boolean; @@ -226,6 +238,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; diff --git a/sdk/constructive-react/src/objects/hooks/README.md b/sdk/constructive-react/src/objects/hooks/README.md index c910aa832..276f40507 100644 --- a/sdk/constructive-react/src/objects/hooks/README.md +++ b/sdk/constructive-react/src/objects/hooks/README.md @@ -110,20 +110,20 @@ create({ hashUuid: '', databaseId: '', kids: '', ktree: '', - selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }, + selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Create a ref const { mutate: create } = useCreateRefMutation({ selection: { fields: { id: true } }, }); -create({ name: '', databaseId: '', storeId: '', commitId: '' }); +create({ name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }); ``` ### Store @@ -131,20 +131,20 @@ create({ name: '', databaseId: '', storeId: '', commitId: ' ```typescript // List all stores const { data, isLoading } = useStoresQuery({ - selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }, + selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Get one store const { data: item } = useStoreQuery({ id: '', - selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }, + selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Create a store const { mutate: create } = useCreateStoreMutation({ selection: { fields: { id: true } }, }); -create({ name: '', databaseId: '', hash: '' }); +create({ name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }); ``` ### Commit @@ -152,20 +152,20 @@ create({ name: '', databaseId: '', hash: '' }); ```typescript // List all commits const { data, isLoading } = useCommitsQuery({ - selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }, + selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }, }); // Get one commit const { data: item } = useCommitQuery({ id: '', - selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }, + selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }, }); // Create a commit const { mutate: create } = useCreateCommitMutation({ selection: { fields: { id: true } }, }); -create({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }); +create({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }); ``` ## Custom Operation Hooks diff --git a/sdk/constructive-react/src/objects/orm/README.md b/sdk/constructive-react/src/objects/orm/README.md index fcdcb1d99..21100fb3f 100644 --- a/sdk/constructive-react/src/objects/orm/README.md +++ b/sdk/constructive-react/src/objects/orm/README.md @@ -108,18 +108,20 @@ CRUD operations for Ref records. | `databaseId` | UUID | Yes | | `storeId` | UUID | Yes | | `commitId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all ref records -const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute(); +const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -141,18 +143,20 @@ CRUD operations for Store records. | `databaseId` | UUID | Yes | | `hash` | UUID | Yes | | `createdAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all store records -const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -178,18 +182,20 @@ CRUD operations for Commit records. | `committerId` | UUID | Yes | | `treeId` | UUID | Yes | | `date` | Datetime | Yes | +| `messageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all commit records -const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute(); +const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-react/src/objects/orm/input-types.ts b/sdk/constructive-react/src/objects/orm/input-types.ts index d369bf16a..89e77a3f8 100644 --- a/sdk/constructive-react/src/objects/orm/input-types.ts +++ b/sdk/constructive-react/src/objects/orm/input-types.ts @@ -163,6 +163,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; @@ -247,6 +254,10 @@ export interface Ref { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A store represents an isolated object repository within a database. */ export interface Store { @@ -259,6 +270,10 @@ export interface Store { /** The current head tree_id for this store. */ hash?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A commit records changes to the repository. */ export interface Commit { @@ -278,6 +293,10 @@ export interface Commit { /** The root of the tree */ treeId?: string | null; date?: string | null; + /** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */ + messageTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -324,6 +343,8 @@ export type RefSelect = { databaseId?: boolean; storeId?: boolean; commitId?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type StoreSelect = { id?: boolean; @@ -331,6 +352,8 @@ export type StoreSelect = { databaseId?: boolean; hash?: boolean; createdAt?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type CommitSelect = { id?: boolean; @@ -342,6 +365,8 @@ export type CommitSelect = { committerId?: boolean; treeId?: boolean; date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; }; // ============ Table Filter Types ============ export interface GetAllRecordFilter { @@ -370,6 +395,8 @@ export interface RefFilter { databaseId?: UUIDFilter; storeId?: UUIDFilter; commitId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RefFilter[]; or?: RefFilter[]; not?: RefFilter; @@ -380,6 +407,8 @@ export interface StoreFilter { databaseId?: UUIDFilter; hash?: UUIDFilter; createdAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: StoreFilter[]; or?: StoreFilter[]; not?: StoreFilter; @@ -394,50 +423,12 @@ export interface CommitFilter { committerId?: UUIDFilter; treeId?: UUIDFilter; date?: DatetimeFilter; + messageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CommitFilter[]; or?: CommitFilter[]; not?: CommitFilter; } -// ============ Table Condition Types ============ -export interface GetAllRecordCondition { - path?: string | null; - data?: unknown | null; -} -export interface ObjectCondition { - hashUuid?: string | null; - id?: string | null; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: unknown | null; - frzn?: boolean | null; - createdAt?: string | null; -} -export interface RefCondition { - id?: string | null; - name?: string | null; - databaseId?: string | null; - storeId?: string | null; - commitId?: string | null; -} -export interface StoreCondition { - id?: string | null; - name?: string | null; - databaseId?: string | null; - hash?: string | null; - createdAt?: string | null; -} -export interface CommitCondition { - id?: string | null; - message?: string | null; - databaseId?: string | null; - storeId?: string | null; - parentIds?: string | null; - authorId?: string | null; - committerId?: string | null; - treeId?: string | null; - date?: string | null; -} // ============ OrderBy Types ============ export type GetAllRecordsOrderBy = | 'PRIMARY_KEY_ASC' @@ -480,7 +471,11 @@ export type RefOrderBy = | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' - | 'COMMIT_ID_DESC'; + | 'COMMIT_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type StoreOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -494,7 +489,11 @@ export type StoreOrderBy = | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type CommitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -516,7 +515,11 @@ export type CommitOrderBy = | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' - | 'DATE_DESC'; + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ export interface CreateGetAllRecordInput { clientMutationId?: string; @@ -579,6 +582,8 @@ export interface RefPatch { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRefInput { clientMutationId?: string; @@ -601,6 +606,8 @@ export interface StorePatch { name?: string | null; databaseId?: string | null; hash?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateStoreInput { clientMutationId?: string; @@ -633,6 +640,8 @@ export interface CommitPatch { committerId?: string | null; treeId?: string | null; date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCommitInput { clientMutationId?: string; diff --git a/sdk/constructive-react/src/objects/orm/models/commit.ts b/sdk/constructive-react/src/objects/orm/models/commit.ts index 257e233ae..ea9aa22d2 100644 --- a/sdk/constructive-react/src/objects/orm/models/commit.ts +++ b/sdk/constructive-react/src/objects/orm/models/commit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CommitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/objects/orm/models/getAllRecord.ts b/sdk/constructive-react/src/objects/orm/models/getAllRecord.ts index 53873a0f3..94a06bdd9 100644 --- a/sdk/constructive-react/src/objects/orm/models/getAllRecord.ts +++ b/sdk/constructive-react/src/objects/orm/models/getAllRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class GetAllRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/objects/orm/models/object.ts b/sdk/constructive-react/src/objects/orm/models/object.ts index 72f7b0da4..e6ffa470b 100644 --- a/sdk/constructive-react/src/objects/orm/models/object.ts +++ b/sdk/constructive-react/src/objects/orm/models/object.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ObjectModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/objects/orm/models/ref.ts b/sdk/constructive-react/src/objects/orm/models/ref.ts index ec666a8e7..bbbefc91f 100644 --- a/sdk/constructive-react/src/objects/orm/models/ref.ts +++ b/sdk/constructive-react/src/objects/orm/models/ref.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RefModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/objects/orm/models/store.ts b/sdk/constructive-react/src/objects/orm/models/store.ts index d6f5e0450..5481b44b9 100644 --- a/sdk/constructive-react/src/objects/orm/models/store.ts +++ b/sdk/constructive-react/src/objects/orm/models/store.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class StoreModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/objects/orm/query-builder.ts b/sdk/constructive-react/src/objects/orm/query-builder.ts index 67c3992b5..969c14937 100644 --- a/sdk/constructive-react/src/objects/orm/query-builder.ts +++ b/sdk/constructive-react/src/objects/orm/query-builder.ts @@ -189,12 +189,13 @@ export function buildSelections( // Document Builders // ============================================================================ -export function buildFindManyDocument( +export function buildFindManyDocument( operationName: string, queryField: string, select: TSelect, args: { where?: TWhere; + condition?: TCondition; orderBy?: string[]; first?: number; last?: number; @@ -204,7 +205,8 @@ export function buildFindManyDocument( }, filterTypeName: string, orderByTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -214,10 +216,19 @@ export function buildFindManyDocument( const queryArgs: ArgumentNode[] = []; const variables: Record = {}; + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -290,13 +301,14 @@ export function buildFindManyDocument( return { document: print(document), variables }; } -export function buildFindFirstDocument( +export function buildFindFirstDocument( operationName: string, queryField: string, select: TSelect, - args: { where?: TWhere }, + args: { where?: TWhere; condition?: TCondition }, filterTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -313,10 +325,19 @@ export function buildFindFirstDocument( queryArgs, variables ); + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -728,7 +749,7 @@ function buildConnectionSelections(nodeSelections: FieldNode[]): FieldNode[] { interface VariableSpec { varName: string; argName?: string; - typeName: string; + typeName?: string; value: unknown; } @@ -779,7 +800,7 @@ function addVariable( args: ArgumentNode[], variables: Record ): void { - if (spec.value === undefined) return; + if (spec.value === undefined || !spec.typeName) return; definitions.push( t.variableDefinition({ diff --git a/sdk/constructive-react/src/objects/orm/select-types.ts b/sdk/constructive-react/src/objects/orm/select-types.ts index 80165efa6..919d1b935 100644 --- a/sdk/constructive-react/src/objects/orm/select-types.ts +++ b/sdk/constructive-react/src/objects/orm/select-types.ts @@ -16,9 +16,10 @@ export interface PageInfo { endCursor?: string | null; } -export interface FindManyArgs { +export interface FindManyArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; orderBy?: TOrderBy[]; first?: number; last?: number; @@ -27,9 +28,10 @@ export interface FindManyArgs { offset?: number; } -export interface FindFirstArgs { +export interface FindFirstArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; } export interface CreateArgs { diff --git a/sdk/constructive-react/src/objects/schema-types.ts b/sdk/constructive-react/src/objects/schema-types.ts index a61a41dbc..3197f4b28 100644 --- a/sdk/constructive-react/src/objects/schema-types.ts +++ b/sdk/constructive-react/src/objects/schema-types.ts @@ -26,6 +26,7 @@ import type { StringListFilter, UUIDFilter, UUIDListFilter, + VectorFilter, } from './types'; /** Methods to use when ordering `Ref`. */ export type RefOrderBy = @@ -37,7 +38,11 @@ export type RefOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' - | 'STORE_ID_DESC'; + | 'STORE_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `Store`. */ export type StoreOrderBy = | 'NATURAL' @@ -46,7 +51,11 @@ export type StoreOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `Commit`. */ export type CommitOrderBy = | 'NATURAL' @@ -55,7 +64,11 @@ export type CommitOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `Object`. */ export type ObjectOrderBy = | 'NATURAL' @@ -67,19 +80,6 @@ export type ObjectOrderBy = | 'DATABASE_ID_DESC' | 'FRZN_ASC' | 'FRZN_DESC'; -/** A condition to be used against `Ref` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface RefCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `storeId` field. */ - storeId?: string; - /** Checks for equality with the object’s `commitId` field. */ - commitId?: string; -} /** A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ */ export interface RefFilter { /** Filter by the object’s `id` field. */ @@ -98,19 +98,22 @@ export interface RefFilter { or?: RefFilter[]; /** Negates the expression. */ not?: RefFilter; -} -/** A condition to be used against `Store` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface StoreCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `hash` field. */ - hash?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; + /** 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; +} +/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */ +export interface 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?: number; } /** A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ */ export interface StoreFilter { @@ -130,27 +133,15 @@ export interface StoreFilter { or?: StoreFilter[]; /** Negates the expression. */ not?: StoreFilter; -} -/** A condition to be used against `Commit` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface CommitCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `message` field. */ - message?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `storeId` field. */ - storeId?: string; - /** Checks for equality with the object’s `parentIds` field. */ - parentIds?: string[]; - /** Checks for equality with the object’s `authorId` field. */ - authorId?: string; - /** Checks for equality with the object’s `committerId` field. */ - committerId?: string; - /** Checks for equality with the object’s `treeId` field. */ - treeId?: string; - /** Checks for equality with the object’s `date` field. */ - date?: string; + /** 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; } /** A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ */ export interface CommitFilter { @@ -178,23 +169,15 @@ export interface CommitFilter { or?: CommitFilter[]; /** Negates the expression. */ not?: CommitFilter; -} -/** A condition to be used against `Object` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface ObjectCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `kids` field. */ - kids?: string[]; - /** Checks for equality with the object’s `ktree` field. */ - ktree?: string[]; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `frzn` field. */ - frzn?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; + /** 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; } /** A filter to be used against `Object` object types. All fields are combined with a logical ‘and.’ */ export interface ObjectFilter { diff --git a/sdk/constructive-react/src/objects/types.ts b/sdk/constructive-react/src/objects/types.ts index 0b3404d8d..9bf4cb699 100644 --- a/sdk/constructive-react/src/objects/types.ts +++ b/sdk/constructive-react/src/objects/types.ts @@ -23,6 +23,8 @@ export interface Ref { databaseId: string | null; storeId: string | null; commitId: string | null; + nameTrgmSimilarity: number | null; + searchScore: number | null; } export interface Store { id: string | null; @@ -30,6 +32,8 @@ export interface Store { databaseId: string | null; hash: string | null; createdAt: string | null; + nameTrgmSimilarity: number | null; + searchScore: number | null; } export interface Commit { id: string | null; @@ -41,6 +45,8 @@ export interface Commit { committerId: string | null; treeId: string | null; date: string | null; + messageTrgmSimilarity: number | null; + searchScore: number | null; } export interface StringFilter { isNull?: boolean; @@ -199,6 +205,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; diff --git a/sdk/constructive-react/src/public/README.md b/sdk/constructive-react/src/public/README.md index eb26399c2..c4951fdc3 100644 --- a/sdk/constructive-react/src/public/README.md +++ b/sdk/constructive-react/src/public/README.md @@ -8,7 +8,7 @@ ## Overview -- **Tables:** 104 +- **Tables:** 103 - **Custom queries:** 19 - **Custom mutations:** 31 diff --git a/sdk/constructive-react/src/public/hooks/README.md b/sdk/constructive-react/src/public/hooks/README.md index 73194c5a3..747ec9a9d 100644 --- a/sdk/constructive-react/src/public/hooks/README.md +++ b/sdk/constructive-react/src/public/hooks/README.md @@ -143,11 +143,6 @@ function App() { | `useCreateViewRuleMutation` | Mutation | DO INSTEAD rules for views (e.g., read-only enforcement) | | `useUpdateViewRuleMutation` | Mutation | DO INSTEAD rules for views (e.g., read-only enforcement) | | `useDeleteViewRuleMutation` | Mutation | DO INSTEAD rules for views (e.g., read-only enforcement) | -| `useTableModulesQuery` | Query | List all tableModules | -| `useTableModuleQuery` | Query | Get one tableModule | -| `useCreateTableModuleMutation` | Mutation | Create a tableModule | -| `useUpdateTableModuleMutation` | Mutation | Update a tableModule | -| `useDeleteTableModuleMutation` | Mutation | Delete a tableModule | | `useTableTemplateModulesQuery` | Query | List all tableTemplateModules | | `useTableTemplateModuleQuery` | Query | Get one tableTemplateModule | | `useCreateTableTemplateModuleMutation` | Mutation | Create a tableTemplateModule | @@ -338,11 +333,6 @@ function App() { | `useCreateProfilesModuleMutation` | Mutation | Create a profilesModule | | `useUpdateProfilesModuleMutation` | Mutation | Update a profilesModule | | `useDeleteProfilesModuleMutation` | Mutation | Delete a profilesModule | -| `useRlsModulesQuery` | Query | List all rlsModules | -| `useRlsModuleQuery` | Query | Get one rlsModule | -| `useCreateRlsModuleMutation` | Mutation | Create a rlsModule | -| `useUpdateRlsModuleMutation` | Mutation | Update a rlsModule | -| `useDeleteRlsModuleMutation` | Mutation | Delete a rlsModule | | `useSecretsModulesQuery` | Query | List all secretsModules | | `useSecretsModuleQuery` | Query | Get one secretsModule | | `useCreateSecretsModuleMutation` | Mutation | Create a secretsModule | @@ -478,6 +468,11 @@ function App() { | `useCreateAppPermissionDefaultMutation` | Mutation | Stores the default permission bitmask assigned to new members upon joining | | `useUpdateAppPermissionDefaultMutation` | Mutation | Stores the default permission bitmask assigned to new members upon joining | | `useDeleteAppPermissionDefaultMutation` | Mutation | Stores the default permission bitmask assigned to new members upon joining | +| `useCryptoAddressesQuery` | Query | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | +| `useCryptoAddressQuery` | Query | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | +| `useCreateCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | +| `useUpdateCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | +| `useDeleteCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | | `useRoleTypesQuery` | Query | List all roleTypes | | `useRoleTypeQuery` | Query | Get one roleType | | `useCreateRoleTypeMutation` | Mutation | Create a roleType | @@ -488,11 +483,11 @@ function App() { | `useCreateOrgPermissionDefaultMutation` | Mutation | Stores the default permission bitmask assigned to new members upon joining | | `useUpdateOrgPermissionDefaultMutation` | Mutation | Stores the default permission bitmask assigned to new members upon joining | | `useDeleteOrgPermissionDefaultMutation` | Mutation | Stores the default permission bitmask assigned to new members upon joining | -| `useCryptoAddressesQuery` | Query | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | -| `useCryptoAddressQuery` | Query | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | -| `useCreateCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | -| `useUpdateCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | -| `useDeleteCryptoAddressMutation` | Mutation | Cryptocurrency wallet addresses owned by users, with network-specific validation and verification | +| `usePhoneNumbersQuery` | Query | User phone numbers with country code, verification, and primary-number management | +| `usePhoneNumberQuery` | Query | User phone numbers with country code, verification, and primary-number management | +| `useCreatePhoneNumberMutation` | Mutation | User phone numbers with country code, verification, and primary-number management | +| `useUpdatePhoneNumberMutation` | Mutation | User phone numbers with country code, verification, and primary-number management | +| `useDeletePhoneNumberMutation` | Mutation | User phone numbers with country code, verification, and primary-number management | | `useAppLimitDefaultsQuery` | Query | Default maximum values for each named limit, applied when no per-actor override exists | | `useAppLimitDefaultQuery` | Query | Default maximum values for each named limit, applied when no per-actor override exists | | `useCreateAppLimitDefaultMutation` | Mutation | Default maximum values for each named limit, applied when no per-actor override exists | @@ -508,26 +503,26 @@ function App() { | `useCreateConnectedAccountMutation` | Mutation | OAuth and social login connections linking external service accounts to users | | `useUpdateConnectedAccountMutation` | Mutation | OAuth and social login connections linking external service accounts to users | | `useDeleteConnectedAccountMutation` | Mutation | OAuth and social login connections linking external service accounts to users | -| `usePhoneNumbersQuery` | Query | User phone numbers with country code, verification, and primary-number management | -| `usePhoneNumberQuery` | Query | User phone numbers with country code, verification, and primary-number management | -| `useCreatePhoneNumberMutation` | Mutation | User phone numbers with country code, verification, and primary-number management | -| `useUpdatePhoneNumberMutation` | Mutation | User phone numbers with country code, verification, and primary-number management | -| `useDeletePhoneNumberMutation` | Mutation | User phone numbers with country code, verification, and primary-number management | -| `useMembershipTypesQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useMembershipTypeQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useCreateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useUpdateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | -| `useDeleteMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | | `useNodeTypeRegistriesQuery` | Query | Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). | | `useNodeTypeRegistryQuery` | Query | Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). | | `useCreateNodeTypeRegistryMutation` | Mutation | Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). | | `useUpdateNodeTypeRegistryMutation` | Mutation | Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). | | `useDeleteNodeTypeRegistryMutation` | Mutation | Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). | +| `useMembershipTypesQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useMembershipTypeQuery` | Query | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useCreateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useUpdateMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | +| `useDeleteMembershipTypeMutation` | Mutation | Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) | | `useAppMembershipDefaultsQuery` | Query | Default membership settings per entity, controlling initial approval and verification state for new members | | `useAppMembershipDefaultQuery` | Query | Default membership settings per entity, controlling initial approval and verification state for new members | | `useCreateAppMembershipDefaultMutation` | Mutation | Default membership settings per entity, controlling initial approval and verification state for new members | | `useUpdateAppMembershipDefaultMutation` | Mutation | Default membership settings per entity, controlling initial approval and verification state for new members | | `useDeleteAppMembershipDefaultMutation` | Mutation | Default membership settings per entity, controlling initial approval and verification state for new members | +| `useRlsModulesQuery` | Query | List all rlsModules | +| `useRlsModuleQuery` | Query | Get one rlsModule | +| `useCreateRlsModuleMutation` | Mutation | Create a rlsModule | +| `useUpdateRlsModuleMutation` | Mutation | Update a rlsModule | +| `useDeleteRlsModuleMutation` | Mutation | Delete a rlsModule | | `useCommitsQuery` | Query | A commit records changes to the repository. | | `useCommitQuery` | Query | A commit records changes to the repository. | | `useCreateCommitMutation` | Mutation | A commit records changes to the repository. | @@ -548,31 +543,31 @@ function App() { | `useCreateAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | | `useUpdateAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | | `useDeleteAppLevelMutation` | Mutation | Defines available levels that users can achieve by completing requirements | -| `useEmailsQuery` | Query | User email addresses with verification and primary-email management | -| `useEmailQuery` | Query | User email addresses with verification and primary-email management | -| `useCreateEmailMutation` | Mutation | User email addresses with verification and primary-email management | -| `useUpdateEmailMutation` | Mutation | User email addresses with verification and primary-email management | -| `useDeleteEmailMutation` | Mutation | User email addresses with verification and primary-email management | | `useSqlMigrationsQuery` | Query | List all sqlMigrations | | `useSqlMigrationQuery` | Query | Get one sqlMigration | | `useCreateSqlMigrationMutation` | Mutation | Create a sqlMigration | | `useUpdateSqlMigrationMutation` | Mutation | Update a sqlMigration | | `useDeleteSqlMigrationMutation` | Mutation | Delete a sqlMigration | +| `useEmailsQuery` | Query | User email addresses with verification and primary-email management | +| `useEmailQuery` | Query | User email addresses with verification and primary-email management | +| `useCreateEmailMutation` | Mutation | User email addresses with verification and primary-email management | +| `useUpdateEmailMutation` | Mutation | User email addresses with verification and primary-email management | +| `useDeleteEmailMutation` | Mutation | User email addresses with verification and primary-email management | | `useAstMigrationsQuery` | Query | List all astMigrations | | `useAstMigrationQuery` | Query | Get one astMigration | | `useCreateAstMigrationMutation` | Mutation | Create a astMigration | | `useUpdateAstMigrationMutation` | Mutation | Update a astMigration | | `useDeleteAstMigrationMutation` | Mutation | Delete a astMigration | -| `useUsersQuery` | Query | List all users | -| `useUserQuery` | Query | Get one user | -| `useCreateUserMutation` | Mutation | Create a user | -| `useUpdateUserMutation` | Mutation | Update a user | -| `useDeleteUserMutation` | Mutation | Delete a user | | `useAppMembershipsQuery` | Query | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useAppMembershipQuery` | Query | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useCreateAppMembershipMutation` | Mutation | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useUpdateAppMembershipMutation` | Mutation | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | | `useDeleteAppMembershipMutation` | Mutation | Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status | +| `useUsersQuery` | Query | List all users | +| `useUserQuery` | Query | Get one user | +| `useCreateUserMutation` | Mutation | Create a user | +| `useUpdateUserMutation` | Mutation | Update a user | +| `useDeleteUserMutation` | Mutation | Delete a user | | `useHierarchyModulesQuery` | Query | List all hierarchyModules | | `useHierarchyModuleQuery` | Query | Get one hierarchyModule | | `useCreateHierarchyModuleMutation` | Mutation | Create a hierarchyModule | @@ -608,8 +603,8 @@ function App() { | `useSetPasswordMutation` | Mutation | setPassword | | `useVerifyEmailMutation` | Mutation | verifyEmail | | `useResetPasswordMutation` | Mutation | resetPassword | -| `useRemoveNodeAtPathMutation` | Mutation | removeNodeAtPath | | `useBootstrapUserMutation` | Mutation | bootstrapUser | +| `useRemoveNodeAtPathMutation` | Mutation | removeNodeAtPath | | `useSetDataAtPathMutation` | Mutation | setDataAtPath | | `useSetPropsAndCommitMutation` | Mutation | setPropsAndCommit | | `useProvisionDatabaseWithUserMutation` | Mutation | provisionDatabaseWithUser | @@ -697,20 +692,20 @@ create({ path: '', data: '' }); ```typescript // List all appPermissions const { data, isLoading } = useAppPermissionsQuery({ - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Get one appPermission const { data: item } = useAppPermissionQuery({ id: '', - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a appPermission const { mutate: create } = useCreateAppPermissionMutation({ selection: { fields: { id: true } }, }); -create({ name: '', bitnum: '', bitstr: '', description: '' }); +create({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### OrgPermission @@ -718,20 +713,20 @@ create({ name: '', bitnum: '', bitstr: '', description: '', - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a orgPermission const { mutate: create } = useCreateOrgPermissionMutation({ selection: { fields: { id: true } }, }); -create({ name: '', bitnum: '', bitstr: '', description: '' }); +create({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### Object @@ -760,20 +755,20 @@ create({ hashUuid: '', databaseId: '', kids: '', ktree: '', - selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a appLevelRequirement const { mutate: create } = useCreateAppLevelRequirementMutation({ selection: { fields: { id: true } }, }); -create({ name: '', level: '', description: '', requiredCount: '', priority: '' }); +create({ name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### Database @@ -781,20 +776,20 @@ create({ name: '', level: '', description: '', requiredCoun ```typescript // List all databases const { data, isLoading } = useDatabasesQuery({ - selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }, }); // Get one database const { data: item } = useDatabaseQuery({ id: '', - selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }, }); // Create a database const { mutate: create } = useCreateDatabaseMutation({ selection: { fields: { id: true } }, }); -create({ ownerId: '', schemaHash: '', name: '', label: '', hash: '' }); +create({ ownerId: '', schemaHash: '', name: '', label: '', hash: '', schemaHashTrgmSimilarity: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', searchScore: '' }); ``` ### Schema @@ -802,20 +797,20 @@ create({ ownerId: '', schemaHash: '', name: '', label: '', - selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a schema const { mutate: create } = useCreateSchemaMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '' }); +create({ databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '', nameTrgmSimilarity: '', schemaNameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### Table @@ -823,20 +818,20 @@ create({ databaseId: '', name: '', schemaName: '', label: ' ```typescript // List all tables const { data, isLoading } = useTablesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }, }); // Get one table const { data: item } = useTableQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }, }); // Create a table const { mutate: create } = useCreateTableMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '' }); +create({ databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', pluralNameTrgmSimilarity: '', singularNameTrgmSimilarity: '', searchScore: '' }); ``` ### CheckConstraint @@ -844,20 +839,20 @@ create({ databaseId: '', schemaId: '', name: '', label: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a checkConstraint const { mutate: create } = useCreateCheckConstraintMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### Field @@ -865,20 +860,20 @@ create({ databaseId: '', tableId: '', name: '', type: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a field const { mutate: create } = useCreateFieldMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '' }); +create({ databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', defaultValueTrgmSimilarity: '', regexpTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### ForeignKeyConstraint @@ -886,20 +881,20 @@ create({ databaseId: '', tableId: '', name: '', label: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a foreignKeyConstraint const { mutate: create } = useCreateForeignKeyConstraintMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', deleteActionTrgmSimilarity: '', updateActionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### FullTextSearch @@ -928,20 +923,20 @@ create({ databaseId: '', tableId: '', fieldId: '', fieldIds ```typescript // List all indices const { data, isLoading } = useIndicesQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Get one index const { data: item } = useIndexQuery({ id: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a index const { mutate: create } = useCreateIndexMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', options: '', opClasses: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', accessMethodTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### Policy @@ -949,20 +944,20 @@ create({ databaseId: '', tableId: '', name: '', fieldIds: ' ```typescript // List all policies const { data, isLoading } = usePoliciesQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Get one policy const { data: item } = usePolicyQuery({ id: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a policy const { mutate: create } = useCreatePolicyMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### PrimaryKeyConstraint @@ -970,20 +965,20 @@ create({ databaseId: '', tableId: '', name: '', granteeName ```typescript // List all primaryKeyConstraints const { data, isLoading } = usePrimaryKeyConstraintsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Get one primaryKeyConstraint const { data: item } = usePrimaryKeyConstraintQuery({ id: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a primaryKeyConstraint const { mutate: create } = useCreatePrimaryKeyConstraintMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### TableGrant @@ -991,20 +986,20 @@ create({ databaseId: '', tableId: '', name: '', type: '', - selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); // Create a tableGrant const { mutate: create } = useCreateTableGrantMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '' }); +create({ databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }); ``` ### Trigger @@ -1012,20 +1007,20 @@ create({ databaseId: '', tableId: '', privilege: '', grante ```typescript // List all triggers const { data, isLoading } = useTriggersQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Get one trigger const { data: item } = useTriggerQuery({ id: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a trigger const { mutate: create } = useCreateTriggerMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', functionNameTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### UniqueConstraint @@ -1033,20 +1028,20 @@ create({ databaseId: '', tableId: '', name: '', event: '', - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a uniqueConstraint const { mutate: create } = useCreateUniqueConstraintMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### View @@ -1054,20 +1049,20 @@ create({ databaseId: '', tableId: '', name: '', description ```typescript // List all views const { data, isLoading } = useViewsQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Get one view const { data: item } = useViewQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); // Create a view const { mutate: create } = useCreateViewMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +create({ databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', viewTypeTrgmSimilarity: '', filterTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` ### ViewTable @@ -1096,20 +1091,20 @@ create({ viewId: '', tableId: '', joinOrder: '' }); ```typescript // List all viewGrants const { data, isLoading } = useViewGrantsQuery({ - selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }, + selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }, }); // Get one viewGrant const { data: item } = useViewGrantQuery({ id: '', - selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }, + selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }, }); // Create a viewGrant const { mutate: create } = useCreateViewGrantMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '' }); +create({ databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', searchScore: '' }); ``` ### ViewRule @@ -1117,41 +1112,20 @@ create({ databaseId: '', viewId: '', granteeName: '', privi ```typescript // List all viewRules const { data, isLoading } = useViewRulesQuery({ - selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }, + selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }, }); // Get one viewRule const { data: item } = useViewRuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }, + selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }, }); // Create a viewRule const { mutate: create } = useCreateViewRuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', viewId: '', name: '', event: '', action: '' }); -``` - -### TableModule - -```typescript -// List all tableModules -const { data, isLoading } = useTableModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }, -}); - -// Get one tableModule -const { data: item } = useTableModuleQuery({ - id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }, -}); - -// Create a tableModule -const { mutate: create } = useCreateTableModuleMutation({ - selection: { fields: { id: true } }, -}); -create({ databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', data: '', fields: '' }); +create({ databaseId: '', viewId: '', name: '', event: '', action: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }); ``` ### TableTemplateModule @@ -1159,20 +1133,20 @@ create({ databaseId: '', schemaId: '', tableId: '', tableNa ```typescript // List all tableTemplateModules const { data, isLoading } = useTableTemplateModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }, }); // Get one tableTemplateModule const { data: item } = useTableTemplateModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }, }); // Create a tableTemplateModule const { mutate: create } = useCreateTableTemplateModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', searchScore: '' }); ``` ### SecureTableProvision @@ -1180,20 +1154,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all secureTableProvisions const { data, isLoading } = useSecureTableProvisionsQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }, }); // Get one secureTableProvision const { data: item } = useSecureTableProvisionQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }, }); // Create a secureTableProvision const { mutate: create } = useCreateSecureTableProvisionMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '' }); +create({ databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', fields: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }); ``` ### RelationProvision @@ -1201,20 +1175,20 @@ create({ databaseId: '', schemaId: '', tableId: '', tableNa ```typescript // List all relationProvisions const { data, isLoading } = useRelationProvisionsQuery({ - selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }, + selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }, }); // Get one relationProvision const { data: item } = useRelationProvisionQuery({ id: '', - selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }, + selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }, }); // Create a relationProvision const { mutate: create } = useCreateRelationProvisionMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '' }); +create({ databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '', relationTypeTrgmSimilarity: '', fieldNameTrgmSimilarity: '', deleteActionTrgmSimilarity: '', junctionTableNameTrgmSimilarity: '', sourceFieldNameTrgmSimilarity: '', targetFieldNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }); ``` ### SchemaGrant @@ -1222,20 +1196,20 @@ create({ databaseId: '', relationType: '', sourceTableId: ' ```typescript // List all schemaGrants const { data, isLoading } = useSchemaGrantsQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); // Get one schemaGrant const { data: item } = useSchemaGrantQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); // Create a schemaGrant const { mutate: create } = useCreateSchemaGrantMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', granteeName: '' }); +create({ databaseId: '', schemaId: '', granteeName: '', granteeNameTrgmSimilarity: '', searchScore: '' }); ``` ### DefaultPrivilege @@ -1243,20 +1217,20 @@ create({ databaseId: '', schemaId: '', granteeName: '' }); ```typescript // List all defaultPrivileges const { data, isLoading } = useDefaultPrivilegesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); // Get one defaultPrivilege const { data: item } = useDefaultPrivilegeQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); // Create a defaultPrivilege const { mutate: create } = useCreateDefaultPrivilegeMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '' }); +create({ databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '', objectTypeTrgmSimilarity: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }); ``` ### ApiSchema @@ -1285,20 +1259,20 @@ create({ databaseId: '', schemaId: '', apiId: '' }); ```typescript // List all apiModules const { data, isLoading } = useApiModulesQuery({ - selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true } }, + selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Get one apiModule const { data: item } = useApiModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true } }, + selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Create a apiModule const { mutate: create } = useCreateApiModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', apiId: '', name: '', data: '' }); +create({ databaseId: '', apiId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }); ``` ### Domain @@ -1327,20 +1301,20 @@ create({ databaseId: '', apiId: '', siteId: '', subdomain: ```typescript // List all siteMetadata const { data, isLoading } = useSiteMetadataQuery({ - selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Get one siteMetadatum const { data: item } = useSiteMetadatumQuery({ id: '', - selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a siteMetadatum const { mutate: create } = useCreateSiteMetadatumMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', siteId: '', title: '', description: '', ogImage: '' }); +create({ databaseId: '', siteId: '', title: '', description: '', ogImage: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### SiteModule @@ -1348,20 +1322,20 @@ create({ databaseId: '', siteId: '', title: '', description ```typescript // List all siteModules const { data, isLoading } = useSiteModulesQuery({ - selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Get one siteModule const { data: item } = useSiteModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Create a siteModule const { mutate: create } = useCreateSiteModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', siteId: '', name: '', data: '' }); +create({ databaseId: '', siteId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }); ``` ### SiteTheme @@ -1390,20 +1364,20 @@ create({ databaseId: '', siteId: '', theme: '' }); ```typescript // List all triggerFunctions const { data, isLoading } = useTriggerFunctionsQuery({ - selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }, }); // Get one triggerFunction const { data: item } = useTriggerFunctionQuery({ id: '', - selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }, }); // Create a triggerFunction const { mutate: create } = useCreateTriggerFunctionMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', name: '', code: '' }); +create({ databaseId: '', name: '', code: '', nameTrgmSimilarity: '', codeTrgmSimilarity: '', searchScore: '' }); ``` ### Api @@ -1411,20 +1385,20 @@ create({ databaseId: '', name: '', code: '' }); ```typescript // List all apis const { data, isLoading } = useApisQuery({ - selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }, + selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }, }); // Get one api const { data: item } = useApiQuery({ id: '', - selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }, + selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }, }); // Create a api const { mutate: create } = useCreateApiMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '' }); +create({ databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '', nameTrgmSimilarity: '', dbnameTrgmSimilarity: '', roleNameTrgmSimilarity: '', anonRoleTrgmSimilarity: '', searchScore: '' }); ``` ### Site @@ -1432,20 +1406,20 @@ create({ databaseId: '', name: '', dbname: '', roleName: '< ```typescript // List all sites const { data, isLoading } = useSitesQuery({ - selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }, + selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }, }); // Get one site const { data: item } = useSiteQuery({ id: '', - selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }, + selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }, }); // Create a site const { mutate: create } = useCreateSiteMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '' }); +create({ databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', dbnameTrgmSimilarity: '', searchScore: '' }); ``` ### App @@ -1453,20 +1427,20 @@ create({ databaseId: '', title: '', description: '', ogImag ```typescript // List all apps const { data, isLoading } = useAppsQuery({ - selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }, }); // Get one app const { data: item } = useAppQuery({ id: '', - selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }, }); // Create a app const { mutate: create } = useCreateAppMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '' }); +create({ databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '', nameTrgmSimilarity: '', appStoreIdTrgmSimilarity: '', appIdPrefixTrgmSimilarity: '', searchScore: '' }); ``` ### ConnectedAccountsModule @@ -1474,20 +1448,20 @@ create({ databaseId: '', siteId: '', name: '', appImage: '< ```typescript // List all connectedAccountsModules const { data, isLoading } = useConnectedAccountsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Get one connectedAccountsModule const { data: item } = useConnectedAccountsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Create a connectedAccountsModule const { mutate: create } = useCreateConnectedAccountsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` ### CryptoAddressesModule @@ -1495,20 +1469,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all cryptoAddressesModules const { data, isLoading } = useCryptoAddressesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }, }); // Get one cryptoAddressesModule const { data: item } = useCryptoAddressesModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }, }); // Create a cryptoAddressesModule const { mutate: create } = useCreateCryptoAddressesModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '', tableNameTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', searchScore: '' }); ``` ### CryptoAuthModule @@ -1516,20 +1490,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all cryptoAuthModules const { data, isLoading } = useCryptoAuthModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }, }); // Get one cryptoAuthModule const { data: item } = useCryptoAuthModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }, }); // Create a cryptoAuthModule const { mutate: create } = useCreateCryptoAuthModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '' }); +create({ databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '', userFieldTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', signInRequestChallengeTrgmSimilarity: '', signInRecordFailureTrgmSimilarity: '', signUpWithKeyTrgmSimilarity: '', signInWithChallengeTrgmSimilarity: '', searchScore: '' }); ``` ### DefaultIdsModule @@ -1558,20 +1532,20 @@ create({ databaseId: '' }); ```typescript // List all denormalizedTableFields const { data, isLoading } = useDenormalizedTableFieldsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }, }); // Get one denormalizedTableField const { data: item } = useDenormalizedTableFieldQuery({ id: '', - selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }, }); // Create a denormalizedTableField const { mutate: create } = useCreateDenormalizedTableFieldMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '' }); +create({ databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '', funcNameTrgmSimilarity: '', searchScore: '' }); ``` ### EmailsModule @@ -1579,20 +1553,20 @@ create({ databaseId: '', tableId: '', fieldId: '', setIds: ```typescript // List all emailsModules const { data, isLoading } = useEmailsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Get one emailsModule const { data: item } = useEmailsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Create a emailsModule const { mutate: create } = useCreateEmailsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` ### EncryptedSecretsModule @@ -1600,20 +1574,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all encryptedSecretsModules const { data, isLoading } = useEncryptedSecretsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Get one encryptedSecretsModule const { data: item } = useEncryptedSecretsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Create a encryptedSecretsModule const { mutate: create } = useCreateEncryptedSecretsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', tableId: '', tableName: '' }); +create({ databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` ### FieldModule @@ -1621,20 +1595,20 @@ create({ databaseId: '', schemaId: '', tableId: '', tableNa ```typescript // List all fieldModules const { data, isLoading } = useFieldModulesQuery({ - selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }, + selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }, }); // Get one fieldModule const { data: item } = useFieldModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }, + selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }, }); // Create a fieldModule const { mutate: create } = useCreateFieldModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '' }); +create({ databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '', nodeTypeTrgmSimilarity: '', searchScore: '' }); ``` ### InvitesModule @@ -1642,20 +1616,20 @@ create({ databaseId: '', privateSchemaId: '', tableId: '', ```typescript // List all invitesModules const { data, isLoading } = useInvitesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Get one invitesModule const { data: item } = useInvitesModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Create a invitesModule const { mutate: create } = useCreateInvitesModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '', invitesTableNameTrgmSimilarity: '', claimedInvitesTableNameTrgmSimilarity: '', submitInviteCodeFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` ### LevelsModule @@ -1663,20 +1637,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all levelsModules const { data, isLoading } = useLevelsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Get one levelsModule const { data: item } = useLevelsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Create a levelsModule const { mutate: create } = useCreateLevelsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', stepsTableNameTrgmSimilarity: '', achievementsTableNameTrgmSimilarity: '', levelsTableNameTrgmSimilarity: '', levelRequirementsTableNameTrgmSimilarity: '', completedStepTrgmSimilarity: '', incompletedStepTrgmSimilarity: '', tgAchievementTrgmSimilarity: '', tgAchievementToggleTrgmSimilarity: '', tgAchievementToggleBooleanTrgmSimilarity: '', tgAchievementBooleanTrgmSimilarity: '', upsertAchievementTrgmSimilarity: '', tgUpdateAchievementsTrgmSimilarity: '', stepsRequiredTrgmSimilarity: '', levelAchievedTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` ### LimitsModule @@ -1684,20 +1658,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all limitsModules const { data, isLoading } = useLimitsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Get one limitsModule const { data: item } = useLimitsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Create a limitsModule const { mutate: create } = useCreateLimitsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', limitIncrementFunctionTrgmSimilarity: '', limitDecrementFunctionTrgmSimilarity: '', limitIncrementTriggerTrgmSimilarity: '', limitDecrementTriggerTrgmSimilarity: '', limitUpdateTriggerTrgmSimilarity: '', limitCheckFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` ### MembershipTypesModule @@ -1705,20 +1679,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all membershipTypesModules const { data, isLoading } = useMembershipTypesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Get one membershipTypesModule const { data: item } = useMembershipTypesModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Create a membershipTypesModule const { mutate: create } = useCreateMembershipTypesModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', tableId: '', tableName: '' }); +create({ databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` ### MembershipsModule @@ -1726,20 +1700,20 @@ create({ databaseId: '', schemaId: '', tableId: '', tableNa ```typescript // List all membershipsModules const { data, isLoading } = useMembershipsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }, }); // Get one membershipsModule const { data: item } = useMembershipsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }, }); // Create a membershipsModule const { mutate: create } = useCreateMembershipsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '', membershipsTableNameTrgmSimilarity: '', membersTableNameTrgmSimilarity: '', membershipDefaultsTableNameTrgmSimilarity: '', grantsTableNameTrgmSimilarity: '', adminGrantsTableNameTrgmSimilarity: '', ownerGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', actorMaskCheckTrgmSimilarity: '', actorPermCheckTrgmSimilarity: '', entityIdsByMaskTrgmSimilarity: '', entityIdsByPermTrgmSimilarity: '', entityIdsFunctionTrgmSimilarity: '', searchScore: '' }); ``` ### PermissionsModule @@ -1747,20 +1721,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all permissionsModules const { data, isLoading } = usePermissionsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }, }); // Get one permissionsModule const { data: item } = usePermissionsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }, }); // Create a permissionsModule const { mutate: create } = useCreatePermissionsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', getPaddedMaskTrgmSimilarity: '', getMaskTrgmSimilarity: '', getByMaskTrgmSimilarity: '', getMaskByNameTrgmSimilarity: '', searchScore: '' }); ``` ### PhoneNumbersModule @@ -1768,20 +1742,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all phoneNumbersModules const { data, isLoading } = usePhoneNumbersModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Get one phoneNumbersModule const { data: item } = usePhoneNumbersModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Create a phoneNumbersModule const { mutate: create } = useCreatePhoneNumbersModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` ### ProfilesModule @@ -1789,41 +1763,20 @@ create({ databaseId: '', schemaId: '', privateSchemaId: '', ```typescript // List all profilesModules const { data, isLoading } = useProfilesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Get one profilesModule const { data: item } = useProfilesModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Create a profilesModule const { mutate: create } = useCreateProfilesModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '' }); -``` - -### RlsModule - -```typescript -// List all rlsModules -const { data, isLoading } = useRlsModulesQuery({ - selection: { fields: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }, -}); - -// Get one rlsModule -const { data: item } = useRlsModuleQuery({ - id: '', - selection: { fields: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }, -}); - -// Create a rlsModule -const { mutate: create } = useCreateRlsModuleMutation({ - selection: { fields: { id: true } }, -}); -create({ databaseId: '', apiId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '', tableNameTrgmSimilarity: '', profilePermissionsTableNameTrgmSimilarity: '', profileGrantsTableNameTrgmSimilarity: '', profileDefinitionGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` ### SecretsModule @@ -1831,20 +1784,20 @@ create({ databaseId: '', apiId: '', schemaId: '', privateSc ```typescript // List all secretsModules const { data, isLoading } = useSecretsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Get one secretsModule const { data: item } = useSecretsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); // Create a secretsModule const { mutate: create } = useCreateSecretsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', tableId: '', tableName: '' }); +create({ databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` ### SessionsModule @@ -1852,20 +1805,20 @@ create({ databaseId: '', schemaId: '', tableId: '', tableNa ```typescript // List all sessionsModules const { data, isLoading } = useSessionsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }, }); // Get one sessionsModule const { data: item } = useSessionsModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }, }); // Create a sessionsModule const { mutate: create } = useCreateSessionsModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '' }); +create({ databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '', sessionsTableTrgmSimilarity: '', sessionCredentialsTableTrgmSimilarity: '', authSettingsTableTrgmSimilarity: '', searchScore: '' }); ``` ### UserAuthModule @@ -1873,20 +1826,20 @@ create({ databaseId: '', schemaId: '', sessionsTableId: '', ```typescript // List all userAuthModules const { data, isLoading } = useUserAuthModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }, }); // Get one userAuthModule const { data: item } = useUserAuthModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }, }); // Create a userAuthModule const { mutate: create } = useCreateUserAuthModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '' }); +create({ databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '', auditsTableNameTrgmSimilarity: '', signInFunctionTrgmSimilarity: '', signUpFunctionTrgmSimilarity: '', signOutFunctionTrgmSimilarity: '', setPasswordFunctionTrgmSimilarity: '', resetPasswordFunctionTrgmSimilarity: '', forgotPasswordFunctionTrgmSimilarity: '', sendVerificationEmailFunctionTrgmSimilarity: '', verifyEmailFunctionTrgmSimilarity: '', verifyPasswordFunctionTrgmSimilarity: '', checkPasswordFunctionTrgmSimilarity: '', sendAccountDeletionEmailFunctionTrgmSimilarity: '', deleteAccountFunctionTrgmSimilarity: '', signInOneTimeTokenFunctionTrgmSimilarity: '', oneTimeTokenFunctionTrgmSimilarity: '', extendTokenExpiresTrgmSimilarity: '', searchScore: '' }); ``` ### UsersModule @@ -1894,20 +1847,20 @@ create({ databaseId: '', schemaId: '', emailsTableId: '', u ```typescript // List all usersModules const { data, isLoading } = useUsersModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }, }); // Get one usersModule const { data: item } = useUsersModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }, }); // Create a usersModule const { mutate: create } = useCreateUsersModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '' }); +create({ databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '', tableNameTrgmSimilarity: '', typeTableNameTrgmSimilarity: '', searchScore: '' }); ``` ### UuidModule @@ -1915,20 +1868,20 @@ create({ databaseId: '', schemaId: '', tableId: '', tableNa ```typescript // List all uuidModules const { data, isLoading } = useUuidModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }, }); // Get one uuidModule const { data: item } = useUuidModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }, }); // Create a uuidModule const { mutate: create } = useCreateUuidModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '' }); +create({ databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '', uuidFunctionTrgmSimilarity: '', uuidSeedTrgmSimilarity: '', searchScore: '' }); ``` ### DatabaseProvisionModule @@ -1936,20 +1889,20 @@ create({ databaseId: '', schemaId: '', uuidFunction: '', uu ```typescript // List all databaseProvisionModules const { data, isLoading } = useDatabaseProvisionModulesQuery({ - selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }, + selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }, }); // Get one databaseProvisionModule const { data: item } = useDatabaseProvisionModuleQuery({ id: '', - selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }, + selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }, }); // Create a databaseProvisionModule const { mutate: create } = useCreateDatabaseProvisionModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '' }); +create({ databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '', databaseNameTrgmSimilarity: '', subdomainTrgmSimilarity: '', domainTrgmSimilarity: '', statusTrgmSimilarity: '', errorMessageTrgmSimilarity: '', searchScore: '' }); ``` ### AppAdminGrant @@ -2125,20 +2078,20 @@ create({ permissions: '', isGrant: '', actorId: '', entityI ```typescript // List all orgChartEdges const { data, isLoading } = useOrgChartEdgesQuery({ - selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); // Get one orgChartEdge const { data: item } = useOrgChartEdgeQuery({ id: '', - selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); // Create a orgChartEdge const { mutate: create } = useCreateOrgChartEdgeMutation({ selection: { fields: { id: true } }, }); -create({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }); +create({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` ### OrgChartEdgeGrant @@ -2146,20 +2099,20 @@ create({ entityId: '', childId: '', parentId: '', positionT ```typescript // List all orgChartEdgeGrants const { data, isLoading } = useOrgChartEdgeGrantsQuery({ - selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }, + selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); // Get one orgChartEdgeGrant const { data: item } = useOrgChartEdgeGrantQuery({ id: '', - selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }, + selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); // Create a orgChartEdgeGrant const { mutate: create } = useCreateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } }, }); -create({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }); +create({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` ### AppLimit @@ -2251,20 +2204,20 @@ create({ actorId: '', name: '', count: '' }); ```typescript // List all invites const { data, isLoading } = useInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); // Get one invite const { data: item } = useInviteQuery({ id: '', - selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); // Create a invite const { mutate: create } = useCreateInviteMutation({ selection: { fields: { id: true } }, }); -create({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }); +create({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` ### ClaimedInvite @@ -2293,20 +2246,20 @@ create({ data: '', senderId: '', receiverId: '' }); ```typescript // List all orgInvites const { data, isLoading } = useOrgInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }, + selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); // Get one orgInvite const { data: item } = useOrgInviteQuery({ id: '', - selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }, + selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); // Create a orgInvite const { mutate: create } = useCreateOrgInviteMutation({ selection: { fields: { id: true } }, }); -create({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }); +create({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` ### OrgClaimedInvite @@ -2335,20 +2288,20 @@ create({ data: '', senderId: '', receiverId: '', entityId: ```typescript // List all refs const { data, isLoading } = useRefsQuery({ - selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }, + selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Get one ref const { data: item } = useRefQuery({ id: '', - selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }, + selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Create a ref const { mutate: create } = useCreateRefMutation({ selection: { fields: { id: true } }, }); -create({ name: '', databaseId: '', storeId: '', commitId: '' }); +create({ name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }); ``` ### Store @@ -2356,20 +2309,20 @@ create({ name: '', databaseId: '', storeId: '', commitId: ' ```typescript // List all stores const { data, isLoading } = useStoresQuery({ - selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }, + selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Get one store const { data: item } = useStoreQuery({ id: '', - selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }, + selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }, }); // Create a store const { mutate: create } = useCreateStoreMutation({ selection: { fields: { id: true } }, }); -create({ name: '', databaseId: '', hash: '' }); +create({ name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }); ``` ### AppPermissionDefault @@ -2393,6 +2346,27 @@ const { mutate: create } = useCreateAppPermissionDefaultMutation({ create({ permissions: '' }); ``` +### CryptoAddress + +```typescript +// List all cryptoAddresses +const { data, isLoading } = useCryptoAddressesQuery({ + selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }, +}); + +// Get one cryptoAddress +const { data: item } = useCryptoAddressQuery({ + id: '', + selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }, +}); + +// Create a cryptoAddress +const { mutate: create } = useCreateCryptoAddressMutation({ + selection: { fields: { id: true } }, +}); +create({ ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }); +``` + ### RoleType ```typescript @@ -2435,25 +2409,25 @@ const { mutate: create } = useCreateOrgPermissionDefaultMutation({ create({ permissions: '', entityId: '' }); ``` -### CryptoAddress +### PhoneNumber ```typescript -// List all cryptoAddresses -const { data, isLoading } = useCryptoAddressesQuery({ - selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, +// List all phoneNumbers +const { data, isLoading } = usePhoneNumbersQuery({ + selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }, }); -// Get one cryptoAddress -const { data: item } = useCryptoAddressQuery({ +// Get one phoneNumber +const { data: item } = usePhoneNumberQuery({ id: '', - selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }, }); -// Create a cryptoAddress -const { mutate: create } = useCreateCryptoAddressMutation({ +// Create a phoneNumber +const { mutate: create } = useCreatePhoneNumberMutation({ selection: { fields: { id: true } }, }); -create({ ownerId: '', address: '', isVerified: '', isPrimary: '' }); +create({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }); ``` ### AppLimitDefault @@ -2503,41 +2477,41 @@ create({ name: '', max: '' }); ```typescript // List all connectedAccounts const { data, isLoading } = useConnectedAccountsQuery({ - selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }, }); // Get one connectedAccount const { data: item } = useConnectedAccountQuery({ id: '', - selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }, }); // Create a connectedAccount const { mutate: create } = useCreateConnectedAccountMutation({ selection: { fields: { id: true } }, }); -create({ ownerId: '', service: '', identifier: '', details: '', isVerified: '' }); +create({ ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }); ``` -### PhoneNumber +### NodeTypeRegistry ```typescript -// List all phoneNumbers -const { data, isLoading } = usePhoneNumbersQuery({ - selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, +// List all nodeTypeRegistries +const { data, isLoading } = useNodeTypeRegistriesQuery({ + selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); -// Get one phoneNumber -const { data: item } = usePhoneNumberQuery({ - id: '', - selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, +// Get one nodeTypeRegistry +const { data: item } = useNodeTypeRegistryQuery({ + name: '', + selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); -// Create a phoneNumber -const { mutate: create } = useCreatePhoneNumberMutation({ - selection: { fields: { id: true } }, +// Create a nodeTypeRegistry +const { mutate: create } = useCreateNodeTypeRegistryMutation({ + selection: { fields: { name: true } }, }); -create({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }); +create({ slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '', nameTrgmSimilarity: '', slugTrgmSimilarity: '', categoryTrgmSimilarity: '', displayNameTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` ### MembershipType @@ -2545,41 +2519,20 @@ create({ ownerId: '', cc: '', number: '', isVerified: '', - selection: { fields: { id: true, name: true, description: true, prefix: true } }, + selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); // Create a membershipType const { mutate: create } = useCreateMembershipTypeMutation({ selection: { fields: { id: true } }, }); -create({ name: '', description: '', prefix: '' }); -``` - -### NodeTypeRegistry - -```typescript -// List all nodeTypeRegistries -const { data, isLoading } = useNodeTypeRegistriesQuery({ - selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }, -}); - -// Get one nodeTypeRegistry -const { data: item } = useNodeTypeRegistryQuery({ - name: '', - selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }, -}); - -// Create a nodeTypeRegistry -const { mutate: create } = useCreateNodeTypeRegistryMutation({ - selection: { fields: { name: true } }, -}); -create({ slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '' }); +create({ name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` ### AppMembershipDefault @@ -2603,25 +2556,46 @@ const { mutate: create } = useCreateAppMembershipDefaultMutation({ create({ createdBy: '', updatedBy: '', isApproved: '', isVerified: '' }); ``` +### RlsModule + +```typescript +// List all rlsModules +const { data, isLoading } = useRlsModulesQuery({ + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }, +}); + +// Get one rlsModule +const { data: item } = useRlsModuleQuery({ + id: '', + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }, +}); + +// Create a rlsModule +const { mutate: create } = useCreateRlsModuleMutation({ + selection: { fields: { id: true } }, +}); +create({ databaseId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '', authenticateTrgmSimilarity: '', authenticateStrictTrgmSimilarity: '', currentRoleTrgmSimilarity: '', currentRoleIdTrgmSimilarity: '', searchScore: '' }); +``` + ### Commit ```typescript // List all commits const { data, isLoading } = useCommitsQuery({ - selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }, + selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }, }); // Get one commit const { data: item } = useCommitQuery({ id: '', - selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }, + selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }, }); // Create a commit const { mutate: create } = useCreateCommitMutation({ selection: { fields: { id: true } }, }); -create({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }); +create({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }); ``` ### OrgMembershipDefault @@ -2650,20 +2624,20 @@ create({ createdBy: '', updatedBy: '', isApproved: '', enti ```typescript // List all auditLogs const { data, isLoading } = useAuditLogsQuery({ - selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }, + selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }, }); // Get one auditLog const { data: item } = useAuditLogQuery({ id: '', - selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }, + selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }, }); // Create a auditLog const { mutate: create } = useCreateAuditLogMutation({ selection: { fields: { id: true } }, }); -create({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }); +create({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }); ``` ### AppLevel @@ -2671,62 +2645,62 @@ create({ event: '', actorId: '', origin: '', userAgent: '', - selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); // Create a appLevel const { mutate: create } = useCreateAppLevelMutation({ selection: { fields: { id: true } }, }); -create({ name: '', description: '', image: '', ownerId: '' }); +create({ name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` -### Email +### SqlMigration ```typescript -// List all emails -const { data, isLoading } = useEmailsQuery({ - selection: { fields: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, +// List all sqlMigrations +const { data, isLoading } = useSqlMigrationsQuery({ + selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }, }); -// Get one email -const { data: item } = useEmailQuery({ +// Get one sqlMigration +const { data: item } = useSqlMigrationQuery({ id: '', - selection: { fields: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }, }); -// Create a email -const { mutate: create } = useCreateEmailMutation({ +// Create a sqlMigration +const { mutate: create } = useCreateSqlMigrationMutation({ selection: { fields: { id: true } }, }); -create({ ownerId: '', email: '', isVerified: '', isPrimary: '' }); +create({ name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '', nameTrgmSimilarity: '', deployTrgmSimilarity: '', contentTrgmSimilarity: '', revertTrgmSimilarity: '', verifyTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }); ``` -### SqlMigration +### Email ```typescript -// List all sqlMigrations -const { data, isLoading } = useSqlMigrationsQuery({ - selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }, +// List all emails +const { data, isLoading } = useEmailsQuery({ + selection: { fields: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, }); -// Get one sqlMigration -const { data: item } = useSqlMigrationQuery({ +// Get one email +const { data: item } = useEmailQuery({ id: '', - selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }, + selection: { fields: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, }); -// Create a sqlMigration -const { mutate: create } = useCreateSqlMigrationMutation({ +// Create a email +const { mutate: create } = useCreateEmailMutation({ selection: { fields: { id: true } }, }); -create({ name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }); +create({ ownerId: '', email: '', isVerified: '', isPrimary: '' }); ``` ### AstMigration @@ -2734,62 +2708,62 @@ create({ name: '', databaseId: '', deploy: '', deps: '', - selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }, + selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }, }); // Create a astMigration const { mutate: create } = useCreateAstMigrationMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }); +create({ databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '', actionTrgmSimilarity: '', searchScore: '' }); ``` -### User +### AppMembership ```typescript -// List all users -const { data, isLoading } = useUsersQuery({ - selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }, +// List all appMemberships +const { data, isLoading } = useAppMembershipsQuery({ + selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, }); -// Get one user -const { data: item } = useUserQuery({ +// Get one appMembership +const { data: item } = useAppMembershipQuery({ id: '', - selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, }); -// Create a user -const { mutate: create } = useCreateUserMutation({ +// Create a appMembership +const { mutate: create } = useCreateAppMembershipMutation({ selection: { fields: { id: true } }, }); -create({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }); +create({ createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }); ``` -### AppMembership +### User ```typescript -// List all appMemberships -const { data, isLoading } = useAppMembershipsQuery({ - selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, +// List all users +const { data, isLoading } = useUsersQuery({ + selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }, }); -// Get one appMembership -const { data: item } = useAppMembershipQuery({ +// Get one user +const { data: item } = useUserQuery({ id: '', - selection: { fields: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }, + selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }, }); -// Create a appMembership -const { mutate: create } = useCreateAppMembershipMutation({ +// Create a user +const { mutate: create } = useCreateUserMutation({ selection: { fields: { id: true } }, }); -create({ createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }); +create({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }); ``` ### HierarchyModule @@ -2797,20 +2771,20 @@ create({ createdBy: '', updatedBy: '', isApproved: '', isBa ```typescript // List all hierarchyModules const { data, isLoading } = useHierarchyModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }, }); // Get one hierarchyModule const { data: item } = useHierarchyModuleQuery({ id: '', - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }, }); // Create a hierarchyModule const { mutate: create } = useCreateHierarchyModuleMutation({ selection: { fields: { id: true } }, }); -create({ databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '' }); +create({ databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '', chartEdgesTableNameTrgmSimilarity: '', hierarchySprtTableNameTrgmSimilarity: '', chartEdgeGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', privateSchemaNameTrgmSimilarity: '', sprtTableNameTrgmSimilarity: '', rebuildHierarchyFunctionTrgmSimilarity: '', getSubordinatesFunctionTrgmSimilarity: '', getManagersFunctionTrgmSimilarity: '', isManagerOfFunctionTrgmSimilarity: '', searchScore: '' }); ``` ## Custom Operation Hooks @@ -3157,27 +3131,27 @@ resetPassword |----------|------| | `input` | ResetPasswordInput (required) | -### `useRemoveNodeAtPathMutation` +### `useBootstrapUserMutation` -removeNodeAtPath +bootstrapUser - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | BootstrapUserInput (required) | -### `useBootstrapUserMutation` +### `useRemoveNodeAtPathMutation` -bootstrapUser +removeNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | BootstrapUserInput (required) | + | `input` | RemoveNodeAtPathInput (required) | ### `useSetDataAtPathMutation` diff --git a/sdk/constructive-react/src/public/hooks/index.ts b/sdk/constructive-react/src/public/hooks/index.ts index 549fc38e2..38914b4e5 100644 --- a/sdk/constructive-react/src/public/hooks/index.ts +++ b/sdk/constructive-react/src/public/hooks/index.ts @@ -2,7 +2,7 @@ * GraphQL SDK * @generated by @constructive-io/graphql-codegen * - * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, TableModule, TableTemplateModule, SecureTableProvision, RelationProvision, SchemaGrant, DefaultPrivilege, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, FieldModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, RlsModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, UuidModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, AppLimit, OrgLimit, AppStep, AppAchievement, Invite, ClaimedInvite, OrgInvite, OrgClaimedInvite, Ref, Store, AppPermissionDefault, RoleType, OrgPermissionDefault, CryptoAddress, AppLimitDefault, OrgLimitDefault, ConnectedAccount, PhoneNumber, MembershipType, NodeTypeRegistry, AppMembershipDefault, Commit, OrgMembershipDefault, AuditLog, AppLevel, Email, SqlMigration, AstMigration, User, AppMembership, HierarchyModule + * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, TableTemplateModule, SecureTableProvision, RelationProvision, SchemaGrant, DefaultPrivilege, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, FieldModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, UuidModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, AppLimit, OrgLimit, AppStep, AppAchievement, Invite, ClaimedInvite, OrgInvite, OrgClaimedInvite, Ref, Store, AppPermissionDefault, CryptoAddress, RoleType, OrgPermissionDefault, PhoneNumber, AppLimitDefault, OrgLimitDefault, ConnectedAccount, NodeTypeRegistry, MembershipType, AppMembershipDefault, RlsModule, Commit, OrgMembershipDefault, AuditLog, AppLevel, SqlMigration, Email, AstMigration, AppMembership, User, HierarchyModule * * Usage: * diff --git a/sdk/constructive-react/src/public/hooks/invalidation.ts b/sdk/constructive-react/src/public/hooks/invalidation.ts index c94f78832..43a02266c 100644 --- a/sdk/constructive-react/src/public/hooks/invalidation.ts +++ b/sdk/constructive-react/src/public/hooks/invalidation.ts @@ -39,7 +39,6 @@ import { viewTableKeys, viewGrantKeys, viewRuleKeys, - tableModuleKeys, tableTemplateModuleKeys, secureTableProvisionKeys, relationProvisionKeys, @@ -71,7 +70,6 @@ import { permissionsModuleKeys, phoneNumbersModuleKeys, profilesModuleKeys, - rlsModuleKeys, secretsModuleKeys, sessionsModuleKeys, userAuthModuleKeys, @@ -99,25 +97,26 @@ import { refKeys, storeKeys, appPermissionDefaultKeys, + cryptoAddressKeys, roleTypeKeys, orgPermissionDefaultKeys, - cryptoAddressKeys, + phoneNumberKeys, appLimitDefaultKeys, orgLimitDefaultKeys, connectedAccountKeys, - phoneNumberKeys, - membershipTypeKeys, nodeTypeRegistryKeys, + membershipTypeKeys, appMembershipDefaultKeys, + rlsModuleKeys, commitKeys, orgMembershipDefaultKeys, auditLogKeys, appLevelKeys, - emailKeys, sqlMigrationKeys, + emailKeys, astMigrationKeys, - userKeys, appMembershipKeys, + userKeys, hierarchyModuleKeys, } from './query-keys'; /** @@ -518,23 +517,6 @@ export const invalidate = { queryKey: viewRuleKeys.detail(id), }), }, - /** Invalidate tableModule queries */ tableModule: { - /** Invalidate all tableModule queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: tableModuleKeys.all, - }), - /** Invalidate tableModule list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: tableModuleKeys.lists(), - }), - /** Invalidate a specific tableModule */ detail: ( - queryClient: QueryClient, - id: string | number - ) => - queryClient.invalidateQueries({ - queryKey: tableModuleKeys.detail(id), - }), - }, /** Invalidate tableTemplateModule queries */ tableTemplateModule: { /** Invalidate all tableTemplateModule queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1050,23 +1032,6 @@ export const invalidate = { queryKey: profilesModuleKeys.detail(id), }), }, - /** Invalidate rlsModule queries */ rlsModule: { - /** Invalidate all rlsModule queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: rlsModuleKeys.all, - }), - /** Invalidate rlsModule list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: rlsModuleKeys.lists(), - }), - /** Invalidate a specific rlsModule */ detail: ( - queryClient: QueryClient, - id: string | number - ) => - queryClient.invalidateQueries({ - queryKey: rlsModuleKeys.detail(id), - }), - }, /** Invalidate secretsModule queries */ secretsModule: { /** Invalidate all secretsModule queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1502,6 +1467,23 @@ export const invalidate = { queryKey: appPermissionDefaultKeys.detail(id), }), }, + /** Invalidate cryptoAddress queries */ cryptoAddress: { + /** Invalidate all cryptoAddress queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: cryptoAddressKeys.all, + }), + /** Invalidate cryptoAddress list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: cryptoAddressKeys.lists(), + }), + /** Invalidate a specific cryptoAddress */ detail: ( + queryClient: QueryClient, + id: string | number + ) => + queryClient.invalidateQueries({ + queryKey: cryptoAddressKeys.detail(id), + }), + }, /** Invalidate roleType queries */ roleType: { /** Invalidate all roleType queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1533,21 +1515,21 @@ export const invalidate = { queryKey: orgPermissionDefaultKeys.detail(id), }), }, - /** Invalidate cryptoAddress queries */ cryptoAddress: { - /** Invalidate all cryptoAddress queries */ all: (queryClient: QueryClient) => + /** Invalidate phoneNumber queries */ phoneNumber: { + /** Invalidate all phoneNumber queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: cryptoAddressKeys.all, + queryKey: phoneNumberKeys.all, }), - /** Invalidate cryptoAddress list queries */ lists: (queryClient: QueryClient) => + /** Invalidate phoneNumber list queries */ lists: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: cryptoAddressKeys.lists(), + queryKey: phoneNumberKeys.lists(), }), - /** Invalidate a specific cryptoAddress */ detail: ( + /** Invalidate a specific phoneNumber */ detail: ( queryClient: QueryClient, id: string | number ) => queryClient.invalidateQueries({ - queryKey: cryptoAddressKeys.detail(id), + queryKey: phoneNumberKeys.detail(id), }), }, /** Invalidate appLimitDefault queries */ appLimitDefault: { @@ -1601,21 +1583,21 @@ export const invalidate = { queryKey: connectedAccountKeys.detail(id), }), }, - /** Invalidate phoneNumber queries */ phoneNumber: { - /** Invalidate all phoneNumber queries */ all: (queryClient: QueryClient) => + /** Invalidate nodeTypeRegistry queries */ nodeTypeRegistry: { + /** Invalidate all nodeTypeRegistry queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: phoneNumberKeys.all, + queryKey: nodeTypeRegistryKeys.all, }), - /** Invalidate phoneNumber list queries */ lists: (queryClient: QueryClient) => + /** Invalidate nodeTypeRegistry list queries */ lists: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: phoneNumberKeys.lists(), + queryKey: nodeTypeRegistryKeys.lists(), }), - /** Invalidate a specific phoneNumber */ detail: ( + /** Invalidate a specific nodeTypeRegistry */ detail: ( queryClient: QueryClient, id: string | number ) => queryClient.invalidateQueries({ - queryKey: phoneNumberKeys.detail(id), + queryKey: nodeTypeRegistryKeys.detail(id), }), }, /** Invalidate membershipType queries */ membershipType: { @@ -1635,38 +1617,38 @@ export const invalidate = { queryKey: membershipTypeKeys.detail(id), }), }, - /** Invalidate nodeTypeRegistry queries */ nodeTypeRegistry: { - /** Invalidate all nodeTypeRegistry queries */ all: (queryClient: QueryClient) => + /** Invalidate appMembershipDefault queries */ appMembershipDefault: { + /** Invalidate all appMembershipDefault queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: nodeTypeRegistryKeys.all, + queryKey: appMembershipDefaultKeys.all, }), - /** Invalidate nodeTypeRegistry list queries */ lists: (queryClient: QueryClient) => + /** Invalidate appMembershipDefault list queries */ lists: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: nodeTypeRegistryKeys.lists(), + queryKey: appMembershipDefaultKeys.lists(), }), - /** Invalidate a specific nodeTypeRegistry */ detail: ( + /** Invalidate a specific appMembershipDefault */ detail: ( queryClient: QueryClient, id: string | number ) => queryClient.invalidateQueries({ - queryKey: nodeTypeRegistryKeys.detail(id), + queryKey: appMembershipDefaultKeys.detail(id), }), }, - /** Invalidate appMembershipDefault queries */ appMembershipDefault: { - /** Invalidate all appMembershipDefault queries */ all: (queryClient: QueryClient) => + /** Invalidate rlsModule queries */ rlsModule: { + /** Invalidate all rlsModule queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: appMembershipDefaultKeys.all, + queryKey: rlsModuleKeys.all, }), - /** Invalidate appMembershipDefault list queries */ lists: (queryClient: QueryClient) => + /** Invalidate rlsModule list queries */ lists: (queryClient: QueryClient) => queryClient.invalidateQueries({ - queryKey: appMembershipDefaultKeys.lists(), + queryKey: rlsModuleKeys.lists(), }), - /** Invalidate a specific appMembershipDefault */ detail: ( + /** Invalidate a specific rlsModule */ detail: ( queryClient: QueryClient, id: string | number ) => queryClient.invalidateQueries({ - queryKey: appMembershipDefaultKeys.detail(id), + queryKey: rlsModuleKeys.detail(id), }), }, /** Invalidate commit queries */ commit: { @@ -1728,20 +1710,6 @@ export const invalidate = { queryKey: appLevelKeys.detail(id), }), }, - /** Invalidate email queries */ email: { - /** Invalidate all email queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: emailKeys.all, - }), - /** Invalidate email list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: emailKeys.lists(), - }), - /** Invalidate a specific email */ detail: (queryClient: QueryClient, id: string | number) => - queryClient.invalidateQueries({ - queryKey: emailKeys.detail(id), - }), - }, /** Invalidate sqlMigration queries */ sqlMigration: { /** Invalidate all sqlMigration queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1759,6 +1727,20 @@ export const invalidate = { queryKey: sqlMigrationKeys.detail(id), }), }, + /** Invalidate email queries */ email: { + /** Invalidate all email queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: emailKeys.all, + }), + /** Invalidate email list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: emailKeys.lists(), + }), + /** Invalidate a specific email */ detail: (queryClient: QueryClient, id: string | number) => + queryClient.invalidateQueries({ + queryKey: emailKeys.detail(id), + }), + }, /** Invalidate astMigration queries */ astMigration: { /** Invalidate all astMigration queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1776,20 +1758,6 @@ export const invalidate = { queryKey: astMigrationKeys.detail(id), }), }, - /** Invalidate user queries */ user: { - /** Invalidate all user queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: userKeys.all, - }), - /** Invalidate user list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: userKeys.lists(), - }), - /** Invalidate a specific user */ detail: (queryClient: QueryClient, id: string | number) => - queryClient.invalidateQueries({ - queryKey: userKeys.detail(id), - }), - }, /** Invalidate appMembership queries */ appMembership: { /** Invalidate all appMembership queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1807,6 +1775,20 @@ export const invalidate = { queryKey: appMembershipKeys.detail(id), }), }, + /** Invalidate user queries */ user: { + /** Invalidate all user queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: userKeys.all, + }), + /** Invalidate user list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: userKeys.lists(), + }), + /** Invalidate a specific user */ detail: (queryClient: QueryClient, id: string | number) => + queryClient.invalidateQueries({ + queryKey: userKeys.detail(id), + }), + }, /** Invalidate hierarchyModule queries */ hierarchyModule: { /** Invalidate all hierarchyModule queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1993,14 +1975,6 @@ export const remove = { queryKey: viewRuleKeys.detail(id), }); }, - /** Remove tableModule from cache */ tableModule: ( - queryClient: QueryClient, - id: string | number - ) => { - queryClient.removeQueries({ - queryKey: tableModuleKeys.detail(id), - }); - }, /** Remove tableTemplateModule from cache */ tableTemplateModule: ( queryClient: QueryClient, id: string | number @@ -2228,11 +2202,6 @@ export const remove = { queryKey: profilesModuleKeys.detail(id), }); }, - /** Remove rlsModule from cache */ rlsModule: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: rlsModuleKeys.detail(id), - }); - }, /** Remove secretsModule from cache */ secretsModule: ( queryClient: QueryClient, id: string | number @@ -2419,6 +2388,14 @@ export const remove = { queryKey: appPermissionDefaultKeys.detail(id), }); }, + /** Remove cryptoAddress from cache */ cryptoAddress: ( + queryClient: QueryClient, + id: string | number + ) => { + queryClient.removeQueries({ + queryKey: cryptoAddressKeys.detail(id), + }); + }, /** Remove roleType from cache */ roleType: (queryClient: QueryClient, id: string | number) => { queryClient.removeQueries({ queryKey: roleTypeKeys.detail(id), @@ -2432,12 +2409,12 @@ export const remove = { queryKey: orgPermissionDefaultKeys.detail(id), }); }, - /** Remove cryptoAddress from cache */ cryptoAddress: ( + /** Remove phoneNumber from cache */ phoneNumber: ( queryClient: QueryClient, id: string | number ) => { queryClient.removeQueries({ - queryKey: cryptoAddressKeys.detail(id), + queryKey: phoneNumberKeys.detail(id), }); }, /** Remove appLimitDefault from cache */ appLimitDefault: ( @@ -2464,12 +2441,12 @@ export const remove = { queryKey: connectedAccountKeys.detail(id), }); }, - /** Remove phoneNumber from cache */ phoneNumber: ( + /** Remove nodeTypeRegistry from cache */ nodeTypeRegistry: ( queryClient: QueryClient, id: string | number ) => { queryClient.removeQueries({ - queryKey: phoneNumberKeys.detail(id), + queryKey: nodeTypeRegistryKeys.detail(id), }); }, /** Remove membershipType from cache */ membershipType: ( @@ -2480,20 +2457,17 @@ export const remove = { queryKey: membershipTypeKeys.detail(id), }); }, - /** Remove nodeTypeRegistry from cache */ nodeTypeRegistry: ( + /** Remove appMembershipDefault from cache */ appMembershipDefault: ( queryClient: QueryClient, id: string | number ) => { queryClient.removeQueries({ - queryKey: nodeTypeRegistryKeys.detail(id), + queryKey: appMembershipDefaultKeys.detail(id), }); }, - /** Remove appMembershipDefault from cache */ appMembershipDefault: ( - queryClient: QueryClient, - id: string | number - ) => { + /** Remove rlsModule from cache */ rlsModule: (queryClient: QueryClient, id: string | number) => { queryClient.removeQueries({ - queryKey: appMembershipDefaultKeys.detail(id), + queryKey: rlsModuleKeys.detail(id), }); }, /** Remove commit from cache */ commit: (queryClient: QueryClient, id: string | number) => { @@ -2519,11 +2493,6 @@ export const remove = { queryKey: appLevelKeys.detail(id), }); }, - /** Remove email from cache */ email: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: emailKeys.detail(id), - }); - }, /** Remove sqlMigration from cache */ sqlMigration: ( queryClient: QueryClient, id: string | number @@ -2532,6 +2501,11 @@ export const remove = { queryKey: sqlMigrationKeys.detail(id), }); }, + /** Remove email from cache */ email: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: emailKeys.detail(id), + }); + }, /** Remove astMigration from cache */ astMigration: ( queryClient: QueryClient, id: string | number @@ -2540,11 +2514,6 @@ export const remove = { queryKey: astMigrationKeys.detail(id), }); }, - /** Remove user from cache */ user: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: userKeys.detail(id), - }); - }, /** Remove appMembership from cache */ appMembership: ( queryClient: QueryClient, id: string | number @@ -2553,6 +2522,11 @@ export const remove = { queryKey: appMembershipKeys.detail(id), }); }, + /** Remove user from cache */ user: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: userKeys.detail(id), + }); + }, /** Remove hierarchyModule from cache */ hierarchyModule: ( queryClient: QueryClient, id: string | number diff --git a/sdk/constructive-react/src/public/hooks/mutation-keys.ts b/sdk/constructive-react/src/public/hooks/mutation-keys.ts index bf3852aee..59143d97b 100644 --- a/sdk/constructive-react/src/public/hooks/mutation-keys.ts +++ b/sdk/constructive-react/src/public/hooks/mutation-keys.ts @@ -224,15 +224,6 @@ export const viewRuleMutationKeys = { /** Delete viewRule mutation key */ delete: (id: string | number) => ['mutation', 'viewrule', 'delete', id] as const, } as const; -export const tableModuleMutationKeys = { - /** All tableModule mutation keys */ all: ['mutation', 'tablemodule'] as const, - /** Create tableModule mutation key */ create: () => - ['mutation', 'tablemodule', 'create'] as const, - /** Update tableModule mutation key */ update: (id: string | number) => - ['mutation', 'tablemodule', 'update', id] as const, - /** Delete tableModule mutation key */ delete: (id: string | number) => - ['mutation', 'tablemodule', 'delete', id] as const, -} as const; export const tableTemplateModuleMutationKeys = { /** All tableTemplateModule mutation keys */ all: ['mutation', 'tabletemplatemodule'] as const, /** Create tableTemplateModule mutation key */ create: () => @@ -519,14 +510,6 @@ export const profilesModuleMutationKeys = { /** Delete profilesModule mutation key */ delete: (id: string | number) => ['mutation', 'profilesmodule', 'delete', id] as const, } as const; -export const rlsModuleMutationKeys = { - /** All rlsModule mutation keys */ all: ['mutation', 'rlsmodule'] as const, - /** Create rlsModule mutation key */ create: () => ['mutation', 'rlsmodule', 'create'] as const, - /** Update rlsModule mutation key */ update: (id: string | number) => - ['mutation', 'rlsmodule', 'update', id] as const, - /** Delete rlsModule mutation key */ delete: (id: string | number) => - ['mutation', 'rlsmodule', 'delete', id] as const, -} as const; export const secretsModuleMutationKeys = { /** All secretsModule mutation keys */ all: ['mutation', 'secretsmodule'] as const, /** Create secretsModule mutation key */ create: () => @@ -762,6 +745,15 @@ export const appPermissionDefaultMutationKeys = { /** Delete appPermissionDefault mutation key */ delete: (id: string | number) => ['mutation', 'apppermissiondefault', 'delete', id] as const, } as const; +export const cryptoAddressMutationKeys = { + /** All cryptoAddress mutation keys */ all: ['mutation', 'cryptoaddress'] as const, + /** Create cryptoAddress mutation key */ create: () => + ['mutation', 'cryptoaddress', 'create'] as const, + /** Update cryptoAddress mutation key */ update: (id: string | number) => + ['mutation', 'cryptoaddress', 'update', id] as const, + /** Delete cryptoAddress mutation key */ delete: (id: string | number) => + ['mutation', 'cryptoaddress', 'delete', id] as const, +} as const; export const roleTypeMutationKeys = { /** All roleType mutation keys */ all: ['mutation', 'roletype'] as const, /** Create roleType mutation key */ create: () => ['mutation', 'roletype', 'create'] as const, @@ -779,14 +771,14 @@ export const orgPermissionDefaultMutationKeys = { /** Delete orgPermissionDefault mutation key */ delete: (id: string | number) => ['mutation', 'orgpermissiondefault', 'delete', id] as const, } as const; -export const cryptoAddressMutationKeys = { - /** All cryptoAddress mutation keys */ all: ['mutation', 'cryptoaddress'] as const, - /** Create cryptoAddress mutation key */ create: () => - ['mutation', 'cryptoaddress', 'create'] as const, - /** Update cryptoAddress mutation key */ update: (id: string | number) => - ['mutation', 'cryptoaddress', 'update', id] as const, - /** Delete cryptoAddress mutation key */ delete: (id: string | number) => - ['mutation', 'cryptoaddress', 'delete', id] as const, +export const phoneNumberMutationKeys = { + /** All phoneNumber mutation keys */ all: ['mutation', 'phonenumber'] as const, + /** Create phoneNumber mutation key */ create: () => + ['mutation', 'phonenumber', 'create'] as const, + /** Update phoneNumber mutation key */ update: (id: string | number) => + ['mutation', 'phonenumber', 'update', id] as const, + /** Delete phoneNumber mutation key */ delete: (id: string | number) => + ['mutation', 'phonenumber', 'delete', id] as const, } as const; export const appLimitDefaultMutationKeys = { /** All appLimitDefault mutation keys */ all: ['mutation', 'applimitdefault'] as const, @@ -815,14 +807,14 @@ export const connectedAccountMutationKeys = { /** Delete connectedAccount mutation key */ delete: (id: string | number) => ['mutation', 'connectedaccount', 'delete', id] as const, } as const; -export const phoneNumberMutationKeys = { - /** All phoneNumber mutation keys */ all: ['mutation', 'phonenumber'] as const, - /** Create phoneNumber mutation key */ create: () => - ['mutation', 'phonenumber', 'create'] as const, - /** Update phoneNumber mutation key */ update: (id: string | number) => - ['mutation', 'phonenumber', 'update', id] as const, - /** Delete phoneNumber mutation key */ delete: (id: string | number) => - ['mutation', 'phonenumber', 'delete', id] as const, +export const nodeTypeRegistryMutationKeys = { + /** All nodeTypeRegistry mutation keys */ all: ['mutation', 'nodetyperegistry'] as const, + /** Create nodeTypeRegistry mutation key */ create: () => + ['mutation', 'nodetyperegistry', 'create'] as const, + /** Update nodeTypeRegistry mutation key */ update: (id: string | number) => + ['mutation', 'nodetyperegistry', 'update', id] as const, + /** Delete nodeTypeRegistry mutation key */ delete: (id: string | number) => + ['mutation', 'nodetyperegistry', 'delete', id] as const, } as const; export const membershipTypeMutationKeys = { /** All membershipType mutation keys */ all: ['mutation', 'membershiptype'] as const, @@ -833,15 +825,6 @@ export const membershipTypeMutationKeys = { /** Delete membershipType mutation key */ delete: (id: string | number) => ['mutation', 'membershiptype', 'delete', id] as const, } as const; -export const nodeTypeRegistryMutationKeys = { - /** All nodeTypeRegistry mutation keys */ all: ['mutation', 'nodetyperegistry'] as const, - /** Create nodeTypeRegistry mutation key */ create: () => - ['mutation', 'nodetyperegistry', 'create'] as const, - /** Update nodeTypeRegistry mutation key */ update: (id: string | number) => - ['mutation', 'nodetyperegistry', 'update', id] as const, - /** Delete nodeTypeRegistry mutation key */ delete: (id: string | number) => - ['mutation', 'nodetyperegistry', 'delete', id] as const, -} as const; export const appMembershipDefaultMutationKeys = { /** All appMembershipDefault mutation keys */ all: ['mutation', 'appmembershipdefault'] as const, /** Create appMembershipDefault mutation key */ create: () => @@ -851,6 +834,14 @@ export const appMembershipDefaultMutationKeys = { /** Delete appMembershipDefault mutation key */ delete: (id: string | number) => ['mutation', 'appmembershipdefault', 'delete', id] as const, } as const; +export const rlsModuleMutationKeys = { + /** All rlsModule mutation keys */ all: ['mutation', 'rlsmodule'] as const, + /** Create rlsModule mutation key */ create: () => ['mutation', 'rlsmodule', 'create'] as const, + /** Update rlsModule mutation key */ update: (id: string | number) => + ['mutation', 'rlsmodule', 'update', id] as const, + /** Delete rlsModule mutation key */ delete: (id: string | number) => + ['mutation', 'rlsmodule', 'delete', id] as const, +} as const; export const commitMutationKeys = { /** All commit mutation keys */ all: ['mutation', 'commit'] as const, /** Create commit mutation key */ create: () => ['mutation', 'commit', 'create'] as const, @@ -884,14 +875,6 @@ export const appLevelMutationKeys = { /** Delete appLevel mutation key */ delete: (id: string | number) => ['mutation', 'applevel', 'delete', id] as const, } as const; -export const emailMutationKeys = { - /** All email mutation keys */ all: ['mutation', 'email'] as const, - /** Create email mutation key */ create: () => ['mutation', 'email', 'create'] as const, - /** Update email mutation key */ update: (id: string | number) => - ['mutation', 'email', 'update', id] as const, - /** Delete email mutation key */ delete: (id: string | number) => - ['mutation', 'email', 'delete', id] as const, -} as const; export const sqlMigrationMutationKeys = { /** All sqlMigration mutation keys */ all: ['mutation', 'sqlmigration'] as const, /** Create sqlMigration mutation key */ create: () => @@ -901,6 +884,14 @@ export const sqlMigrationMutationKeys = { /** Delete sqlMigration mutation key */ delete: (id: string | number) => ['mutation', 'sqlmigration', 'delete', id] as const, } as const; +export const emailMutationKeys = { + /** All email mutation keys */ all: ['mutation', 'email'] as const, + /** Create email mutation key */ create: () => ['mutation', 'email', 'create'] as const, + /** Update email mutation key */ update: (id: string | number) => + ['mutation', 'email', 'update', id] as const, + /** Delete email mutation key */ delete: (id: string | number) => + ['mutation', 'email', 'delete', id] as const, +} as const; export const astMigrationMutationKeys = { /** All astMigration mutation keys */ all: ['mutation', 'astmigration'] as const, /** Create astMigration mutation key */ create: () => @@ -910,14 +901,6 @@ export const astMigrationMutationKeys = { /** Delete astMigration mutation key */ delete: (id: string | number) => ['mutation', 'astmigration', 'delete', id] as const, } as const; -export const userMutationKeys = { - /** All user mutation keys */ all: ['mutation', 'user'] as const, - /** Create user mutation key */ create: () => ['mutation', 'user', 'create'] as const, - /** Update user mutation key */ update: (id: string | number) => - ['mutation', 'user', 'update', id] as const, - /** Delete user mutation key */ delete: (id: string | number) => - ['mutation', 'user', 'delete', id] as const, -} as const; export const appMembershipMutationKeys = { /** All appMembership mutation keys */ all: ['mutation', 'appmembership'] as const, /** Create appMembership mutation key */ create: () => @@ -927,6 +910,14 @@ export const appMembershipMutationKeys = { /** Delete appMembership mutation key */ delete: (id: string | number) => ['mutation', 'appmembership', 'delete', id] as const, } as const; +export const userMutationKeys = { + /** All user mutation keys */ all: ['mutation', 'user'] as const, + /** Create user mutation key */ create: () => ['mutation', 'user', 'create'] as const, + /** Update user mutation key */ update: (id: string | number) => + ['mutation', 'user', 'update', id] as const, + /** Delete user mutation key */ delete: (id: string | number) => + ['mutation', 'user', 'delete', id] as const, +} as const; export const hierarchyModuleMutationKeys = { /** All hierarchyModule mutation keys */ all: ['mutation', 'hierarchymodule'] as const, /** Create hierarchyModule mutation key */ create: () => @@ -988,14 +979,14 @@ export const customMutationKeys = { identifier ? (['mutation', 'resetPassword', identifier] as const) : (['mutation', 'resetPassword'] as const), - /** Mutation key for removeNodeAtPath */ removeNodeAtPath: (identifier?: string) => - identifier - ? (['mutation', 'removeNodeAtPath', identifier] as const) - : (['mutation', 'removeNodeAtPath'] as const), /** Mutation key for bootstrapUser */ bootstrapUser: (identifier?: string) => identifier ? (['mutation', 'bootstrapUser', identifier] as const) : (['mutation', 'bootstrapUser'] as const), + /** Mutation key for removeNodeAtPath */ removeNodeAtPath: (identifier?: string) => + identifier + ? (['mutation', 'removeNodeAtPath', identifier] as const) + : (['mutation', 'removeNodeAtPath'] as const), /** Mutation key for setDataAtPath */ setDataAtPath: (identifier?: string) => identifier ? (['mutation', 'setDataAtPath', identifier] as const) @@ -1114,7 +1105,6 @@ export const mutationKeys = { viewTable: viewTableMutationKeys, viewGrant: viewGrantMutationKeys, viewRule: viewRuleMutationKeys, - tableModule: tableModuleMutationKeys, tableTemplateModule: tableTemplateModuleMutationKeys, secureTableProvision: secureTableProvisionMutationKeys, relationProvision: relationProvisionMutationKeys, @@ -1146,7 +1136,6 @@ export const mutationKeys = { permissionsModule: permissionsModuleMutationKeys, phoneNumbersModule: phoneNumbersModuleMutationKeys, profilesModule: profilesModuleMutationKeys, - rlsModule: rlsModuleMutationKeys, secretsModule: secretsModuleMutationKeys, sessionsModule: sessionsModuleMutationKeys, userAuthModule: userAuthModuleMutationKeys, @@ -1174,25 +1163,26 @@ export const mutationKeys = { ref: refMutationKeys, store: storeMutationKeys, appPermissionDefault: appPermissionDefaultMutationKeys, + cryptoAddress: cryptoAddressMutationKeys, roleType: roleTypeMutationKeys, orgPermissionDefault: orgPermissionDefaultMutationKeys, - cryptoAddress: cryptoAddressMutationKeys, + phoneNumber: phoneNumberMutationKeys, appLimitDefault: appLimitDefaultMutationKeys, orgLimitDefault: orgLimitDefaultMutationKeys, connectedAccount: connectedAccountMutationKeys, - phoneNumber: phoneNumberMutationKeys, - membershipType: membershipTypeMutationKeys, nodeTypeRegistry: nodeTypeRegistryMutationKeys, + membershipType: membershipTypeMutationKeys, appMembershipDefault: appMembershipDefaultMutationKeys, + rlsModule: rlsModuleMutationKeys, commit: commitMutationKeys, orgMembershipDefault: orgMembershipDefaultMutationKeys, auditLog: auditLogMutationKeys, appLevel: appLevelMutationKeys, - email: emailMutationKeys, sqlMigration: sqlMigrationMutationKeys, + email: emailMutationKeys, astMigration: astMigrationMutationKeys, - user: userMutationKeys, appMembership: appMembershipMutationKeys, + user: userMutationKeys, hierarchyModule: hierarchyModuleMutationKeys, custom: customMutationKeys, } as const; diff --git a/sdk/constructive-react/src/public/hooks/mutations/index.ts b/sdk/constructive-react/src/public/hooks/mutations/index.ts index b49d917f3..a0f94c0ec 100644 --- a/sdk/constructive-react/src/public/hooks/mutations/index.ts +++ b/sdk/constructive-react/src/public/hooks/mutations/index.ts @@ -69,9 +69,6 @@ export * from './useDeleteViewGrantMutation'; export * from './useCreateViewRuleMutation'; export * from './useUpdateViewRuleMutation'; export * from './useDeleteViewRuleMutation'; -export * from './useCreateTableModuleMutation'; -export * from './useUpdateTableModuleMutation'; -export * from './useDeleteTableModuleMutation'; export * from './useCreateTableTemplateModuleMutation'; export * from './useUpdateTableTemplateModuleMutation'; export * from './useDeleteTableTemplateModuleMutation'; @@ -165,9 +162,6 @@ export * from './useDeletePhoneNumbersModuleMutation'; export * from './useCreateProfilesModuleMutation'; export * from './useUpdateProfilesModuleMutation'; export * from './useDeleteProfilesModuleMutation'; -export * from './useCreateRlsModuleMutation'; -export * from './useUpdateRlsModuleMutation'; -export * from './useDeleteRlsModuleMutation'; export * from './useCreateSecretsModuleMutation'; export * from './useUpdateSecretsModuleMutation'; export * from './useDeleteSecretsModuleMutation'; @@ -249,15 +243,18 @@ export * from './useDeleteStoreMutation'; export * from './useCreateAppPermissionDefaultMutation'; export * from './useUpdateAppPermissionDefaultMutation'; export * from './useDeleteAppPermissionDefaultMutation'; +export * from './useCreateCryptoAddressMutation'; +export * from './useUpdateCryptoAddressMutation'; +export * from './useDeleteCryptoAddressMutation'; export * from './useCreateRoleTypeMutation'; export * from './useUpdateRoleTypeMutation'; export * from './useDeleteRoleTypeMutation'; export * from './useCreateOrgPermissionDefaultMutation'; export * from './useUpdateOrgPermissionDefaultMutation'; export * from './useDeleteOrgPermissionDefaultMutation'; -export * from './useCreateCryptoAddressMutation'; -export * from './useUpdateCryptoAddressMutation'; -export * from './useDeleteCryptoAddressMutation'; +export * from './useCreatePhoneNumberMutation'; +export * from './useUpdatePhoneNumberMutation'; +export * from './useDeletePhoneNumberMutation'; export * from './useCreateAppLimitDefaultMutation'; export * from './useUpdateAppLimitDefaultMutation'; export * from './useDeleteAppLimitDefaultMutation'; @@ -267,18 +264,18 @@ export * from './useDeleteOrgLimitDefaultMutation'; export * from './useCreateConnectedAccountMutation'; export * from './useUpdateConnectedAccountMutation'; export * from './useDeleteConnectedAccountMutation'; -export * from './useCreatePhoneNumberMutation'; -export * from './useUpdatePhoneNumberMutation'; -export * from './useDeletePhoneNumberMutation'; -export * from './useCreateMembershipTypeMutation'; -export * from './useUpdateMembershipTypeMutation'; -export * from './useDeleteMembershipTypeMutation'; export * from './useCreateNodeTypeRegistryMutation'; export * from './useUpdateNodeTypeRegistryMutation'; export * from './useDeleteNodeTypeRegistryMutation'; +export * from './useCreateMembershipTypeMutation'; +export * from './useUpdateMembershipTypeMutation'; +export * from './useDeleteMembershipTypeMutation'; export * from './useCreateAppMembershipDefaultMutation'; export * from './useUpdateAppMembershipDefaultMutation'; export * from './useDeleteAppMembershipDefaultMutation'; +export * from './useCreateRlsModuleMutation'; +export * from './useUpdateRlsModuleMutation'; +export * from './useDeleteRlsModuleMutation'; export * from './useCreateCommitMutation'; export * from './useUpdateCommitMutation'; export * from './useDeleteCommitMutation'; @@ -291,17 +288,17 @@ export * from './useDeleteAuditLogMutation'; export * from './useCreateAppLevelMutation'; export * from './useUpdateAppLevelMutation'; export * from './useDeleteAppLevelMutation'; +export * from './useCreateSqlMigrationMutation'; export * from './useCreateEmailMutation'; export * from './useUpdateEmailMutation'; export * from './useDeleteEmailMutation'; -export * from './useCreateSqlMigrationMutation'; export * from './useCreateAstMigrationMutation'; -export * from './useCreateUserMutation'; -export * from './useUpdateUserMutation'; -export * from './useDeleteUserMutation'; export * from './useCreateAppMembershipMutation'; export * from './useUpdateAppMembershipMutation'; export * from './useDeleteAppMembershipMutation'; +export * from './useCreateUserMutation'; +export * from './useUpdateUserMutation'; +export * from './useDeleteUserMutation'; export * from './useCreateHierarchyModuleMutation'; export * from './useUpdateHierarchyModuleMutation'; export * from './useDeleteHierarchyModuleMutation'; @@ -316,8 +313,8 @@ export * from './useConfirmDeleteAccountMutation'; export * from './useSetPasswordMutation'; export * from './useVerifyEmailMutation'; export * from './useResetPasswordMutation'; -export * from './useRemoveNodeAtPathMutation'; export * from './useBootstrapUserMutation'; +export * from './useRemoveNodeAtPathMutation'; export * from './useSetDataAtPathMutation'; export * from './useSetPropsAndCommitMutation'; export * from './useProvisionDatabaseWithUserMutation'; diff --git a/sdk/constructive-react/src/public/hooks/mutations/useCreateTableModuleMutation.ts b/sdk/constructive-react/src/public/hooks/mutations/useCreateTableModuleMutation.ts deleted file mode 100644 index 789b377de..000000000 --- a/sdk/constructive-react/src/public/hooks/mutations/useCreateTableModuleMutation.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Create mutation hook for TableModule - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ - -import { useMutation, useQueryClient } from '@tanstack/react-query'; -import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query'; -import { getClient } from '../client'; -import { buildSelectionArgs } from '../selection'; -import type { SelectionConfig } from '../selection'; -import { tableModuleKeys } from '../query-keys'; -import { tableModuleMutationKeys } from '../mutation-keys'; -import type { - TableModuleSelect, - TableModuleWithRelations, - CreateTableModuleInput, -} from '../../orm/input-types'; -import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types'; -export type { - TableModuleSelect, - TableModuleWithRelations, - CreateTableModuleInput, -} from '../../orm/input-types'; -/** - * Mutation hook for creating a TableModule - * - * @example - * ```tsx - * const { mutate, isPending } = useCreateTableModuleMutation({ - * selection: { fields: { id: true, name: true } }, - * }); - * - * mutate({ name: 'New item' }); - * ``` - */ -export function useCreateTableModuleMutation( - params: { - selection: { - fields: S & TableModuleSelect; - } & HookStrictSelect, TableModuleSelect>; - } & Omit< - UseMutationOptions< - { - createTableModule: { - tableModule: InferSelectResult; - }; - }, - Error, - CreateTableModuleInput['tableModule'] - >, - 'mutationFn' - > -): UseMutationResult< - { - createTableModule: { - tableModule: InferSelectResult; - }; - }, - Error, - CreateTableModuleInput['tableModule'] ->; -export function useCreateTableModuleMutation( - params: { - selection: SelectionConfig; - } & Omit, 'mutationFn'> -) { - const args = buildSelectionArgs(params.selection); - const { selection: _selection, ...mutationOptions } = params ?? {}; - void _selection; - const queryClient = useQueryClient(); - return useMutation({ - mutationKey: tableModuleMutationKeys.create(), - mutationFn: (data: CreateTableModuleInput['tableModule']) => - getClient() - .tableModule.create({ - data, - select: args.select, - }) - .unwrap(), - onSuccess: () => { - queryClient.invalidateQueries({ - queryKey: tableModuleKeys.lists(), - }); - }, - ...mutationOptions, - }); -} diff --git a/sdk/constructive-react/src/public/hooks/mutations/useDeleteTableModuleMutation.ts b/sdk/constructive-react/src/public/hooks/mutations/useDeleteTableModuleMutation.ts deleted file mode 100644 index 6ec2d2708..000000000 --- a/sdk/constructive-react/src/public/hooks/mutations/useDeleteTableModuleMutation.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * Delete mutation hook for TableModule - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ - -import { useMutation, useQueryClient } from '@tanstack/react-query'; -import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query'; -import { getClient } from '../client'; -import { buildSelectionArgs } from '../selection'; -import type { SelectionConfig } from '../selection'; -import { tableModuleKeys } from '../query-keys'; -import { tableModuleMutationKeys } from '../mutation-keys'; -import type { TableModuleSelect, TableModuleWithRelations } from '../../orm/input-types'; -import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types'; -export type { TableModuleSelect, TableModuleWithRelations } from '../../orm/input-types'; -/** - * Mutation hook for deleting a TableModule with typed selection - * - * @example - * ```tsx - * const { mutate, isPending } = useDeleteTableModuleMutation({ - * selection: { fields: { id: true } }, - * }); - * - * mutate({ id: 'value-to-delete' }); - * ``` - */ -export function useDeleteTableModuleMutation( - params: { - selection: { - fields: S & TableModuleSelect; - } & HookStrictSelect, TableModuleSelect>; - } & Omit< - UseMutationOptions< - { - deleteTableModule: { - tableModule: InferSelectResult; - }; - }, - Error, - { - id: string; - } - >, - 'mutationFn' - > -): UseMutationResult< - { - deleteTableModule: { - tableModule: InferSelectResult; - }; - }, - Error, - { - id: string; - } ->; -export function useDeleteTableModuleMutation( - params: { - selection: SelectionConfig; - } & Omit< - UseMutationOptions< - any, - Error, - { - id: string; - } - >, - 'mutationFn' - > -) { - const args = buildSelectionArgs(params.selection); - const { selection: _selection, ...mutationOptions } = params ?? {}; - void _selection; - const queryClient = useQueryClient(); - return useMutation({ - mutationKey: tableModuleMutationKeys.all, - mutationFn: ({ id }: { id: string }) => - getClient() - .tableModule.delete({ - where: { - id, - }, - select: args.select, - }) - .unwrap(), - onSuccess: (_, variables) => { - queryClient.removeQueries({ - queryKey: tableModuleKeys.detail(variables.id), - }); - queryClient.invalidateQueries({ - queryKey: tableModuleKeys.lists(), - }); - }, - ...mutationOptions, - }); -} diff --git a/sdk/constructive-react/src/public/hooks/mutations/useUpdateTableModuleMutation.ts b/sdk/constructive-react/src/public/hooks/mutations/useUpdateTableModuleMutation.ts deleted file mode 100644 index cdce5fcf2..000000000 --- a/sdk/constructive-react/src/public/hooks/mutations/useUpdateTableModuleMutation.ts +++ /dev/null @@ -1,110 +0,0 @@ -/** - * Update mutation hook for TableModule - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ - -import { useMutation, useQueryClient } from '@tanstack/react-query'; -import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query'; -import { getClient } from '../client'; -import { buildSelectionArgs } from '../selection'; -import type { SelectionConfig } from '../selection'; -import { tableModuleKeys } from '../query-keys'; -import { tableModuleMutationKeys } from '../mutation-keys'; -import type { - TableModuleSelect, - TableModuleWithRelations, - TableModulePatch, -} from '../../orm/input-types'; -import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types'; -export type { - TableModuleSelect, - TableModuleWithRelations, - TableModulePatch, -} from '../../orm/input-types'; -/** - * Mutation hook for updating a TableModule - * - * @example - * ```tsx - * const { mutate, isPending } = useUpdateTableModuleMutation({ - * selection: { fields: { id: true, name: true } }, - * }); - * - * mutate({ id: 'value-here', tableModulePatch: { name: 'Updated' } }); - * ``` - */ -export function useUpdateTableModuleMutation( - params: { - selection: { - fields: S & TableModuleSelect; - } & HookStrictSelect, TableModuleSelect>; - } & Omit< - UseMutationOptions< - { - updateTableModule: { - tableModule: InferSelectResult; - }; - }, - Error, - { - id: string; - tableModulePatch: TableModulePatch; - } - >, - 'mutationFn' - > -): UseMutationResult< - { - updateTableModule: { - tableModule: InferSelectResult; - }; - }, - Error, - { - id: string; - tableModulePatch: TableModulePatch; - } ->; -export function useUpdateTableModuleMutation( - params: { - selection: SelectionConfig; - } & Omit< - UseMutationOptions< - any, - Error, - { - id: string; - tableModulePatch: TableModulePatch; - } - >, - 'mutationFn' - > -) { - const args = buildSelectionArgs(params.selection); - const { selection: _selection, ...mutationOptions } = params ?? {}; - void _selection; - const queryClient = useQueryClient(); - return useMutation({ - mutationKey: tableModuleMutationKeys.all, - mutationFn: ({ id, tableModulePatch }: { id: string; tableModulePatch: TableModulePatch }) => - getClient() - .tableModule.update({ - where: { - id, - }, - data: tableModulePatch, - select: args.select, - }) - .unwrap(), - onSuccess: (_, variables) => { - queryClient.invalidateQueries({ - queryKey: tableModuleKeys.detail(variables.id), - }); - queryClient.invalidateQueries({ - queryKey: tableModuleKeys.lists(), - }); - }, - ...mutationOptions, - }); -} diff --git a/sdk/constructive-react/src/public/hooks/queries/index.ts b/sdk/constructive-react/src/public/hooks/queries/index.ts index 031a33a34..8aab74efa 100644 --- a/sdk/constructive-react/src/public/hooks/queries/index.ts +++ b/sdk/constructive-react/src/public/hooks/queries/index.ts @@ -48,8 +48,6 @@ export * from './useViewGrantsQuery'; export * from './useViewGrantQuery'; export * from './useViewRulesQuery'; export * from './useViewRuleQuery'; -export * from './useTableModulesQuery'; -export * from './useTableModuleQuery'; export * from './useTableTemplateModulesQuery'; export * from './useTableTemplateModuleQuery'; export * from './useSecureTableProvisionsQuery'; @@ -112,8 +110,6 @@ export * from './usePhoneNumbersModulesQuery'; export * from './usePhoneNumbersModuleQuery'; export * from './useProfilesModulesQuery'; export * from './useProfilesModuleQuery'; -export * from './useRlsModulesQuery'; -export * from './useRlsModuleQuery'; export * from './useSecretsModulesQuery'; export * from './useSecretsModuleQuery'; export * from './useSessionsModulesQuery'; @@ -168,26 +164,28 @@ export * from './useStoresQuery'; export * from './useStoreQuery'; export * from './useAppPermissionDefaultsQuery'; export * from './useAppPermissionDefaultQuery'; +export * from './useCryptoAddressesQuery'; +export * from './useCryptoAddressQuery'; export * from './useRoleTypesQuery'; export * from './useRoleTypeQuery'; export * from './useOrgPermissionDefaultsQuery'; export * from './useOrgPermissionDefaultQuery'; -export * from './useCryptoAddressesQuery'; -export * from './useCryptoAddressQuery'; +export * from './usePhoneNumbersQuery'; +export * from './usePhoneNumberQuery'; export * from './useAppLimitDefaultsQuery'; export * from './useAppLimitDefaultQuery'; export * from './useOrgLimitDefaultsQuery'; export * from './useOrgLimitDefaultQuery'; export * from './useConnectedAccountsQuery'; export * from './useConnectedAccountQuery'; -export * from './usePhoneNumbersQuery'; -export * from './usePhoneNumberQuery'; -export * from './useMembershipTypesQuery'; -export * from './useMembershipTypeQuery'; export * from './useNodeTypeRegistriesQuery'; export * from './useNodeTypeRegistryQuery'; +export * from './useMembershipTypesQuery'; +export * from './useMembershipTypeQuery'; export * from './useAppMembershipDefaultsQuery'; export * from './useAppMembershipDefaultQuery'; +export * from './useRlsModulesQuery'; +export * from './useRlsModuleQuery'; export * from './useCommitsQuery'; export * from './useCommitQuery'; export * from './useOrgMembershipDefaultsQuery'; @@ -196,16 +194,16 @@ export * from './useAuditLogsQuery'; export * from './useAuditLogQuery'; export * from './useAppLevelsQuery'; export * from './useAppLevelQuery'; -export * from './useEmailsQuery'; -export * from './useEmailQuery'; export * from './useSqlMigrationsQuery'; export * from './useSqlMigrationQuery'; +export * from './useEmailsQuery'; +export * from './useEmailQuery'; export * from './useAstMigrationsQuery'; export * from './useAstMigrationQuery'; -export * from './useUsersQuery'; -export * from './useUserQuery'; export * from './useAppMembershipsQuery'; export * from './useAppMembershipQuery'; +export * from './useUsersQuery'; +export * from './useUserQuery'; export * from './useHierarchyModulesQuery'; export * from './useHierarchyModuleQuery'; export * from './useCurrentUserIdQuery'; diff --git a/sdk/constructive-react/src/public/hooks/queries/useTableModuleQuery.ts b/sdk/constructive-react/src/public/hooks/queries/useTableModuleQuery.ts deleted file mode 100644 index 72fd3c380..000000000 --- a/sdk/constructive-react/src/public/hooks/queries/useTableModuleQuery.ts +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Single item query hook for TableModule - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ - -import { useQuery } from '@tanstack/react-query'; -import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query'; -import { getClient } from '../client'; -import { buildSelectionArgs } from '../selection'; -import type { SelectionConfig } from '../selection'; -import { tableModuleKeys } from '../query-keys'; -import type { TableModuleSelect, TableModuleWithRelations } from '../../orm/input-types'; -import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types'; -export type { TableModuleSelect, TableModuleWithRelations } from '../../orm/input-types'; -/** Query key factory - re-exported from query-keys.ts */ -export const tableModuleQueryKey = tableModuleKeys.detail; -/** - * Query hook for fetching a single TableModule - * - * @example - * ```tsx - * const { data, isLoading } = useTableModuleQuery({ - * id: 'some-id', - * selection: { fields: { id: true, name: true } }, - * }); - * ``` - */ -export function useTableModuleQuery< - S extends TableModuleSelect, - TData = { - tableModule: InferSelectResult | null; - }, ->( - params: { - id: string; - selection: { - fields: S; - } & HookStrictSelect, TableModuleSelect>; - } & Omit< - UseQueryOptions< - { - tableModule: InferSelectResult | null; - }, - Error, - TData - >, - 'queryKey' | 'queryFn' - > -): UseQueryResult; -export function useTableModuleQuery( - params: { - id: string; - selection: SelectionConfig; - } & Omit, 'queryKey' | 'queryFn'> -) { - const args = buildSelectionArgs(params.selection); - const { selection: _selection, ...queryOptions } = params ?? {}; - void _selection; - return useQuery({ - queryKey: tableModuleKeys.detail(params.id), - queryFn: () => - getClient() - .tableModule.findOne({ - id: params.id, - select: args.select, - }) - .unwrap(), - ...queryOptions, - }); -} -/** - * Fetch a single TableModule without React hooks - * - * @example - * ```ts - * const data = await fetchTableModuleQuery({ - * id: 'some-id', - * selection: { fields: { id: true } }, - * }); - * ``` - */ -export async function fetchTableModuleQuery(params: { - id: string; - selection: { - fields: S; - } & HookStrictSelect, TableModuleSelect>; -}): Promise<{ - tableModule: InferSelectResult | null; -}>; -export async function fetchTableModuleQuery(params: { - id: string; - selection: SelectionConfig; -}) { - const args = buildSelectionArgs(params.selection); - return getClient() - .tableModule.findOne({ - id: params.id, - select: args.select, - }) - .unwrap(); -} -/** - * Prefetch a single TableModule for SSR or cache warming - * - * @example - * ```ts - * await prefetchTableModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } }); - * ``` - */ -export async function prefetchTableModuleQuery( - queryClient: QueryClient, - params: { - id: string; - selection: { - fields: S; - } & HookStrictSelect, TableModuleSelect>; - } -): Promise; -export async function prefetchTableModuleQuery( - queryClient: QueryClient, - params: { - id: string; - selection: SelectionConfig; - } -): Promise { - const args = buildSelectionArgs(params.selection); - await queryClient.prefetchQuery({ - queryKey: tableModuleKeys.detail(params.id), - queryFn: () => - getClient() - .tableModule.findOne({ - id: params.id, - select: args.select, - }) - .unwrap(), - }); -} diff --git a/sdk/constructive-react/src/public/hooks/queries/useTableModulesQuery.ts b/sdk/constructive-react/src/public/hooks/queries/useTableModulesQuery.ts deleted file mode 100644 index 199cd38be..000000000 --- a/sdk/constructive-react/src/public/hooks/queries/useTableModulesQuery.ts +++ /dev/null @@ -1,145 +0,0 @@ -/** - * List query hook for TableModule - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ - -import { useQuery } from '@tanstack/react-query'; -import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query'; -import { getClient } from '../client'; -import { buildListSelectionArgs } from '../selection'; -import type { ListSelectionConfig } from '../selection'; -import { tableModuleKeys } from '../query-keys'; -import type { - TableModuleSelect, - TableModuleWithRelations, - TableModuleFilter, - TableModuleOrderBy, -} from '../../orm/input-types'; -import type { - FindManyArgs, - InferSelectResult, - ConnectionResult, - HookStrictSelect, -} from '../../orm/select-types'; -export type { - TableModuleSelect, - TableModuleWithRelations, - TableModuleFilter, - TableModuleOrderBy, -} from '../../orm/input-types'; -/** Query key factory - re-exported from query-keys.ts */ -export const tableModulesQueryKey = tableModuleKeys.list; -/** - * Query hook for fetching TableModule list - * - * @example - * ```tsx - * const { data, isLoading } = useTableModulesQuery({ - * selection: { - * fields: { id: true, name: true }, - * where: { name: { equalTo: "example" } }, - * orderBy: ['CREATED_AT_DESC'], - * first: 10, - * }, - * }); - * ``` - */ -export function useTableModulesQuery< - S extends TableModuleSelect, - TData = { - tableModules: ConnectionResult>; - }, ->( - params: { - selection: { - fields: S; - } & Omit, 'fields'> & - HookStrictSelect, TableModuleSelect>; - } & Omit< - UseQueryOptions< - { - tableModules: ConnectionResult>; - }, - Error, - TData - >, - 'queryKey' | 'queryFn' - > -): UseQueryResult; -export function useTableModulesQuery( - params: { - selection: ListSelectionConfig; - } & Omit, 'queryKey' | 'queryFn'> -) { - const args = buildListSelectionArgs( - params.selection - ); - const { selection: _selection, ...queryOptions } = params ?? {}; - void _selection; - return useQuery({ - queryKey: tableModuleKeys.list(args), - queryFn: () => getClient().tableModule.findMany(args).unwrap(), - ...queryOptions, - }); -} -/** - * Fetch TableModule list without React hooks - * - * @example - * ```ts - * const data = await fetchTableModulesQuery({ - * selection: { - * fields: { id: true }, - * first: 10, - * }, - * }); - * ``` - */ -export async function fetchTableModulesQuery(params: { - selection: { - fields: S; - } & Omit, 'fields'> & - HookStrictSelect, TableModuleSelect>; -}): Promise<{ - tableModules: ConnectionResult>; -}>; -export async function fetchTableModulesQuery(params: { - selection: ListSelectionConfig; -}) { - const args = buildListSelectionArgs( - params.selection - ); - return getClient().tableModule.findMany(args).unwrap(); -} -/** - * Prefetch TableModule list for SSR or cache warming - * - * @example - * ```ts - * await prefetchTableModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } }); - * ``` - */ -export async function prefetchTableModulesQuery( - queryClient: QueryClient, - params: { - selection: { - fields: S; - } & Omit, 'fields'> & - HookStrictSelect, TableModuleSelect>; - } -): Promise; -export async function prefetchTableModulesQuery( - queryClient: QueryClient, - params: { - selection: ListSelectionConfig; - } -): Promise { - const args = buildListSelectionArgs( - params.selection - ); - await queryClient.prefetchQuery({ - queryKey: tableModuleKeys.list(args), - queryFn: () => getClient().tableModule.findMany(args).unwrap(), - }); -} diff --git a/sdk/constructive-react/src/public/hooks/query-keys.ts b/sdk/constructive-react/src/public/hooks/query-keys.ts index 066aaa2d1..215c60cf1 100644 --- a/sdk/constructive-react/src/public/hooks/query-keys.ts +++ b/sdk/constructive-react/src/public/hooks/query-keys.ts @@ -235,15 +235,6 @@ export const viewRuleKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...viewRuleKeys.details(), id] as const, } as const; -export const tableModuleKeys = { - /** All tableModule queries */ all: ['tablemodule'] as const, - /** List query keys */ lists: () => [...tableModuleKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...tableModuleKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...tableModuleKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...tableModuleKeys.details(), id] as const, -} as const; export const tableTemplateModuleKeys = { /** All tableTemplateModule queries */ all: ['tabletemplatemodule'] as const, /** List query keys */ lists: () => [...tableTemplateModuleKeys.all, 'list'] as const, @@ -523,15 +514,6 @@ export const profilesModuleKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...profilesModuleKeys.details(), id] as const, } as const; -export const rlsModuleKeys = { - /** All rlsModule queries */ all: ['rlsmodule'] as const, - /** List query keys */ lists: () => [...rlsModuleKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...rlsModuleKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...rlsModuleKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...rlsModuleKeys.details(), id] as const, -} as const; export const secretsModuleKeys = { /** All secretsModule queries */ all: ['secretsmodule'] as const, /** List query keys */ lists: () => [...secretsModuleKeys.all, 'list'] as const, @@ -775,6 +757,15 @@ export const appPermissionDefaultKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...appPermissionDefaultKeys.details(), id] as const, } as const; +export const cryptoAddressKeys = { + /** All cryptoAddress queries */ all: ['cryptoaddress'] as const, + /** List query keys */ lists: () => [...cryptoAddressKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...cryptoAddressKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...cryptoAddressKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...cryptoAddressKeys.details(), id] as const, +} as const; export const roleTypeKeys = { /** All roleType queries */ all: ['roletype'] as const, /** List query keys */ lists: () => [...roleTypeKeys.all, 'list'] as const, @@ -793,14 +784,14 @@ export const orgPermissionDefaultKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...orgPermissionDefaultKeys.details(), id] as const, } as const; -export const cryptoAddressKeys = { - /** All cryptoAddress queries */ all: ['cryptoaddress'] as const, - /** List query keys */ lists: () => [...cryptoAddressKeys.all, 'list'] as const, +export const phoneNumberKeys = { + /** All phoneNumber queries */ all: ['phonenumber'] as const, + /** List query keys */ lists: () => [...phoneNumberKeys.all, 'list'] as const, /** List query key with variables */ list: (variables?: object) => - [...cryptoAddressKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...cryptoAddressKeys.all, 'detail'] as const, + [...phoneNumberKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...phoneNumberKeys.all, 'detail'] as const, /** Detail query key for specific item */ detail: (id: string | number) => - [...cryptoAddressKeys.details(), id] as const, + [...phoneNumberKeys.details(), id] as const, } as const; export const appLimitDefaultKeys = { /** All appLimitDefault queries */ all: ['applimitdefault'] as const, @@ -829,14 +820,14 @@ export const connectedAccountKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...connectedAccountKeys.details(), id] as const, } as const; -export const phoneNumberKeys = { - /** All phoneNumber queries */ all: ['phonenumber'] as const, - /** List query keys */ lists: () => [...phoneNumberKeys.all, 'list'] as const, +export const nodeTypeRegistryKeys = { + /** All nodeTypeRegistry queries */ all: ['nodetyperegistry'] as const, + /** List query keys */ lists: () => [...nodeTypeRegistryKeys.all, 'list'] as const, /** List query key with variables */ list: (variables?: object) => - [...phoneNumberKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...phoneNumberKeys.all, 'detail'] as const, + [...nodeTypeRegistryKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...nodeTypeRegistryKeys.all, 'detail'] as const, /** Detail query key for specific item */ detail: (id: string | number) => - [...phoneNumberKeys.details(), id] as const, + [...nodeTypeRegistryKeys.details(), id] as const, } as const; export const membershipTypeKeys = { /** All membershipType queries */ all: ['membershiptype'] as const, @@ -847,15 +838,6 @@ export const membershipTypeKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...membershipTypeKeys.details(), id] as const, } as const; -export const nodeTypeRegistryKeys = { - /** All nodeTypeRegistry queries */ all: ['nodetyperegistry'] as const, - /** List query keys */ lists: () => [...nodeTypeRegistryKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...nodeTypeRegistryKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...nodeTypeRegistryKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...nodeTypeRegistryKeys.details(), id] as const, -} as const; export const appMembershipDefaultKeys = { /** All appMembershipDefault queries */ all: ['appmembershipdefault'] as const, /** List query keys */ lists: () => [...appMembershipDefaultKeys.all, 'list'] as const, @@ -865,6 +847,15 @@ export const appMembershipDefaultKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...appMembershipDefaultKeys.details(), id] as const, } as const; +export const rlsModuleKeys = { + /** All rlsModule queries */ all: ['rlsmodule'] as const, + /** List query keys */ lists: () => [...rlsModuleKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...rlsModuleKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...rlsModuleKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...rlsModuleKeys.details(), id] as const, +} as const; export const commitKeys = { /** All commit queries */ all: ['commit'] as const, /** List query keys */ lists: () => [...commitKeys.all, 'list'] as const, @@ -901,15 +892,6 @@ export const appLevelKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...appLevelKeys.details(), id] as const, } as const; -export const emailKeys = { - /** All email queries */ all: ['email'] as const, - /** List query keys */ lists: () => [...emailKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...emailKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...emailKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...emailKeys.details(), id] as const, -} as const; export const sqlMigrationKeys = { /** All sqlMigration queries */ all: ['sqlmigration'] as const, /** List query keys */ lists: () => [...sqlMigrationKeys.all, 'list'] as const, @@ -919,6 +901,15 @@ export const sqlMigrationKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...sqlMigrationKeys.details(), id] as const, } as const; +export const emailKeys = { + /** All email queries */ all: ['email'] as const, + /** List query keys */ lists: () => [...emailKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...emailKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...emailKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...emailKeys.details(), id] as const, +} as const; export const astMigrationKeys = { /** All astMigration queries */ all: ['astmigration'] as const, /** List query keys */ lists: () => [...astMigrationKeys.all, 'list'] as const, @@ -928,15 +919,6 @@ export const astMigrationKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...astMigrationKeys.details(), id] as const, } as const; -export const userKeys = { - /** All user queries */ all: ['user'] as const, - /** List query keys */ lists: () => [...userKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...userKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...userKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...userKeys.details(), id] as const, -} as const; export const appMembershipKeys = { /** All appMembership queries */ all: ['appmembership'] as const, /** List query keys */ lists: () => [...appMembershipKeys.all, 'list'] as const, @@ -946,6 +928,15 @@ export const appMembershipKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...appMembershipKeys.details(), id] as const, } as const; +export const userKeys = { + /** All user queries */ all: ['user'] as const, + /** List query keys */ lists: () => [...userKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...userKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...userKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...userKeys.details(), id] as const, +} as const; export const hierarchyModuleKeys = { /** All hierarchyModule queries */ all: ['hierarchymodule'] as const, /** List query keys */ lists: () => [...hierarchyModuleKeys.all, 'list'] as const, @@ -1046,7 +1037,6 @@ export const queryKeys = { viewTable: viewTableKeys, viewGrant: viewGrantKeys, viewRule: viewRuleKeys, - tableModule: tableModuleKeys, tableTemplateModule: tableTemplateModuleKeys, secureTableProvision: secureTableProvisionKeys, relationProvision: relationProvisionKeys, @@ -1078,7 +1068,6 @@ export const queryKeys = { permissionsModule: permissionsModuleKeys, phoneNumbersModule: phoneNumbersModuleKeys, profilesModule: profilesModuleKeys, - rlsModule: rlsModuleKeys, secretsModule: secretsModuleKeys, sessionsModule: sessionsModuleKeys, userAuthModule: userAuthModuleKeys, @@ -1106,25 +1095,26 @@ export const queryKeys = { ref: refKeys, store: storeKeys, appPermissionDefault: appPermissionDefaultKeys, + cryptoAddress: cryptoAddressKeys, roleType: roleTypeKeys, orgPermissionDefault: orgPermissionDefaultKeys, - cryptoAddress: cryptoAddressKeys, + phoneNumber: phoneNumberKeys, appLimitDefault: appLimitDefaultKeys, orgLimitDefault: orgLimitDefaultKeys, connectedAccount: connectedAccountKeys, - phoneNumber: phoneNumberKeys, - membershipType: membershipTypeKeys, nodeTypeRegistry: nodeTypeRegistryKeys, + membershipType: membershipTypeKeys, appMembershipDefault: appMembershipDefaultKeys, + rlsModule: rlsModuleKeys, commit: commitKeys, orgMembershipDefault: orgMembershipDefaultKeys, auditLog: auditLogKeys, appLevel: appLevelKeys, - email: emailKeys, sqlMigration: sqlMigrationKeys, + email: emailKeys, astMigration: astMigrationKeys, - user: userKeys, appMembership: appMembershipKeys, + user: userKeys, hierarchyModule: hierarchyModuleKeys, custom: customQueryKeys, } as const; diff --git a/sdk/constructive-react/src/public/orm/README.md b/sdk/constructive-react/src/public/orm/README.md index dbb346bd5..091da1716 100644 --- a/sdk/constructive-react/src/public/orm/README.md +++ b/sdk/constructive-react/src/public/orm/README.md @@ -45,7 +45,6 @@ const db = createClient({ | `viewTable` | findMany, findOne, create, update, delete | | `viewGrant` | findMany, findOne, create, update, delete | | `viewRule` | findMany, findOne, create, update, delete | -| `tableModule` | findMany, findOne, create, update, delete | | `tableTemplateModule` | findMany, findOne, create, update, delete | | `secureTableProvision` | findMany, findOne, create, update, delete | | `relationProvision` | findMany, findOne, create, update, delete | @@ -77,7 +76,6 @@ const db = createClient({ | `permissionsModule` | findMany, findOne, create, update, delete | | `phoneNumbersModule` | findMany, findOne, create, update, delete | | `profilesModule` | findMany, findOne, create, update, delete | -| `rlsModule` | findMany, findOne, create, update, delete | | `secretsModule` | findMany, findOne, create, update, delete | | `sessionsModule` | findMany, findOne, create, update, delete | | `userAuthModule` | findMany, findOne, create, update, delete | @@ -105,25 +103,26 @@ const db = createClient({ | `ref` | findMany, findOne, create, update, delete | | `store` | findMany, findOne, create, update, delete | | `appPermissionDefault` | findMany, findOne, create, update, delete | +| `cryptoAddress` | findMany, findOne, create, update, delete | | `roleType` | findMany, findOne, create, update, delete | | `orgPermissionDefault` | findMany, findOne, create, update, delete | -| `cryptoAddress` | findMany, findOne, create, update, delete | +| `phoneNumber` | findMany, findOne, create, update, delete | | `appLimitDefault` | findMany, findOne, create, update, delete | | `orgLimitDefault` | findMany, findOne, create, update, delete | | `connectedAccount` | findMany, findOne, create, update, delete | -| `phoneNumber` | findMany, findOne, create, update, delete | -| `membershipType` | findMany, findOne, create, update, delete | | `nodeTypeRegistry` | findMany, findOne, create, update, delete | +| `membershipType` | findMany, findOne, create, update, delete | | `appMembershipDefault` | findMany, findOne, create, update, delete | +| `rlsModule` | findMany, findOne, create, update, delete | | `commit` | findMany, findOne, create, update, delete | | `orgMembershipDefault` | findMany, findOne, create, update, delete | | `auditLog` | findMany, findOne, create, update, delete | | `appLevel` | findMany, findOne, create, update, delete | -| `email` | findMany, findOne, create, update, delete | | `sqlMigration` | findMany, findOne, create, update, delete | +| `email` | findMany, findOne, create, update, delete | | `astMigration` | findMany, findOne, create, update, delete | -| `user` | findMany, findOne, create, update, delete | | `appMembership` | findMany, findOne, create, update, delete | +| `user` | findMany, findOne, create, update, delete | | `hierarchyModule` | findMany, findOne, create, update, delete | ## Table Operations @@ -231,18 +230,20 @@ CRUD operations for AppPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appPermission records -const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -264,18 +265,20 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgPermission records -const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -336,18 +339,20 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevelRequirement records -const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute(); +const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -372,18 +377,22 @@ CRUD operations for Database records. | `hash` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `schemaHashTrgmSimilarity` | Float | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all database records -const items = await db.database.findMany({ select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.database.findMany({ select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.database.findOne({ id: '', select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.database.findOne({ id: '', select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '', schemaHashTrgmSimilarity: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.database.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -414,18 +423,24 @@ CRUD operations for Schema records. | `isPublic` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `schemaNameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all schema records -const items = await db.schema.findMany({ select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.schema.findMany({ select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.schema.findOne({ id: '', select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.schema.findOne({ id: '', select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '' }, select: { id: true } }).execute(); +const created = await db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '', nameTrgmSimilarity: '', schemaNameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.schema.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -461,18 +476,25 @@ CRUD operations for Table records. | `inheritsId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `pluralNameTrgmSimilarity` | Float | Yes | +| `singularNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all table records -const items = await db.table.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.table.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.table.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.table.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '' }, select: { id: true } }).execute(); +const created = await db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', pluralNameTrgmSimilarity: '', singularNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.table.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -503,18 +525,22 @@ CRUD operations for CheckConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all checkConstraint records -const items = await db.checkConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.checkConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.checkConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.checkConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.checkConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -555,18 +581,25 @@ CRUD operations for Field records. | `scope` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `defaultValueTrgmSimilarity` | Float | Yes | +| `regexpTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all field records -const items = await db.field.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.field.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.field.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.field.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '' }, select: { id: true } }).execute(); +const created = await db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', defaultValueTrgmSimilarity: '', regexpTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.field.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -601,18 +634,25 @@ CRUD operations for ForeignKeyConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `deleteActionTrgmSimilarity` | Float | Yes | +| `updateActionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all foreignKeyConstraint records -const items = await db.foreignKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.foreignKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.foreignKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.foreignKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', deleteActionTrgmSimilarity: '', updateActionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.foreignKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -676,6 +716,8 @@ CRUD operations for Index records. | `indexParams` | JSON | Yes | | `whereClause` | JSON | Yes | | `isUnique` | Boolean | Yes | +| `options` | JSON | Yes | +| `opClasses` | String | Yes | | `smartTags` | JSON | Yes | | `category` | ObjectCategory | Yes | | `module` | String | Yes | @@ -683,18 +725,22 @@ CRUD operations for Index records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `accessMethodTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all index records -const items = await db.index.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.index.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.index.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.index.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', options: '', opClasses: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', accessMethodTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.index.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -728,18 +774,24 @@ CRUD operations for Policy records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all policy records -const items = await db.policy.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.policy.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.policy.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.policy.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.policy.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -769,18 +821,22 @@ CRUD operations for PrimaryKeyConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all primaryKeyConstraint records -const items = await db.primaryKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.primaryKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.primaryKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.primaryKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.primaryKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -806,18 +862,21 @@ CRUD operations for TableGrant records. | `isGrant` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `privilegeTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all tableGrant records -const items = await db.tableGrant.findMany({ select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.tableGrant.findMany({ select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.tableGrant.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.tableGrant.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.tableGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -847,18 +906,23 @@ CRUD operations for Trigger records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `eventTrgmSimilarity` | Float | Yes | +| `functionNameTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all trigger records -const items = await db.trigger.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.trigger.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.trigger.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.trigger.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', functionNameTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.trigger.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -889,18 +953,23 @@ CRUD operations for UniqueConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all uniqueConstraint records -const items = await db.uniqueConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.uniqueConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.uniqueConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.uniqueConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.uniqueConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -933,18 +1002,23 @@ CRUD operations for View records. | `module` | String | Yes | | `scope` | Int | Yes | | `tags` | String | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `viewTypeTrgmSimilarity` | Float | Yes | +| `filterTypeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all view records -const items = await db.view.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }).execute(); +const items = await db.view.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.view.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }).execute(); +const item = await db.view.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', viewTypeTrgmSimilarity: '', filterTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.view.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1000,18 +1074,21 @@ CRUD operations for ViewGrant records. | `privilege` | String | Yes | | `withGrantOption` | Boolean | Yes | | `isGrant` | Boolean | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all viewGrant records -const items = await db.viewGrant.findMany({ select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }).execute(); +const items = await db.viewGrant.findMany({ select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.viewGrant.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }).execute(); +const item = await db.viewGrant.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.viewGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1034,18 +1111,22 @@ CRUD operations for ViewRule records. | `name` | String | Yes | | `event` | String | Yes | | `action` | String | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `eventTrgmSimilarity` | Float | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all viewRule records -const items = await db.viewRule.findMany({ select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }).execute(); +const items = await db.viewRule.findMany({ select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.viewRule.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }).execute(); +const item = await db.viewRule.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '' }, select: { id: true } }).execute(); +const created = await db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.viewRule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1054,43 +1135,6 @@ const updated = await db.viewRule.update({ where: { id: '' }, data: { dat const deleted = await db.viewRule.delete({ where: { id: '' } }).execute(); ``` -### `db.tableModule` - -CRUD operations for TableModule records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `schemaId` | UUID | Yes | -| `tableId` | UUID | Yes | -| `tableName` | String | Yes | -| `nodeType` | String | Yes | -| `useRls` | Boolean | Yes | -| `data` | JSON | Yes | -| `fields` | UUID | Yes | - -**Operations:** - -```typescript -// List all tableModule records -const items = await db.tableModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }).execute(); - -// Get one by id -const item = await db.tableModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }).execute(); - -// Create -const created = await db.tableModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', data: '', fields: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.tableModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.tableModule.delete({ where: { id: '' } }).execute(); -``` - ### `db.tableTemplateModule` CRUD operations for TableTemplateModule records. @@ -1108,18 +1152,21 @@ CRUD operations for TableTemplateModule records. | `tableName` | String | Yes | | `nodeType` | String | Yes | | `data` | JSON | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all tableTemplateModule records -const items = await db.tableTemplateModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }).execute(); +const items = await db.tableTemplateModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.tableTemplateModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }).execute(); +const item = await db.tableTemplateModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '' }, select: { id: true } }).execute(); +const created = await db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.tableTemplateModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1144,6 +1191,7 @@ CRUD operations for SecureTableProvision records. | `nodeType` | String | Yes | | `useRls` | Boolean | Yes | | `nodeData` | JSON | Yes | +| `fields` | JSON | Yes | | `grantRoles` | String | Yes | | `grantPrivileges` | JSON | Yes | | `policyType` | String | Yes | @@ -1153,18 +1201,24 @@ CRUD operations for SecureTableProvision records. | `policyName` | String | Yes | | `policyData` | JSON | Yes | | `outFields` | UUID | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `policyRoleTrgmSimilarity` | Float | Yes | +| `policyNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all secureTableProvision records -const items = await db.secureTableProvision.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }).execute(); +const items = await db.secureTableProvision.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.secureTableProvision.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }).execute(); +const item = await db.secureTableProvision.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '' }, select: { id: true } }).execute(); +const created = await db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', fields: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.secureTableProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1209,18 +1263,29 @@ CRUD operations for RelationProvision records. | `outJunctionTableId` | UUID | Yes | | `outSourceFieldId` | UUID | Yes | | `outTargetFieldId` | UUID | Yes | +| `relationTypeTrgmSimilarity` | Float | Yes | +| `fieldNameTrgmSimilarity` | Float | Yes | +| `deleteActionTrgmSimilarity` | Float | Yes | +| `junctionTableNameTrgmSimilarity` | Float | Yes | +| `sourceFieldNameTrgmSimilarity` | Float | Yes | +| `targetFieldNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `policyRoleTrgmSimilarity` | Float | Yes | +| `policyNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all relationProvision records -const items = await db.relationProvision.findMany({ select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }).execute(); +const items = await db.relationProvision.findMany({ select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.relationProvision.findOne({ id: '', select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }).execute(); +const item = await db.relationProvision.findOne({ id: '', select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '' }, select: { id: true } }).execute(); +const created = await db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '', relationTypeTrgmSimilarity: '', fieldNameTrgmSimilarity: '', deleteActionTrgmSimilarity: '', junctionTableNameTrgmSimilarity: '', sourceFieldNameTrgmSimilarity: '', targetFieldNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.relationProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1243,18 +1308,20 @@ CRUD operations for SchemaGrant records. | `granteeName` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all schemaGrant records -const items = await db.schemaGrant.findMany({ select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.schemaGrant.findMany({ select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.schemaGrant.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.schemaGrant.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '' }, select: { id: true } }).execute(); +const created = await db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.schemaGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1278,18 +1345,22 @@ CRUD operations for DefaultPrivilege records. | `privilege` | String | Yes | | `granteeName` | String | Yes | | `isGrant` | Boolean | Yes | +| `objectTypeTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all defaultPrivilege records -const items = await db.defaultPrivilege.findMany({ select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }).execute(); +const items = await db.defaultPrivilege.findMany({ select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.defaultPrivilege.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }).execute(); +const item = await db.defaultPrivilege.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '', objectTypeTrgmSimilarity: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.defaultPrivilege.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1343,18 +1414,20 @@ CRUD operations for ApiModule records. | `apiId` | UUID | Yes | | `name` | String | Yes | | `data` | JSON | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all apiModule records -const items = await db.apiModule.findMany({ select: { id: true, databaseId: true, apiId: true, name: true, data: true } }).execute(); +const items = await db.apiModule.findMany({ select: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.apiModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, name: true, data: true } }).execute(); +const item = await db.apiModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '' }, select: { id: true } }).execute(); +const created = await db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.apiModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1411,18 +1484,21 @@ CRUD operations for SiteMetadatum records. | `title` | String | Yes | | `description` | String | Yes | | `ogImage` | ConstructiveInternalTypeImage | Yes | +| `titleTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all siteMetadatum records -const items = await db.siteMetadatum.findMany({ select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }).execute(); +const items = await db.siteMetadatum.findMany({ select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.siteMetadatum.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }).execute(); +const item = await db.siteMetadatum.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '' }, select: { id: true } }).execute(); +const created = await db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.siteMetadatum.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1444,18 +1520,20 @@ CRUD operations for SiteModule records. | `siteId` | UUID | Yes | | `name` | String | Yes | | `data` | JSON | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all siteModule records -const items = await db.siteModule.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, data: true } }).execute(); +const items = await db.siteModule.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.siteModule.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, data: true } }).execute(); +const item = await db.siteModule.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '' }, select: { id: true } }).execute(); +const created = await db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.siteModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1510,18 +1588,21 @@ CRUD operations for TriggerFunction records. | `code` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `codeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all triggerFunction records -const items = await db.triggerFunction.findMany({ select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.triggerFunction.findMany({ select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.triggerFunction.findOne({ id: '', select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.triggerFunction.findOne({ id: '', select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.triggerFunction.create({ data: { databaseId: '', name: '', code: '' }, select: { id: true } }).execute(); +const created = await db.triggerFunction.create({ data: { databaseId: '', name: '', code: '', nameTrgmSimilarity: '', codeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.triggerFunction.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1545,18 +1626,23 @@ CRUD operations for Api records. | `roleName` | String | Yes | | `anonRole` | String | Yes | | `isPublic` | Boolean | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `dbnameTrgmSimilarity` | Float | Yes | +| `roleNameTrgmSimilarity` | Float | Yes | +| `anonRoleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all api records -const items = await db.api.findMany({ select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }).execute(); +const items = await db.api.findMany({ select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.api.findOne({ id: '', select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }).execute(); +const item = await db.api.findOne({ id: '', select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '' }, select: { id: true } }).execute(); +const created = await db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '', nameTrgmSimilarity: '', dbnameTrgmSimilarity: '', roleNameTrgmSimilarity: '', anonRoleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.api.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1582,18 +1668,22 @@ CRUD operations for Site records. | `appleTouchIcon` | ConstructiveInternalTypeImage | Yes | | `logo` | ConstructiveInternalTypeImage | Yes | | `dbname` | String | Yes | +| `titleTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `dbnameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all site records -const items = await db.site.findMany({ select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }).execute(); +const items = await db.site.findMany({ select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.site.findOne({ id: '', select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }).execute(); +const item = await db.site.findOne({ id: '', select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '' }, select: { id: true } }).execute(); +const created = await db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', dbnameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.site.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1619,18 +1709,22 @@ CRUD operations for App records. | `appStoreId` | String | Yes | | `appIdPrefix` | String | Yes | | `playStoreLink` | ConstructiveInternalTypeUrl | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `appStoreIdTrgmSimilarity` | Float | Yes | +| `appIdPrefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all app records -const items = await db.app.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }).execute(); +const items = await db.app.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.app.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }).execute(); +const item = await db.app.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '' }, select: { id: true } }).execute(); +const created = await db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '', nameTrgmSimilarity: '', appStoreIdTrgmSimilarity: '', appIdPrefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.app.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1654,18 +1748,20 @@ CRUD operations for ConnectedAccountsModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccountsModule records -const items = await db.connectedAccountsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.connectedAccountsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccountsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.connectedAccountsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccountsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1690,18 +1786,21 @@ CRUD operations for CryptoAddressesModule records. | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | | `cryptoNetwork` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `cryptoNetworkTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all cryptoAddressesModule records -const items = await db.cryptoAddressesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }).execute(); +const items = await db.cryptoAddressesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAddressesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }).execute(); +const item = await db.cryptoAddressesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '', tableNameTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.cryptoAddressesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1732,18 +1831,25 @@ CRUD operations for CryptoAuthModule records. | `signInRecordFailure` | String | Yes | | `signUpWithKey` | String | Yes | | `signInWithChallenge` | String | Yes | +| `userFieldTrgmSimilarity` | Float | Yes | +| `cryptoNetworkTrgmSimilarity` | Float | Yes | +| `signInRequestChallengeTrgmSimilarity` | Float | Yes | +| `signInRecordFailureTrgmSimilarity` | Float | Yes | +| `signUpWithKeyTrgmSimilarity` | Float | Yes | +| `signInWithChallengeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all cryptoAuthModule records -const items = await db.cryptoAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }).execute(); +const items = await db.cryptoAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }).execute(); +const item = await db.cryptoAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '', userFieldTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', signInRequestChallengeTrgmSimilarity: '', signInRecordFailureTrgmSimilarity: '', signUpWithKeyTrgmSimilarity: '', signInWithChallengeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.cryptoAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1802,18 +1908,20 @@ CRUD operations for DenormalizedTableField records. | `updateDefaults` | Boolean | Yes | | `funcName` | String | Yes | | `funcOrder` | Int | Yes | +| `funcNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all denormalizedTableField records -const items = await db.denormalizedTableField.findMany({ select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }).execute(); +const items = await db.denormalizedTableField.findMany({ select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.denormalizedTableField.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }).execute(); +const item = await db.denormalizedTableField.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '' }, select: { id: true } }).execute(); +const created = await db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '', funcNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.denormalizedTableField.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1837,18 +1945,20 @@ CRUD operations for EmailsModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all emailsModule records -const items = await db.emailsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.emailsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.emailsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.emailsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.emailsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1870,18 +1980,20 @@ CRUD operations for EncryptedSecretsModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all encryptedSecretsModule records -const items = await db.encryptedSecretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.encryptedSecretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.encryptedSecretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.encryptedSecretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.encryptedSecretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1907,18 +2019,20 @@ CRUD operations for FieldModule records. | `data` | JSON | Yes | | `triggers` | String | Yes | | `functions` | String | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all fieldModule records -const items = await db.fieldModule.findMany({ select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }).execute(); +const items = await db.fieldModule.findMany({ select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.fieldModule.findOne({ id: '', select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }).execute(); +const item = await db.fieldModule.findOne({ id: '', select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '' }, select: { id: true } }).execute(); +const created = await db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.fieldModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1949,18 +2063,23 @@ CRUD operations for InvitesModule records. | `prefix` | String | Yes | | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | +| `invitesTableNameTrgmSimilarity` | Float | Yes | +| `claimedInvitesTableNameTrgmSimilarity` | Float | Yes | +| `submitInviteCodeFunctionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all invitesModule records -const items = await db.invitesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }).execute(); +const items = await db.invitesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.invitesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }).execute(); +const item = await db.invitesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '' }, select: { id: true } }).execute(); +const created = await db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '', invitesTableNameTrgmSimilarity: '', claimedInvitesTableNameTrgmSimilarity: '', submitInviteCodeFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.invitesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2003,18 +2122,34 @@ CRUD operations for LevelsModule records. | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | | `actorTableId` | UUID | Yes | +| `stepsTableNameTrgmSimilarity` | Float | Yes | +| `achievementsTableNameTrgmSimilarity` | Float | Yes | +| `levelsTableNameTrgmSimilarity` | Float | Yes | +| `levelRequirementsTableNameTrgmSimilarity` | Float | Yes | +| `completedStepTrgmSimilarity` | Float | Yes | +| `incompletedStepTrgmSimilarity` | Float | Yes | +| `tgAchievementTrgmSimilarity` | Float | Yes | +| `tgAchievementToggleTrgmSimilarity` | Float | Yes | +| `tgAchievementToggleBooleanTrgmSimilarity` | Float | Yes | +| `tgAchievementBooleanTrgmSimilarity` | Float | Yes | +| `upsertAchievementTrgmSimilarity` | Float | Yes | +| `tgUpdateAchievementsTrgmSimilarity` | Float | Yes | +| `stepsRequiredTrgmSimilarity` | Float | Yes | +| `levelAchievedTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all levelsModule records -const items = await db.levelsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const items = await db.levelsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.levelsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const item = await db.levelsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute(); +const created = await db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', stepsTableNameTrgmSimilarity: '', achievementsTableNameTrgmSimilarity: '', levelsTableNameTrgmSimilarity: '', levelRequirementsTableNameTrgmSimilarity: '', completedStepTrgmSimilarity: '', incompletedStepTrgmSimilarity: '', tgAchievementTrgmSimilarity: '', tgAchievementToggleTrgmSimilarity: '', tgAchievementToggleBooleanTrgmSimilarity: '', tgAchievementBooleanTrgmSimilarity: '', upsertAchievementTrgmSimilarity: '', tgUpdateAchievementsTrgmSimilarity: '', stepsRequiredTrgmSimilarity: '', levelAchievedTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.levelsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2049,18 +2184,28 @@ CRUD operations for LimitsModule records. | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | | `actorTableId` | UUID | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `defaultTableNameTrgmSimilarity` | Float | Yes | +| `limitIncrementFunctionTrgmSimilarity` | Float | Yes | +| `limitDecrementFunctionTrgmSimilarity` | Float | Yes | +| `limitIncrementTriggerTrgmSimilarity` | Float | Yes | +| `limitDecrementTriggerTrgmSimilarity` | Float | Yes | +| `limitUpdateTriggerTrgmSimilarity` | Float | Yes | +| `limitCheckFunctionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all limitsModule records -const items = await db.limitsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const items = await db.limitsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.limitsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const item = await db.limitsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute(); +const created = await db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', limitIncrementFunctionTrgmSimilarity: '', limitDecrementFunctionTrgmSimilarity: '', limitIncrementTriggerTrgmSimilarity: '', limitDecrementTriggerTrgmSimilarity: '', limitUpdateTriggerTrgmSimilarity: '', limitCheckFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.limitsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2082,18 +2227,20 @@ CRUD operations for MembershipTypesModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipTypesModule records -const items = await db.membershipTypesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.membershipTypesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipTypesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.membershipTypesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipTypesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2141,18 +2288,31 @@ CRUD operations for MembershipsModule records. | `entityIdsByMask` | String | Yes | | `entityIdsByPerm` | String | Yes | | `entityIdsFunction` | String | Yes | +| `membershipsTableNameTrgmSimilarity` | Float | Yes | +| `membersTableNameTrgmSimilarity` | Float | Yes | +| `membershipDefaultsTableNameTrgmSimilarity` | Float | Yes | +| `grantsTableNameTrgmSimilarity` | Float | Yes | +| `adminGrantsTableNameTrgmSimilarity` | Float | Yes | +| `ownerGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `actorMaskCheckTrgmSimilarity` | Float | Yes | +| `actorPermCheckTrgmSimilarity` | Float | Yes | +| `entityIdsByMaskTrgmSimilarity` | Float | Yes | +| `entityIdsByPermTrgmSimilarity` | Float | Yes | +| `entityIdsFunctionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipsModule records -const items = await db.membershipsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }).execute(); +const items = await db.membershipsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }).execute(); +const item = await db.membershipsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '' }, select: { id: true } }).execute(); +const created = await db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '', membershipsTableNameTrgmSimilarity: '', membersTableNameTrgmSimilarity: '', membershipDefaultsTableNameTrgmSimilarity: '', grantsTableNameTrgmSimilarity: '', adminGrantsTableNameTrgmSimilarity: '', ownerGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', actorMaskCheckTrgmSimilarity: '', actorPermCheckTrgmSimilarity: '', entityIdsByMaskTrgmSimilarity: '', entityIdsByPermTrgmSimilarity: '', entityIdsFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2186,18 +2346,26 @@ CRUD operations for PermissionsModule records. | `getMask` | String | Yes | | `getByMask` | String | Yes | | `getMaskByName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `defaultTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `getPaddedMaskTrgmSimilarity` | Float | Yes | +| `getMaskTrgmSimilarity` | Float | Yes | +| `getByMaskTrgmSimilarity` | Float | Yes | +| `getMaskByNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all permissionsModule records -const items = await db.permissionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }).execute(); +const items = await db.permissionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.permissionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }).execute(); +const item = await db.permissionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '' }, select: { id: true } }).execute(); +const created = await db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', getPaddedMaskTrgmSimilarity: '', getMaskTrgmSimilarity: '', getByMaskTrgmSimilarity: '', getMaskByNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.permissionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2221,18 +2389,20 @@ CRUD operations for PhoneNumbersModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all phoneNumbersModule records -const items = await db.phoneNumbersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.phoneNumbersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.phoneNumbersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.phoneNumbersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.phoneNumbersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2267,18 +2437,24 @@ CRUD operations for ProfilesModule records. | `permissionsTableId` | UUID | Yes | | `membershipsTableId` | UUID | Yes | | `prefix` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `profilePermissionsTableNameTrgmSimilarity` | Float | Yes | +| `profileGrantsTableNameTrgmSimilarity` | Float | Yes | +| `profileDefinitionGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all profilesModule records -const items = await db.profilesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }).execute(); +const items = await db.profilesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.profilesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }).execute(); +const item = await db.profilesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '', tableNameTrgmSimilarity: '', profilePermissionsTableNameTrgmSimilarity: '', profileGrantsTableNameTrgmSimilarity: '', profileDefinitionGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.profilesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2287,46 +2463,6 @@ const updated = await db.profilesModule.update({ where: { id: '' }, data: const deleted = await db.profilesModule.delete({ where: { id: '' } }).execute(); ``` -### `db.rlsModule` - -CRUD operations for RlsModule records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `apiId` | UUID | Yes | -| `schemaId` | UUID | Yes | -| `privateSchemaId` | UUID | Yes | -| `sessionCredentialsTableId` | UUID | Yes | -| `sessionsTableId` | UUID | Yes | -| `usersTableId` | UUID | Yes | -| `authenticate` | String | Yes | -| `authenticateStrict` | String | Yes | -| `currentRole` | String | Yes | -| `currentRoleId` | String | Yes | - -**Operations:** - -```typescript -// List all rlsModule records -const items = await db.rlsModule.findMany({ select: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }).execute(); - -// Get one by id -const item = await db.rlsModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }).execute(); - -// Create -const created = await db.rlsModule.create({ data: { databaseId: '', apiId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.rlsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); -``` - ### `db.secretsModule` CRUD operations for SecretsModule records. @@ -2340,18 +2476,20 @@ CRUD operations for SecretsModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all secretsModule records -const items = await db.secretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.secretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.secretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.secretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.secretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2379,18 +2517,22 @@ CRUD operations for SessionsModule records. | `sessionsTable` | String | Yes | | `sessionCredentialsTable` | String | Yes | | `authSettingsTable` | String | Yes | +| `sessionsTableTrgmSimilarity` | Float | Yes | +| `sessionCredentialsTableTrgmSimilarity` | Float | Yes | +| `authSettingsTableTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all sessionsModule records -const items = await db.sessionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }).execute(); +const items = await db.sessionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.sessionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }).execute(); +const item = await db.sessionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '' }, select: { id: true } }).execute(); +const created = await db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '', sessionsTableTrgmSimilarity: '', sessionCredentialsTableTrgmSimilarity: '', authSettingsTableTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.sessionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2433,18 +2575,35 @@ CRUD operations for UserAuthModule records. | `signInOneTimeTokenFunction` | String | Yes | | `oneTimeTokenFunction` | String | Yes | | `extendTokenExpires` | String | Yes | +| `auditsTableNameTrgmSimilarity` | Float | Yes | +| `signInFunctionTrgmSimilarity` | Float | Yes | +| `signUpFunctionTrgmSimilarity` | Float | Yes | +| `signOutFunctionTrgmSimilarity` | Float | Yes | +| `setPasswordFunctionTrgmSimilarity` | Float | Yes | +| `resetPasswordFunctionTrgmSimilarity` | Float | Yes | +| `forgotPasswordFunctionTrgmSimilarity` | Float | Yes | +| `sendVerificationEmailFunctionTrgmSimilarity` | Float | Yes | +| `verifyEmailFunctionTrgmSimilarity` | Float | Yes | +| `verifyPasswordFunctionTrgmSimilarity` | Float | Yes | +| `checkPasswordFunctionTrgmSimilarity` | Float | Yes | +| `sendAccountDeletionEmailFunctionTrgmSimilarity` | Float | Yes | +| `deleteAccountFunctionTrgmSimilarity` | Float | Yes | +| `signInOneTimeTokenFunctionTrgmSimilarity` | Float | Yes | +| `oneTimeTokenFunctionTrgmSimilarity` | Float | Yes | +| `extendTokenExpiresTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all userAuthModule records -const items = await db.userAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }).execute(); +const items = await db.userAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.userAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }).execute(); +const item = await db.userAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '' }, select: { id: true } }).execute(); +const created = await db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '', auditsTableNameTrgmSimilarity: '', signInFunctionTrgmSimilarity: '', signUpFunctionTrgmSimilarity: '', signOutFunctionTrgmSimilarity: '', setPasswordFunctionTrgmSimilarity: '', resetPasswordFunctionTrgmSimilarity: '', forgotPasswordFunctionTrgmSimilarity: '', sendVerificationEmailFunctionTrgmSimilarity: '', verifyEmailFunctionTrgmSimilarity: '', verifyPasswordFunctionTrgmSimilarity: '', checkPasswordFunctionTrgmSimilarity: '', sendAccountDeletionEmailFunctionTrgmSimilarity: '', deleteAccountFunctionTrgmSimilarity: '', signInOneTimeTokenFunctionTrgmSimilarity: '', oneTimeTokenFunctionTrgmSimilarity: '', extendTokenExpiresTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.userAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2468,18 +2627,21 @@ CRUD operations for UsersModule records. | `tableName` | String | Yes | | `typeTableId` | UUID | Yes | | `typeTableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `typeTableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all usersModule records -const items = await db.usersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }).execute(); +const items = await db.usersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.usersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }).execute(); +const item = await db.usersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '' }, select: { id: true } }).execute(); +const created = await db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '', tableNameTrgmSimilarity: '', typeTableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.usersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2501,18 +2663,21 @@ CRUD operations for UuidModule records. | `schemaId` | UUID | Yes | | `uuidFunction` | String | Yes | | `uuidSeed` | String | Yes | +| `uuidFunctionTrgmSimilarity` | Float | Yes | +| `uuidSeedTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all uuidModule records -const items = await db.uuidModule.findMany({ select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }).execute(); +const items = await db.uuidModule.findMany({ select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.uuidModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }).execute(); +const item = await db.uuidModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '' }, select: { id: true } }).execute(); +const created = await db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '', uuidFunctionTrgmSimilarity: '', uuidSeedTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.uuidModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2543,18 +2708,24 @@ CRUD operations for DatabaseProvisionModule records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `completedAt` | Datetime | Yes | +| `databaseNameTrgmSimilarity` | Float | Yes | +| `subdomainTrgmSimilarity` | Float | Yes | +| `domainTrgmSimilarity` | Float | Yes | +| `statusTrgmSimilarity` | Float | Yes | +| `errorMessageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all databaseProvisionModule records -const items = await db.databaseProvisionModule.findMany({ select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }).execute(); +const items = await db.databaseProvisionModule.findMany({ select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.databaseProvisionModule.findOne({ id: '', select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }).execute(); +const item = await db.databaseProvisionModule.findOne({ id: '', select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '' }, select: { id: true } }).execute(); +const created = await db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '', databaseNameTrgmSimilarity: '', subdomainTrgmSimilarity: '', domainTrgmSimilarity: '', statusTrgmSimilarity: '', errorMessageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.databaseProvisionModule.update({ where: { id: '' }, data: { databaseName: '' }, select: { id: true } }).execute(); @@ -2864,18 +3035,20 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | Yes | | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdge records -const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -2901,18 +3074,20 @@ CRUD operations for OrgChartEdgeGrant records. | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | | `createdAt` | Datetime | No | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdgeGrant records -const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -3076,18 +3251,20 @@ CRUD operations for Invite records. | `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all invite records -const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute(); +const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); @@ -3152,18 +3329,20 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `entityId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgInvite records -const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute(); +const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); @@ -3220,18 +3399,20 @@ CRUD operations for Ref records. | `databaseId` | UUID | Yes | | `storeId` | UUID | Yes | | `commitId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all ref records -const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute(); +const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3253,18 +3434,20 @@ CRUD operations for Store records. | `databaseId` | UUID | Yes | | `hash` | UUID | Yes | | `createdAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all store records -const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3303,6 +3486,43 @@ const updated = await db.appPermissionDefault.update({ where: { id: '' }, const deleted = await db.appPermissionDefault.delete({ where: { id: '' } }).execute(); ``` +### `db.cryptoAddress` + +CRUD operations for CryptoAddress records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `address` | String | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | +| `createdAt` | Datetime | No | +| `updatedAt` | Datetime | No | +| `addressTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | + +**Operations:** + +```typescript +// List all cryptoAddress records +const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); + +// Get one by id +const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); + +// Update +const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); + +// Delete +const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +``` + ### `db.roleType` CRUD operations for RoleType records. @@ -3364,9 +3584,9 @@ const updated = await db.orgPermissionDefault.update({ where: { id: '' }, const deleted = await db.orgPermissionDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.cryptoAddress` +### `db.phoneNumber` -CRUD operations for CryptoAddress records. +CRUD operations for PhoneNumber records. **Fields:** @@ -3374,29 +3594,33 @@ CRUD operations for CryptoAddress records. |-------|------|----------| | `id` | UUID | No | | `ownerId` | UUID | Yes | -| `address` | String | Yes | +| `cc` | String | Yes | +| `number` | String | Yes | | `isVerified` | Boolean | Yes | | `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `ccTrgmSimilarity` | Float | Yes | +| `numberTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all cryptoAddress records -const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all phoneNumber records +const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +const deleted = await db.phoneNumber.delete({ where: { id: '' } }).execute(); ``` ### `db.appLimitDefault` @@ -3477,18 +3701,21 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `serviceTrgmSimilarity` | Float | Yes | +| `identifierTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccount records -const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -3497,40 +3724,47 @@ const updated = await db.connectedAccount.update({ where: { id: '' }, dat const deleted = await db.connectedAccount.delete({ where: { id: '' } }).execute(); ``` -### `db.phoneNumber` +### `db.nodeTypeRegistry` -CRUD operations for PhoneNumber records. +CRUD operations for NodeTypeRegistry records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `cc` | String | Yes | -| `number` | String | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | +| `name` | String | No | +| `slug` | String | Yes | +| `category` | String | Yes | +| `displayName` | String | Yes | +| `description` | String | Yes | +| `parameterSchema` | JSON | Yes | +| `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `slugTrgmSimilarity` | Float | Yes | +| `categoryTrgmSimilarity` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all phoneNumber records -const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all nodeTypeRegistry records +const items = await db.nodeTypeRegistry.findMany({ select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); -// Get one by id -const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// Get one by name +const item = await db.nodeTypeRegistry.findOne({ name: '', select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '', nameTrgmSimilarity: '', slugTrgmSimilarity: '', categoryTrgmSimilarity: '', displayNameTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { name: true } }).execute(); // Update -const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.nodeTypeRegistry.update({ where: { name: '' }, data: { slug: '' }, select: { name: true } }).execute(); // Delete -const deleted = await db.phoneNumber.delete({ where: { id: '' } }).execute(); +const deleted = await db.nodeTypeRegistry.delete({ where: { name: '' } }).execute(); ``` ### `db.membershipType` @@ -3545,18 +3779,21 @@ CRUD operations for MembershipType records. | `name` | String | Yes | | `description` | String | Yes | | `prefix` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipType records -const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true } }).execute(); +const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true } }).execute(); +const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3565,76 +3802,83 @@ const updated = await db.membershipType.update({ where: { id: '' }, data: const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` -### `db.nodeTypeRegistry` +### `db.appMembershipDefault` -CRUD operations for NodeTypeRegistry records. +CRUD operations for AppMembershipDefault records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `name` | String | No | -| `slug` | String | Yes | -| `category` | String | Yes | -| `displayName` | String | Yes | -| `description` | String | Yes | -| `parameterSchema` | JSON | Yes | -| `tags` | String | Yes | +| `id` | UUID | No | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isVerified` | Boolean | Yes | **Operations:** ```typescript -// List all nodeTypeRegistry records -const items = await db.nodeTypeRegistry.findMany({ select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +// List all appMembershipDefault records +const items = await db.appMembershipDefault.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); -// Get one by name -const item = await db.nodeTypeRegistry.findOne({ name: '', select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +// Get one by id +const item = await db.appMembershipDefault.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); // Create -const created = await db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '' }, select: { name: true } }).execute(); +const created = await db.appMembershipDefault.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isVerified: '' }, select: { id: true } }).execute(); // Update -const updated = await db.nodeTypeRegistry.update({ where: { name: '' }, data: { slug: '' }, select: { name: true } }).execute(); +const updated = await db.appMembershipDefault.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.nodeTypeRegistry.delete({ where: { name: '' } }).execute(); +const deleted = await db.appMembershipDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembershipDefault` +### `db.rlsModule` -CRUD operations for AppMembershipDefault records. +CRUD operations for RlsModule records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isVerified` | Boolean | Yes | +| `databaseId` | UUID | Yes | +| `schemaId` | UUID | Yes | +| `privateSchemaId` | UUID | Yes | +| `sessionCredentialsTableId` | UUID | Yes | +| `sessionsTableId` | UUID | Yes | +| `usersTableId` | UUID | Yes | +| `authenticate` | String | Yes | +| `authenticateStrict` | String | Yes | +| `currentRole` | String | Yes | +| `currentRoleId` | String | Yes | +| `authenticateTrgmSimilarity` | Float | Yes | +| `authenticateStrictTrgmSimilarity` | Float | Yes | +| `currentRoleTrgmSimilarity` | Float | Yes | +| `currentRoleIdTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembershipDefault records -const items = await db.appMembershipDefault.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); +// List all rlsModule records +const items = await db.rlsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembershipDefault.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); +const item = await db.rlsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembershipDefault.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.rlsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '', authenticateTrgmSimilarity: '', authenticateStrictTrgmSimilarity: '', currentRoleTrgmSimilarity: '', currentRoleIdTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembershipDefault.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.rlsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembershipDefault.delete({ where: { id: '' } }).execute(); +const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); ``` ### `db.commit` @@ -3654,18 +3898,20 @@ CRUD operations for Commit records. | `committerId` | UUID | Yes | | `treeId` | UUID | Yes | | `date` | Datetime | Yes | +| `messageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all commit records -const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute(); +const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute(); @@ -3727,18 +3973,20 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | Yes | | `success` | Boolean | Yes | | `createdAt` | Datetime | No | +| `userAgentTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all auditLog records -const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute(); +const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute(); @@ -3762,18 +4010,20 @@ CRUD operations for AppLevel records. | `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevel records -const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute(); +const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3782,80 +4032,87 @@ const updated = await db.appLevel.update({ where: { id: '' }, data: { nam const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); ``` -### `db.email` +### `db.sqlMigration` -CRUD operations for Email records. +CRUD operations for SqlMigration records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `email` | ConstructiveInternalTypeEmail | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | +| `id` | Int | No | +| `name` | String | Yes | +| `databaseId` | UUID | Yes | +| `deploy` | String | Yes | +| `deps` | String | Yes | +| `payload` | JSON | Yes | +| `content` | String | Yes | +| `revert` | String | Yes | +| `verify` | String | Yes | | `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | +| `action` | String | Yes | +| `actionId` | UUID | Yes | +| `actorId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `deployTrgmSimilarity` | Float | Yes | +| `contentTrgmSimilarity` | Float | Yes | +| `revertTrgmSimilarity` | Float | Yes | +| `verifyTrgmSimilarity` | Float | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all email records -const items = await db.email.findMany({ select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all sqlMigration records +const items = await db.sqlMigration.findMany({ select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.email.findOne({ id: '', select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.sqlMigration.findOne({ id: '', select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.email.create({ data: { ownerId: '', email: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '', nameTrgmSimilarity: '', deployTrgmSimilarity: '', contentTrgmSimilarity: '', revertTrgmSimilarity: '', verifyTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.email.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.sqlMigration.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.email.delete({ where: { id: '' } }).execute(); +const deleted = await db.sqlMigration.delete({ where: { id: '' } }).execute(); ``` -### `db.sqlMigration` +### `db.email` -CRUD operations for SqlMigration records. +CRUD operations for Email records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | -| `databaseId` | UUID | Yes | -| `deploy` | String | Yes | -| `deps` | String | Yes | -| `payload` | JSON | Yes | -| `content` | String | Yes | -| `revert` | String | Yes | -| `verify` | String | Yes | +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `email` | ConstructiveInternalTypeEmail | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | -| `action` | String | Yes | -| `actionId` | UUID | Yes | -| `actorId` | UUID | Yes | +| `updatedAt` | Datetime | No | **Operations:** ```typescript -// List all sqlMigration records -const items = await db.sqlMigration.findMany({ select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +// List all email records +const items = await db.email.findMany({ select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.sqlMigration.findOne({ id: '', select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const item = await db.email.findOne({ id: '', select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); // Create -const created = await db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute(); +const created = await db.email.create({ data: { ownerId: '', email: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); // Update -const updated = await db.sqlMigration.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.email.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.sqlMigration.delete({ where: { id: '' } }).execute(); +const deleted = await db.email.delete({ where: { id: '' } }).execute(); ``` ### `db.astMigration` @@ -3879,18 +4136,20 @@ CRUD operations for AstMigration records. | `action` | String | Yes | | `actionId` | UUID | Yes | | `actorId` | UUID | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all astMigration records -const items = await db.astMigration.findMany({ select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const items = await db.astMigration.findMany({ select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.astMigration.findOne({ id: '', select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const item = await db.astMigration.findOne({ id: '', select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute(); +const created = await db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.astMigration.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -3899,85 +4158,87 @@ const updated = await db.astMigration.update({ where: { id: '' }, data: { const deleted = await db.astMigration.delete({ where: { id: '' } }).execute(); ``` -### `db.user` +### `db.appMembership` -CRUD operations for User records. +CRUD operations for AppMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `username` | String | Yes | -| `displayName` | String | Yes | -| `profilePicture` | ConstructiveInternalTypeImage | Yes | -| `searchTsv` | FullText | Yes | -| `type` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `searchTsvRank` | Float | Yes | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isVerified` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all user records -const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +// List all appMembership records +const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Get one by id -const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Create -const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute(); +const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); +const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.user.delete({ where: { id: '' } }).execute(); +const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembership` +### `db.user` -CRUD operations for AppMembership records. +CRUD operations for User records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `username` | String | Yes | +| `displayName` | String | Yes | +| `profilePicture` | ConstructiveInternalTypeImage | Yes | +| `searchTsv` | FullText | Yes | +| `type` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isVerified` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `searchTsvRank` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembership records -const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +// List all user records +const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.user.delete({ where: { id: '' } }).execute(); ``` ### `db.hierarchyModule` @@ -4008,18 +4269,29 @@ CRUD operations for HierarchyModule records. | `getManagersFunction` | String | Yes | | `isManagerOfFunction` | String | Yes | | `createdAt` | Datetime | No | +| `chartEdgesTableNameTrgmSimilarity` | Float | Yes | +| `hierarchySprtTableNameTrgmSimilarity` | Float | Yes | +| `chartEdgeGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `privateSchemaNameTrgmSimilarity` | Float | Yes | +| `sprtTableNameTrgmSimilarity` | Float | Yes | +| `rebuildHierarchyFunctionTrgmSimilarity` | Float | Yes | +| `getSubordinatesFunctionTrgmSimilarity` | Float | Yes | +| `getManagersFunctionTrgmSimilarity` | Float | Yes | +| `isManagerOfFunctionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all hierarchyModule records -const items = await db.hierarchyModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }).execute(); +const items = await db.hierarchyModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.hierarchyModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }).execute(); +const item = await db.hierarchyModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '' }, select: { id: true } }).execute(); +const created = await db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '', chartEdgesTableNameTrgmSimilarity: '', hierarchySprtTableNameTrgmSimilarity: '', chartEdgeGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', privateSchemaNameTrgmSimilarity: '', sprtTableNameTrgmSimilarity: '', rebuildHierarchyFunctionTrgmSimilarity: '', getSubordinatesFunctionTrgmSimilarity: '', getManagersFunctionTrgmSimilarity: '', isManagerOfFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.hierarchyModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -4492,34 +4764,34 @@ resetPassword const result = await db.mutation.resetPassword({ input: '' }).execute(); ``` -### `db.mutation.removeNodeAtPath` +### `db.mutation.bootstrapUser` -removeNodeAtPath +bootstrapUser - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | BootstrapUserInput (required) | ```typescript -const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.bootstrapUser({ input: '' }).execute(); ``` -### `db.mutation.bootstrapUser` +### `db.mutation.removeNodeAtPath` -bootstrapUser +removeNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | BootstrapUserInput (required) | + | `input` | RemoveNodeAtPathInput (required) | ```typescript -const result = await db.mutation.bootstrapUser({ input: '' }).execute(); +const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); ``` ### `db.mutation.setDataAtPath` diff --git a/sdk/constructive-react/src/public/orm/index.ts b/sdk/constructive-react/src/public/orm/index.ts index 238fd616e..2c747b98e 100644 --- a/sdk/constructive-react/src/public/orm/index.ts +++ b/sdk/constructive-react/src/public/orm/index.ts @@ -29,7 +29,6 @@ import { ViewModel } from './models/view'; import { ViewTableModel } from './models/viewTable'; import { ViewGrantModel } from './models/viewGrant'; import { ViewRuleModel } from './models/viewRule'; -import { TableModuleModel } from './models/tableModule'; import { TableTemplateModuleModel } from './models/tableTemplateModule'; import { SecureTableProvisionModel } from './models/secureTableProvision'; import { RelationProvisionModel } from './models/relationProvision'; @@ -61,7 +60,6 @@ import { MembershipsModuleModel } from './models/membershipsModule'; import { PermissionsModuleModel } from './models/permissionsModule'; import { PhoneNumbersModuleModel } from './models/phoneNumbersModule'; import { ProfilesModuleModel } from './models/profilesModule'; -import { RlsModuleModel } from './models/rlsModule'; import { SecretsModuleModel } from './models/secretsModule'; import { SessionsModuleModel } from './models/sessionsModule'; import { UserAuthModuleModel } from './models/userAuthModule'; @@ -89,25 +87,26 @@ import { OrgClaimedInviteModel } from './models/orgClaimedInvite'; import { RefModel } from './models/ref'; import { StoreModel } from './models/store'; import { AppPermissionDefaultModel } from './models/appPermissionDefault'; +import { CryptoAddressModel } from './models/cryptoAddress'; import { RoleTypeModel } from './models/roleType'; import { OrgPermissionDefaultModel } from './models/orgPermissionDefault'; -import { CryptoAddressModel } from './models/cryptoAddress'; +import { PhoneNumberModel } from './models/phoneNumber'; import { AppLimitDefaultModel } from './models/appLimitDefault'; import { OrgLimitDefaultModel } from './models/orgLimitDefault'; import { ConnectedAccountModel } from './models/connectedAccount'; -import { PhoneNumberModel } from './models/phoneNumber'; -import { MembershipTypeModel } from './models/membershipType'; import { NodeTypeRegistryModel } from './models/nodeTypeRegistry'; +import { MembershipTypeModel } from './models/membershipType'; import { AppMembershipDefaultModel } from './models/appMembershipDefault'; +import { RlsModuleModel } from './models/rlsModule'; import { CommitModel } from './models/commit'; import { OrgMembershipDefaultModel } from './models/orgMembershipDefault'; import { AuditLogModel } from './models/auditLog'; import { AppLevelModel } from './models/appLevel'; -import { EmailModel } from './models/email'; import { SqlMigrationModel } from './models/sqlMigration'; +import { EmailModel } from './models/email'; import { AstMigrationModel } from './models/astMigration'; -import { UserModel } from './models/user'; import { AppMembershipModel } from './models/appMembership'; +import { UserModel } from './models/user'; import { HierarchyModuleModel } from './models/hierarchyModule'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -168,7 +167,6 @@ export function createClient(config: OrmClientConfig) { viewTable: new ViewTableModel(client), viewGrant: new ViewGrantModel(client), viewRule: new ViewRuleModel(client), - tableModule: new TableModuleModel(client), tableTemplateModule: new TableTemplateModuleModel(client), secureTableProvision: new SecureTableProvisionModel(client), relationProvision: new RelationProvisionModel(client), @@ -200,7 +198,6 @@ export function createClient(config: OrmClientConfig) { permissionsModule: new PermissionsModuleModel(client), phoneNumbersModule: new PhoneNumbersModuleModel(client), profilesModule: new ProfilesModuleModel(client), - rlsModule: new RlsModuleModel(client), secretsModule: new SecretsModuleModel(client), sessionsModule: new SessionsModuleModel(client), userAuthModule: new UserAuthModuleModel(client), @@ -228,25 +225,26 @@ export function createClient(config: OrmClientConfig) { ref: new RefModel(client), store: new StoreModel(client), appPermissionDefault: new AppPermissionDefaultModel(client), + cryptoAddress: new CryptoAddressModel(client), roleType: new RoleTypeModel(client), orgPermissionDefault: new OrgPermissionDefaultModel(client), - cryptoAddress: new CryptoAddressModel(client), + phoneNumber: new PhoneNumberModel(client), appLimitDefault: new AppLimitDefaultModel(client), orgLimitDefault: new OrgLimitDefaultModel(client), connectedAccount: new ConnectedAccountModel(client), - phoneNumber: new PhoneNumberModel(client), - membershipType: new MembershipTypeModel(client), nodeTypeRegistry: new NodeTypeRegistryModel(client), + membershipType: new MembershipTypeModel(client), appMembershipDefault: new AppMembershipDefaultModel(client), + rlsModule: new RlsModuleModel(client), commit: new CommitModel(client), orgMembershipDefault: new OrgMembershipDefaultModel(client), auditLog: new AuditLogModel(client), appLevel: new AppLevelModel(client), - email: new EmailModel(client), sqlMigration: new SqlMigrationModel(client), + email: new EmailModel(client), astMigration: new AstMigrationModel(client), - user: new UserModel(client), appMembership: new AppMembershipModel(client), + user: new UserModel(client), hierarchyModule: new HierarchyModuleModel(client), query: createQueryOperations(client), mutation: createMutationOperations(client), diff --git a/sdk/constructive-react/src/public/orm/input-types.ts b/sdk/constructive-react/src/public/orm/input-types.ts index f3a162c68..57cdc3b90 100644 --- a/sdk/constructive-react/src/public/orm/input-types.ts +++ b/sdk/constructive-react/src/public/orm/input-types.ts @@ -163,6 +163,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; @@ -256,6 +263,10 @@ export interface AppPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface OrgPermission { @@ -268,6 +279,10 @@ export interface OrgPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Object { hashUuid?: string | null; @@ -294,6 +309,10 @@ export interface AppLevelRequirement { priority?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Database { id: string; @@ -304,6 +323,14 @@ export interface Database { hash?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `schemaHash`. Returns null when no trgm search filter is active. */ + schemaHashTrgmSimilarity?: number | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Schema { id: string; @@ -320,6 +347,18 @@ export interface Schema { isPublic?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `schemaName`. Returns null when no trgm search filter is active. */ + schemaNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Table { id: string; @@ -341,6 +380,20 @@ export interface Table { inheritsId?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `pluralName`. Returns null when no trgm search filter is active. */ + pluralNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `singularName`. Returns null when no trgm search filter is active. */ + singularNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CheckConstraint { id: string; @@ -357,6 +410,14 @@ export interface CheckConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Field { id: string; @@ -383,6 +444,20 @@ export interface Field { scope?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultValue`. Returns null when no trgm search filter is active. */ + defaultValueTrgmSimilarity?: number | null; + /** TRGM similarity when searching `regexp`. Returns null when no trgm search filter is active. */ + regexpTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ForeignKeyConstraint { id: string; @@ -403,6 +478,20 @@ export interface ForeignKeyConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. */ + deleteActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `updateAction`. Returns null when no trgm search filter is active. */ + updateActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface FullTextSearch { id: string; @@ -426,6 +515,8 @@ export interface Index { indexParams?: Record | null; whereClause?: Record | null; isUnique?: boolean | null; + options?: Record | null; + opClasses?: string | null; smartTags?: Record | null; category?: ObjectCategory | null; module?: string | null; @@ -433,6 +524,14 @@ export interface Index { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `accessMethod`. Returns null when no trgm search filter is active. */ + accessMethodTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Policy { id: string; @@ -452,6 +551,18 @@ export interface Policy { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PrimaryKeyConstraint { id: string; @@ -467,6 +578,14 @@ export interface PrimaryKeyConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface TableGrant { id: string; @@ -478,6 +597,12 @@ export interface TableGrant { isGrant?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Trigger { id: string; @@ -493,6 +618,16 @@ export interface Trigger { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `event`. Returns null when no trgm search filter is active. */ + eventTrgmSimilarity?: number | null; + /** TRGM similarity when searching `functionName`. Returns null when no trgm search filter is active. */ + functionNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UniqueConstraint { id: string; @@ -509,6 +644,16 @@ export interface UniqueConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface View { id: string; @@ -527,6 +672,16 @@ export interface View { module?: string | null; scope?: number | null; tags?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `viewType`. Returns null when no trgm search filter is active. */ + viewTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `filterType`. Returns null when no trgm search filter is active. */ + filterTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Junction table linking views to their joined tables for referential integrity */ export interface ViewTable { @@ -543,6 +698,12 @@ export interface ViewGrant { privilege?: string | null; withGrantOption?: boolean | null; isGrant?: boolean | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** DO INSTEAD rules for views (e.g., read-only enforcement) */ export interface ViewRule { @@ -554,17 +715,14 @@ export interface ViewRule { event?: string | null; /** NOTHING (for read-only) or custom action */ action?: string | null; -} -export interface TableModule { - id: string; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - data?: Record | null; - fields?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `event`. Returns null when no trgm search filter is active. */ + eventTrgmSimilarity?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface TableTemplateModule { id: string; @@ -576,6 +734,12 @@ export interface TableTemplateModule { tableName?: string | null; nodeType?: string | null; data?: Record | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */ export interface SecureTableProvision { @@ -595,6 +759,8 @@ export interface SecureTableProvision { useRls?: boolean | null; /** 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?: Record | null; + /** 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?: Record | null; /** 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 | null; /** 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. */ @@ -613,6 +779,18 @@ export interface SecureTableProvision { policyData?: Record | null; /** 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?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. */ + policyRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. */ + policyNameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** * Provisions relational structure between tables. Supports four relation types: @@ -748,6 +926,28 @@ export interface RelationProvision { outSourceFieldId?: string | null; /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */ outTargetFieldId?: string | null; + /** TRGM similarity when searching `relationType`. Returns null when no trgm search filter is active. */ + relationTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fieldName`. Returns null when no trgm search filter is active. */ + fieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. */ + deleteActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `junctionTableName`. Returns null when no trgm search filter is active. */ + junctionTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sourceFieldName`. Returns null when no trgm search filter is active. */ + sourceFieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `targetFieldName`. Returns null when no trgm search filter is active. */ + targetFieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. */ + policyRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. */ + policyNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SchemaGrant { id: string; @@ -756,6 +956,10 @@ export interface SchemaGrant { granteeName?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface DefaultPrivilege { id: string; @@ -765,6 +969,14 @@ export interface DefaultPrivilege { privilege?: string | null; granteeName?: string | null; isGrant?: boolean | null; + /** TRGM similarity when searching `objectType`. Returns null when no trgm search filter is active. */ + objectTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API */ export interface ApiSchema { @@ -789,6 +1001,10 @@ export interface ApiModule { name?: string | null; /** JSON configuration data for this module */ data?: Record | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site */ export interface Domain { @@ -819,6 +1035,12 @@ export interface SiteMetadatum { description?: string | null; /** Open Graph image for social media previews */ ogImage?: ConstructiveInternalTypeImage | null; + /** TRGM similarity when searching `title`. Returns null when no trgm search filter is active. */ + titleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site */ export interface SiteModule { @@ -832,6 +1054,10 @@ export interface SiteModule { name?: string | null; /** JSON configuration data for this module */ data?: Record | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Theme configuration for a site; stores design tokens, colors, and typography as JSONB */ export interface SiteTheme { @@ -851,6 +1077,12 @@ export interface TriggerFunction { code?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `code`. Returns null when no trgm search filter is active. */ + codeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings */ export interface Api { @@ -868,6 +1100,16 @@ export interface Api { anonRole?: string | null; /** Whether this API is publicly accessible without authentication */ isPublic?: boolean | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. */ + dbnameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `roleName`. Returns null when no trgm search filter is active. */ + roleNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `anonRole`. Returns null when no trgm search filter is active. */ + anonRoleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Top-level site configuration: branding assets, title, and description for a deployed application */ export interface Site { @@ -889,6 +1131,14 @@ export interface Site { logo?: ConstructiveInternalTypeImage | null; /** PostgreSQL database name this site connects to */ dbname?: string | null; + /** TRGM similarity when searching `title`. Returns null when no trgm search filter is active. */ + titleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. */ + dbnameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Mobile and native app configuration linked to a site, including store links and identifiers */ export interface App { @@ -910,6 +1160,14 @@ export interface App { appIdPrefix?: string | null; /** URL to the Google Play Store listing */ playStoreLink?: ConstructiveInternalTypeUrl | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `appStoreId`. Returns null when no trgm search filter is active. */ + appStoreIdTrgmSimilarity?: number | null; + /** TRGM similarity when searching `appIdPrefix`. Returns null when no trgm search filter is active. */ + appIdPrefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ConnectedAccountsModule { id: string; @@ -919,6 +1177,10 @@ export interface ConnectedAccountsModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CryptoAddressesModule { id: string; @@ -929,6 +1191,12 @@ export interface CryptoAddressesModule { ownerTableId?: string | null; tableName?: string | null; cryptoNetwork?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. */ + cryptoNetworkTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CryptoAuthModule { id: string; @@ -945,6 +1213,20 @@ export interface CryptoAuthModule { signInRecordFailure?: string | null; signUpWithKey?: string | null; signInWithChallenge?: string | null; + /** TRGM similarity when searching `userField`. Returns null when no trgm search filter is active. */ + userFieldTrgmSimilarity?: number | null; + /** TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. */ + cryptoNetworkTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInRequestChallenge`. Returns null when no trgm search filter is active. */ + signInRequestChallengeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInRecordFailure`. Returns null when no trgm search filter is active. */ + signInRecordFailureTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signUpWithKey`. Returns null when no trgm search filter is active. */ + signUpWithKeyTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInWithChallenge`. Returns null when no trgm search filter is active. */ + signInWithChallengeTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface DefaultIdsModule { id: string; @@ -963,6 +1245,10 @@ export interface DenormalizedTableField { updateDefaults?: boolean | null; funcName?: string | null; funcOrder?: number | null; + /** TRGM similarity when searching `funcName`. Returns null when no trgm search filter is active. */ + funcNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface EmailsModule { id: string; @@ -972,6 +1258,10 @@ export interface EmailsModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface EncryptedSecretsModule { id: string; @@ -979,6 +1269,10 @@ export interface EncryptedSecretsModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface FieldModule { id: string; @@ -990,6 +1284,10 @@ export interface FieldModule { data?: Record | null; triggers?: string | null; functions?: string | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface InvitesModule { id: string; @@ -1006,6 +1304,16 @@ export interface InvitesModule { prefix?: string | null; membershipType?: number | null; entityTableId?: string | null; + /** TRGM similarity when searching `invitesTableName`. Returns null when no trgm search filter is active. */ + invitesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `claimedInvitesTableName`. Returns null when no trgm search filter is active. */ + claimedInvitesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `submitInviteCodeFunction`. Returns null when no trgm search filter is active. */ + submitInviteCodeFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface LevelsModule { id: string; @@ -1034,6 +1342,38 @@ export interface LevelsModule { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + /** TRGM similarity when searching `stepsTableName`. Returns null when no trgm search filter is active. */ + stepsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `achievementsTableName`. Returns null when no trgm search filter is active. */ + achievementsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelsTableName`. Returns null when no trgm search filter is active. */ + levelsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelRequirementsTableName`. Returns null when no trgm search filter is active. */ + levelRequirementsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `completedStep`. Returns null when no trgm search filter is active. */ + completedStepTrgmSimilarity?: number | null; + /** TRGM similarity when searching `incompletedStep`. Returns null when no trgm search filter is active. */ + incompletedStepTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievement`. Returns null when no trgm search filter is active. */ + tgAchievementTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementToggle`. Returns null when no trgm search filter is active. */ + tgAchievementToggleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementToggleBoolean`. Returns null when no trgm search filter is active. */ + tgAchievementToggleBooleanTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementBoolean`. Returns null when no trgm search filter is active. */ + tgAchievementBooleanTrgmSimilarity?: number | null; + /** TRGM similarity when searching `upsertAchievement`. Returns null when no trgm search filter is active. */ + upsertAchievementTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgUpdateAchievements`. Returns null when no trgm search filter is active. */ + tgUpdateAchievementsTrgmSimilarity?: number | null; + /** TRGM similarity when searching `stepsRequired`. Returns null when no trgm search filter is active. */ + stepsRequiredTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelAchieved`. Returns null when no trgm search filter is active. */ + levelAchievedTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface LimitsModule { id: string; @@ -1054,6 +1394,26 @@ export interface LimitsModule { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. */ + defaultTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitIncrementFunction`. Returns null when no trgm search filter is active. */ + limitIncrementFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitDecrementFunction`. Returns null when no trgm search filter is active. */ + limitDecrementFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitIncrementTrigger`. Returns null when no trgm search filter is active. */ + limitIncrementTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitDecrementTrigger`. Returns null when no trgm search filter is active. */ + limitDecrementTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitUpdateTrigger`. Returns null when no trgm search filter is active. */ + limitUpdateTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitCheckFunction`. Returns null when no trgm search filter is active. */ + limitCheckFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface MembershipTypesModule { id: string; @@ -1061,6 +1421,10 @@ export interface MembershipTypesModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface MembershipsModule { id: string; @@ -1094,6 +1458,32 @@ export interface MembershipsModule { entityIdsByMask?: string | null; entityIdsByPerm?: string | null; entityIdsFunction?: string | null; + /** TRGM similarity when searching `membershipsTableName`. Returns null when no trgm search filter is active. */ + membershipsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `membersTableName`. Returns null when no trgm search filter is active. */ + membersTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `membershipDefaultsTableName`. Returns null when no trgm search filter is active. */ + membershipDefaultsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `grantsTableName`. Returns null when no trgm search filter is active. */ + grantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `adminGrantsTableName`. Returns null when no trgm search filter is active. */ + adminGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `ownerGrantsTableName`. Returns null when no trgm search filter is active. */ + ownerGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `actorMaskCheck`. Returns null when no trgm search filter is active. */ + actorMaskCheckTrgmSimilarity?: number | null; + /** TRGM similarity when searching `actorPermCheck`. Returns null when no trgm search filter is active. */ + actorPermCheckTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsByMask`. Returns null when no trgm search filter is active. */ + entityIdsByMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsByPerm`. Returns null when no trgm search filter is active. */ + entityIdsByPermTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsFunction`. Returns null when no trgm search filter is active. */ + entityIdsFunctionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PermissionsModule { id: string; @@ -1113,6 +1503,22 @@ export interface PermissionsModule { getMask?: string | null; getByMask?: string | null; getMaskByName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. */ + defaultTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getPaddedMask`. Returns null when no trgm search filter is active. */ + getPaddedMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getMask`. Returns null when no trgm search filter is active. */ + getMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getByMask`. Returns null when no trgm search filter is active. */ + getByMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getMaskByName`. Returns null when no trgm search filter is active. */ + getMaskByNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PhoneNumbersModule { id: string; @@ -1122,6 +1528,10 @@ export interface PhoneNumbersModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ProfilesModule { id: string; @@ -1142,20 +1552,18 @@ export interface ProfilesModule { permissionsTableId?: string | null; membershipsTableId?: string | null; prefix?: string | null; -} -export interface RlsModule { - id: string; - databaseId?: string | null; - apiId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - sessionCredentialsTableId?: string | null; - sessionsTableId?: string | null; - usersTableId?: string | null; - authenticate?: string | null; - authenticateStrict?: string | null; - currentRole?: string | null; - currentRoleId?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profilePermissionsTableName`. Returns null when no trgm search filter is active. */ + profilePermissionsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profileGrantsTableName`. Returns null when no trgm search filter is active. */ + profileGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profileDefinitionGrantsTableName`. Returns null when no trgm search filter is active. */ + profileDefinitionGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SecretsModule { id: string; @@ -1163,6 +1571,10 @@ export interface SecretsModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SessionsModule { id: string; @@ -1176,6 +1588,14 @@ export interface SessionsModule { sessionsTable?: string | null; sessionCredentialsTable?: string | null; authSettingsTable?: string | null; + /** TRGM similarity when searching `sessionsTable`. Returns null when no trgm search filter is active. */ + sessionsTableTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sessionCredentialsTable`. Returns null when no trgm search filter is active. */ + sessionCredentialsTableTrgmSimilarity?: number | null; + /** TRGM similarity when searching `authSettingsTable`. Returns null when no trgm search filter is active. */ + authSettingsTableTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UserAuthModule { id: string; @@ -1204,6 +1624,40 @@ export interface UserAuthModule { signInOneTimeTokenFunction?: string | null; oneTimeTokenFunction?: string | null; extendTokenExpires?: string | null; + /** TRGM similarity when searching `auditsTableName`. Returns null when no trgm search filter is active. */ + auditsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInFunction`. Returns null when no trgm search filter is active. */ + signInFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signUpFunction`. Returns null when no trgm search filter is active. */ + signUpFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signOutFunction`. Returns null when no trgm search filter is active. */ + signOutFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `setPasswordFunction`. Returns null when no trgm search filter is active. */ + setPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `resetPasswordFunction`. Returns null when no trgm search filter is active. */ + resetPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `forgotPasswordFunction`. Returns null when no trgm search filter is active. */ + forgotPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sendVerificationEmailFunction`. Returns null when no trgm search filter is active. */ + sendVerificationEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verifyEmailFunction`. Returns null when no trgm search filter is active. */ + verifyEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verifyPasswordFunction`. Returns null when no trgm search filter is active. */ + verifyPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `checkPasswordFunction`. Returns null when no trgm search filter is active. */ + checkPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sendAccountDeletionEmailFunction`. Returns null when no trgm search filter is active. */ + sendAccountDeletionEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAccountFunction`. Returns null when no trgm search filter is active. */ + deleteAccountFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInOneTimeTokenFunction`. Returns null when no trgm search filter is active. */ + signInOneTimeTokenFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `oneTimeTokenFunction`. Returns null when no trgm search filter is active. */ + oneTimeTokenFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `extendTokenExpires`. Returns null when no trgm search filter is active. */ + extendTokenExpiresTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UsersModule { id: string; @@ -1213,6 +1667,12 @@ export interface UsersModule { tableName?: string | null; typeTableId?: string | null; typeTableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `typeTableName`. Returns null when no trgm search filter is active. */ + typeTableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UuidModule { id: string; @@ -1220,6 +1680,12 @@ export interface UuidModule { schemaId?: string | null; uuidFunction?: string | null; uuidSeed?: string | null; + /** TRGM similarity when searching `uuidFunction`. Returns null when no trgm search filter is active. */ + uuidFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `uuidSeed`. Returns null when no trgm search filter is active. */ + uuidSeedTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */ export interface DatabaseProvisionModule { @@ -1246,6 +1712,18 @@ export interface DatabaseProvisionModule { createdAt?: string | null; updatedAt?: string | null; completedAt?: string | null; + /** TRGM similarity when searching `databaseName`. Returns null when no trgm search filter is active. */ + databaseNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `subdomain`. Returns null when no trgm search filter is active. */ + subdomainTrgmSimilarity?: number | null; + /** TRGM similarity when searching `domain`. Returns null when no trgm search filter is active. */ + domainTrgmSimilarity?: number | null; + /** TRGM similarity when searching `status`. Returns null when no trgm search filter is active. */ + statusTrgmSimilarity?: number | null; + /** TRGM similarity when searching `errorMessage`. Returns null when no trgm search filter is active. */ + errorMessageTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of admin role grants and revocations between members */ export interface AppAdminGrant { @@ -1377,6 +1855,10 @@ export interface OrgChartEdge { positionTitle?: string | null; /** Numeric seniority level for this position (higher = more senior) */ positionLevel?: number | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */ export interface OrgChartEdgeGrant { @@ -1397,6 +1879,10 @@ export interface OrgChartEdgeGrant { positionLevel?: number | null; /** Timestamp when this grant or revocation was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface AppLimit { @@ -1468,6 +1954,10 @@ export interface Invite { expiresAt?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of successfully claimed invitations, linking senders to receivers */ export interface ClaimedInvite { @@ -1507,6 +1997,10 @@ export interface OrgInvite { createdAt?: string | null; updatedAt?: string | null; entityId?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of successfully claimed invitations, linking senders to receivers */ export interface OrgClaimedInvite { @@ -1530,6 +2024,10 @@ export interface Ref { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A store represents an isolated object repository within a database. */ export interface Store { @@ -1542,6 +2040,10 @@ export interface Store { /** The current head tree_id for this store. */ hash?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Stores the default permission bitmask assigned to new members upon joining */ export interface AppPermissionDefault { @@ -1549,6 +2051,23 @@ export interface AppPermissionDefault { /** Default permission bitmask applied to new members */ permissions?: string | null; } +/** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ +export interface CryptoAddress { + id: string; + ownerId?: string | null; + /** The cryptocurrency wallet address, validated against network-specific patterns */ + address?: string | null; + /** Whether ownership of this address has been cryptographically verified */ + isVerified?: boolean | null; + /** Whether this is the user's primary cryptocurrency address */ + isPrimary?: boolean | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `address`. Returns null when no trgm search filter is active. */ + addressTrgmSimilarity?: number | null; + /** 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?: number | null; +} export interface RoleType { id: number; name?: string | null; @@ -1561,18 +2080,26 @@ export interface OrgPermissionDefault { /** References the entity these default permissions apply to */ entityId?: string | null; } -/** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ -export interface CryptoAddress { +/** User phone numbers with country code, verification, and primary-number management */ +export interface PhoneNumber { id: string; ownerId?: string | null; - /** The cryptocurrency wallet address, validated against network-specific patterns */ - address?: string | null; - /** Whether ownership of this address has been cryptographically verified */ + /** Country calling code (e.g. +1, +44) */ + cc?: string | null; + /** The phone number without country code */ + number?: string | null; + /** Whether the phone number has been verified via SMS code */ isVerified?: boolean | null; - /** Whether this is the user's primary cryptocurrency address */ + /** Whether this is the user's primary phone number */ isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. */ + ccTrgmSimilarity?: number | null; + /** TRGM similarity when searching `number`. Returns null when no trgm search filter is active. */ + numberTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default maximum values for each named limit, applied when no per-actor override exists */ export interface AppLimitDefault { @@ -1604,32 +2131,12 @@ export interface ConnectedAccount { isVerified?: boolean | null; createdAt?: string | null; updatedAt?: string | null; -} -/** User phone numbers with country code, verification, and primary-number management */ -export interface PhoneNumber { - id: string; - ownerId?: string | null; - /** Country calling code (e.g. +1, +44) */ - cc?: string | null; - /** The phone number without country code */ - number?: string | null; - /** Whether the phone number has been verified via SMS code */ - isVerified?: boolean | null; - /** Whether this is the user's primary phone number */ - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ -export interface MembershipType { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ - name?: string | null; - /** Description of what this membership type represents */ - description?: string | null; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string | null; + /** TRGM similarity when searching `service`. Returns null when no trgm search filter is active. */ + serviceTrgmSimilarity?: number | null; + /** TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. */ + identifierTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). */ export interface NodeTypeRegistry { @@ -1649,6 +2156,35 @@ export interface NodeTypeRegistry { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `slug`. Returns null when no trgm search filter is active. */ + slugTrgmSimilarity?: number | null; + /** TRGM similarity when searching `category`. Returns null when no trgm search filter is active. */ + categoryTrgmSimilarity?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ +export interface MembershipType { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name?: string | null; + /** Description of what this membership type represents */ + description?: string | null; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface AppMembershipDefault { @@ -1662,6 +2198,29 @@ export interface AppMembershipDefault { /** Whether new members are automatically verified upon joining */ isVerified?: boolean | null; } +export interface RlsModule { + id: string; + databaseId?: string | null; + schemaId?: string | null; + privateSchemaId?: string | null; + sessionCredentialsTableId?: string | null; + sessionsTableId?: string | null; + usersTableId?: string | null; + authenticate?: string | null; + authenticateStrict?: string | null; + currentRole?: string | null; + currentRoleId?: string | null; + /** TRGM similarity when searching `authenticate`. Returns null when no trgm search filter is active. */ + authenticateTrgmSimilarity?: number | null; + /** TRGM similarity when searching `authenticateStrict`. Returns null when no trgm search filter is active. */ + authenticateStrictTrgmSimilarity?: number | null; + /** TRGM similarity when searching `currentRole`. Returns null when no trgm search filter is active. */ + currentRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `currentRoleId`. Returns null when no trgm search filter is active. */ + currentRoleIdTrgmSimilarity?: number | null; + /** 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?: number | null; +} /** A commit records changes to the repository. */ export interface Commit { /** The primary unique identifier for the commit. */ @@ -1680,6 +2239,10 @@ export interface Commit { /** The root of the tree */ treeId?: string | null; date?: string | null; + /** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */ + messageTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface OrgMembershipDefault { @@ -1714,6 +2277,10 @@ export interface AuditLog { success?: boolean | null; /** Timestamp when the audit event was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. */ + userAgentTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available levels that users can achieve by completing requirements */ export interface AppLevel { @@ -1728,19 +2295,10 @@ export interface AppLevel { ownerId?: string | null; createdAt?: string | null; updatedAt?: string | null; -} -/** User email addresses with verification and primary-email management */ -export interface Email { - id: string; - ownerId?: string | null; - /** The email address */ - email?: ConstructiveInternalTypeEmail | null; - /** Whether the email address has been verified via confirmation link */ - isVerified?: boolean | null; - /** Whether this is the user's primary email address */ - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SqlMigration { id: number; @@ -1756,6 +2314,33 @@ export interface SqlMigration { action?: string | null; actionId?: string | null; actorId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deploy`. Returns null when no trgm search filter is active. */ + deployTrgmSimilarity?: number | null; + /** TRGM similarity when searching `content`. Returns null when no trgm search filter is active. */ + contentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `revert`. Returns null when no trgm search filter is active. */ + revertTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verify`. Returns null when no trgm search filter is active. */ + verifyTrgmSimilarity?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** User email addresses with verification and primary-email management */ +export interface Email { + id: string; + ownerId?: string | null; + /** The email address */ + email?: ConstructiveInternalTypeEmail | null; + /** Whether the email address has been verified via confirmation link */ + isVerified?: boolean | null; + /** Whether this is the user's primary email address */ + isPrimary?: boolean | null; + createdAt?: string | null; + updatedAt?: string | null; } export interface AstMigration { id: number; @@ -1771,18 +2356,10 @@ export interface AstMigration { action?: string | null; actionId?: string | null; actorId?: string | null; -} -export interface User { - id: string; - username?: string | null; - displayName?: string | null; - profilePicture?: ConstructiveInternalTypeImage | null; - searchTsv?: string | null; - type?: number | null; - createdAt?: string | null; - updatedAt?: string | null; - /** Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. */ - searchTsvRank?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */ export interface AppMembership { @@ -1813,6 +2390,22 @@ export interface AppMembership { actorId?: string | null; profileId?: string | null; } +export interface User { + id: string; + username?: string | null; + displayName?: string | null; + profilePicture?: ConstructiveInternalTypeImage | null; + searchTsv?: string | null; + type?: number | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. */ + searchTsvRank?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** 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?: number | null; +} export interface HierarchyModule { id: string; databaseId?: string | null; @@ -1834,6 +2427,28 @@ export interface HierarchyModule { getManagersFunction?: string | null; isManagerOfFunction?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `chartEdgesTableName`. Returns null when no trgm search filter is active. */ + chartEdgesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `hierarchySprtTableName`. Returns null when no trgm search filter is active. */ + hierarchySprtTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `chartEdgeGrantsTableName`. Returns null when no trgm search filter is active. */ + chartEdgeGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privateSchemaName`. Returns null when no trgm search filter is active. */ + privateSchemaNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sprtTableName`. Returns null when no trgm search filter is active. */ + sprtTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `rebuildHierarchyFunction`. Returns null when no trgm search filter is active. */ + rebuildHierarchyFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getSubordinatesFunction`. Returns null when no trgm search filter is active. */ + getSubordinatesFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getManagersFunction`. Returns null when no trgm search filter is active. */ + getManagersFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `isManagerOfFunction`. Returns null when no trgm search filter is active. */ + isManagerOfFunctionTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -1857,6 +2472,7 @@ export interface ObjectRelations {} export interface AppLevelRequirementRelations {} export interface DatabaseRelations { owner?: User | null; + rlsModule?: RlsModule | null; hierarchyModule?: HierarchyModule | null; schemas?: ConnectionResult; tables?: ConnectionResult
; @@ -1893,7 +2509,6 @@ export interface DatabaseRelations { emailsModules?: ConnectionResult; encryptedSecretsModules?: ConnectionResult; fieldModules?: ConnectionResult; - tableModules?: ConnectionResult; invitesModules?: ConnectionResult; levelsModules?: ConnectionResult; limitsModules?: ConnectionResult; @@ -1902,7 +2517,6 @@ export interface DatabaseRelations { permissionsModules?: ConnectionResult; phoneNumbersModules?: ConnectionResult; profilesModules?: ConnectionResult; - rlsModules?: ConnectionResult; secretsModules?: ConnectionResult; sessionsModules?: ConnectionResult; userAuthModules?: ConnectionResult; @@ -1939,7 +2553,6 @@ export interface TableRelations { uniqueConstraints?: ConnectionResult; views?: ConnectionResult; viewTables?: ConnectionResult; - tableModules?: ConnectionResult; tableTemplateModulesByOwnerTableId?: ConnectionResult; tableTemplateModules?: ConnectionResult; secureTableProvisions?: ConnectionResult; @@ -2007,11 +2620,6 @@ export interface ViewRuleRelations { database?: Database | null; view?: View | null; } -export interface TableModuleRelations { - database?: Database | null; - schema?: Schema | null; - table?: Table | null; -} export interface TableTemplateModuleRelations { database?: Database | null; ownerTable?: Table | null; @@ -2068,7 +2676,6 @@ export interface TriggerFunctionRelations { } export interface ApiRelations { database?: Database | null; - rlsModule?: RlsModule | null; apiModules?: ConnectionResult; apiSchemas?: ConnectionResult; domains?: ConnectionResult; @@ -2216,15 +2823,6 @@ export interface ProfilesModuleRelations { schema?: Schema | null; table?: Table | null; } -export interface RlsModuleRelations { - api?: Api | null; - database?: Database | null; - privateSchema?: Schema | null; - schema?: Schema | null; - sessionCredentialsTable?: Table | null; - sessionsTable?: Table | null; - usersTable?: Table | null; -} export interface SecretsModuleRelations { database?: Database | null; schema?: Schema | null; @@ -2340,11 +2938,14 @@ export interface OrgClaimedInviteRelations { export interface RefRelations {} export interface StoreRelations {} export interface AppPermissionDefaultRelations {} +export interface CryptoAddressRelations { + owner?: User | null; +} export interface RoleTypeRelations {} export interface OrgPermissionDefaultRelations { entity?: User | null; } -export interface CryptoAddressRelations { +export interface PhoneNumberRelations { owner?: User | null; } export interface AppLimitDefaultRelations {} @@ -2352,12 +2953,17 @@ export interface OrgLimitDefaultRelations {} export interface ConnectedAccountRelations { owner?: User | null; } -export interface PhoneNumberRelations { - owner?: User | null; -} -export interface MembershipTypeRelations {} export interface NodeTypeRegistryRelations {} +export interface MembershipTypeRelations {} export interface AppMembershipDefaultRelations {} +export interface RlsModuleRelations { + database?: Database | null; + privateSchema?: Schema | null; + schema?: Schema | null; + sessionCredentialsTable?: Table | null; + sessionsTable?: Table | null; + usersTable?: Table | null; +} export interface CommitRelations {} export interface OrgMembershipDefaultRelations { entity?: User | null; @@ -2368,11 +2974,14 @@ export interface AuditLogRelations { export interface AppLevelRelations { owner?: User | null; } +export interface SqlMigrationRelations {} export interface EmailRelations { owner?: User | null; } -export interface SqlMigrationRelations {} export interface AstMigrationRelations {} +export interface AppMembershipRelations { + actor?: User | null; +} export interface UserRelations { roleType?: RoleType | null; appMembershipByActorId?: AppMembership | null; @@ -2411,9 +3020,6 @@ export interface UserRelations { orgClaimedInvitesByReceiverId?: ConnectionResult; orgClaimedInvitesBySenderId?: ConnectionResult; } -export interface AppMembershipRelations { - actor?: User | null; -} export interface HierarchyModuleRelations { chartEdgeGrantsTable?: Table | null; chartEdgesTable?: Table | null; @@ -2453,7 +3059,6 @@ export type ViewWithRelations = View & ViewRelations; export type ViewTableWithRelations = ViewTable & ViewTableRelations; export type ViewGrantWithRelations = ViewGrant & ViewGrantRelations; export type ViewRuleWithRelations = ViewRule & ViewRuleRelations; -export type TableModuleWithRelations = TableModule & TableModuleRelations; export type TableTemplateModuleWithRelations = TableTemplateModule & TableTemplateModuleRelations; export type SecureTableProvisionWithRelations = SecureTableProvision & SecureTableProvisionRelations; @@ -2491,7 +3096,6 @@ export type MembershipsModuleWithRelations = MembershipsModule & MembershipsModu export type PermissionsModuleWithRelations = PermissionsModule & PermissionsModuleRelations; export type PhoneNumbersModuleWithRelations = PhoneNumbersModule & PhoneNumbersModuleRelations; export type ProfilesModuleWithRelations = ProfilesModule & ProfilesModuleRelations; -export type RlsModuleWithRelations = RlsModule & RlsModuleRelations; export type SecretsModuleWithRelations = SecretsModule & SecretsModuleRelations; export type SessionsModuleWithRelations = SessionsModule & SessionsModuleRelations; export type UserAuthModuleWithRelations = UserAuthModule & UserAuthModuleRelations; @@ -2521,28 +3125,29 @@ export type RefWithRelations = Ref & RefRelations; export type StoreWithRelations = Store & StoreRelations; export type AppPermissionDefaultWithRelations = AppPermissionDefault & AppPermissionDefaultRelations; +export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type OrgPermissionDefaultWithRelations = OrgPermissionDefault & OrgPermissionDefaultRelations; -export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; +export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations; export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations; export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; -export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; -export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations; +export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations; +export type RlsModuleWithRelations = RlsModule & RlsModuleRelations; export type CommitWithRelations = Commit & CommitRelations; export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations; export type AuditLogWithRelations = AuditLog & AuditLogRelations; export type AppLevelWithRelations = AppLevel & AppLevelRelations; -export type EmailWithRelations = Email & EmailRelations; export type SqlMigrationWithRelations = SqlMigration & SqlMigrationRelations; +export type EmailWithRelations = Email & EmailRelations; export type AstMigrationWithRelations = AstMigration & AstMigrationRelations; -export type UserWithRelations = User & UserRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; +export type UserWithRelations = User & UserRelations; export type HierarchyModuleWithRelations = HierarchyModule & HierarchyModuleRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -2563,6 +3168,8 @@ export type AppPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgPermissionSelect = { id?: boolean; @@ -2570,6 +3177,8 @@ export type OrgPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type ObjectSelect = { hashUuid?: boolean; @@ -2590,6 +3199,8 @@ export type AppLevelRequirementSelect = { priority?: boolean; createdAt?: boolean; updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type DatabaseSelect = { id?: boolean; @@ -2600,9 +3211,16 @@ export type DatabaseSelect = { hash?: boolean; createdAt?: boolean; updatedAt?: boolean; + schemaHashTrgmSimilarity?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; + rlsModule?: { + select: RlsModuleSelect; + }; hierarchyModule?: { select: HierarchyModuleSelect; }; @@ -2816,12 +3434,6 @@ export type DatabaseSelect = { filter?: FieldModuleFilter; orderBy?: FieldModuleOrderBy[]; }; - tableModules?: { - select: TableModuleSelect; - first?: number; - filter?: TableModuleFilter; - orderBy?: TableModuleOrderBy[]; - }; invitesModules?: { select: InvitesModuleSelect; first?: number; @@ -2870,12 +3482,6 @@ export type DatabaseSelect = { filter?: ProfilesModuleFilter; orderBy?: ProfilesModuleOrderBy[]; }; - rlsModules?: { - select: RlsModuleSelect; - first?: number; - filter?: RlsModuleFilter; - orderBy?: RlsModuleOrderBy[]; - }; secretsModules?: { select: SecretsModuleSelect; first?: number; @@ -2946,6 +3552,12 @@ export type SchemaSelect = { isPublic?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + schemaNameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3012,6 +3624,13 @@ export type TableSelect = { inheritsId?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + pluralNameTrgmSimilarity?: boolean; + singularNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3093,12 +3712,6 @@ export type TableSelect = { filter?: ViewTableFilter; orderBy?: ViewTableOrderBy[]; }; - tableModules?: { - select: TableModuleSelect; - first?: number; - filter?: TableModuleFilter; - orderBy?: TableModuleOrderBy[]; - }; tableTemplateModulesByOwnerTableId?: { select: TableTemplateModuleSelect; first?: number; @@ -3145,6 +3758,10 @@ export type CheckConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3177,6 +3794,13 @@ export type FieldSelect = { scope?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + defaultValueTrgmSimilarity?: boolean; + regexpTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3203,6 +3827,13 @@ export type ForeignKeyConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + deleteActionTrgmSimilarity?: boolean; + updateActionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3241,6 +3872,8 @@ export type IndexSelect = { indexParams?: boolean; whereClause?: boolean; isUnique?: boolean; + options?: boolean; + opClasses?: boolean; smartTags?: boolean; category?: boolean; module?: boolean; @@ -3248,6 +3881,10 @@ export type IndexSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + accessMethodTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3273,6 +3910,12 @@ export type PolicySelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3294,6 +3937,10 @@ export type PrimaryKeyConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3311,6 +3958,9 @@ export type TableGrantSelect = { isGrant?: boolean; createdAt?: boolean; updatedAt?: boolean; + privilegeTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3332,6 +3982,11 @@ export type TriggerSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + eventTrgmSimilarity?: boolean; + functionNameTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3354,6 +4009,11 @@ export type UniqueConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3378,6 +4038,11 @@ export type ViewSelect = { module?: boolean; scope?: boolean; tags?: boolean; + nameTrgmSimilarity?: boolean; + viewTypeTrgmSimilarity?: boolean; + filterTypeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3426,6 +4091,9 @@ export type ViewGrantSelect = { privilege?: boolean; withGrantOption?: boolean; isGrant?: boolean; + granteeNameTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3440,6 +4108,10 @@ export type ViewRuleSelect = { name?: boolean; event?: boolean; action?: boolean; + nameTrgmSimilarity?: boolean; + eventTrgmSimilarity?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3447,26 +4119,6 @@ export type ViewRuleSelect = { select: ViewSelect; }; }; -export type TableModuleSelect = { - id?: boolean; - databaseId?: boolean; - schemaId?: boolean; - tableId?: boolean; - tableName?: boolean; - nodeType?: boolean; - useRls?: boolean; - data?: boolean; - fields?: boolean; - database?: { - select: DatabaseSelect; - }; - schema?: { - select: SchemaSelect; - }; - table?: { - select: TableSelect; - }; -}; export type TableTemplateModuleSelect = { id?: boolean; databaseId?: boolean; @@ -3477,6 +4129,9 @@ export type TableTemplateModuleSelect = { tableName?: boolean; nodeType?: boolean; data?: boolean; + tableNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3502,6 +4157,7 @@ export type SecureTableProvisionSelect = { nodeType?: boolean; useRls?: boolean; nodeData?: boolean; + fields?: boolean; grantRoles?: boolean; grantPrivileges?: boolean; policyType?: boolean; @@ -3511,6 +4167,12 @@ export type SecureTableProvisionSelect = { policyName?: boolean; policyData?: boolean; outFields?: boolean; + tableNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + policyRoleTrgmSimilarity?: boolean; + policyNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3550,6 +4212,17 @@ export type RelationProvisionSelect = { outJunctionTableId?: boolean; outSourceFieldId?: boolean; outTargetFieldId?: boolean; + relationTypeTrgmSimilarity?: boolean; + fieldNameTrgmSimilarity?: boolean; + deleteActionTrgmSimilarity?: boolean; + junctionTableNameTrgmSimilarity?: boolean; + sourceFieldNameTrgmSimilarity?: boolean; + targetFieldNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + policyRoleTrgmSimilarity?: boolean; + policyNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3567,6 +4240,8 @@ export type SchemaGrantSelect = { granteeName?: boolean; createdAt?: boolean; updatedAt?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3582,6 +4257,10 @@ export type DefaultPrivilegeSelect = { privilege?: boolean; granteeName?: boolean; isGrant?: boolean; + objectTypeTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3610,6 +4289,8 @@ export type ApiModuleSelect = { apiId?: boolean; name?: boolean; data?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; api?: { select: ApiSelect; }; @@ -3641,6 +4322,9 @@ export type SiteMetadatumSelect = { title?: boolean; description?: boolean; ogImage?: boolean; + titleTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3654,6 +4338,8 @@ export type SiteModuleSelect = { siteId?: boolean; name?: boolean; data?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3680,6 +4366,9 @@ export type TriggerFunctionSelect = { code?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + codeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3692,12 +4381,14 @@ export type ApiSelect = { roleName?: boolean; anonRole?: boolean; isPublic?: boolean; + nameTrgmSimilarity?: boolean; + dbnameTrgmSimilarity?: boolean; + roleNameTrgmSimilarity?: boolean; + anonRoleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; - rlsModule?: { - select: RlsModuleSelect; - }; apiModules?: { select: ApiModuleSelect; first?: number; @@ -3727,6 +4418,10 @@ export type SiteSelect = { appleTouchIcon?: boolean; logo?: boolean; dbname?: boolean; + titleTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + dbnameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3768,6 +4463,10 @@ export type AppSelect = { appStoreId?: boolean; appIdPrefix?: boolean; playStoreLink?: boolean; + nameTrgmSimilarity?: boolean; + appStoreIdTrgmSimilarity?: boolean; + appIdPrefixTrgmSimilarity?: boolean; + searchScore?: boolean; site?: { select: SiteSelect; }; @@ -3783,6 +4482,8 @@ export type ConnectedAccountsModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3808,6 +4509,9 @@ export type CryptoAddressesModuleSelect = { ownerTableId?: boolean; tableName?: boolean; cryptoNetwork?: boolean; + tableNameTrgmSimilarity?: boolean; + cryptoNetworkTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3839,6 +4543,13 @@ export type CryptoAuthModuleSelect = { signInRecordFailure?: boolean; signUpWithKey?: boolean; signInWithChallenge?: boolean; + userFieldTrgmSimilarity?: boolean; + cryptoNetworkTrgmSimilarity?: boolean; + signInRequestChallengeTrgmSimilarity?: boolean; + signInRecordFailureTrgmSimilarity?: boolean; + signUpWithKeyTrgmSimilarity?: boolean; + signInWithChallengeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3878,6 +4589,8 @@ export type DenormalizedTableFieldSelect = { updateDefaults?: boolean; funcName?: boolean; funcOrder?: boolean; + funcNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3902,6 +4615,8 @@ export type EmailsModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3924,6 +4639,8 @@ export type EncryptedSecretsModuleSelect = { schemaId?: boolean; tableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3944,6 +4661,8 @@ export type FieldModuleSelect = { data?: boolean; triggers?: boolean; functions?: boolean; + nodeTypeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3972,6 +4691,11 @@ export type InvitesModuleSelect = { prefix?: boolean; membershipType?: boolean; entityTableId?: boolean; + invitesTableNameTrgmSimilarity?: boolean; + claimedInvitesTableNameTrgmSimilarity?: boolean; + submitInviteCodeFunctionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; claimedInvitesTable?: { select: TableSelect; }; @@ -4024,6 +4748,22 @@ export type LevelsModuleSelect = { membershipType?: boolean; entityTableId?: boolean; actorTableId?: boolean; + stepsTableNameTrgmSimilarity?: boolean; + achievementsTableNameTrgmSimilarity?: boolean; + levelsTableNameTrgmSimilarity?: boolean; + levelRequirementsTableNameTrgmSimilarity?: boolean; + completedStepTrgmSimilarity?: boolean; + incompletedStepTrgmSimilarity?: boolean; + tgAchievementTrgmSimilarity?: boolean; + tgAchievementToggleTrgmSimilarity?: boolean; + tgAchievementToggleBooleanTrgmSimilarity?: boolean; + tgAchievementBooleanTrgmSimilarity?: boolean; + upsertAchievementTrgmSimilarity?: boolean; + tgUpdateAchievementsTrgmSimilarity?: boolean; + stepsRequiredTrgmSimilarity?: boolean; + levelAchievedTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; achievementsTable?: { select: TableSelect; }; @@ -4071,6 +4811,16 @@ export type LimitsModuleSelect = { membershipType?: boolean; entityTableId?: boolean; actorTableId?: boolean; + tableNameTrgmSimilarity?: boolean; + defaultTableNameTrgmSimilarity?: boolean; + limitIncrementFunctionTrgmSimilarity?: boolean; + limitDecrementFunctionTrgmSimilarity?: boolean; + limitIncrementTriggerTrgmSimilarity?: boolean; + limitDecrementTriggerTrgmSimilarity?: boolean; + limitUpdateTriggerTrgmSimilarity?: boolean; + limitCheckFunctionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4099,6 +4849,8 @@ export type MembershipTypesModuleSelect = { schemaId?: boolean; tableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4141,6 +4893,19 @@ export type MembershipsModuleSelect = { entityIdsByMask?: boolean; entityIdsByPerm?: boolean; entityIdsFunction?: boolean; + membershipsTableNameTrgmSimilarity?: boolean; + membersTableNameTrgmSimilarity?: boolean; + membershipDefaultsTableNameTrgmSimilarity?: boolean; + grantsTableNameTrgmSimilarity?: boolean; + adminGrantsTableNameTrgmSimilarity?: boolean; + ownerGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + actorMaskCheckTrgmSimilarity?: boolean; + actorPermCheckTrgmSimilarity?: boolean; + entityIdsByMaskTrgmSimilarity?: boolean; + entityIdsByPermTrgmSimilarity?: boolean; + entityIdsFunctionTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4205,6 +4970,14 @@ export type PermissionsModuleSelect = { getMask?: boolean; getByMask?: boolean; getMaskByName?: boolean; + tableNameTrgmSimilarity?: boolean; + defaultTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + getPaddedMaskTrgmSimilarity?: boolean; + getMaskTrgmSimilarity?: boolean; + getByMaskTrgmSimilarity?: boolean; + getMaskByNameTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4235,6 +5008,8 @@ export type PhoneNumbersModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4270,6 +5045,12 @@ export type ProfilesModuleSelect = { permissionsTableId?: boolean; membershipsTableId?: boolean; prefix?: boolean; + tableNameTrgmSimilarity?: boolean; + profilePermissionsTableNameTrgmSimilarity?: boolean; + profileGrantsTableNameTrgmSimilarity?: boolean; + profileDefinitionGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4304,47 +5085,14 @@ export type ProfilesModuleSelect = { select: TableSelect; }; }; -export type RlsModuleSelect = { - id?: boolean; - databaseId?: boolean; - apiId?: boolean; - schemaId?: boolean; - privateSchemaId?: boolean; - sessionCredentialsTableId?: boolean; - sessionsTableId?: boolean; - usersTableId?: boolean; - authenticate?: boolean; - authenticateStrict?: boolean; - currentRole?: boolean; - currentRoleId?: boolean; - api?: { - select: ApiSelect; - }; - database?: { - select: DatabaseSelect; - }; - privateSchema?: { - select: SchemaSelect; - }; - schema?: { - select: SchemaSelect; - }; - sessionCredentialsTable?: { - select: TableSelect; - }; - sessionsTable?: { - select: TableSelect; - }; - usersTable?: { - select: TableSelect; - }; -}; -export type SecretsModuleSelect = { +export type SecretsModuleSelect = { id?: boolean; databaseId?: boolean; schemaId?: boolean; tableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4367,6 +5115,10 @@ export type SessionsModuleSelect = { sessionsTable?: boolean; sessionCredentialsTable?: boolean; authSettingsTable?: boolean; + sessionsTableTrgmSimilarity?: boolean; + sessionCredentialsTableTrgmSimilarity?: boolean; + authSettingsTableTrgmSimilarity?: boolean; + searchScore?: boolean; authSettingsTableByAuthSettingsTableId?: { select: TableSelect; }; @@ -4413,6 +5165,23 @@ export type UserAuthModuleSelect = { signInOneTimeTokenFunction?: boolean; oneTimeTokenFunction?: boolean; extendTokenExpires?: boolean; + auditsTableNameTrgmSimilarity?: boolean; + signInFunctionTrgmSimilarity?: boolean; + signUpFunctionTrgmSimilarity?: boolean; + signOutFunctionTrgmSimilarity?: boolean; + setPasswordFunctionTrgmSimilarity?: boolean; + resetPasswordFunctionTrgmSimilarity?: boolean; + forgotPasswordFunctionTrgmSimilarity?: boolean; + sendVerificationEmailFunctionTrgmSimilarity?: boolean; + verifyEmailFunctionTrgmSimilarity?: boolean; + verifyPasswordFunctionTrgmSimilarity?: boolean; + checkPasswordFunctionTrgmSimilarity?: boolean; + sendAccountDeletionEmailFunctionTrgmSimilarity?: boolean; + deleteAccountFunctionTrgmSimilarity?: boolean; + signInOneTimeTokenFunctionTrgmSimilarity?: boolean; + oneTimeTokenFunctionTrgmSimilarity?: boolean; + extendTokenExpiresTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4446,6 +5215,9 @@ export type UsersModuleSelect = { tableName?: boolean; typeTableId?: boolean; typeTableName?: boolean; + tableNameTrgmSimilarity?: boolean; + typeTableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4465,6 +5237,9 @@ export type UuidModuleSelect = { schemaId?: boolean; uuidFunction?: boolean; uuidSeed?: boolean; + uuidFunctionTrgmSimilarity?: boolean; + uuidSeedTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4487,6 +5262,12 @@ export type DatabaseProvisionModuleSelect = { createdAt?: boolean; updatedAt?: boolean; completedAt?: boolean; + databaseNameTrgmSimilarity?: boolean; + subdomainTrgmSimilarity?: boolean; + domainTrgmSimilarity?: boolean; + statusTrgmSimilarity?: boolean; + errorMessageTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4634,6 +5415,8 @@ export type OrgChartEdgeSelect = { parentId?: boolean; positionTitle?: boolean; positionLevel?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; child?: { select: UserSelect; }; @@ -4654,6 +5437,8 @@ export type OrgChartEdgeGrantSelect = { positionTitle?: boolean; positionLevel?: boolean; createdAt?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; child?: { select: UserSelect; }; @@ -4726,6 +5511,8 @@ export type InviteSelect = { expiresAt?: boolean; createdAt?: boolean; updatedAt?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; sender?: { select: UserSelect; }; @@ -4759,6 +5546,8 @@ export type OrgInviteSelect = { createdAt?: boolean; updatedAt?: boolean; entityId?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; entity?: { select: UserSelect; }; @@ -4793,6 +5582,8 @@ export type RefSelect = { databaseId?: boolean; storeId?: boolean; commitId?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type StoreSelect = { id?: boolean; @@ -4800,11 +5591,27 @@ export type StoreSelect = { databaseId?: boolean; hash?: boolean; createdAt?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppPermissionDefaultSelect = { id?: boolean; permissions?: boolean; }; +export type CryptoAddressSelect = { + id?: boolean; + ownerId?: boolean; + address?: boolean; + isVerified?: boolean; + isPrimary?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + addressTrgmSimilarity?: boolean; + searchScore?: boolean; + owner?: { + select: UserSelect; + }; +}; export type RoleTypeSelect = { id?: boolean; name?: boolean; @@ -4817,14 +5624,18 @@ export type OrgPermissionDefaultSelect = { select: UserSelect; }; }; -export type CryptoAddressSelect = { +export type PhoneNumberSelect = { id?: boolean; ownerId?: boolean; - address?: boolean; + cc?: boolean; + number?: boolean; isVerified?: boolean; isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + ccTrgmSimilarity?: boolean; + numberTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -4848,29 +5659,13 @@ export type ConnectedAccountSelect = { isVerified?: boolean; createdAt?: boolean; updatedAt?: boolean; + serviceTrgmSimilarity?: boolean; + identifierTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; }; -export type PhoneNumberSelect = { - id?: boolean; - ownerId?: boolean; - cc?: boolean; - number?: boolean; - isVerified?: boolean; - isPrimary?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - owner?: { - select: UserSelect; - }; -}; -export type MembershipTypeSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - prefix?: boolean; -}; export type NodeTypeRegistrySelect = { name?: boolean; slug?: boolean; @@ -4881,6 +5676,21 @@ export type NodeTypeRegistrySelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + slugTrgmSimilarity?: boolean; + categoryTrgmSimilarity?: boolean; + displayNameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type MembershipTypeSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + prefix?: boolean; + descriptionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppMembershipDefaultSelect = { id?: boolean; @@ -4891,6 +5701,42 @@ export type AppMembershipDefaultSelect = { isApproved?: boolean; isVerified?: boolean; }; +export type RlsModuleSelect = { + id?: boolean; + databaseId?: boolean; + schemaId?: boolean; + privateSchemaId?: boolean; + sessionCredentialsTableId?: boolean; + sessionsTableId?: boolean; + usersTableId?: boolean; + authenticate?: boolean; + authenticateStrict?: boolean; + currentRole?: boolean; + currentRoleId?: boolean; + authenticateTrgmSimilarity?: boolean; + authenticateStrictTrgmSimilarity?: boolean; + currentRoleTrgmSimilarity?: boolean; + currentRoleIdTrgmSimilarity?: boolean; + searchScore?: boolean; + database?: { + select: DatabaseSelect; + }; + privateSchema?: { + select: SchemaSelect; + }; + schema?: { + select: SchemaSelect; + }; + sessionCredentialsTable?: { + select: TableSelect; + }; + sessionsTable?: { + select: TableSelect; + }; + usersTable?: { + select: TableSelect; + }; +}; export type CommitSelect = { id?: boolean; message?: boolean; @@ -4901,6 +5747,8 @@ export type CommitSelect = { committerId?: boolean; treeId?: boolean; date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMembershipDefaultSelect = { id?: boolean; @@ -4925,6 +5773,8 @@ export type AuditLogSelect = { ipAddress?: boolean; success?: boolean; createdAt?: boolean; + userAgentTrgmSimilarity?: boolean; + searchScore?: boolean; actor?: { select: UserSelect; }; @@ -4937,18 +5787,8 @@ export type AppLevelSelect = { ownerId?: boolean; createdAt?: boolean; updatedAt?: boolean; - owner?: { - select: UserSelect; - }; -}; -export type EmailSelect = { - id?: boolean; - ownerId?: boolean; - email?: boolean; - isVerified?: boolean; - isPrimary?: boolean; - createdAt?: boolean; - updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -4967,6 +5807,25 @@ export type SqlMigrationSelect = { action?: boolean; actionId?: boolean; actorId?: boolean; + nameTrgmSimilarity?: boolean; + deployTrgmSimilarity?: boolean; + contentTrgmSimilarity?: boolean; + revertTrgmSimilarity?: boolean; + verifyTrgmSimilarity?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type EmailSelect = { + id?: boolean; + ownerId?: boolean; + email?: boolean; + isVerified?: boolean; + isPrimary?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + owner?: { + select: UserSelect; + }; }; export type AstMigrationSelect = { id?: boolean; @@ -4982,6 +5841,29 @@ export type AstMigrationSelect = { action?: boolean; actionId?: boolean; actorId?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type AppMembershipSelect = { + id?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + createdBy?: boolean; + updatedBy?: boolean; + isApproved?: boolean; + isBanned?: boolean; + isDisabled?: boolean; + isVerified?: boolean; + isActive?: boolean; + isOwner?: boolean; + isAdmin?: boolean; + permissions?: boolean; + granted?: boolean; + actorId?: boolean; + profileId?: boolean; + actor?: { + select: UserSelect; + }; }; export type UserSelect = { id?: boolean; @@ -4993,6 +5875,8 @@ export type UserSelect = { createdAt?: boolean; updatedAt?: boolean; searchTsvRank?: boolean; + displayNameTrgmSimilarity?: boolean; + searchScore?: boolean; roleType?: { select: RoleTypeSelect; }; @@ -5201,27 +6085,6 @@ export type UserSelect = { orderBy?: OrgClaimedInviteOrderBy[]; }; }; -export type AppMembershipSelect = { - id?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - createdBy?: boolean; - updatedBy?: boolean; - isApproved?: boolean; - isBanned?: boolean; - isDisabled?: boolean; - isVerified?: boolean; - isActive?: boolean; - isOwner?: boolean; - isAdmin?: boolean; - permissions?: boolean; - granted?: boolean; - actorId?: boolean; - profileId?: boolean; - actor?: { - select: UserSelect; - }; -}; export type HierarchyModuleSelect = { id?: boolean; databaseId?: boolean; @@ -5243,6 +6106,17 @@ export type HierarchyModuleSelect = { getManagersFunction?: boolean; isManagerOfFunction?: boolean; createdAt?: boolean; + chartEdgesTableNameTrgmSimilarity?: boolean; + hierarchySprtTableNameTrgmSimilarity?: boolean; + chartEdgeGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + privateSchemaNameTrgmSimilarity?: boolean; + sprtTableNameTrgmSimilarity?: boolean; + rebuildHierarchyFunctionTrgmSimilarity?: boolean; + getSubordinatesFunctionTrgmSimilarity?: boolean; + getManagersFunctionTrgmSimilarity?: boolean; + isManagerOfFunctionTrgmSimilarity?: boolean; + searchScore?: boolean; chartEdgeGrantsTable?: { select: TableSelect; }; @@ -5296,6 +6170,8 @@ export interface AppPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppPermissionFilter[]; or?: AppPermissionFilter[]; not?: AppPermissionFilter; @@ -5306,6 +6182,8 @@ export interface OrgPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgPermissionFilter[]; or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; @@ -5332,6 +6210,8 @@ export interface AppLevelRequirementFilter { priority?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelRequirementFilter[]; or?: AppLevelRequirementFilter[]; not?: AppLevelRequirementFilter; @@ -5345,6 +6225,10 @@ export interface DatabaseFilter { hash?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + schemaHashTrgmSimilarity?: FloatFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DatabaseFilter[]; or?: DatabaseFilter[]; not?: DatabaseFilter; @@ -5364,6 +6248,12 @@ export interface SchemaFilter { isPublic?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + schemaNameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SchemaFilter[]; or?: SchemaFilter[]; not?: SchemaFilter; @@ -5388,6 +6278,13 @@ export interface TableFilter { inheritsId?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + pluralNameTrgmSimilarity?: FloatFilter; + singularNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableFilter[]; or?: TableFilter[]; not?: TableFilter; @@ -5407,6 +6304,10 @@ export interface CheckConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CheckConstraintFilter[]; or?: CheckConstraintFilter[]; not?: CheckConstraintFilter; @@ -5436,6 +6337,13 @@ export interface FieldFilter { scope?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + defaultValueTrgmSimilarity?: FloatFilter; + regexpTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: FieldFilter[]; or?: FieldFilter[]; not?: FieldFilter; @@ -5459,6 +6367,13 @@ export interface ForeignKeyConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + deleteActionTrgmSimilarity?: FloatFilter; + updateActionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ForeignKeyConstraintFilter[]; or?: ForeignKeyConstraintFilter[]; not?: ForeignKeyConstraintFilter; @@ -5488,6 +6403,8 @@ export interface IndexFilter { indexParams?: JSONFilter; whereClause?: JSONFilter; isUnique?: BooleanFilter; + options?: JSONFilter; + opClasses?: StringFilter; smartTags?: JSONFilter; category?: StringFilter; module?: StringFilter; @@ -5495,6 +6412,10 @@ export interface IndexFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + accessMethodTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: IndexFilter[]; or?: IndexFilter[]; not?: IndexFilter; @@ -5517,6 +6438,12 @@ export interface PolicyFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PolicyFilter[]; or?: PolicyFilter[]; not?: PolicyFilter; @@ -5535,6 +6462,10 @@ export interface PrimaryKeyConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PrimaryKeyConstraintFilter[]; or?: PrimaryKeyConstraintFilter[]; not?: PrimaryKeyConstraintFilter; @@ -5549,6 +6480,9 @@ export interface TableGrantFilter { isGrant?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + privilegeTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableGrantFilter[]; or?: TableGrantFilter[]; not?: TableGrantFilter; @@ -5567,6 +6501,11 @@ export interface TriggerFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + eventTrgmSimilarity?: FloatFilter; + functionNameTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TriggerFilter[]; or?: TriggerFilter[]; not?: TriggerFilter; @@ -5586,6 +6525,11 @@ export interface UniqueConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UniqueConstraintFilter[]; or?: UniqueConstraintFilter[]; not?: UniqueConstraintFilter; @@ -5607,6 +6551,11 @@ export interface ViewFilter { module?: StringFilter; scope?: IntFilter; tags?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + viewTypeTrgmSimilarity?: FloatFilter; + filterTypeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewFilter[]; or?: ViewFilter[]; not?: ViewFilter; @@ -5628,6 +6577,9 @@ export interface ViewGrantFilter { privilege?: StringFilter; withGrantOption?: BooleanFilter; isGrant?: BooleanFilter; + granteeNameTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewGrantFilter[]; or?: ViewGrantFilter[]; not?: ViewGrantFilter; @@ -5639,24 +6591,14 @@ export interface ViewRuleFilter { name?: StringFilter; event?: StringFilter; action?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + eventTrgmSimilarity?: FloatFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewRuleFilter[]; or?: ViewRuleFilter[]; not?: ViewRuleFilter; } -export interface TableModuleFilter { - id?: UUIDFilter; - databaseId?: UUIDFilter; - schemaId?: UUIDFilter; - tableId?: UUIDFilter; - tableName?: StringFilter; - nodeType?: StringFilter; - useRls?: BooleanFilter; - data?: JSONFilter; - fields?: UUIDFilter; - and?: TableModuleFilter[]; - or?: TableModuleFilter[]; - not?: TableModuleFilter; -} export interface TableTemplateModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; @@ -5667,6 +6609,9 @@ export interface TableTemplateModuleFilter { tableName?: StringFilter; nodeType?: StringFilter; data?: JSONFilter; + tableNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableTemplateModuleFilter[]; or?: TableTemplateModuleFilter[]; not?: TableTemplateModuleFilter; @@ -5680,6 +6625,7 @@ export interface SecureTableProvisionFilter { nodeType?: StringFilter; useRls?: BooleanFilter; nodeData?: JSONFilter; + fields?: JSONFilter; grantRoles?: StringFilter; grantPrivileges?: JSONFilter; policyType?: StringFilter; @@ -5689,6 +6635,12 @@ export interface SecureTableProvisionFilter { policyName?: StringFilter; policyData?: JSONFilter; outFields?: UUIDFilter; + tableNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + policyRoleTrgmSimilarity?: FloatFilter; + policyNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SecureTableProvisionFilter[]; or?: SecureTableProvisionFilter[]; not?: SecureTableProvisionFilter; @@ -5722,6 +6674,17 @@ export interface RelationProvisionFilter { outJunctionTableId?: UUIDFilter; outSourceFieldId?: UUIDFilter; outTargetFieldId?: UUIDFilter; + relationTypeTrgmSimilarity?: FloatFilter; + fieldNameTrgmSimilarity?: FloatFilter; + deleteActionTrgmSimilarity?: FloatFilter; + junctionTableNameTrgmSimilarity?: FloatFilter; + sourceFieldNameTrgmSimilarity?: FloatFilter; + targetFieldNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + policyRoleTrgmSimilarity?: FloatFilter; + policyNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RelationProvisionFilter[]; or?: RelationProvisionFilter[]; not?: RelationProvisionFilter; @@ -5733,6 +6696,8 @@ export interface SchemaGrantFilter { granteeName?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SchemaGrantFilter[]; or?: SchemaGrantFilter[]; not?: SchemaGrantFilter; @@ -5745,6 +6710,10 @@ export interface DefaultPrivilegeFilter { privilege?: StringFilter; granteeName?: StringFilter; isGrant?: BooleanFilter; + objectTypeTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DefaultPrivilegeFilter[]; or?: DefaultPrivilegeFilter[]; not?: DefaultPrivilegeFilter; @@ -5764,6 +6733,8 @@ export interface ApiModuleFilter { apiId?: UUIDFilter; name?: StringFilter; data?: JSONFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ApiModuleFilter[]; or?: ApiModuleFilter[]; not?: ApiModuleFilter; @@ -5786,6 +6757,9 @@ export interface SiteMetadatumFilter { title?: StringFilter; description?: StringFilter; ogImage?: StringFilter; + titleTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteMetadatumFilter[]; or?: SiteMetadatumFilter[]; not?: SiteMetadatumFilter; @@ -5796,6 +6770,8 @@ export interface SiteModuleFilter { siteId?: UUIDFilter; name?: StringFilter; data?: JSONFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteModuleFilter[]; or?: SiteModuleFilter[]; not?: SiteModuleFilter; @@ -5816,6 +6792,9 @@ export interface TriggerFunctionFilter { code?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + codeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TriggerFunctionFilter[]; or?: TriggerFunctionFilter[]; not?: TriggerFunctionFilter; @@ -5828,6 +6807,11 @@ export interface ApiFilter { roleName?: StringFilter; anonRole?: StringFilter; isPublic?: BooleanFilter; + nameTrgmSimilarity?: FloatFilter; + dbnameTrgmSimilarity?: FloatFilter; + roleNameTrgmSimilarity?: FloatFilter; + anonRoleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ApiFilter[]; or?: ApiFilter[]; not?: ApiFilter; @@ -5842,6 +6826,10 @@ export interface SiteFilter { appleTouchIcon?: StringFilter; logo?: StringFilter; dbname?: StringFilter; + titleTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + dbnameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteFilter[]; or?: SiteFilter[]; not?: SiteFilter; @@ -5856,6 +6844,10 @@ export interface AppFilter { appStoreId?: StringFilter; appIdPrefix?: StringFilter; playStoreLink?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + appStoreIdTrgmSimilarity?: FloatFilter; + appIdPrefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppFilter[]; or?: AppFilter[]; not?: AppFilter; @@ -5868,6 +6860,8 @@ export interface ConnectedAccountsModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountsModuleFilter[]; or?: ConnectedAccountsModuleFilter[]; not?: ConnectedAccountsModuleFilter; @@ -5881,6 +6875,9 @@ export interface CryptoAddressesModuleFilter { ownerTableId?: UUIDFilter; tableName?: StringFilter; cryptoNetwork?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + cryptoNetworkTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAddressesModuleFilter[]; or?: CryptoAddressesModuleFilter[]; not?: CryptoAddressesModuleFilter; @@ -5900,6 +6897,13 @@ export interface CryptoAuthModuleFilter { signInRecordFailure?: StringFilter; signUpWithKey?: StringFilter; signInWithChallenge?: StringFilter; + userFieldTrgmSimilarity?: FloatFilter; + cryptoNetworkTrgmSimilarity?: FloatFilter; + signInRequestChallengeTrgmSimilarity?: FloatFilter; + signInRecordFailureTrgmSimilarity?: FloatFilter; + signUpWithKeyTrgmSimilarity?: FloatFilter; + signInWithChallengeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAuthModuleFilter[]; or?: CryptoAuthModuleFilter[]; not?: CryptoAuthModuleFilter; @@ -5924,6 +6928,8 @@ export interface DenormalizedTableFieldFilter { updateDefaults?: BooleanFilter; funcName?: StringFilter; funcOrder?: IntFilter; + funcNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DenormalizedTableFieldFilter[]; or?: DenormalizedTableFieldFilter[]; not?: DenormalizedTableFieldFilter; @@ -5936,6 +6942,8 @@ export interface EmailsModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: EmailsModuleFilter[]; or?: EmailsModuleFilter[]; not?: EmailsModuleFilter; @@ -5946,6 +6954,8 @@ export interface EncryptedSecretsModuleFilter { schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: EncryptedSecretsModuleFilter[]; or?: EncryptedSecretsModuleFilter[]; not?: EncryptedSecretsModuleFilter; @@ -5960,6 +6970,8 @@ export interface FieldModuleFilter { data?: JSONFilter; triggers?: StringFilter; functions?: StringFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: FieldModuleFilter[]; or?: FieldModuleFilter[]; not?: FieldModuleFilter; @@ -5979,6 +6991,11 @@ export interface InvitesModuleFilter { prefix?: StringFilter; membershipType?: IntFilter; entityTableId?: UUIDFilter; + invitesTableNameTrgmSimilarity?: FloatFilter; + claimedInvitesTableNameTrgmSimilarity?: FloatFilter; + submitInviteCodeFunctionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: InvitesModuleFilter[]; or?: InvitesModuleFilter[]; not?: InvitesModuleFilter; @@ -6010,6 +7027,22 @@ export interface LevelsModuleFilter { membershipType?: IntFilter; entityTableId?: UUIDFilter; actorTableId?: UUIDFilter; + stepsTableNameTrgmSimilarity?: FloatFilter; + achievementsTableNameTrgmSimilarity?: FloatFilter; + levelsTableNameTrgmSimilarity?: FloatFilter; + levelRequirementsTableNameTrgmSimilarity?: FloatFilter; + completedStepTrgmSimilarity?: FloatFilter; + incompletedStepTrgmSimilarity?: FloatFilter; + tgAchievementTrgmSimilarity?: FloatFilter; + tgAchievementToggleTrgmSimilarity?: FloatFilter; + tgAchievementToggleBooleanTrgmSimilarity?: FloatFilter; + tgAchievementBooleanTrgmSimilarity?: FloatFilter; + upsertAchievementTrgmSimilarity?: FloatFilter; + tgUpdateAchievementsTrgmSimilarity?: FloatFilter; + stepsRequiredTrgmSimilarity?: FloatFilter; + levelAchievedTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: LevelsModuleFilter[]; or?: LevelsModuleFilter[]; not?: LevelsModuleFilter; @@ -6033,6 +7066,16 @@ export interface LimitsModuleFilter { membershipType?: IntFilter; entityTableId?: UUIDFilter; actorTableId?: UUIDFilter; + tableNameTrgmSimilarity?: FloatFilter; + defaultTableNameTrgmSimilarity?: FloatFilter; + limitIncrementFunctionTrgmSimilarity?: FloatFilter; + limitDecrementFunctionTrgmSimilarity?: FloatFilter; + limitIncrementTriggerTrgmSimilarity?: FloatFilter; + limitDecrementTriggerTrgmSimilarity?: FloatFilter; + limitUpdateTriggerTrgmSimilarity?: FloatFilter; + limitCheckFunctionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: LimitsModuleFilter[]; or?: LimitsModuleFilter[]; not?: LimitsModuleFilter; @@ -6043,6 +7086,8 @@ export interface MembershipTypesModuleFilter { schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: MembershipTypesModuleFilter[]; or?: MembershipTypesModuleFilter[]; not?: MembershipTypesModuleFilter; @@ -6079,6 +7124,19 @@ export interface MembershipsModuleFilter { entityIdsByMask?: StringFilter; entityIdsByPerm?: StringFilter; entityIdsFunction?: StringFilter; + membershipsTableNameTrgmSimilarity?: FloatFilter; + membersTableNameTrgmSimilarity?: FloatFilter; + membershipDefaultsTableNameTrgmSimilarity?: FloatFilter; + grantsTableNameTrgmSimilarity?: FloatFilter; + adminGrantsTableNameTrgmSimilarity?: FloatFilter; + ownerGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + actorMaskCheckTrgmSimilarity?: FloatFilter; + actorPermCheckTrgmSimilarity?: FloatFilter; + entityIdsByMaskTrgmSimilarity?: FloatFilter; + entityIdsByPermTrgmSimilarity?: FloatFilter; + entityIdsFunctionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: MembershipsModuleFilter[]; or?: MembershipsModuleFilter[]; not?: MembershipsModuleFilter; @@ -6101,6 +7159,14 @@ export interface PermissionsModuleFilter { getMask?: StringFilter; getByMask?: StringFilter; getMaskByName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + defaultTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + getPaddedMaskTrgmSimilarity?: FloatFilter; + getMaskTrgmSimilarity?: FloatFilter; + getByMaskTrgmSimilarity?: FloatFilter; + getMaskByNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PermissionsModuleFilter[]; or?: PermissionsModuleFilter[]; not?: PermissionsModuleFilter; @@ -6113,6 +7179,8 @@ export interface PhoneNumbersModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PhoneNumbersModuleFilter[]; or?: PhoneNumbersModuleFilter[]; not?: PhoneNumbersModuleFilter; @@ -6136,33 +7204,24 @@ export interface ProfilesModuleFilter { permissionsTableId?: UUIDFilter; membershipsTableId?: UUIDFilter; prefix?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + profilePermissionsTableNameTrgmSimilarity?: FloatFilter; + profileGrantsTableNameTrgmSimilarity?: FloatFilter; + profileDefinitionGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ProfilesModuleFilter[]; or?: ProfilesModuleFilter[]; not?: ProfilesModuleFilter; } -export interface RlsModuleFilter { - id?: UUIDFilter; - databaseId?: UUIDFilter; - apiId?: UUIDFilter; - schemaId?: UUIDFilter; - privateSchemaId?: UUIDFilter; - sessionCredentialsTableId?: UUIDFilter; - sessionsTableId?: UUIDFilter; - usersTableId?: UUIDFilter; - authenticate?: StringFilter; - authenticateStrict?: StringFilter; - currentRole?: StringFilter; - currentRoleId?: StringFilter; - and?: RlsModuleFilter[]; - or?: RlsModuleFilter[]; - not?: RlsModuleFilter; -} export interface SecretsModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SecretsModuleFilter[]; or?: SecretsModuleFilter[]; not?: SecretsModuleFilter; @@ -6179,6 +7238,10 @@ export interface SessionsModuleFilter { sessionsTable?: StringFilter; sessionCredentialsTable?: StringFilter; authSettingsTable?: StringFilter; + sessionsTableTrgmSimilarity?: FloatFilter; + sessionCredentialsTableTrgmSimilarity?: FloatFilter; + authSettingsTableTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SessionsModuleFilter[]; or?: SessionsModuleFilter[]; not?: SessionsModuleFilter; @@ -6210,6 +7273,23 @@ export interface UserAuthModuleFilter { signInOneTimeTokenFunction?: StringFilter; oneTimeTokenFunction?: StringFilter; extendTokenExpires?: StringFilter; + auditsTableNameTrgmSimilarity?: FloatFilter; + signInFunctionTrgmSimilarity?: FloatFilter; + signUpFunctionTrgmSimilarity?: FloatFilter; + signOutFunctionTrgmSimilarity?: FloatFilter; + setPasswordFunctionTrgmSimilarity?: FloatFilter; + resetPasswordFunctionTrgmSimilarity?: FloatFilter; + forgotPasswordFunctionTrgmSimilarity?: FloatFilter; + sendVerificationEmailFunctionTrgmSimilarity?: FloatFilter; + verifyEmailFunctionTrgmSimilarity?: FloatFilter; + verifyPasswordFunctionTrgmSimilarity?: FloatFilter; + checkPasswordFunctionTrgmSimilarity?: FloatFilter; + sendAccountDeletionEmailFunctionTrgmSimilarity?: FloatFilter; + deleteAccountFunctionTrgmSimilarity?: FloatFilter; + signInOneTimeTokenFunctionTrgmSimilarity?: FloatFilter; + oneTimeTokenFunctionTrgmSimilarity?: FloatFilter; + extendTokenExpiresTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UserAuthModuleFilter[]; or?: UserAuthModuleFilter[]; not?: UserAuthModuleFilter; @@ -6222,6 +7302,9 @@ export interface UsersModuleFilter { tableName?: StringFilter; typeTableId?: UUIDFilter; typeTableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + typeTableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UsersModuleFilter[]; or?: UsersModuleFilter[]; not?: UsersModuleFilter; @@ -6232,6 +7315,9 @@ export interface UuidModuleFilter { schemaId?: UUIDFilter; uuidFunction?: StringFilter; uuidSeed?: StringFilter; + uuidFunctionTrgmSimilarity?: FloatFilter; + uuidSeedTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UuidModuleFilter[]; or?: UuidModuleFilter[]; not?: UuidModuleFilter; @@ -6251,6 +7337,12 @@ export interface DatabaseProvisionModuleFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; completedAt?: DatetimeFilter; + databaseNameTrgmSimilarity?: FloatFilter; + subdomainTrgmSimilarity?: FloatFilter; + domainTrgmSimilarity?: FloatFilter; + statusTrgmSimilarity?: FloatFilter; + errorMessageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DatabaseProvisionModuleFilter[]; or?: DatabaseProvisionModuleFilter[]; not?: DatabaseProvisionModuleFilter; @@ -6365,6 +7457,8 @@ export interface OrgChartEdgeFilter { parentId?: UUIDFilter; positionTitle?: StringFilter; positionLevel?: IntFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeFilter[]; or?: OrgChartEdgeFilter[]; not?: OrgChartEdgeFilter; @@ -6379,6 +7473,8 @@ export interface OrgChartEdgeGrantFilter { positionTitle?: StringFilter; positionLevel?: IntFilter; createdAt?: DatetimeFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeGrantFilter[]; or?: OrgChartEdgeGrantFilter[]; not?: OrgChartEdgeGrantFilter; @@ -6439,6 +7535,8 @@ export interface InviteFilter { expiresAt?: DatetimeFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: InviteFilter[]; or?: InviteFilter[]; not?: InviteFilter; @@ -6469,6 +7567,8 @@ export interface OrgInviteFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; entityId?: UUIDFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgInviteFilter[]; or?: OrgInviteFilter[]; not?: OrgInviteFilter; @@ -6491,6 +7591,8 @@ export interface RefFilter { databaseId?: UUIDFilter; storeId?: UUIDFilter; commitId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RefFilter[]; or?: RefFilter[]; not?: RefFilter; @@ -6501,6 +7603,8 @@ export interface StoreFilter { databaseId?: UUIDFilter; hash?: UUIDFilter; createdAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: StoreFilter[]; or?: StoreFilter[]; not?: StoreFilter; @@ -6512,6 +7616,20 @@ export interface AppPermissionDefaultFilter { or?: AppPermissionDefaultFilter[]; not?: AppPermissionDefaultFilter; } +export interface CryptoAddressFilter { + id?: UUIDFilter; + ownerId?: UUIDFilter; + address?: StringFilter; + isVerified?: BooleanFilter; + isPrimary?: BooleanFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + addressTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: CryptoAddressFilter[]; + or?: CryptoAddressFilter[]; + not?: CryptoAddressFilter; +} export interface RoleTypeFilter { id?: IntFilter; name?: StringFilter; @@ -6527,17 +7645,21 @@ export interface OrgPermissionDefaultFilter { or?: OrgPermissionDefaultFilter[]; not?: OrgPermissionDefaultFilter; } -export interface CryptoAddressFilter { +export interface PhoneNumberFilter { id?: UUIDFilter; ownerId?: UUIDFilter; - address?: StringFilter; + cc?: StringFilter; + number?: StringFilter; isVerified?: BooleanFilter; isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; - and?: CryptoAddressFilter[]; - or?: CryptoAddressFilter[]; - not?: CryptoAddressFilter; + ccTrgmSimilarity?: FloatFilter; + numberTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: PhoneNumberFilter[]; + or?: PhoneNumberFilter[]; + not?: PhoneNumberFilter; } export interface AppLimitDefaultFilter { id?: UUIDFilter; @@ -6564,32 +7686,13 @@ export interface ConnectedAccountFilter { isVerified?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + serviceTrgmSimilarity?: FloatFilter; + identifierTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountFilter[]; or?: ConnectedAccountFilter[]; not?: ConnectedAccountFilter; } -export interface PhoneNumberFilter { - id?: UUIDFilter; - ownerId?: UUIDFilter; - cc?: StringFilter; - number?: StringFilter; - isVerified?: BooleanFilter; - isPrimary?: BooleanFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: PhoneNumberFilter[]; - or?: PhoneNumberFilter[]; - not?: PhoneNumberFilter; -} -export interface MembershipTypeFilter { - id?: IntFilter; - name?: StringFilter; - description?: StringFilter; - prefix?: StringFilter; - and?: MembershipTypeFilter[]; - or?: MembershipTypeFilter[]; - not?: MembershipTypeFilter; -} export interface NodeTypeRegistryFilter { name?: StringFilter; slug?: StringFilter; @@ -6600,10 +7703,28 @@ export interface NodeTypeRegistryFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + slugTrgmSimilarity?: FloatFilter; + categoryTrgmSimilarity?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: NodeTypeRegistryFilter[]; or?: NodeTypeRegistryFilter[]; not?: NodeTypeRegistryFilter; } +export interface MembershipTypeFilter { + id?: IntFilter; + name?: StringFilter; + description?: StringFilter; + prefix?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: MembershipTypeFilter[]; + or?: MembershipTypeFilter[]; + not?: MembershipTypeFilter; +} export interface AppMembershipDefaultFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -6616,20 +7737,43 @@ export interface AppMembershipDefaultFilter { or?: AppMembershipDefaultFilter[]; not?: AppMembershipDefaultFilter; } -export interface CommitFilter { +export interface RlsModuleFilter { id?: UUIDFilter; - message?: StringFilter; databaseId?: UUIDFilter; - storeId?: UUIDFilter; - parentIds?: UUIDFilter; - authorId?: UUIDFilter; - committerId?: UUIDFilter; - treeId?: UUIDFilter; - date?: DatetimeFilter; - and?: CommitFilter[]; - or?: CommitFilter[]; - not?: CommitFilter; -} + schemaId?: UUIDFilter; + privateSchemaId?: UUIDFilter; + sessionCredentialsTableId?: UUIDFilter; + sessionsTableId?: UUIDFilter; + usersTableId?: UUIDFilter; + authenticate?: StringFilter; + authenticateStrict?: StringFilter; + currentRole?: StringFilter; + currentRoleId?: StringFilter; + authenticateTrgmSimilarity?: FloatFilter; + authenticateStrictTrgmSimilarity?: FloatFilter; + currentRoleTrgmSimilarity?: FloatFilter; + currentRoleIdTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: RlsModuleFilter[]; + or?: RlsModuleFilter[]; + not?: RlsModuleFilter; +} +export interface CommitFilter { + id?: UUIDFilter; + message?: StringFilter; + databaseId?: UUIDFilter; + storeId?: UUIDFilter; + parentIds?: UUIDFilter; + authorId?: UUIDFilter; + committerId?: UUIDFilter; + treeId?: UUIDFilter; + date?: DatetimeFilter; + messageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: CommitFilter[]; + or?: CommitFilter[]; + not?: CommitFilter; +} export interface OrgMembershipDefaultFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -6653,6 +7797,8 @@ export interface AuditLogFilter { ipAddress?: InternetAddressFilter; success?: BooleanFilter; createdAt?: DatetimeFilter; + userAgentTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AuditLogFilter[]; or?: AuditLogFilter[]; not?: AuditLogFilter; @@ -6665,22 +7811,12 @@ export interface AppLevelFilter { ownerId?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelFilter[]; or?: AppLevelFilter[]; not?: AppLevelFilter; } -export interface EmailFilter { - id?: UUIDFilter; - ownerId?: UUIDFilter; - email?: StringFilter; - isVerified?: BooleanFilter; - isPrimary?: BooleanFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: EmailFilter[]; - or?: EmailFilter[]; - not?: EmailFilter; -} export interface SqlMigrationFilter { id?: IntFilter; name?: StringFilter; @@ -6695,10 +7831,29 @@ export interface SqlMigrationFilter { action?: StringFilter; actionId?: UUIDFilter; actorId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + deployTrgmSimilarity?: FloatFilter; + contentTrgmSimilarity?: FloatFilter; + revertTrgmSimilarity?: FloatFilter; + verifyTrgmSimilarity?: FloatFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SqlMigrationFilter[]; or?: SqlMigrationFilter[]; not?: SqlMigrationFilter; } +export interface EmailFilter { + id?: UUIDFilter; + ownerId?: UUIDFilter; + email?: StringFilter; + isVerified?: BooleanFilter; + isPrimary?: BooleanFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + and?: EmailFilter[]; + or?: EmailFilter[]; + not?: EmailFilter; +} export interface AstMigrationFilter { id?: IntFilter; databaseId?: UUIDFilter; @@ -6713,24 +7868,12 @@ export interface AstMigrationFilter { action?: StringFilter; actionId?: UUIDFilter; actorId?: UUIDFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AstMigrationFilter[]; or?: AstMigrationFilter[]; not?: AstMigrationFilter; } -export interface UserFilter { - id?: UUIDFilter; - username?: StringFilter; - displayName?: StringFilter; - profilePicture?: StringFilter; - searchTsv?: FullTextFilter; - type?: IntFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - searchTsvRank?: FloatFilter; - and?: UserFilter[]; - or?: UserFilter[]; - not?: UserFilter; -} export interface AppMembershipFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -6752,1227 +7895,57 @@ export interface AppMembershipFilter { or?: AppMembershipFilter[]; not?: AppMembershipFilter; } -export interface HierarchyModuleFilter { - id?: UUIDFilter; - databaseId?: UUIDFilter; - schemaId?: UUIDFilter; - privateSchemaId?: UUIDFilter; - chartEdgesTableId?: UUIDFilter; - chartEdgesTableName?: StringFilter; - hierarchySprtTableId?: UUIDFilter; - hierarchySprtTableName?: StringFilter; - chartEdgeGrantsTableId?: UUIDFilter; - chartEdgeGrantsTableName?: StringFilter; - entityTableId?: UUIDFilter; - usersTableId?: UUIDFilter; - prefix?: StringFilter; - privateSchemaName?: StringFilter; - sprtTableName?: StringFilter; - rebuildHierarchyFunction?: StringFilter; - getSubordinatesFunction?: StringFilter; - getManagersFunction?: StringFilter; - isManagerOfFunction?: StringFilter; - createdAt?: DatetimeFilter; - and?: HierarchyModuleFilter[]; - or?: HierarchyModuleFilter[]; - not?: HierarchyModuleFilter; -} -// ============ Table Condition Types ============ -export interface OrgGetManagersRecordCondition { - userId?: string | null; - depth?: number | null; -} -export interface OrgGetSubordinatesRecordCondition { - userId?: string | null; - depth?: number | null; -} -export interface GetAllRecordCondition { - path?: string | null; - data?: unknown | null; -} -export interface AppPermissionCondition { - id?: string | null; - name?: string | null; - bitnum?: number | null; - bitstr?: string | null; - description?: string | null; -} -export interface OrgPermissionCondition { - id?: string | null; - name?: string | null; - bitnum?: number | null; - bitstr?: string | null; - description?: string | null; -} -export interface ObjectCondition { - hashUuid?: string | null; - id?: string | null; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: unknown | null; - frzn?: boolean | null; - createdAt?: string | null; -} -export interface AppLevelRequirementCondition { - id?: string | null; - name?: string | null; - level?: string | null; - description?: string | null; - requiredCount?: number | null; - priority?: number | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface DatabaseCondition { - id?: string | null; - ownerId?: string | null; - schemaHash?: string | null; - name?: string | null; - label?: string | null; - hash?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface SchemaCondition { - id?: string | null; - databaseId?: string | null; - name?: string | null; - schemaName?: string | null; - label?: string | null; - description?: string | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - isPublic?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface TableCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - name?: string | null; - label?: string | null; - description?: string | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - useRls?: boolean | null; - timestamps?: boolean | null; - peoplestamps?: boolean | null; - pluralName?: string | null; - singularName?: string | null; - tags?: string | null; - inheritsId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface CheckConstraintCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - type?: string | null; - fieldIds?: string | null; - expr?: unknown | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface FieldCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - label?: string | null; - description?: string | null; - smartTags?: unknown | null; - isRequired?: boolean | null; - defaultValue?: string | null; - defaultValueAst?: unknown | null; - isHidden?: boolean | null; - type?: string | null; - fieldOrder?: number | null; - regexp?: string | null; - chk?: unknown | null; - chkExpr?: unknown | null; - min?: number | null; - max?: number | null; - tags?: string | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface ForeignKeyConstraintCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - description?: string | null; - smartTags?: unknown | null; - type?: string | null; - fieldIds?: string | null; - refTableId?: string | null; - refFieldIds?: string | null; - deleteAction?: string | null; - updateAction?: string | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface FullTextSearchCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - fieldId?: string | null; - fieldIds?: string | null; - weights?: string | null; - langs?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface IndexCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - fieldIds?: string | null; - includeFieldIds?: string | null; - accessMethod?: string | null; - indexParams?: unknown | null; - whereClause?: unknown | null; - isUnique?: boolean | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface PolicyCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - granteeName?: string | null; - privilege?: string | null; - permissive?: boolean | null; - disabled?: boolean | null; - policyType?: string | null; - data?: unknown | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface PrimaryKeyConstraintCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - type?: string | null; - fieldIds?: string | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface TableGrantCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - privilege?: string | null; - granteeName?: string | null; - fieldIds?: string | null; - isGrant?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface TriggerCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - event?: string | null; - functionName?: string | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface UniqueConstraintCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - name?: string | null; - description?: string | null; - smartTags?: unknown | null; - type?: string | null; - fieldIds?: string | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface ViewCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - name?: string | null; - tableId?: string | null; - viewType?: string | null; - data?: unknown | null; - filterType?: string | null; - filterData?: unknown | null; - securityInvoker?: boolean | null; - isReadOnly?: boolean | null; - smartTags?: unknown | null; - category?: unknown | null; - module?: string | null; - scope?: number | null; - tags?: string | null; -} -export interface ViewTableCondition { - id?: string | null; - viewId?: string | null; - tableId?: string | null; - joinOrder?: number | null; -} -export interface ViewGrantCondition { - id?: string | null; - databaseId?: string | null; - viewId?: string | null; - granteeName?: string | null; - privilege?: string | null; - withGrantOption?: boolean | null; - isGrant?: boolean | null; -} -export interface ViewRuleCondition { - id?: string | null; - databaseId?: string | null; - viewId?: string | null; - name?: string | null; - event?: string | null; - action?: string | null; -} -export interface TableModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - data?: unknown | null; - fields?: string | null; -} -export interface TableTemplateModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - ownerTableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - data?: unknown | null; -} -export interface SecureTableProvisionCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - nodeData?: unknown | null; - grantRoles?: string | null; - grantPrivileges?: unknown | null; - policyType?: string | null; - policyPrivileges?: string | null; - policyRole?: string | null; - policyPermissive?: boolean | null; - policyName?: string | null; - policyData?: unknown | null; - outFields?: string | null; -} -export interface RelationProvisionCondition { - id?: string | null; - databaseId?: string | null; - relationType?: string | null; - sourceTableId?: string | null; - targetTableId?: string | null; - fieldName?: string | null; - deleteAction?: string | null; - isRequired?: boolean | null; - junctionTableId?: string | null; - junctionTableName?: string | null; - junctionSchemaId?: string | null; - sourceFieldName?: string | null; - targetFieldName?: string | null; - useCompositeKey?: boolean | null; - nodeType?: string | null; - nodeData?: unknown | null; - grantRoles?: string | null; - grantPrivileges?: unknown | null; - policyType?: string | null; - policyPrivileges?: string | null; - policyRole?: string | null; - policyPermissive?: boolean | null; - policyName?: string | null; - policyData?: unknown | null; - outFieldId?: string | null; - outJunctionTableId?: string | null; - outSourceFieldId?: string | null; - outTargetFieldId?: string | null; -} -export interface SchemaGrantCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - granteeName?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface DefaultPrivilegeCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - objectType?: string | null; - privilege?: string | null; - granteeName?: string | null; - isGrant?: boolean | null; -} -export interface ApiSchemaCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - apiId?: string | null; -} -export interface ApiModuleCondition { - id?: string | null; - databaseId?: string | null; - apiId?: string | null; - name?: string | null; - data?: unknown | null; -} -export interface DomainCondition { - id?: string | null; - databaseId?: string | null; - apiId?: string | null; - siteId?: string | null; - subdomain?: unknown | null; - domain?: unknown | null; -} -export interface SiteMetadatumCondition { - id?: string | null; - databaseId?: string | null; - siteId?: string | null; - title?: string | null; - description?: string | null; - ogImage?: unknown | null; -} -export interface SiteModuleCondition { - id?: string | null; - databaseId?: string | null; - siteId?: string | null; - name?: string | null; - data?: unknown | null; -} -export interface SiteThemeCondition { - id?: string | null; - databaseId?: string | null; - siteId?: string | null; - theme?: unknown | null; -} -export interface TriggerFunctionCondition { - id?: string | null; - databaseId?: string | null; - name?: string | null; - code?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface ApiCondition { - id?: string | null; - databaseId?: string | null; - name?: string | null; - dbname?: string | null; - roleName?: string | null; - anonRole?: string | null; - isPublic?: boolean | null; -} -export interface SiteCondition { - id?: string | null; - databaseId?: string | null; - title?: string | null; - description?: string | null; - ogImage?: unknown | null; - favicon?: unknown | null; - appleTouchIcon?: unknown | null; - logo?: unknown | null; - dbname?: string | null; -} -export interface AppCondition { - id?: string | null; - databaseId?: string | null; - siteId?: string | null; - name?: string | null; - appImage?: unknown | null; - appStoreLink?: unknown | null; - appStoreId?: string | null; - appIdPrefix?: string | null; - playStoreLink?: unknown | null; -} -export interface ConnectedAccountsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - ownerTableId?: string | null; - tableName?: string | null; -} -export interface CryptoAddressesModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - ownerTableId?: string | null; - tableName?: string | null; - cryptoNetwork?: string | null; -} -export interface CryptoAuthModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - usersTableId?: string | null; - secretsTableId?: string | null; - sessionsTableId?: string | null; - sessionCredentialsTableId?: string | null; - addressesTableId?: string | null; - userField?: string | null; - cryptoNetwork?: string | null; - signInRequestChallenge?: string | null; - signInRecordFailure?: string | null; - signUpWithKey?: string | null; - signInWithChallenge?: string | null; -} -export interface DefaultIdsModuleCondition { - id?: string | null; - databaseId?: string | null; -} -export interface DenormalizedTableFieldCondition { - id?: string | null; - databaseId?: string | null; - tableId?: string | null; - fieldId?: string | null; - setIds?: string | null; - refTableId?: string | null; - refFieldId?: string | null; - refIds?: string | null; - useUpdates?: boolean | null; - updateDefaults?: boolean | null; - funcName?: string | null; - funcOrder?: number | null; -} -export interface EmailsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - ownerTableId?: string | null; - tableName?: string | null; -} -export interface EncryptedSecretsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; -} -export interface FieldModuleCondition { - id?: string | null; - databaseId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - fieldId?: string | null; - nodeType?: string | null; - data?: unknown | null; - triggers?: string | null; - functions?: string | null; -} -export interface InvitesModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - emailsTableId?: string | null; - usersTableId?: string | null; - invitesTableId?: string | null; - claimedInvitesTableId?: string | null; - invitesTableName?: string | null; - claimedInvitesTableName?: string | null; - submitInviteCodeFunction?: string | null; - prefix?: string | null; - membershipType?: number | null; - entityTableId?: string | null; -} -export interface LevelsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - stepsTableId?: string | null; - stepsTableName?: string | null; - achievementsTableId?: string | null; - achievementsTableName?: string | null; - levelsTableId?: string | null; - levelsTableName?: string | null; - levelRequirementsTableId?: string | null; - levelRequirementsTableName?: string | null; - completedStep?: string | null; - incompletedStep?: string | null; - tgAchievement?: string | null; - tgAchievementToggle?: string | null; - tgAchievementToggleBoolean?: string | null; - tgAchievementBoolean?: string | null; - upsertAchievement?: string | null; - tgUpdateAchievements?: string | null; - stepsRequired?: string | null; - levelAchieved?: string | null; - prefix?: string | null; - membershipType?: number | null; - entityTableId?: string | null; - actorTableId?: string | null; -} -export interface LimitsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - defaultTableId?: string | null; - defaultTableName?: string | null; - limitIncrementFunction?: string | null; - limitDecrementFunction?: string | null; - limitIncrementTrigger?: string | null; - limitDecrementTrigger?: string | null; - limitUpdateTrigger?: string | null; - limitCheckFunction?: string | null; - prefix?: string | null; - membershipType?: number | null; - entityTableId?: string | null; - actorTableId?: string | null; -} -export interface MembershipTypesModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; -} -export interface MembershipsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - membershipsTableId?: string | null; - membershipsTableName?: string | null; - membersTableId?: string | null; - membersTableName?: string | null; - membershipDefaultsTableId?: string | null; - membershipDefaultsTableName?: string | null; - grantsTableId?: string | null; - grantsTableName?: string | null; - actorTableId?: string | null; - limitsTableId?: string | null; - defaultLimitsTableId?: string | null; - permissionsTableId?: string | null; - defaultPermissionsTableId?: string | null; - sprtTableId?: string | null; - adminGrantsTableId?: string | null; - adminGrantsTableName?: string | null; - ownerGrantsTableId?: string | null; - ownerGrantsTableName?: string | null; - membershipType?: number | null; - entityTableId?: string | null; - entityTableOwnerId?: string | null; - prefix?: string | null; - actorMaskCheck?: string | null; - actorPermCheck?: string | null; - entityIdsByMask?: string | null; - entityIdsByPerm?: string | null; - entityIdsFunction?: string | null; -} -export interface PermissionsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - defaultTableId?: string | null; - defaultTableName?: string | null; - bitlen?: number | null; - membershipType?: number | null; - entityTableId?: string | null; - actorTableId?: string | null; - prefix?: string | null; - getPaddedMask?: string | null; - getMask?: string | null; - getByMask?: string | null; - getMaskByName?: string | null; -} -export interface PhoneNumbersModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - ownerTableId?: string | null; - tableName?: string | null; -} -export interface ProfilesModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - profilePermissionsTableId?: string | null; - profilePermissionsTableName?: string | null; - profileGrantsTableId?: string | null; - profileGrantsTableName?: string | null; - profileDefinitionGrantsTableId?: string | null; - profileDefinitionGrantsTableName?: string | null; - membershipType?: number | null; - entityTableId?: string | null; - actorTableId?: string | null; - permissionsTableId?: string | null; - membershipsTableId?: string | null; - prefix?: string | null; -} -export interface RlsModuleCondition { - id?: string | null; - databaseId?: string | null; - apiId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - sessionCredentialsTableId?: string | null; - sessionsTableId?: string | null; - usersTableId?: string | null; - authenticate?: string | null; - authenticateStrict?: string | null; - currentRole?: string | null; - currentRoleId?: string | null; -} -export interface SecretsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; -} -export interface SessionsModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - sessionsTableId?: string | null; - sessionCredentialsTableId?: string | null; - authSettingsTableId?: string | null; - usersTableId?: string | null; - sessionsDefaultExpiration?: string | null; - sessionsTable?: string | null; - sessionCredentialsTable?: string | null; - authSettingsTable?: string | null; -} -export interface UserAuthModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - emailsTableId?: string | null; - usersTableId?: string | null; - secretsTableId?: string | null; - encryptedTableId?: string | null; - sessionsTableId?: string | null; - sessionCredentialsTableId?: string | null; - auditsTableId?: string | null; - auditsTableName?: string | null; - signInFunction?: string | null; - signUpFunction?: string | null; - signOutFunction?: string | null; - setPasswordFunction?: string | null; - resetPasswordFunction?: string | null; - forgotPasswordFunction?: string | null; - sendVerificationEmailFunction?: string | null; - verifyEmailFunction?: string | null; - verifyPasswordFunction?: string | null; - checkPasswordFunction?: string | null; - sendAccountDeletionEmailFunction?: string | null; - deleteAccountFunction?: string | null; - signInOneTimeTokenFunction?: string | null; - oneTimeTokenFunction?: string | null; - extendTokenExpires?: string | null; -} -export interface UsersModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - typeTableId?: string | null; - typeTableName?: string | null; -} -export interface UuidModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - uuidFunction?: string | null; - uuidSeed?: string | null; -} -export interface DatabaseProvisionModuleCondition { - id?: string | null; - databaseName?: string | null; - ownerId?: string | null; - subdomain?: string | null; - domain?: string | null; - modules?: string | null; - options?: unknown | null; - bootstrapUser?: boolean | null; - status?: string | null; - errorMessage?: string | null; - databaseId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - completedAt?: string | null; -} -export interface AppAdminGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppOwnerGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppGrantCondition { - id?: string | null; - permissions?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgMembershipCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - isBanned?: boolean | null; - isDisabled?: boolean | null; - isActive?: boolean | null; - isOwner?: boolean | null; - isAdmin?: boolean | null; - permissions?: string | null; - granted?: string | null; - actorId?: string | null; - entityId?: string | null; - profileId?: string | null; -} -export interface OrgMemberCondition { - id?: string | null; - isAdmin?: boolean | null; - actorId?: string | null; - entityId?: string | null; -} -export interface OrgAdminGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - entityId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgOwnerGrantCondition { - id?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - entityId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgGrantCondition { - id?: string | null; - permissions?: string | null; - isGrant?: boolean | null; - actorId?: string | null; - entityId?: string | null; - grantorId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgChartEdgeCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - entityId?: string | null; - childId?: string | null; - parentId?: string | null; - positionTitle?: string | null; - positionLevel?: number | null; -} -export interface OrgChartEdgeGrantCondition { - id?: string | null; - entityId?: string | null; - childId?: string | null; - parentId?: string | null; - grantorId?: string | null; - isGrant?: boolean | null; - positionTitle?: string | null; - positionLevel?: number | null; - createdAt?: string | null; -} -export interface AppLimitCondition { - id?: string | null; - name?: string | null; - actorId?: string | null; - num?: number | null; - max?: number | null; -} -export interface OrgLimitCondition { - id?: string | null; - name?: string | null; - actorId?: string | null; - num?: number | null; - max?: number | null; - entityId?: string | null; -} -export interface AppStepCondition { - id?: string | null; - actorId?: string | null; - name?: string | null; - count?: number | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppAchievementCondition { - id?: string | null; - actorId?: string | null; - name?: string | null; - count?: number | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface InviteCondition { - id?: string | null; - email?: unknown | null; - senderId?: string | null; - inviteToken?: string | null; - inviteValid?: boolean | null; - inviteLimit?: number | null; - inviteCount?: number | null; - multiple?: boolean | null; - data?: unknown | null; - expiresAt?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface ClaimedInviteCondition { - id?: string | null; - data?: unknown | null; - senderId?: string | null; - receiverId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface OrgInviteCondition { - id?: string | null; - email?: unknown | null; - senderId?: string | null; - receiverId?: string | null; - inviteToken?: string | null; - inviteValid?: boolean | null; - inviteLimit?: number | null; - inviteCount?: number | null; - multiple?: boolean | null; - data?: unknown | null; - expiresAt?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - entityId?: string | null; -} -export interface OrgClaimedInviteCondition { - id?: string | null; - data?: unknown | null; - senderId?: string | null; - receiverId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - entityId?: string | null; -} -export interface RefCondition { - id?: string | null; - name?: string | null; - databaseId?: string | null; - storeId?: string | null; - commitId?: string | null; -} -export interface StoreCondition { - id?: string | null; - name?: string | null; - databaseId?: string | null; - hash?: string | null; - createdAt?: string | null; -} -export interface AppPermissionDefaultCondition { - id?: string | null; - permissions?: string | null; -} -export interface RoleTypeCondition { - id?: number | null; - name?: string | null; -} -export interface OrgPermissionDefaultCondition { - id?: string | null; - permissions?: string | null; - entityId?: string | null; -} -export interface CryptoAddressCondition { - id?: string | null; - ownerId?: string | null; - address?: string | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppLimitDefaultCondition { - id?: string | null; - name?: string | null; - max?: number | null; -} -export interface OrgLimitDefaultCondition { - id?: string | null; - name?: string | null; - max?: number | null; -} -export interface ConnectedAccountCondition { - id?: string | null; - ownerId?: string | null; - service?: string | null; - identifier?: string | null; - details?: unknown | null; - isVerified?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface PhoneNumberCondition { - id?: string | null; - ownerId?: string | null; - cc?: string | null; - number?: string | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface MembershipTypeCondition { - id?: number | null; - name?: string | null; - description?: string | null; - prefix?: string | null; -} -export interface NodeTypeRegistryCondition { - name?: string | null; - slug?: string | null; - category?: string | null; - displayName?: string | null; - description?: string | null; - parameterSchema?: unknown | null; - tags?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface AppMembershipDefaultCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - isVerified?: boolean | null; -} -export interface CommitCondition { - id?: string | null; - message?: string | null; - databaseId?: string | null; - storeId?: string | null; - parentIds?: string | null; - authorId?: string | null; - committerId?: string | null; - treeId?: string | null; - date?: string | null; -} -export interface OrgMembershipDefaultCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - entityId?: string | null; - deleteMemberCascadeGroups?: boolean | null; - createGroupsCascadeMembers?: boolean | null; -} -export interface AuditLogCondition { - id?: string | null; - event?: string | null; - actorId?: string | null; - origin?: unknown | null; - userAgent?: string | null; - ipAddress?: string | null; - success?: boolean | null; - createdAt?: string | null; -} -export interface AppLevelCondition { - id?: string | null; - name?: string | null; - description?: string | null; - image?: unknown | null; - ownerId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface EmailCondition { - id?: string | null; - ownerId?: string | null; - email?: unknown | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -export interface SqlMigrationCondition { - id?: number | null; - name?: string | null; - databaseId?: string | null; - deploy?: string | null; - deps?: string | null; - payload?: unknown | null; - content?: string | null; - revert?: string | null; - verify?: string | null; - createdAt?: string | null; - action?: string | null; - actionId?: string | null; - actorId?: string | null; -} -export interface AstMigrationCondition { - id?: number | null; - databaseId?: string | null; - name?: string | null; - requires?: string | null; - payload?: unknown | null; - deploys?: string | null; - deploy?: unknown | null; - revert?: unknown | null; - verify?: unknown | null; - createdAt?: string | null; - action?: string | null; - actionId?: string | null; - actorId?: string | null; -} -export interface UserCondition { - id?: string | null; - username?: string | null; - displayName?: string | null; - profilePicture?: unknown | null; - searchTsv?: string | null; - type?: number | null; - createdAt?: string | null; - updatedAt?: string | null; - searchTsvRank?: number | null; -} -export interface AppMembershipCondition { - id?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - createdBy?: string | null; - updatedBy?: string | null; - isApproved?: boolean | null; - isBanned?: boolean | null; - isDisabled?: boolean | null; - isVerified?: boolean | null; - isActive?: boolean | null; - isOwner?: boolean | null; - isAdmin?: boolean | null; - permissions?: string | null; - granted?: string | null; - actorId?: string | null; - profileId?: string | null; +export interface UserFilter { + id?: UUIDFilter; + username?: StringFilter; + displayName?: StringFilter; + profilePicture?: StringFilter; + searchTsv?: FullTextFilter; + type?: IntFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + searchTsvRank?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: UserFilter[]; + or?: UserFilter[]; + not?: UserFilter; } -export interface HierarchyModuleCondition { - id?: string | null; - databaseId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - chartEdgesTableId?: string | null; - chartEdgesTableName?: string | null; - hierarchySprtTableId?: string | null; - hierarchySprtTableName?: string | null; - chartEdgeGrantsTableId?: string | null; - chartEdgeGrantsTableName?: string | null; - entityTableId?: string | null; - usersTableId?: string | null; - prefix?: string | null; - privateSchemaName?: string | null; - sprtTableName?: string | null; - rebuildHierarchyFunction?: string | null; - getSubordinatesFunction?: string | null; - getManagersFunction?: string | null; - isManagerOfFunction?: string | null; - createdAt?: string | null; +export interface HierarchyModuleFilter { + id?: UUIDFilter; + databaseId?: UUIDFilter; + schemaId?: UUIDFilter; + privateSchemaId?: UUIDFilter; + chartEdgesTableId?: UUIDFilter; + chartEdgesTableName?: StringFilter; + hierarchySprtTableId?: UUIDFilter; + hierarchySprtTableName?: StringFilter; + chartEdgeGrantsTableId?: UUIDFilter; + chartEdgeGrantsTableName?: StringFilter; + entityTableId?: UUIDFilter; + usersTableId?: UUIDFilter; + prefix?: StringFilter; + privateSchemaName?: StringFilter; + sprtTableName?: StringFilter; + rebuildHierarchyFunction?: StringFilter; + getSubordinatesFunction?: StringFilter; + getManagersFunction?: StringFilter; + isManagerOfFunction?: StringFilter; + createdAt?: DatetimeFilter; + chartEdgesTableNameTrgmSimilarity?: FloatFilter; + hierarchySprtTableNameTrgmSimilarity?: FloatFilter; + chartEdgeGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + privateSchemaNameTrgmSimilarity?: FloatFilter; + sprtTableNameTrgmSimilarity?: FloatFilter; + rebuildHierarchyFunctionTrgmSimilarity?: FloatFilter; + getSubordinatesFunctionTrgmSimilarity?: FloatFilter; + getManagersFunctionTrgmSimilarity?: FloatFilter; + isManagerOfFunctionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: HierarchyModuleFilter[]; + or?: HierarchyModuleFilter[]; + not?: HierarchyModuleFilter; } // ============ OrderBy Types ============ export type OrgGetManagersRecordsOrderBy = @@ -8012,7 +7985,11 @@ export type AppPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8026,7 +8003,11 @@ export type OrgPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ObjectOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8066,7 +8047,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DatabaseOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8086,7 +8071,15 @@ export type DatabaseOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type SchemaOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8118,7 +8111,19 @@ export type SchemaOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TableOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8160,7 +8165,21 @@ export type TableOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type CheckConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8192,7 +8211,15 @@ export type CheckConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type FieldOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8244,7 +8271,21 @@ export type FieldOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ForeignKeyConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8284,7 +8325,21 @@ export type ForeignKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type FullTextSearchOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8331,6 +8386,10 @@ export type IndexOrderBy = | 'WHERE_CLAUSE_DESC' | 'IS_UNIQUE_ASC' | 'IS_UNIQUE_DESC' + | 'OPTIONS_ASC' + | 'OPTIONS_DESC' + | 'OP_CLASSES_ASC' + | 'OP_CLASSES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' @@ -8344,7 +8403,15 @@ export type IndexOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type PolicyOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8382,7 +8449,19 @@ export type PolicyOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type PrimaryKeyConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8412,7 +8491,15 @@ export type PrimaryKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TableGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8434,7 +8521,13 @@ export type TableGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TriggerOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8464,7 +8557,17 @@ export type TriggerOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type UniqueConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8496,7 +8599,17 @@ export type UniqueConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ViewOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8532,7 +8645,17 @@ export type ViewOrderBy = | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' - | 'TAGS_DESC'; + | 'TAGS_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'; export type ViewTableOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8562,7 +8685,13 @@ export type ViewGrantOrderBy = | 'WITH_GRANT_OPTION_ASC' | 'WITH_GRANT_OPTION_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; export type ViewRuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8578,29 +8707,15 @@ export type ViewRuleOrderBy = | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' - | 'ACTION_DESC'; -export type TableModuleOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'SCHEMA_ID_ASC' - | 'SCHEMA_ID_DESC' - | 'TABLE_ID_ASC' - | 'TABLE_ID_DESC' - | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC' - | 'NODE_TYPE_ASC' - | 'NODE_TYPE_DESC' - | 'USE_RLS_ASC' - | 'USE_RLS_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'FIELDS_ASC' - | 'FIELDS_DESC'; + | 'ACTION_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'; export type TableTemplateModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8622,7 +8737,13 @@ export type TableTemplateModuleOrderBy = | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_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'; export type SecureTableProvisionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8643,6 +8764,8 @@ export type SecureTableProvisionOrderBy = | 'USE_RLS_DESC' | 'NODE_DATA_ASC' | 'NODE_DATA_DESC' + | 'FIELDS_ASC' + | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' @@ -8660,7 +8783,19 @@ export type SecureTableProvisionOrderBy = | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' - | 'OUT_FIELDS_DESC'; + | 'OUT_FIELDS_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'; export type RelationProvisionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8720,7 +8855,29 @@ export type RelationProvisionOrderBy = | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' - | 'OUT_TARGET_FIELD_ID_DESC'; + | 'OUT_TARGET_FIELD_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'; export type SchemaGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8736,7 +8893,11 @@ export type SchemaGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_ASC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DefaultPrivilegeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8754,7 +8915,15 @@ export type DefaultPrivilegeOrderBy = | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; export type ApiSchemaOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8780,7 +8949,11 @@ export type ApiModuleOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DomainOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8812,7 +8985,13 @@ export type SiteMetadatumOrderBy = | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OG_IMAGE_ASC' - | 'OG_IMAGE_DESC'; + | 'OG_IMAGE_DESC' + | 'TITLE_TRGM_SIMILARITY_ASC' + | 'TITLE_TRGM_SIMILARITY_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SiteModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8826,7 +9005,11 @@ export type SiteModuleOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SiteThemeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8854,7 +9037,13 @@ export type TriggerFunctionOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ApiOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8872,7 +9061,17 @@ export type ApiOrderBy = | 'ANON_ROLE_ASC' | 'ANON_ROLE_DESC' | 'IS_PUBLIC_ASC' - | 'IS_PUBLIC_DESC'; + | 'IS_PUBLIC_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'; export type SiteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8894,7 +9093,15 @@ export type SiteOrderBy = | 'LOGO_ASC' | 'LOGO_DESC' | 'DBNAME_ASC' - | 'DBNAME_DESC'; + | 'DBNAME_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'; export type AppOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8916,7 +9123,15 @@ export type AppOrderBy = | 'APP_ID_PREFIX_ASC' | 'APP_ID_PREFIX_DESC' | 'PLAY_STORE_LINK_ASC' - | 'PLAY_STORE_LINK_DESC'; + | 'PLAY_STORE_LINK_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'; export type ConnectedAccountsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8934,7 +9149,11 @@ export type ConnectedAccountsModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type CryptoAddressesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8954,7 +9173,13 @@ export type CryptoAddressesModuleOrderBy = | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'CRYPTO_NETWORK_ASC' - | 'CRYPTO_NETWORK_DESC'; + | 'CRYPTO_NETWORK_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'; export type CryptoAuthModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8986,7 +9211,21 @@ export type CryptoAuthModuleOrderBy = | 'SIGN_UP_WITH_KEY_ASC' | 'SIGN_UP_WITH_KEY_DESC' | 'SIGN_IN_WITH_CHALLENGE_ASC' - | 'SIGN_IN_WITH_CHALLENGE_DESC'; + | 'SIGN_IN_WITH_CHALLENGE_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'; export type DefaultIdsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9022,7 +9261,11 @@ export type DenormalizedTableFieldOrderBy = | 'FUNC_NAME_ASC' | 'FUNC_NAME_DESC' | 'FUNC_ORDER_ASC' - | 'FUNC_ORDER_DESC'; + | 'FUNC_ORDER_DESC' + | 'FUNC_NAME_TRGM_SIMILARITY_ASC' + | 'FUNC_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EmailsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9040,7 +9283,11 @@ export type EmailsModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EncryptedSecretsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9054,7 +9301,11 @@ export type EncryptedSecretsModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type FieldModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9076,7 +9327,11 @@ export type FieldModuleOrderBy = | 'TRIGGERS_ASC' | 'TRIGGERS_DESC' | 'FUNCTIONS_ASC' - | 'FUNCTIONS_DESC'; + | 'FUNCTIONS_DESC' + | 'NODE_TYPE_TRGM_SIMILARITY_ASC' + | 'NODE_TYPE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type InvitesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9108,7 +9363,17 @@ export type InvitesModuleOrderBy = | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' - | 'ENTITY_TABLE_ID_DESC'; + | 'ENTITY_TABLE_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'; export type LevelsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9164,7 +9429,39 @@ export type LevelsModuleOrderBy = | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' - | 'ACTOR_TABLE_ID_DESC'; + | 'ACTOR_TABLE_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'; export type LimitsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9204,7 +9501,27 @@ export type LimitsModuleOrderBy = | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' - | 'ACTOR_TABLE_ID_DESC'; + | 'ACTOR_TABLE_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'; export type MembershipTypesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9218,7 +9535,11 @@ export type MembershipTypesModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type MembershipsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9284,7 +9605,33 @@ export type MembershipsModuleOrderBy = | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' - | 'ENTITY_IDS_FUNCTION_DESC'; + | 'ENTITY_IDS_FUNCTION_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'; export type PermissionsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9322,7 +9669,23 @@ export type PermissionsModuleOrderBy = | 'GET_BY_MASK_ASC' | 'GET_BY_MASK_DESC' | 'GET_MASK_BY_NAME_ASC' - | 'GET_MASK_BY_NAME_DESC'; + | 'GET_MASK_BY_NAME_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'; export type PhoneNumbersModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9340,7 +9703,11 @@ export type PhoneNumbersModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ProfilesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9380,35 +9747,19 @@ export type ProfilesModuleOrderBy = | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'PREFIX_ASC' - | 'PREFIX_DESC'; -export type RlsModuleOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'API_ID_ASC' - | 'API_ID_DESC' - | 'SCHEMA_ID_ASC' - | 'SCHEMA_ID_DESC' - | 'PRIVATE_SCHEMA_ID_ASC' - | 'PRIVATE_SCHEMA_ID_DESC' - | 'SESSION_CREDENTIALS_TABLE_ID_ASC' - | 'SESSION_CREDENTIALS_TABLE_ID_DESC' - | 'SESSIONS_TABLE_ID_ASC' - | 'SESSIONS_TABLE_ID_DESC' - | 'USERS_TABLE_ID_ASC' - | 'USERS_TABLE_ID_DESC' - | 'AUTHENTICATE_ASC' - | 'AUTHENTICATE_DESC' - | 'AUTHENTICATE_STRICT_ASC' - | 'AUTHENTICATE_STRICT_DESC' - | 'CURRENT_ROLE_ASC' - | 'CURRENT_ROLE_DESC' - | 'CURRENT_ROLE_ID_ASC' - | 'CURRENT_ROLE_ID_DESC'; + | 'PREFIX_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'; export type SecretsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9422,7 +9773,11 @@ export type SecretsModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SessionsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9448,7 +9803,15 @@ export type SessionsModuleOrderBy = | 'SESSION_CREDENTIALS_TABLE_ASC' | 'SESSION_CREDENTIALS_TABLE_DESC' | 'AUTH_SETTINGS_TABLE_ASC' - | 'AUTH_SETTINGS_TABLE_DESC'; + | 'AUTH_SETTINGS_TABLE_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'; export type UserAuthModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9504,7 +9867,41 @@ export type UserAuthModuleOrderBy = | 'ONE_TIME_TOKEN_FUNCTION_ASC' | 'ONE_TIME_TOKEN_FUNCTION_DESC' | 'EXTEND_TOKEN_EXPIRES_ASC' - | 'EXTEND_TOKEN_EXPIRES_DESC'; + | 'EXTEND_TOKEN_EXPIRES_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'; export type UsersModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9522,7 +9919,13 @@ export type UsersModuleOrderBy = | 'TYPE_TABLE_ID_ASC' | 'TYPE_TABLE_ID_DESC' | 'TYPE_TABLE_NAME_ASC' - | 'TYPE_TABLE_NAME_DESC'; + | 'TYPE_TABLE_NAME_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'; export type UuidModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9536,7 +9939,13 @@ export type UuidModuleOrderBy = | 'UUID_FUNCTION_ASC' | 'UUID_FUNCTION_DESC' | 'UUID_SEED_ASC' - | 'UUID_SEED_DESC'; + | 'UUID_SEED_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'; export type DatabaseProvisionModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9568,7 +9977,19 @@ export type DatabaseProvisionModuleOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' - | 'COMPLETED_AT_DESC'; + | 'COMPLETED_AT_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'; export type AppAdminGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9742,7 +10163,11 @@ export type OrgChartEdgeOrderBy = | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' - | 'POSITION_LEVEL_DESC'; + | 'POSITION_LEVEL_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgChartEdgeGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9764,7 +10189,11 @@ export type OrgChartEdgeGrantOrderBy = | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLimitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9854,7 +10283,11 @@ export type InviteOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ClaimedInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9902,7 +10335,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgClaimedInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9934,7 +10371,11 @@ export type RefOrderBy = | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' - | 'COMMIT_ID_DESC'; + | 'COMMIT_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type StoreOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9948,7 +10389,11 @@ export type StoreOrderBy = | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppPermissionDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9957,6 +10402,28 @@ export type AppPermissionDefaultOrderBy = | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC'; +export type CryptoAddressOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'OWNER_ID_ASC' + | 'OWNER_ID_DESC' + | 'ADDRESS_ASC' + | 'ADDRESS_DESC' + | 'IS_VERIFIED_ASC' + | 'IS_VERIFIED_DESC' + | 'IS_PRIMARY_ASC' + | 'IS_PRIMARY_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'; export type RoleTypeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9975,7 +10442,7 @@ export type OrgPermissionDefaultOrderBy = | 'PERMISSIONS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC'; -export type CryptoAddressOrderBy = +export type PhoneNumberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' @@ -9983,8 +10450,10 @@ export type CryptoAddressOrderBy = | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' - | 'ADDRESS_ASC' - | 'ADDRESS_DESC' + | 'CC_ASC' + | 'CC_DESC' + | 'NUMBER_ASC' + | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' @@ -9992,7 +10461,13 @@ export type CryptoAddressOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type AppLimitDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10032,39 +10507,13 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type PhoneNumberOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'CC_ASC' - | 'CC_DESC' - | 'NUMBER_ASC' - | 'NUMBER_DESC' - | 'IS_VERIFIED_ASC' - | 'IS_VERIFIED_DESC' - | 'IS_PRIMARY_ASC' - | 'IS_PRIMARY_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type MembershipTypeOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'PREFIX_ASC' - | 'PREFIX_DESC'; + | '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'; export type NodeTypeRegistryOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10086,7 +10535,37 @@ export type NodeTypeRegistryOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_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'; +export type MembershipTypeOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'PREFIX_ASC' + | 'PREFIX_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'PREFIX_TRGM_SIMILARITY_ASC' + | 'PREFIX_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10105,6 +10584,42 @@ export type AppMembershipDefaultOrderBy = | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC'; +export type RlsModuleOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'SCHEMA_ID_ASC' + | 'SCHEMA_ID_DESC' + | 'PRIVATE_SCHEMA_ID_ASC' + | 'PRIVATE_SCHEMA_ID_DESC' + | 'SESSION_CREDENTIALS_TABLE_ID_ASC' + | 'SESSION_CREDENTIALS_TABLE_ID_DESC' + | 'SESSIONS_TABLE_ID_ASC' + | 'SESSIONS_TABLE_ID_DESC' + | 'USERS_TABLE_ID_ASC' + | 'USERS_TABLE_ID_DESC' + | 'AUTHENTICATE_ASC' + | 'AUTHENTICATE_DESC' + | 'AUTHENTICATE_STRICT_ASC' + | 'AUTHENTICATE_STRICT_DESC' + | 'CURRENT_ROLE_ASC' + | 'CURRENT_ROLE_DESC' + | 'CURRENT_ROLE_ID_ASC' + | 'CURRENT_ROLE_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'; export type CommitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10126,7 +10641,11 @@ export type CommitOrderBy = | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' - | 'DATE_DESC'; + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10168,7 +10687,11 @@ export type AuditLogOrderBy = | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLevelOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10186,25 +10709,11 @@ export type AppLevelOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type EmailOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'EMAIL_ASC' - | 'EMAIL_DESC' - | 'IS_VERIFIED_ASC' - | 'IS_VERIFIED_DESC' - | 'IS_PRIMARY_ASC' - | 'IS_PRIMARY_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SqlMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10234,7 +10743,39 @@ export type SqlMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; + | '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'; +export type EmailOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'OWNER_ID_ASC' + | 'OWNER_ID_DESC' + | 'EMAIL_ASC' + | 'EMAIL_DESC' + | 'IS_VERIFIED_ASC' + | 'IS_VERIFIED_DESC' + | 'IS_PRIMARY_ASC' + | 'IS_PRIMARY_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC' + | 'UPDATED_AT_ASC' + | 'UPDATED_AT_DESC'; export type AstMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10264,29 +10805,11 @@ export type AstMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; -export type UserOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'USERNAME_ASC' - | 'USERNAME_DESC' - | 'DISPLAY_NAME_ASC' - | 'DISPLAY_NAME_DESC' - | 'PROFILE_PICTURE_ASC' - | 'PROFILE_PICTURE_DESC' - | 'SEARCH_TSV_ASC' - | 'SEARCH_TSV_DESC' - | 'TYPE_ASC' - | 'TYPE_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC' - | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; + | 'ACTOR_ID_DESC' + | 'ACTION_TRGM_SIMILARITY_ASC' + | 'ACTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10323,6 +10846,32 @@ export type AppMembershipOrderBy = | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +export type UserOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'USERNAME_ASC' + | 'USERNAME_DESC' + | 'DISPLAY_NAME_ASC' + | 'DISPLAY_NAME_DESC' + | 'PROFILE_PICTURE_ASC' + | 'PROFILE_PICTURE_DESC' + | 'SEARCH_TSV_ASC' + | 'SEARCH_TSV_DESC' + | 'TYPE_ASC' + | 'TYPE_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC' + | 'UPDATED_AT_ASC' + | 'UPDATED_AT_DESC' + | 'SEARCH_TSV_RANK_ASC' + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type HierarchyModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10366,7 +10915,29 @@ export type HierarchyModuleOrderBy = | 'IS_MANAGER_OF_FUNCTION_ASC' | 'IS_MANAGER_OF_FUNCTION_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_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'; // ============ CRUD Input Types ============ export interface CreateOrgGetManagersRecordInput { clientMutationId?: string; @@ -10442,6 +11013,8 @@ export interface AppPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppPermissionInput { clientMutationId?: string; @@ -10466,6 +11039,8 @@ export interface OrgPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgPermissionInput { clientMutationId?: string; @@ -10519,6 +11094,8 @@ export interface AppLevelRequirementPatch { description?: string | null; requiredCount?: number | null; priority?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelRequirementInput { clientMutationId?: string; @@ -10545,6 +11122,10 @@ export interface DatabasePatch { name?: string | null; label?: string | null; hash?: string | null; + schemaHashTrgmSimilarity?: number | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDatabaseInput { clientMutationId?: string; @@ -10583,6 +11164,12 @@ export interface SchemaPatch { scope?: number | null; tags?: string | null; isPublic?: boolean | null; + nameTrgmSimilarity?: number | null; + schemaNameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSchemaInput { clientMutationId?: string; @@ -10631,6 +11218,13 @@ export interface TablePatch { singularName?: string | null; tags?: string | null; inheritsId?: string | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + pluralNameTrgmSimilarity?: number | null; + singularNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableInput { clientMutationId?: string; @@ -10669,6 +11263,10 @@ export interface CheckConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCheckConstraintInput { clientMutationId?: string; @@ -10727,6 +11325,13 @@ export interface FieldPatch { category?: ObjectCategory | null; module?: string | null; scope?: number | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + defaultValueTrgmSimilarity?: number | null; + regexpTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateFieldInput { clientMutationId?: string; @@ -10773,6 +11378,13 @@ export interface ForeignKeyConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + deleteActionTrgmSimilarity?: number | null; + updateActionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateForeignKeyConstraintInput { clientMutationId?: string; @@ -10823,6 +11435,8 @@ export interface CreateIndexInput { indexParams?: Record; whereClause?: Record; isUnique?: boolean; + options?: Record; + opClasses?: string[]; smartTags?: Record; category?: ObjectCategory; module?: string; @@ -10840,11 +11454,17 @@ export interface IndexPatch { indexParams?: Record | null; whereClause?: Record | null; isUnique?: boolean | null; + options?: Record | null; + opClasses?: string | null; smartTags?: Record | null; category?: ObjectCategory | null; module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + accessMethodTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateIndexInput { clientMutationId?: string; @@ -10889,6 +11509,12 @@ export interface PolicyPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePolicyInput { clientMutationId?: string; @@ -10925,6 +11551,10 @@ export interface PrimaryKeyConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePrimaryKeyConstraintInput { clientMutationId?: string; @@ -10953,6 +11583,9 @@ export interface TableGrantPatch { granteeName?: string | null; fieldIds?: string | null; isGrant?: boolean | null; + privilegeTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableGrantInput { clientMutationId?: string; @@ -10989,6 +11622,11 @@ export interface TriggerPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + eventTrgmSimilarity?: number | null; + functionNameTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTriggerInput { clientMutationId?: string; @@ -11027,6 +11665,11 @@ export interface UniqueConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUniqueConstraintInput { clientMutationId?: string; @@ -11073,6 +11716,11 @@ export interface ViewPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + viewTypeTrgmSimilarity?: number | null; + filterTypeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewInput { clientMutationId?: string; @@ -11123,6 +11771,9 @@ export interface ViewGrantPatch { privilege?: string | null; withGrantOption?: boolean | null; isGrant?: boolean | null; + granteeNameTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewGrantInput { clientMutationId?: string; @@ -11149,6 +11800,10 @@ export interface ViewRulePatch { name?: string | null; event?: string | null; action?: string | null; + nameTrgmSimilarity?: number | null; + eventTrgmSimilarity?: number | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewRuleInput { clientMutationId?: string; @@ -11159,38 +11814,6 @@ export interface DeleteViewRuleInput { clientMutationId?: string; id: string; } -export interface CreateTableModuleInput { - clientMutationId?: string; - tableModule: { - databaseId: string; - schemaId?: string; - tableId?: string; - tableName?: string; - nodeType: string; - useRls?: boolean; - data?: Record; - fields?: string[]; - }; -} -export interface TableModulePatch { - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - data?: Record | null; - fields?: string | null; -} -export interface UpdateTableModuleInput { - clientMutationId?: string; - id: string; - tableModulePatch: TableModulePatch; -} -export interface DeleteTableModuleInput { - clientMutationId?: string; - id: string; -} export interface CreateTableTemplateModuleInput { clientMutationId?: string; tableTemplateModule: { @@ -11213,6 +11836,9 @@ export interface TableTemplateModulePatch { tableName?: string | null; nodeType?: string | null; data?: Record | null; + tableNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableTemplateModuleInput { clientMutationId?: string; @@ -11233,6 +11859,7 @@ export interface CreateSecureTableProvisionInput { nodeType?: string; useRls?: boolean; nodeData?: Record; + fields?: Record; grantRoles?: string[]; grantPrivileges?: Record; policyType?: string; @@ -11252,6 +11879,7 @@ export interface SecureTableProvisionPatch { nodeType?: string | null; useRls?: boolean | null; nodeData?: Record | null; + fields?: Record | null; grantRoles?: string | null; grantPrivileges?: Record | null; policyType?: string | null; @@ -11261,6 +11889,12 @@ export interface SecureTableProvisionPatch { policyName?: string | null; policyData?: Record | null; outFields?: string | null; + tableNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + policyRoleTrgmSimilarity?: number | null; + policyNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSecureTableProvisionInput { clientMutationId?: string; @@ -11331,6 +11965,17 @@ export interface RelationProvisionPatch { outJunctionTableId?: string | null; outSourceFieldId?: string | null; outTargetFieldId?: string | null; + relationTypeTrgmSimilarity?: number | null; + fieldNameTrgmSimilarity?: number | null; + deleteActionTrgmSimilarity?: number | null; + junctionTableNameTrgmSimilarity?: number | null; + sourceFieldNameTrgmSimilarity?: number | null; + targetFieldNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + policyRoleTrgmSimilarity?: number | null; + policyNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRelationProvisionInput { clientMutationId?: string; @@ -11353,6 +11998,8 @@ export interface SchemaGrantPatch { databaseId?: string | null; schemaId?: string | null; granteeName?: string | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSchemaGrantInput { clientMutationId?: string; @@ -11381,6 +12028,10 @@ export interface DefaultPrivilegePatch { privilege?: string | null; granteeName?: string | null; isGrant?: boolean | null; + objectTypeTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDefaultPrivilegeInput { clientMutationId?: string; @@ -11427,6 +12078,8 @@ export interface ApiModulePatch { apiId?: string | null; name?: string | null; data?: Record | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateApiModuleInput { clientMutationId?: string; @@ -11479,6 +12132,9 @@ export interface SiteMetadatumPatch { title?: string | null; description?: string | null; ogImage?: ConstructiveInternalTypeImage | null; + titleTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteMetadatumInput { clientMutationId?: string; @@ -11503,6 +12159,8 @@ export interface SiteModulePatch { siteId?: string | null; name?: string | null; data?: Record | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteModuleInput { clientMutationId?: string; @@ -11547,6 +12205,9 @@ export interface TriggerFunctionPatch { databaseId?: string | null; name?: string | null; code?: string | null; + nameTrgmSimilarity?: number | null; + codeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTriggerFunctionInput { clientMutationId?: string; @@ -11575,6 +12236,11 @@ export interface ApiPatch { roleName?: string | null; anonRole?: string | null; isPublic?: boolean | null; + nameTrgmSimilarity?: number | null; + dbnameTrgmSimilarity?: number | null; + roleNameTrgmSimilarity?: number | null; + anonRoleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateApiInput { clientMutationId?: string; @@ -11607,6 +12273,10 @@ export interface SitePatch { appleTouchIcon?: ConstructiveInternalTypeImage | null; logo?: ConstructiveInternalTypeImage | null; dbname?: string | null; + titleTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + dbnameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteInput { clientMutationId?: string; @@ -11639,6 +12309,10 @@ export interface AppPatch { appStoreId?: string | null; appIdPrefix?: string | null; playStoreLink?: ConstructiveInternalTypeUrl | null; + nameTrgmSimilarity?: number | null; + appStoreIdTrgmSimilarity?: number | null; + appIdPrefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppInput { clientMutationId?: string; @@ -11667,6 +12341,8 @@ export interface ConnectedAccountsModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountsModuleInput { clientMutationId?: string; @@ -11697,6 +12373,9 @@ export interface CryptoAddressesModulePatch { ownerTableId?: string | null; tableName?: string | null; cryptoNetwork?: string | null; + tableNameTrgmSimilarity?: number | null; + cryptoNetworkTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAddressesModuleInput { clientMutationId?: string; @@ -11739,6 +12418,13 @@ export interface CryptoAuthModulePatch { signInRecordFailure?: string | null; signUpWithKey?: string | null; signInWithChallenge?: string | null; + userFieldTrgmSimilarity?: number | null; + cryptoNetworkTrgmSimilarity?: number | null; + signInRequestChallengeTrgmSimilarity?: number | null; + signInRecordFailureTrgmSimilarity?: number | null; + signUpWithKeyTrgmSimilarity?: number | null; + signInWithChallengeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAuthModuleInput { clientMutationId?: string; @@ -11795,6 +12481,8 @@ export interface DenormalizedTableFieldPatch { updateDefaults?: boolean | null; funcName?: string | null; funcOrder?: number | null; + funcNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDenormalizedTableFieldInput { clientMutationId?: string; @@ -11823,6 +12511,8 @@ export interface EmailsModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateEmailsModuleInput { clientMutationId?: string; @@ -11847,6 +12537,8 @@ export interface EncryptedSecretsModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateEncryptedSecretsModuleInput { clientMutationId?: string; @@ -11879,6 +12571,8 @@ export interface FieldModulePatch { data?: Record | null; triggers?: string | null; functions?: string | null; + nodeTypeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateFieldModuleInput { clientMutationId?: string; @@ -11921,6 +12615,11 @@ export interface InvitesModulePatch { prefix?: string | null; membershipType?: number | null; entityTableId?: string | null; + invitesTableNameTrgmSimilarity?: number | null; + claimedInvitesTableNameTrgmSimilarity?: number | null; + submitInviteCodeFunctionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateInvitesModuleInput { clientMutationId?: string; @@ -11987,6 +12686,22 @@ export interface LevelsModulePatch { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + stepsTableNameTrgmSimilarity?: number | null; + achievementsTableNameTrgmSimilarity?: number | null; + levelsTableNameTrgmSimilarity?: number | null; + levelRequirementsTableNameTrgmSimilarity?: number | null; + completedStepTrgmSimilarity?: number | null; + incompletedStepTrgmSimilarity?: number | null; + tgAchievementTrgmSimilarity?: number | null; + tgAchievementToggleTrgmSimilarity?: number | null; + tgAchievementToggleBooleanTrgmSimilarity?: number | null; + tgAchievementBooleanTrgmSimilarity?: number | null; + upsertAchievementTrgmSimilarity?: number | null; + tgUpdateAchievementsTrgmSimilarity?: number | null; + stepsRequiredTrgmSimilarity?: number | null; + levelAchievedTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateLevelsModuleInput { clientMutationId?: string; @@ -12037,6 +12752,16 @@ export interface LimitsModulePatch { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + tableNameTrgmSimilarity?: number | null; + defaultTableNameTrgmSimilarity?: number | null; + limitIncrementFunctionTrgmSimilarity?: number | null; + limitDecrementFunctionTrgmSimilarity?: number | null; + limitIncrementTriggerTrgmSimilarity?: number | null; + limitDecrementTriggerTrgmSimilarity?: number | null; + limitUpdateTriggerTrgmSimilarity?: number | null; + limitCheckFunctionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateLimitsModuleInput { clientMutationId?: string; @@ -12061,6 +12786,8 @@ export interface MembershipTypesModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipTypesModuleInput { clientMutationId?: string; @@ -12137,6 +12864,19 @@ export interface MembershipsModulePatch { entityIdsByMask?: string | null; entityIdsByPerm?: string | null; entityIdsFunction?: string | null; + membershipsTableNameTrgmSimilarity?: number | null; + membersTableNameTrgmSimilarity?: number | null; + membershipDefaultsTableNameTrgmSimilarity?: number | null; + grantsTableNameTrgmSimilarity?: number | null; + adminGrantsTableNameTrgmSimilarity?: number | null; + ownerGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + actorMaskCheckTrgmSimilarity?: number | null; + actorPermCheckTrgmSimilarity?: number | null; + entityIdsByMaskTrgmSimilarity?: number | null; + entityIdsByPermTrgmSimilarity?: number | null; + entityIdsFunctionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipsModuleInput { clientMutationId?: string; @@ -12185,6 +12925,14 @@ export interface PermissionsModulePatch { getMask?: string | null; getByMask?: string | null; getMaskByName?: string | null; + tableNameTrgmSimilarity?: number | null; + defaultTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + getPaddedMaskTrgmSimilarity?: number | null; + getMaskTrgmSimilarity?: number | null; + getByMaskTrgmSimilarity?: number | null; + getMaskByNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePermissionsModuleInput { clientMutationId?: string; @@ -12213,6 +12961,8 @@ export interface PhoneNumbersModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePhoneNumbersModuleInput { clientMutationId?: string; @@ -12263,6 +13013,12 @@ export interface ProfilesModulePatch { permissionsTableId?: string | null; membershipsTableId?: string | null; prefix?: string | null; + tableNameTrgmSimilarity?: number | null; + profilePermissionsTableNameTrgmSimilarity?: number | null; + profileGrantsTableNameTrgmSimilarity?: number | null; + profileDefinitionGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateProfilesModuleInput { clientMutationId?: string; @@ -12273,44 +13029,6 @@ export interface DeleteProfilesModuleInput { clientMutationId?: string; id: string; } -export interface CreateRlsModuleInput { - clientMutationId?: string; - rlsModule: { - databaseId: string; - apiId?: string; - schemaId?: string; - privateSchemaId?: string; - sessionCredentialsTableId?: string; - sessionsTableId?: string; - usersTableId?: string; - authenticate?: string; - authenticateStrict?: string; - currentRole?: string; - currentRoleId?: string; - }; -} -export interface RlsModulePatch { - databaseId?: string | null; - apiId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - sessionCredentialsTableId?: string | null; - sessionsTableId?: string | null; - usersTableId?: string | null; - authenticate?: string | null; - authenticateStrict?: string | null; - currentRole?: string | null; - currentRoleId?: string | null; -} -export interface UpdateRlsModuleInput { - clientMutationId?: string; - id: string; - rlsModulePatch: RlsModulePatch; -} -export interface DeleteRlsModuleInput { - clientMutationId?: string; - id: string; -} export interface CreateSecretsModuleInput { clientMutationId?: string; secretsModule: { @@ -12325,6 +13043,8 @@ export interface SecretsModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSecretsModuleInput { clientMutationId?: string; @@ -12361,6 +13081,10 @@ export interface SessionsModulePatch { sessionsTable?: string | null; sessionCredentialsTable?: string | null; authSettingsTable?: string | null; + sessionsTableTrgmSimilarity?: number | null; + sessionCredentialsTableTrgmSimilarity?: number | null; + authSettingsTableTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSessionsModuleInput { clientMutationId?: string; @@ -12427,6 +13151,23 @@ export interface UserAuthModulePatch { signInOneTimeTokenFunction?: string | null; oneTimeTokenFunction?: string | null; extendTokenExpires?: string | null; + auditsTableNameTrgmSimilarity?: number | null; + signInFunctionTrgmSimilarity?: number | null; + signUpFunctionTrgmSimilarity?: number | null; + signOutFunctionTrgmSimilarity?: number | null; + setPasswordFunctionTrgmSimilarity?: number | null; + resetPasswordFunctionTrgmSimilarity?: number | null; + forgotPasswordFunctionTrgmSimilarity?: number | null; + sendVerificationEmailFunctionTrgmSimilarity?: number | null; + verifyEmailFunctionTrgmSimilarity?: number | null; + verifyPasswordFunctionTrgmSimilarity?: number | null; + checkPasswordFunctionTrgmSimilarity?: number | null; + sendAccountDeletionEmailFunctionTrgmSimilarity?: number | null; + deleteAccountFunctionTrgmSimilarity?: number | null; + signInOneTimeTokenFunctionTrgmSimilarity?: number | null; + oneTimeTokenFunctionTrgmSimilarity?: number | null; + extendTokenExpiresTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUserAuthModuleInput { clientMutationId?: string; @@ -12455,6 +13196,9 @@ export interface UsersModulePatch { tableName?: string | null; typeTableId?: string | null; typeTableName?: string | null; + tableNameTrgmSimilarity?: number | null; + typeTableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUsersModuleInput { clientMutationId?: string; @@ -12479,6 +13223,9 @@ export interface UuidModulePatch { schemaId?: string | null; uuidFunction?: string | null; uuidSeed?: string | null; + uuidFunctionTrgmSimilarity?: number | null; + uuidSeedTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUuidModuleInput { clientMutationId?: string; @@ -12517,6 +13264,12 @@ export interface DatabaseProvisionModulePatch { errorMessage?: string | null; databaseId?: string | null; completedAt?: string | null; + databaseNameTrgmSimilarity?: number | null; + subdomainTrgmSimilarity?: number | null; + domainTrgmSimilarity?: number | null; + statusTrgmSimilarity?: number | null; + errorMessageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDatabaseProvisionModuleInput { clientMutationId?: string; @@ -12749,6 +13502,8 @@ export interface OrgChartEdgePatch { parentId?: string | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeInput { clientMutationId?: string; @@ -12779,6 +13534,8 @@ export interface OrgChartEdgeGrantPatch { isGrant?: boolean | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeGrantInput { clientMutationId?: string; @@ -12907,6 +13664,8 @@ export interface InvitePatch { multiple?: boolean | null; data?: Record | null; expiresAt?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateInviteInput { clientMutationId?: string; @@ -12967,6 +13726,8 @@ export interface OrgInvitePatch { data?: Record | null; expiresAt?: string | null; entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgInviteInput { clientMutationId?: string; @@ -13015,6 +13776,8 @@ export interface RefPatch { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRefInput { clientMutationId?: string; @@ -13037,6 +13800,8 @@ export interface StorePatch { name?: string | null; databaseId?: string | null; hash?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateStoreInput { clientMutationId?: string; @@ -13065,6 +13830,32 @@ export interface DeleteAppPermissionDefaultInput { clientMutationId?: string; id: string; } +export interface CreateCryptoAddressInput { + clientMutationId?: string; + cryptoAddress: { + ownerId?: string; + address: string; + isVerified?: boolean; + isPrimary?: boolean; + }; +} +export interface CryptoAddressPatch { + ownerId?: string | null; + address?: string | null; + isVerified?: boolean | null; + isPrimary?: boolean | null; + addressTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateCryptoAddressInput { + clientMutationId?: string; + id: string; + cryptoAddressPatch: CryptoAddressPatch; +} +export interface DeleteCryptoAddressInput { + clientMutationId?: string; + id: string; +} export interface CreateRoleTypeInput { clientMutationId?: string; roleType: { @@ -13103,27 +13894,32 @@ export interface DeleteOrgPermissionDefaultInput { clientMutationId?: string; id: string; } -export interface CreateCryptoAddressInput { +export interface CreatePhoneNumberInput { clientMutationId?: string; - cryptoAddress: { + phoneNumber: { ownerId?: string; - address: string; + cc: string; + number: string; isVerified?: boolean; isPrimary?: boolean; }; } -export interface CryptoAddressPatch { +export interface PhoneNumberPatch { ownerId?: string | null; - address?: string | null; + cc?: string | null; + number?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + ccTrgmSimilarity?: number | null; + numberTrgmSimilarity?: number | null; + searchScore?: number | null; } -export interface UpdateCryptoAddressInput { +export interface UpdatePhoneNumberInput { clientMutationId?: string; id: string; - cryptoAddressPatch: CryptoAddressPatch; + phoneNumberPatch: PhoneNumberPatch; } -export interface DeleteCryptoAddressInput { +export interface DeletePhoneNumberInput { clientMutationId?: string; id: string; } @@ -13183,63 +13979,18 @@ export interface ConnectedAccountPatch { identifier?: string | null; details?: Record | null; isVerified?: boolean | null; + serviceTrgmSimilarity?: number | null; + identifierTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountInput { clientMutationId?: string; id: string; connectedAccountPatch: ConnectedAccountPatch; } -export interface DeleteConnectedAccountInput { - clientMutationId?: string; - id: string; -} -export interface CreatePhoneNumberInput { - clientMutationId?: string; - phoneNumber: { - ownerId?: string; - cc: string; - number: string; - isVerified?: boolean; - isPrimary?: boolean; - }; -} -export interface PhoneNumberPatch { - ownerId?: string | null; - cc?: string | null; - number?: string | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; -} -export interface UpdatePhoneNumberInput { - clientMutationId?: string; - id: string; - phoneNumberPatch: PhoneNumberPatch; -} -export interface DeletePhoneNumberInput { - clientMutationId?: string; - id: string; -} -export interface CreateMembershipTypeInput { - clientMutationId?: string; - membershipType: { - name: string; - description: string; - prefix: string; - }; -} -export interface MembershipTypePatch { - name?: string | null; - description?: string | null; - prefix?: string | null; -} -export interface UpdateMembershipTypeInput { - clientMutationId?: string; - id: number; - membershipTypePatch: MembershipTypePatch; -} -export interface DeleteMembershipTypeInput { +export interface DeleteConnectedAccountInput { clientMutationId?: string; - id: number; + id: string; } export interface CreateNodeTypeRegistryInput { clientMutationId?: string; @@ -13261,6 +14012,12 @@ export interface NodeTypeRegistryPatch { description?: string | null; parameterSchema?: Record | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + slugTrgmSimilarity?: number | null; + categoryTrgmSimilarity?: number | null; + displayNameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateNodeTypeRegistryInput { clientMutationId?: string; @@ -13271,6 +14028,31 @@ export interface DeleteNodeTypeRegistryInput { clientMutationId?: string; name: string; } +export interface CreateMembershipTypeInput { + clientMutationId?: string; + membershipType: { + name: string; + description: string; + prefix: string; + }; +} +export interface MembershipTypePatch { + name?: string | null; + description?: string | null; + prefix?: string | null; + descriptionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateMembershipTypeInput { + clientMutationId?: string; + id: number; + membershipTypePatch: MembershipTypePatch; +} +export interface DeleteMembershipTypeInput { + clientMutationId?: string; + id: number; +} export interface CreateAppMembershipDefaultInput { clientMutationId?: string; appMembershipDefault: { @@ -13295,6 +14077,47 @@ export interface DeleteAppMembershipDefaultInput { clientMutationId?: string; id: string; } +export interface CreateRlsModuleInput { + clientMutationId?: string; + rlsModule: { + databaseId: string; + schemaId?: string; + privateSchemaId?: string; + sessionCredentialsTableId?: string; + sessionsTableId?: string; + usersTableId?: string; + authenticate?: string; + authenticateStrict?: string; + currentRole?: string; + currentRoleId?: string; + }; +} +export interface RlsModulePatch { + databaseId?: string | null; + schemaId?: string | null; + privateSchemaId?: string | null; + sessionCredentialsTableId?: string | null; + sessionsTableId?: string | null; + usersTableId?: string | null; + authenticate?: string | null; + authenticateStrict?: string | null; + currentRole?: string | null; + currentRoleId?: string | null; + authenticateTrgmSimilarity?: number | null; + authenticateStrictTrgmSimilarity?: number | null; + currentRoleTrgmSimilarity?: number | null; + currentRoleIdTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateRlsModuleInput { + clientMutationId?: string; + id: string; + rlsModulePatch: RlsModulePatch; +} +export interface DeleteRlsModuleInput { + clientMutationId?: string; + id: string; +} export interface CreateCommitInput { clientMutationId?: string; commit: { @@ -13317,6 +14140,8 @@ export interface CommitPatch { committerId?: string | null; treeId?: string | null; date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCommitInput { clientMutationId?: string; @@ -13373,6 +14198,8 @@ export interface AuditLogPatch { userAgent?: string | null; ipAddress?: string | null; success?: boolean | null; + userAgentTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAuditLogInput { clientMutationId?: string; @@ -13397,6 +14224,8 @@ export interface AppLevelPatch { description?: string | null; image?: ConstructiveInternalTypeImage | null; ownerId?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelInput { clientMutationId?: string; @@ -13407,30 +14236,6 @@ export interface DeleteAppLevelInput { clientMutationId?: string; id: string; } -export interface CreateEmailInput { - clientMutationId?: string; - email: { - ownerId?: string; - email: ConstructiveInternalTypeEmail; - isVerified?: boolean; - isPrimary?: boolean; - }; -} -export interface EmailPatch { - ownerId?: string | null; - email?: ConstructiveInternalTypeEmail | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; -} -export interface UpdateEmailInput { - clientMutationId?: string; - id: string; - emailPatch: EmailPatch; -} -export interface DeleteEmailInput { - clientMutationId?: string; - id: string; -} export interface CreateSqlMigrationInput { clientMutationId?: string; sqlMigration: { @@ -13459,6 +14264,13 @@ export interface SqlMigrationPatch { action?: string | null; actionId?: string | null; actorId?: string | null; + nameTrgmSimilarity?: number | null; + deployTrgmSimilarity?: number | null; + contentTrgmSimilarity?: number | null; + revertTrgmSimilarity?: number | null; + verifyTrgmSimilarity?: number | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSqlMigrationInput { clientMutationId?: string; @@ -13469,6 +14281,30 @@ export interface DeleteSqlMigrationInput { clientMutationId?: string; id: number; } +export interface CreateEmailInput { + clientMutationId?: string; + email: { + ownerId?: string; + email: ConstructiveInternalTypeEmail; + isVerified?: boolean; + isPrimary?: boolean; + }; +} +export interface EmailPatch { + ownerId?: string | null; + email?: ConstructiveInternalTypeEmail | null; + isVerified?: boolean | null; + isPrimary?: boolean | null; +} +export interface UpdateEmailInput { + clientMutationId?: string; + id: string; + emailPatch: EmailPatch; +} +export interface DeleteEmailInput { + clientMutationId?: string; + id: string; +} export interface CreateAstMigrationInput { clientMutationId?: string; astMigration: { @@ -13497,6 +14333,8 @@ export interface AstMigrationPatch { action?: string | null; actionId?: string | null; actorId?: string | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAstMigrationInput { clientMutationId?: string; @@ -13507,33 +14345,6 @@ export interface DeleteAstMigrationInput { clientMutationId?: string; id: number; } -export interface CreateUserInput { - clientMutationId?: string; - user: { - username?: string; - displayName?: string; - profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; - type?: number; - }; -} -export interface UserPatch { - username?: string | null; - displayName?: string | null; - profilePicture?: ConstructiveInternalTypeImage | null; - searchTsv?: string | null; - type?: number | null; - searchTsvRank?: number | null; -} -export interface UpdateUserInput { - clientMutationId?: string; - id: string; - userPatch: UserPatch; -} -export interface DeleteUserInput { - clientMutationId?: string; - id: string; -} export interface CreateAppMembershipInput { clientMutationId?: string; appMembership: { @@ -13576,6 +14387,35 @@ export interface DeleteAppMembershipInput { clientMutationId?: string; id: string; } +export interface CreateUserInput { + clientMutationId?: string; + user: { + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + searchTsv?: string; + type?: number; + }; +} +export interface UserPatch { + username?: string | null; + displayName?: string | null; + profilePicture?: ConstructiveInternalTypeImage | null; + searchTsv?: string | null; + type?: number | null; + searchTsvRank?: number | null; + displayNameTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateUserInput { + clientMutationId?: string; + id: string; + userPatch: UserPatch; +} +export interface DeleteUserInput { + clientMutationId?: string; + id: string; +} export interface CreateHierarchyModuleInput { clientMutationId?: string; hierarchyModule: { @@ -13618,6 +14458,17 @@ export interface HierarchyModulePatch { getSubordinatesFunction?: string | null; getManagersFunction?: string | null; isManagerOfFunction?: string | null; + chartEdgesTableNameTrgmSimilarity?: number | null; + hierarchySprtTableNameTrgmSimilarity?: number | null; + chartEdgeGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + privateSchemaNameTrgmSimilarity?: number | null; + sprtTableNameTrgmSimilarity?: number | null; + rebuildHierarchyFunctionTrgmSimilarity?: number | null; + getSubordinatesFunctionTrgmSimilarity?: number | null; + getManagersFunctionTrgmSimilarity?: number | null; + isManagerOfFunctionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateHierarchyModuleInput { clientMutationId?: string; @@ -13666,7 +14517,6 @@ export const connectionFieldsMap = { emailsModules: 'EmailsModule', encryptedSecretsModules: 'EncryptedSecretsModule', fieldModules: 'FieldModule', - tableModules: 'TableModule', invitesModules: 'InvitesModule', levelsModules: 'LevelsModule', limitsModules: 'LimitsModule', @@ -13675,7 +14525,6 @@ export const connectionFieldsMap = { permissionsModules: 'PermissionsModule', phoneNumbersModules: 'PhoneNumbersModule', profilesModules: 'ProfilesModule', - rlsModules: 'RlsModule', secretsModules: 'SecretsModule', sessionsModules: 'SessionsModule', userAuthModules: 'UserAuthModule', @@ -13708,7 +14557,6 @@ export const connectionFieldsMap = { uniqueConstraints: 'UniqueConstraint', views: 'View', viewTables: 'ViewTable', - tableModules: 'TableModule', tableTemplateModulesByOwnerTableId: 'TableTemplateModule', tableTemplateModules: 'TableTemplateModule', secureTableProvisions: 'SecureTableProvision', @@ -13817,12 +14665,6 @@ export interface ResetPasswordInput { resetToken?: string; newPassword?: string; } -export interface RemoveNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; -} export interface BootstrapUserInput { clientMutationId?: string; targetDatabaseId?: string; @@ -13833,6 +14675,12 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface SetDataAtPathInput { clientMutationId?: string; dbId?: string; @@ -14132,14 +14980,6 @@ export type ResetPasswordPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; -export interface RemoveNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type RemoveNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; export interface BootstrapUserPayload { clientMutationId?: string | null; result?: BootstrapUserRecord[] | null; @@ -14150,6 +14990,14 @@ export type BootstrapUserPayloadSelect = { select: BootstrapUserRecordSelect; }; }; +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type RemoveNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; export interface SetDataAtPathPayload { clientMutationId?: string | null; result?: string | null; @@ -15247,51 +16095,6 @@ export type DeleteViewRulePayloadSelect = { select: ViewRuleEdgeSelect; }; }; -export interface CreateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was created by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type CreateTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; -export interface UpdateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was updated by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type UpdateTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; -export interface DeleteTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was deleted by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type DeleteTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; export interface CreateTableTemplateModulePayload { clientMutationId?: string | null; /** The `TableTemplateModule` that was created by this mutation. */ @@ -16654,82 +17457,37 @@ export type CreateProfilesModulePayloadSelect = { select: ProfilesModuleSelect; }; profilesModuleEdge?: { - select: ProfilesModuleEdgeSelect; - }; -}; -export interface UpdateProfilesModulePayload { - clientMutationId?: string | null; - /** The `ProfilesModule` that was updated by this mutation. */ - profilesModule?: ProfilesModule | null; - profilesModuleEdge?: ProfilesModuleEdge | null; -} -export type UpdateProfilesModulePayloadSelect = { - clientMutationId?: boolean; - profilesModule?: { - select: ProfilesModuleSelect; - }; - profilesModuleEdge?: { - select: ProfilesModuleEdgeSelect; - }; -}; -export interface DeleteProfilesModulePayload { - clientMutationId?: string | null; - /** The `ProfilesModule` that was deleted by this mutation. */ - profilesModule?: ProfilesModule | null; - profilesModuleEdge?: ProfilesModuleEdge | null; -} -export type DeleteProfilesModulePayloadSelect = { - clientMutationId?: boolean; - profilesModule?: { - select: ProfilesModuleSelect; - }; - profilesModuleEdge?: { - select: ProfilesModuleEdgeSelect; - }; -}; -export interface CreateRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was created by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} -export type CreateRlsModulePayloadSelect = { - clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; - }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; + select: ProfilesModuleEdgeSelect; }; }; -export interface UpdateRlsModulePayload { +export interface UpdateProfilesModulePayload { clientMutationId?: string | null; - /** The `RlsModule` that was updated by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; + /** The `ProfilesModule` that was updated by this mutation. */ + profilesModule?: ProfilesModule | null; + profilesModuleEdge?: ProfilesModuleEdge | null; } -export type UpdateRlsModulePayloadSelect = { +export type UpdateProfilesModulePayloadSelect = { clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; + profilesModule?: { + select: ProfilesModuleSelect; }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; + profilesModuleEdge?: { + select: ProfilesModuleEdgeSelect; }; }; -export interface DeleteRlsModulePayload { +export interface DeleteProfilesModulePayload { clientMutationId?: string | null; - /** The `RlsModule` that was deleted by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; + /** The `ProfilesModule` that was deleted by this mutation. */ + profilesModule?: ProfilesModule | null; + profilesModuleEdge?: ProfilesModuleEdge | null; } -export type DeleteRlsModulePayloadSelect = { +export type DeleteProfilesModulePayloadSelect = { clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; + profilesModule?: { + select: ProfilesModuleSelect; }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; + profilesModuleEdge?: { + select: ProfilesModuleEdgeSelect; }; }; export interface CreateSecretsModulePayload { @@ -17947,6 +18705,51 @@ export type DeleteAppPermissionDefaultPayloadSelect = { select: AppPermissionDefaultEdgeSelect; }; }; +export interface CreateCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was created by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type CreateCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; +export interface UpdateCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was updated by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type UpdateCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; +export interface DeleteCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was deleted by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type DeleteCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; export interface CreateRoleTypePayload { clientMutationId?: string | null; /** The `RoleType` that was created by this mutation. */ @@ -18037,49 +18840,49 @@ export type DeleteOrgPermissionDefaultPayloadSelect = { select: OrgPermissionDefaultEdgeSelect; }; }; -export interface CreateCryptoAddressPayload { +export interface CreatePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was created by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was created by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type CreateCryptoAddressPayloadSelect = { +export type CreatePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; -export interface UpdateCryptoAddressPayload { +export interface UpdatePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was updated by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was updated by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type UpdateCryptoAddressPayloadSelect = { +export type UpdatePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; -export interface DeleteCryptoAddressPayload { +export interface DeletePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was deleted by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was deleted by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type DeleteCryptoAddressPayloadSelect = { +export type DeletePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; export interface CreateAppLimitDefaultPayload { @@ -18217,49 +19020,49 @@ export type DeleteConnectedAccountPayloadSelect = { select: ConnectedAccountEdgeSelect; }; }; -export interface CreatePhoneNumberPayload { +export interface CreateNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was created by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was created by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type CreatePhoneNumberPayloadSelect = { +export type CreateNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; -export interface UpdatePhoneNumberPayload { +export interface UpdateNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was updated by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was updated by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type UpdatePhoneNumberPayloadSelect = { +export type UpdateNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; -export interface DeletePhoneNumberPayload { +export interface DeleteNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was deleted by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was deleted by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type DeletePhoneNumberPayloadSelect = { +export type DeleteNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; export interface CreateMembershipTypePayload { @@ -18307,94 +19110,94 @@ export type DeleteMembershipTypePayloadSelect = { select: MembershipTypeEdgeSelect; }; }; -export interface CreateNodeTypeRegistryPayload { +export interface CreateAppMembershipDefaultPayload { clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was created by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; + /** The `AppMembershipDefault` that was created by this mutation. */ + appMembershipDefault?: AppMembershipDefault | null; + appMembershipDefaultEdge?: AppMembershipDefaultEdge | null; } -export type CreateNodeTypeRegistryPayloadSelect = { +export type CreateAppMembershipDefaultPayloadSelect = { clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; + appMembershipDefault?: { + select: AppMembershipDefaultSelect; }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; + appMembershipDefaultEdge?: { + select: AppMembershipDefaultEdgeSelect; }; }; -export interface UpdateNodeTypeRegistryPayload { +export interface UpdateAppMembershipDefaultPayload { clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was updated by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; + /** The `AppMembershipDefault` that was updated by this mutation. */ + appMembershipDefault?: AppMembershipDefault | null; + appMembershipDefaultEdge?: AppMembershipDefaultEdge | null; } -export type UpdateNodeTypeRegistryPayloadSelect = { +export type UpdateAppMembershipDefaultPayloadSelect = { clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; + appMembershipDefault?: { + select: AppMembershipDefaultSelect; }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; + appMembershipDefaultEdge?: { + select: AppMembershipDefaultEdgeSelect; }; }; -export interface DeleteNodeTypeRegistryPayload { +export interface DeleteAppMembershipDefaultPayload { clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was deleted by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; + /** The `AppMembershipDefault` that was deleted by this mutation. */ + appMembershipDefault?: AppMembershipDefault | null; + appMembershipDefaultEdge?: AppMembershipDefaultEdge | null; } -export type DeleteNodeTypeRegistryPayloadSelect = { +export type DeleteAppMembershipDefaultPayloadSelect = { clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; + appMembershipDefault?: { + select: AppMembershipDefaultSelect; }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; + appMembershipDefaultEdge?: { + select: AppMembershipDefaultEdgeSelect; }; }; -export interface CreateAppMembershipDefaultPayload { +export interface CreateRlsModulePayload { clientMutationId?: string | null; - /** The `AppMembershipDefault` that was created by this mutation. */ - appMembershipDefault?: AppMembershipDefault | null; - appMembershipDefaultEdge?: AppMembershipDefaultEdge | null; + /** The `RlsModule` that was created by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; } -export type CreateAppMembershipDefaultPayloadSelect = { +export type CreateRlsModulePayloadSelect = { clientMutationId?: boolean; - appMembershipDefault?: { - select: AppMembershipDefaultSelect; + rlsModule?: { + select: RlsModuleSelect; }; - appMembershipDefaultEdge?: { - select: AppMembershipDefaultEdgeSelect; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; }; }; -export interface UpdateAppMembershipDefaultPayload { +export interface UpdateRlsModulePayload { clientMutationId?: string | null; - /** The `AppMembershipDefault` that was updated by this mutation. */ - appMembershipDefault?: AppMembershipDefault | null; - appMembershipDefaultEdge?: AppMembershipDefaultEdge | null; + /** The `RlsModule` that was updated by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; } -export type UpdateAppMembershipDefaultPayloadSelect = { +export type UpdateRlsModulePayloadSelect = { clientMutationId?: boolean; - appMembershipDefault?: { - select: AppMembershipDefaultSelect; + rlsModule?: { + select: RlsModuleSelect; }; - appMembershipDefaultEdge?: { - select: AppMembershipDefaultEdgeSelect; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; }; }; -export interface DeleteAppMembershipDefaultPayload { +export interface DeleteRlsModulePayload { clientMutationId?: string | null; - /** The `AppMembershipDefault` that was deleted by this mutation. */ - appMembershipDefault?: AppMembershipDefault | null; - appMembershipDefaultEdge?: AppMembershipDefaultEdge | null; + /** The `RlsModule` that was deleted by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; } -export type DeleteAppMembershipDefaultPayloadSelect = { +export type DeleteRlsModulePayloadSelect = { clientMutationId?: boolean; - appMembershipDefault?: { - select: AppMembershipDefaultSelect; + rlsModule?: { + select: RlsModuleSelect; }; - appMembershipDefaultEdge?: { - select: AppMembershipDefaultEdgeSelect; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; }; }; export interface CreateCommitPayload { @@ -18577,6 +19380,17 @@ export type DeleteAppLevelPayloadSelect = { select: AppLevelEdgeSelect; }; }; +export interface CreateSqlMigrationPayload { + clientMutationId?: string | null; + /** The `SqlMigration` that was created by this mutation. */ + sqlMigration?: SqlMigration | null; +} +export type CreateSqlMigrationPayloadSelect = { + clientMutationId?: boolean; + sqlMigration?: { + select: SqlMigrationSelect; + }; +}; export interface CreateEmailPayload { clientMutationId?: string | null; /** The `Email` that was created by this mutation. */ @@ -18622,17 +19436,6 @@ export type DeleteEmailPayloadSelect = { select: EmailEdgeSelect; }; }; -export interface CreateSqlMigrationPayload { - clientMutationId?: string | null; - /** The `SqlMigration` that was created by this mutation. */ - sqlMigration?: SqlMigration | null; -} -export type CreateSqlMigrationPayloadSelect = { - clientMutationId?: boolean; - sqlMigration?: { - select: SqlMigrationSelect; - }; -}; export interface CreateAstMigrationPayload { clientMutationId?: string | null; /** The `AstMigration` that was created by this mutation. */ @@ -18644,51 +19447,6 @@ export type CreateAstMigrationPayloadSelect = { select: AstMigrationSelect; }; }; -export interface CreateUserPayload { - clientMutationId?: string | null; - /** The `User` that was created by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type CreateUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; -export interface UpdateUserPayload { - clientMutationId?: string | null; - /** The `User` that was updated by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type UpdateUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; -export interface DeleteUserPayload { - clientMutationId?: string | null; - /** The `User` that was deleted by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type DeleteUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; export interface CreateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was created by this mutation. */ @@ -18734,6 +19492,51 @@ export type DeleteAppMembershipPayloadSelect = { select: AppMembershipEdgeSelect; }; }; +export interface CreateUserPayload { + clientMutationId?: string | null; + /** The `User` that was created by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type CreateUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; +export interface UpdateUserPayload { + clientMutationId?: string | null; + /** The `User` that was updated by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type UpdateUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; +export interface DeleteUserPayload { + clientMutationId?: string | null; + /** The `User` that was deleted by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type DeleteUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; export interface CreateHierarchyModulePayload { clientMutationId?: string | null; /** The `HierarchyModule` that was created by this mutation. */ @@ -18853,6 +19656,16 @@ export interface BootstrapUserRecord { outIsOwner?: boolean | null; outIsSudo?: boolean | null; outApiKey?: string | null; + /** TRGM similarity when searching `outEmail`. Returns null when no trgm search filter is active. */ + outEmailTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outUsername`. Returns null when no trgm search filter is active. */ + outUsernameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outDisplayName`. Returns null when no trgm search filter is active. */ + outDisplayNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export type BootstrapUserRecordSelect = { outUserId?: boolean; @@ -18863,14 +19676,25 @@ export type BootstrapUserRecordSelect = { outIsOwner?: boolean; outIsSudo?: boolean; outApiKey?: boolean; + outEmailTrgmSimilarity?: boolean; + outUsernameTrgmSimilarity?: boolean; + outDisplayNameTrgmSimilarity?: boolean; + outApiKeyTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ProvisionDatabaseWithUserRecord { outDatabaseId?: string | null; outApiKey?: string | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export type ProvisionDatabaseWithUserRecordSelect = { outDatabaseId?: boolean; outApiKey?: boolean; + outApiKeyTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignInOneTimeTokenRecord { id?: string | null; @@ -18879,6 +19703,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInOneTimeTokenRecordSelect = { id?: boolean; @@ -18887,6 +19715,8 @@ export type SignInOneTimeTokenRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ExtendTokenExpiresRecord { id?: string | null; @@ -18905,6 +19735,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInRecordSelect = { id?: boolean; @@ -18913,6 +19747,8 @@ export type SignInRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignUpRecord { id?: string | null; @@ -18921,6 +19757,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignUpRecordSelect = { id?: boolean; @@ -18929,6 +19769,8 @@ export type SignUpRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state */ export interface Session { @@ -18957,6 +19799,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SessionSelect = { id?: boolean; @@ -18973,6 +19823,10 @@ export type SessionSelect = { csrfSecret?: boolean; createdAt?: boolean; updatedAt?: boolean; + uagentTrgmSimilarity?: boolean; + fingerprintModeTrgmSimilarity?: boolean; + csrfSecretTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** A `Database` edge in the connection. */ export interface DatabaseEdge { @@ -19178,18 +20032,6 @@ export type ViewRuleEdgeSelect = { select: ViewRuleSelect; }; }; -/** A `TableModule` edge in the connection. */ -export interface TableModuleEdge { - cursor?: string | null; - /** The `TableModule` at the end of the edge. */ - node?: TableModule | null; -} -export type TableModuleEdgeSelect = { - cursor?: boolean; - node?: { - select: TableModuleSelect; - }; -}; /** A `TableTemplateModule` edge in the connection. */ export interface TableTemplateModuleEdge { cursor?: string | null; @@ -19562,18 +20404,6 @@ export type ProfilesModuleEdgeSelect = { select: ProfilesModuleSelect; }; }; -/** A `RlsModule` edge in the connection. */ -export interface RlsModuleEdge { - cursor?: string | null; - /** The `RlsModule` at the end of the edge. */ - node?: RlsModule | null; -} -export type RlsModuleEdgeSelect = { - cursor?: boolean; - node?: { - select: RlsModuleSelect; - }; -}; /** A `SecretsModule` edge in the connection. */ export interface SecretsModuleEdge { cursor?: string | null; @@ -19898,6 +20728,18 @@ export type AppPermissionDefaultEdgeSelect = { select: AppPermissionDefaultSelect; }; }; +/** A `CryptoAddress` edge in the connection. */ +export interface CryptoAddressEdge { + cursor?: string | null; + /** The `CryptoAddress` at the end of the edge. */ + node?: CryptoAddress | null; +} +export type CryptoAddressEdgeSelect = { + cursor?: boolean; + node?: { + select: CryptoAddressSelect; + }; +}; /** A `RoleType` edge in the connection. */ export interface RoleTypeEdge { cursor?: string | null; @@ -19922,16 +20764,16 @@ export type OrgPermissionDefaultEdgeSelect = { select: OrgPermissionDefaultSelect; }; }; -/** A `CryptoAddress` edge in the connection. */ -export interface CryptoAddressEdge { +/** A `PhoneNumber` edge in the connection. */ +export interface PhoneNumberEdge { cursor?: string | null; - /** The `CryptoAddress` at the end of the edge. */ - node?: CryptoAddress | null; + /** The `PhoneNumber` at the end of the edge. */ + node?: PhoneNumber | null; } -export type CryptoAddressEdgeSelect = { +export type PhoneNumberEdgeSelect = { cursor?: boolean; node?: { - select: CryptoAddressSelect; + select: PhoneNumberSelect; }; }; /** A `AppLimitDefault` edge in the connection. */ @@ -19970,16 +20812,16 @@ export type ConnectedAccountEdgeSelect = { select: ConnectedAccountSelect; }; }; -/** A `PhoneNumber` edge in the connection. */ -export interface PhoneNumberEdge { +/** A `NodeTypeRegistry` edge in the connection. */ +export interface NodeTypeRegistryEdge { cursor?: string | null; - /** The `PhoneNumber` at the end of the edge. */ - node?: PhoneNumber | null; + /** The `NodeTypeRegistry` at the end of the edge. */ + node?: NodeTypeRegistry | null; } -export type PhoneNumberEdgeSelect = { +export type NodeTypeRegistryEdgeSelect = { cursor?: boolean; node?: { - select: PhoneNumberSelect; + select: NodeTypeRegistrySelect; }; }; /** A `MembershipType` edge in the connection. */ @@ -19994,18 +20836,6 @@ export type MembershipTypeEdgeSelect = { select: MembershipTypeSelect; }; }; -/** A `NodeTypeRegistry` edge in the connection. */ -export interface NodeTypeRegistryEdge { - cursor?: string | null; - /** The `NodeTypeRegistry` at the end of the edge. */ - node?: NodeTypeRegistry | null; -} -export type NodeTypeRegistryEdgeSelect = { - cursor?: boolean; - node?: { - select: NodeTypeRegistrySelect; - }; -}; /** A `AppMembershipDefault` edge in the connection. */ export interface AppMembershipDefaultEdge { cursor?: string | null; @@ -20018,6 +20848,18 @@ export type AppMembershipDefaultEdgeSelect = { select: AppMembershipDefaultSelect; }; }; +/** A `RlsModule` edge in the connection. */ +export interface RlsModuleEdge { + cursor?: string | null; + /** The `RlsModule` at the end of the edge. */ + node?: RlsModule | null; +} +export type RlsModuleEdgeSelect = { + cursor?: boolean; + node?: { + select: RlsModuleSelect; + }; +}; /** A `Commit` edge in the connection. */ export interface CommitEdge { cursor?: string | null; @@ -20078,18 +20920,6 @@ export type EmailEdgeSelect = { select: EmailSelect; }; }; -/** A `User` edge in the connection. */ -export interface UserEdge { - cursor?: string | null; - /** The `User` at the end of the edge. */ - node?: User | null; -} -export type UserEdgeSelect = { - cursor?: boolean; - node?: { - select: UserSelect; - }; -}; /** A `AppMembership` edge in the connection. */ export interface AppMembershipEdge { cursor?: string | null; @@ -20102,6 +20932,18 @@ export type AppMembershipEdgeSelect = { select: AppMembershipSelect; }; }; +/** A `User` edge in the connection. */ +export interface UserEdge { + cursor?: string | null; + /** The `User` at the end of the edge. */ + node?: User | null; +} +export type UserEdgeSelect = { + cursor?: boolean; + node?: { + select: UserSelect; + }; +}; /** A `HierarchyModule` edge in the connection. */ export interface HierarchyModuleEdge { cursor?: string | null; diff --git a/sdk/constructive-react/src/public/orm/models/api.ts b/sdk/constructive-react/src/public/orm/models/api.ts index 2995bb318..0533ae182 100644 --- a/sdk/constructive-react/src/public/orm/models/api.ts +++ b/sdk/constructive-react/src/public/orm/models/api.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/apiModule.ts b/sdk/constructive-react/src/public/orm/models/apiModule.ts index 47b2be5f6..c4bc0a5c8 100644 --- a/sdk/constructive-react/src/public/orm/models/apiModule.ts +++ b/sdk/constructive-react/src/public/orm/models/apiModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/apiSchema.ts b/sdk/constructive-react/src/public/orm/models/apiSchema.ts index 4e6664741..46c1e4202 100644 --- a/sdk/constructive-react/src/public/orm/models/apiSchema.ts +++ b/sdk/constructive-react/src/public/orm/models/apiSchema.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiSchemaModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/app.ts b/sdk/constructive-react/src/public/orm/models/app.ts index a851a9774..6bc04a7d8 100644 --- a/sdk/constructive-react/src/public/orm/models/app.ts +++ b/sdk/constructive-react/src/public/orm/models/app.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appAchievement.ts b/sdk/constructive-react/src/public/orm/models/appAchievement.ts index c26bd04df..b6b13c6ca 100644 --- a/sdk/constructive-react/src/public/orm/models/appAchievement.ts +++ b/sdk/constructive-react/src/public/orm/models/appAchievement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAchievementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appAdminGrant.ts b/sdk/constructive-react/src/public/orm/models/appAdminGrant.ts index 994dcd67d..e109a5074 100644 --- a/sdk/constructive-react/src/public/orm/models/appAdminGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/appAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appGrant.ts b/sdk/constructive-react/src/public/orm/models/appGrant.ts index df4f3ac72..d6c381d48 100644 --- a/sdk/constructive-react/src/public/orm/models/appGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/appGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appLevel.ts b/sdk/constructive-react/src/public/orm/models/appLevel.ts index 16a46df57..69e6100e0 100644 --- a/sdk/constructive-react/src/public/orm/models/appLevel.ts +++ b/sdk/constructive-react/src/public/orm/models/appLevel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appLevelRequirement.ts b/sdk/constructive-react/src/public/orm/models/appLevelRequirement.ts index a67824ec2..085346af5 100644 --- a/sdk/constructive-react/src/public/orm/models/appLevelRequirement.ts +++ b/sdk/constructive-react/src/public/orm/models/appLevelRequirement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelRequirementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appLimit.ts b/sdk/constructive-react/src/public/orm/models/appLimit.ts index 6671f9d37..667cf913e 100644 --- a/sdk/constructive-react/src/public/orm/models/appLimit.ts +++ b/sdk/constructive-react/src/public/orm/models/appLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appLimitDefault.ts b/sdk/constructive-react/src/public/orm/models/appLimitDefault.ts index 8d926da0a..b2ca4d794 100644 --- a/sdk/constructive-react/src/public/orm/models/appLimitDefault.ts +++ b/sdk/constructive-react/src/public/orm/models/appLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appMembership.ts b/sdk/constructive-react/src/public/orm/models/appMembership.ts index 2631ec415..fe22a66c1 100644 --- a/sdk/constructive-react/src/public/orm/models/appMembership.ts +++ b/sdk/constructive-react/src/public/orm/models/appMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appMembershipDefault.ts b/sdk/constructive-react/src/public/orm/models/appMembershipDefault.ts index ba0c3ce53..333231b61 100644 --- a/sdk/constructive-react/src/public/orm/models/appMembershipDefault.ts +++ b/sdk/constructive-react/src/public/orm/models/appMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appOwnerGrant.ts b/sdk/constructive-react/src/public/orm/models/appOwnerGrant.ts index a18dd21c4..0c2e436d0 100644 --- a/sdk/constructive-react/src/public/orm/models/appOwnerGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/appOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appPermission.ts b/sdk/constructive-react/src/public/orm/models/appPermission.ts index ab24d7bfc..c1740e8cc 100644 --- a/sdk/constructive-react/src/public/orm/models/appPermission.ts +++ b/sdk/constructive-react/src/public/orm/models/appPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appPermissionDefault.ts b/sdk/constructive-react/src/public/orm/models/appPermissionDefault.ts index 3951ef4bb..926a76f55 100644 --- a/sdk/constructive-react/src/public/orm/models/appPermissionDefault.ts +++ b/sdk/constructive-react/src/public/orm/models/appPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/appStep.ts b/sdk/constructive-react/src/public/orm/models/appStep.ts index 7c4ab983c..a6895d488 100644 --- a/sdk/constructive-react/src/public/orm/models/appStep.ts +++ b/sdk/constructive-react/src/public/orm/models/appStep.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppStepModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/astMigration.ts b/sdk/constructive-react/src/public/orm/models/astMigration.ts index 8bab8cfd0..44b0d3469 100644 --- a/sdk/constructive-react/src/public/orm/models/astMigration.ts +++ b/sdk/constructive-react/src/public/orm/models/astMigration.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AstMigrationModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/auditLog.ts b/sdk/constructive-react/src/public/orm/models/auditLog.ts index 3d6aacb4e..6923d2902 100644 --- a/sdk/constructive-react/src/public/orm/models/auditLog.ts +++ b/sdk/constructive-react/src/public/orm/models/auditLog.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AuditLogModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/checkConstraint.ts b/sdk/constructive-react/src/public/orm/models/checkConstraint.ts index 3d789793d..511179b11 100644 --- a/sdk/constructive-react/src/public/orm/models/checkConstraint.ts +++ b/sdk/constructive-react/src/public/orm/models/checkConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CheckConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/claimedInvite.ts b/sdk/constructive-react/src/public/orm/models/claimedInvite.ts index 9a679a488..2acbbcddc 100644 --- a/sdk/constructive-react/src/public/orm/models/claimedInvite.ts +++ b/sdk/constructive-react/src/public/orm/models/claimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/commit.ts b/sdk/constructive-react/src/public/orm/models/commit.ts index 257e233ae..ea9aa22d2 100644 --- a/sdk/constructive-react/src/public/orm/models/commit.ts +++ b/sdk/constructive-react/src/public/orm/models/commit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CommitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/connectedAccount.ts b/sdk/constructive-react/src/public/orm/models/connectedAccount.ts index 0f2523553..2c68e0072 100644 --- a/sdk/constructive-react/src/public/orm/models/connectedAccount.ts +++ b/sdk/constructive-react/src/public/orm/models/connectedAccount.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/connectedAccountsModule.ts b/sdk/constructive-react/src/public/orm/models/connectedAccountsModule.ts index 09cb420e5..ee4816c47 100644 --- a/sdk/constructive-react/src/public/orm/models/connectedAccountsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/connectedAccountsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/cryptoAddress.ts b/sdk/constructive-react/src/public/orm/models/cryptoAddress.ts index 8d0c9b387..612da9a59 100644 --- a/sdk/constructive-react/src/public/orm/models/cryptoAddress.ts +++ b/sdk/constructive-react/src/public/orm/models/cryptoAddress.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/cryptoAddressesModule.ts b/sdk/constructive-react/src/public/orm/models/cryptoAddressesModule.ts index 5c1de3024..134c2513f 100644 --- a/sdk/constructive-react/src/public/orm/models/cryptoAddressesModule.ts +++ b/sdk/constructive-react/src/public/orm/models/cryptoAddressesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/cryptoAuthModule.ts b/sdk/constructive-react/src/public/orm/models/cryptoAuthModule.ts index ddaa749f8..c17d4576f 100644 --- a/sdk/constructive-react/src/public/orm/models/cryptoAuthModule.ts +++ b/sdk/constructive-react/src/public/orm/models/cryptoAuthModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAuthModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/database.ts b/sdk/constructive-react/src/public/orm/models/database.ts index 9bb0c871a..78f7ea7ab 100644 --- a/sdk/constructive-react/src/public/orm/models/database.ts +++ b/sdk/constructive-react/src/public/orm/models/database.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DatabaseModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/databaseProvisionModule.ts b/sdk/constructive-react/src/public/orm/models/databaseProvisionModule.ts index 31becee8c..a54fc9e33 100644 --- a/sdk/constructive-react/src/public/orm/models/databaseProvisionModule.ts +++ b/sdk/constructive-react/src/public/orm/models/databaseProvisionModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DatabaseProvisionModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/defaultIdsModule.ts b/sdk/constructive-react/src/public/orm/models/defaultIdsModule.ts index 665f3eb1e..9dd0ff2aa 100644 --- a/sdk/constructive-react/src/public/orm/models/defaultIdsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/defaultIdsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DefaultIdsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/defaultPrivilege.ts b/sdk/constructive-react/src/public/orm/models/defaultPrivilege.ts index 73079ad7f..d94bf3852 100644 --- a/sdk/constructive-react/src/public/orm/models/defaultPrivilege.ts +++ b/sdk/constructive-react/src/public/orm/models/defaultPrivilege.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DefaultPrivilegeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/denormalizedTableField.ts b/sdk/constructive-react/src/public/orm/models/denormalizedTableField.ts index 111286e0e..0e0761fea 100644 --- a/sdk/constructive-react/src/public/orm/models/denormalizedTableField.ts +++ b/sdk/constructive-react/src/public/orm/models/denormalizedTableField.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DenormalizedTableFieldModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/domain.ts b/sdk/constructive-react/src/public/orm/models/domain.ts index dcdb161a7..a7e531285 100644 --- a/sdk/constructive-react/src/public/orm/models/domain.ts +++ b/sdk/constructive-react/src/public/orm/models/domain.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DomainModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/email.ts b/sdk/constructive-react/src/public/orm/models/email.ts index d03c2180b..c73b51b9d 100644 --- a/sdk/constructive-react/src/public/orm/models/email.ts +++ b/sdk/constructive-react/src/public/orm/models/email.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/emailsModule.ts b/sdk/constructive-react/src/public/orm/models/emailsModule.ts index ab8058dfe..e03452b36 100644 --- a/sdk/constructive-react/src/public/orm/models/emailsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/emailsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/encryptedSecretsModule.ts b/sdk/constructive-react/src/public/orm/models/encryptedSecretsModule.ts index d82b79a8e..e2dd9387c 100644 --- a/sdk/constructive-react/src/public/orm/models/encryptedSecretsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/encryptedSecretsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EncryptedSecretsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/field.ts b/sdk/constructive-react/src/public/orm/models/field.ts index 6d54be6c0..e58fd8d55 100644 --- a/sdk/constructive-react/src/public/orm/models/field.ts +++ b/sdk/constructive-react/src/public/orm/models/field.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FieldModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/fieldModule.ts b/sdk/constructive-react/src/public/orm/models/fieldModule.ts index e4a646053..8b5fc151c 100644 --- a/sdk/constructive-react/src/public/orm/models/fieldModule.ts +++ b/sdk/constructive-react/src/public/orm/models/fieldModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FieldModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/foreignKeyConstraint.ts b/sdk/constructive-react/src/public/orm/models/foreignKeyConstraint.ts index 725546cba..a0536d189 100644 --- a/sdk/constructive-react/src/public/orm/models/foreignKeyConstraint.ts +++ b/sdk/constructive-react/src/public/orm/models/foreignKeyConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ForeignKeyConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/fullTextSearch.ts b/sdk/constructive-react/src/public/orm/models/fullTextSearch.ts index ef372d194..08daca1f4 100644 --- a/sdk/constructive-react/src/public/orm/models/fullTextSearch.ts +++ b/sdk/constructive-react/src/public/orm/models/fullTextSearch.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FullTextSearchModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/getAllRecord.ts b/sdk/constructive-react/src/public/orm/models/getAllRecord.ts index 53873a0f3..94a06bdd9 100644 --- a/sdk/constructive-react/src/public/orm/models/getAllRecord.ts +++ b/sdk/constructive-react/src/public/orm/models/getAllRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class GetAllRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/hierarchyModule.ts b/sdk/constructive-react/src/public/orm/models/hierarchyModule.ts index af2684505..5734d644a 100644 --- a/sdk/constructive-react/src/public/orm/models/hierarchyModule.ts +++ b/sdk/constructive-react/src/public/orm/models/hierarchyModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class HierarchyModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/index.ts b/sdk/constructive-react/src/public/orm/models/index.ts index 69c875e89..b871be98f 100644 --- a/sdk/constructive-react/src/public/orm/models/index.ts +++ b/sdk/constructive-react/src/public/orm/models/index.ts @@ -27,7 +27,6 @@ export { ViewModel } from './view'; export { ViewTableModel } from './viewTable'; export { ViewGrantModel } from './viewGrant'; export { ViewRuleModel } from './viewRule'; -export { TableModuleModel } from './tableModule'; export { TableTemplateModuleModel } from './tableTemplateModule'; export { SecureTableProvisionModel } from './secureTableProvision'; export { RelationProvisionModel } from './relationProvision'; @@ -59,7 +58,6 @@ export { MembershipsModuleModel } from './membershipsModule'; export { PermissionsModuleModel } from './permissionsModule'; export { PhoneNumbersModuleModel } from './phoneNumbersModule'; export { ProfilesModuleModel } from './profilesModule'; -export { RlsModuleModel } from './rlsModule'; export { SecretsModuleModel } from './secretsModule'; export { SessionsModuleModel } from './sessionsModule'; export { UserAuthModuleModel } from './userAuthModule'; @@ -87,23 +85,24 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite'; export { RefModel } from './ref'; export { StoreModel } from './store'; export { AppPermissionDefaultModel } from './appPermissionDefault'; +export { CryptoAddressModel } from './cryptoAddress'; export { RoleTypeModel } from './roleType'; export { OrgPermissionDefaultModel } from './orgPermissionDefault'; -export { CryptoAddressModel } from './cryptoAddress'; +export { PhoneNumberModel } from './phoneNumber'; export { AppLimitDefaultModel } from './appLimitDefault'; export { OrgLimitDefaultModel } from './orgLimitDefault'; export { ConnectedAccountModel } from './connectedAccount'; -export { PhoneNumberModel } from './phoneNumber'; -export { MembershipTypeModel } from './membershipType'; export { NodeTypeRegistryModel } from './nodeTypeRegistry'; +export { MembershipTypeModel } from './membershipType'; export { AppMembershipDefaultModel } from './appMembershipDefault'; +export { RlsModuleModel } from './rlsModule'; export { CommitModel } from './commit'; export { OrgMembershipDefaultModel } from './orgMembershipDefault'; export { AuditLogModel } from './auditLog'; export { AppLevelModel } from './appLevel'; -export { EmailModel } from './email'; export { SqlMigrationModel } from './sqlMigration'; +export { EmailModel } from './email'; export { AstMigrationModel } from './astMigration'; -export { UserModel } from './user'; export { AppMembershipModel } from './appMembership'; +export { UserModel } from './user'; export { HierarchyModuleModel } from './hierarchyModule'; diff --git a/sdk/constructive-react/src/public/orm/models/indexModel.ts b/sdk/constructive-react/src/public/orm/models/indexModel.ts index 4db3f2083..ffca4ea4c 100644 --- a/sdk/constructive-react/src/public/orm/models/indexModel.ts +++ b/sdk/constructive-react/src/public/orm/models/indexModel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class IndexModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/invite.ts b/sdk/constructive-react/src/public/orm/models/invite.ts index ffacfa690..7cb652492 100644 --- a/sdk/constructive-react/src/public/orm/models/invite.ts +++ b/sdk/constructive-react/src/public/orm/models/invite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/invitesModule.ts b/sdk/constructive-react/src/public/orm/models/invitesModule.ts index 8a25495cc..8e4d790c1 100644 --- a/sdk/constructive-react/src/public/orm/models/invitesModule.ts +++ b/sdk/constructive-react/src/public/orm/models/invitesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InvitesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/levelsModule.ts b/sdk/constructive-react/src/public/orm/models/levelsModule.ts index 4c0cedf16..dd05fdabb 100644 --- a/sdk/constructive-react/src/public/orm/models/levelsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/levelsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class LevelsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/limitsModule.ts b/sdk/constructive-react/src/public/orm/models/limitsModule.ts index a6976e0d3..a3ae43570 100644 --- a/sdk/constructive-react/src/public/orm/models/limitsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/limitsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class LimitsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/membershipType.ts b/sdk/constructive-react/src/public/orm/models/membershipType.ts index c8f385b4e..9bb48d29b 100644 --- a/sdk/constructive-react/src/public/orm/models/membershipType.ts +++ b/sdk/constructive-react/src/public/orm/models/membershipType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/membershipTypesModule.ts b/sdk/constructive-react/src/public/orm/models/membershipTypesModule.ts index 35e412956..faf147781 100644 --- a/sdk/constructive-react/src/public/orm/models/membershipTypesModule.ts +++ b/sdk/constructive-react/src/public/orm/models/membershipTypesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/membershipsModule.ts b/sdk/constructive-react/src/public/orm/models/membershipsModule.ts index 106924932..e7be07de2 100644 --- a/sdk/constructive-react/src/public/orm/models/membershipsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/membershipsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/nodeTypeRegistry.ts b/sdk/constructive-react/src/public/orm/models/nodeTypeRegistry.ts index 021587a23..00f1fa304 100644 --- a/sdk/constructive-react/src/public/orm/models/nodeTypeRegistry.ts +++ b/sdk/constructive-react/src/public/orm/models/nodeTypeRegistry.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class NodeTypeRegistryModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/object.ts b/sdk/constructive-react/src/public/orm/models/object.ts index 72f7b0da4..e6ffa470b 100644 --- a/sdk/constructive-react/src/public/orm/models/object.ts +++ b/sdk/constructive-react/src/public/orm/models/object.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ObjectModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgAdminGrant.ts b/sdk/constructive-react/src/public/orm/models/orgAdminGrant.ts index ad34ec08c..5547eb6b9 100644 --- a/sdk/constructive-react/src/public/orm/models/orgAdminGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/orgAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgChartEdge.ts b/sdk/constructive-react/src/public/orm/models/orgChartEdge.ts index 3ff845429..00b00dfc8 100644 --- a/sdk/constructive-react/src/public/orm/models/orgChartEdge.ts +++ b/sdk/constructive-react/src/public/orm/models/orgChartEdge.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgChartEdgeGrant.ts b/sdk/constructive-react/src/public/orm/models/orgChartEdgeGrant.ts index 40dba3391..be92222db 100644 --- a/sdk/constructive-react/src/public/orm/models/orgChartEdgeGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/orgChartEdgeGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgClaimedInvite.ts b/sdk/constructive-react/src/public/orm/models/orgClaimedInvite.ts index 7b1a668ce..3f4277848 100644 --- a/sdk/constructive-react/src/public/orm/models/orgClaimedInvite.ts +++ b/sdk/constructive-react/src/public/orm/models/orgClaimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgGetManagersRecord.ts b/sdk/constructive-react/src/public/orm/models/orgGetManagersRecord.ts index 9a0cefa8a..e8f5a29ec 100644 --- a/sdk/constructive-react/src/public/orm/models/orgGetManagersRecord.ts +++ b/sdk/constructive-react/src/public/orm/models/orgGetManagersRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetManagersRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgGetSubordinatesRecord.ts b/sdk/constructive-react/src/public/orm/models/orgGetSubordinatesRecord.ts index 5eeec50ca..be9fa6a62 100644 --- a/sdk/constructive-react/src/public/orm/models/orgGetSubordinatesRecord.ts +++ b/sdk/constructive-react/src/public/orm/models/orgGetSubordinatesRecord.ts @@ -37,7 +37,12 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetSubordinatesRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs< + S, + OrgGetSubordinatesRecordFilter, + never, + OrgGetSubordinatesRecordsOrderBy + > & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgGrant.ts b/sdk/constructive-react/src/public/orm/models/orgGrant.ts index 51ffe25e0..7142f7a22 100644 --- a/sdk/constructive-react/src/public/orm/models/orgGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/orgGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgInvite.ts b/sdk/constructive-react/src/public/orm/models/orgInvite.ts index 351f866ab..abf2f2e35 100644 --- a/sdk/constructive-react/src/public/orm/models/orgInvite.ts +++ b/sdk/constructive-react/src/public/orm/models/orgInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgLimit.ts b/sdk/constructive-react/src/public/orm/models/orgLimit.ts index 787dd2e18..4fa9be97a 100644 --- a/sdk/constructive-react/src/public/orm/models/orgLimit.ts +++ b/sdk/constructive-react/src/public/orm/models/orgLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgLimitDefault.ts b/sdk/constructive-react/src/public/orm/models/orgLimitDefault.ts index b66e270b4..d0e0a1a77 100644 --- a/sdk/constructive-react/src/public/orm/models/orgLimitDefault.ts +++ b/sdk/constructive-react/src/public/orm/models/orgLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgMember.ts b/sdk/constructive-react/src/public/orm/models/orgMember.ts index 9045b10e0..4e8e3b6e5 100644 --- a/sdk/constructive-react/src/public/orm/models/orgMember.ts +++ b/sdk/constructive-react/src/public/orm/models/orgMember.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMemberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgMembership.ts b/sdk/constructive-react/src/public/orm/models/orgMembership.ts index 7c5133b07..9ae89014b 100644 --- a/sdk/constructive-react/src/public/orm/models/orgMembership.ts +++ b/sdk/constructive-react/src/public/orm/models/orgMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgMembershipDefault.ts b/sdk/constructive-react/src/public/orm/models/orgMembershipDefault.ts index c4863e35b..c4afaaad7 100644 --- a/sdk/constructive-react/src/public/orm/models/orgMembershipDefault.ts +++ b/sdk/constructive-react/src/public/orm/models/orgMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgOwnerGrant.ts b/sdk/constructive-react/src/public/orm/models/orgOwnerGrant.ts index 57596aecd..d62bd3ab3 100644 --- a/sdk/constructive-react/src/public/orm/models/orgOwnerGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/orgOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgPermission.ts b/sdk/constructive-react/src/public/orm/models/orgPermission.ts index 9a2c0461f..6c4cbf204 100644 --- a/sdk/constructive-react/src/public/orm/models/orgPermission.ts +++ b/sdk/constructive-react/src/public/orm/models/orgPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/orgPermissionDefault.ts b/sdk/constructive-react/src/public/orm/models/orgPermissionDefault.ts index d6c204515..92af6e0db 100644 --- a/sdk/constructive-react/src/public/orm/models/orgPermissionDefault.ts +++ b/sdk/constructive-react/src/public/orm/models/orgPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/permissionsModule.ts b/sdk/constructive-react/src/public/orm/models/permissionsModule.ts index 5f30fad1e..3d65c3247 100644 --- a/sdk/constructive-react/src/public/orm/models/permissionsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/permissionsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PermissionsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/phoneNumber.ts b/sdk/constructive-react/src/public/orm/models/phoneNumber.ts index 8122dff00..8b59ca891 100644 --- a/sdk/constructive-react/src/public/orm/models/phoneNumber.ts +++ b/sdk/constructive-react/src/public/orm/models/phoneNumber.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/phoneNumbersModule.ts b/sdk/constructive-react/src/public/orm/models/phoneNumbersModule.ts index 26fdcfd2e..d8dbcded9 100644 --- a/sdk/constructive-react/src/public/orm/models/phoneNumbersModule.ts +++ b/sdk/constructive-react/src/public/orm/models/phoneNumbersModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumbersModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/policy.ts b/sdk/constructive-react/src/public/orm/models/policy.ts index 146ac30f5..2d5ad766b 100644 --- a/sdk/constructive-react/src/public/orm/models/policy.ts +++ b/sdk/constructive-react/src/public/orm/models/policy.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PolicyModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/primaryKeyConstraint.ts b/sdk/constructive-react/src/public/orm/models/primaryKeyConstraint.ts index 296ec2848..e339fd46c 100644 --- a/sdk/constructive-react/src/public/orm/models/primaryKeyConstraint.ts +++ b/sdk/constructive-react/src/public/orm/models/primaryKeyConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PrimaryKeyConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/profilesModule.ts b/sdk/constructive-react/src/public/orm/models/profilesModule.ts index 2970a1f49..3d52c22c5 100644 --- a/sdk/constructive-react/src/public/orm/models/profilesModule.ts +++ b/sdk/constructive-react/src/public/orm/models/profilesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ProfilesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/ref.ts b/sdk/constructive-react/src/public/orm/models/ref.ts index ec666a8e7..bbbefc91f 100644 --- a/sdk/constructive-react/src/public/orm/models/ref.ts +++ b/sdk/constructive-react/src/public/orm/models/ref.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RefModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/relationProvision.ts b/sdk/constructive-react/src/public/orm/models/relationProvision.ts index 83dcb30fd..8d8fc6b12 100644 --- a/sdk/constructive-react/src/public/orm/models/relationProvision.ts +++ b/sdk/constructive-react/src/public/orm/models/relationProvision.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RelationProvisionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/rlsModule.ts b/sdk/constructive-react/src/public/orm/models/rlsModule.ts index 4729eb1b3..71d863919 100644 --- a/sdk/constructive-react/src/public/orm/models/rlsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/rlsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RlsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/roleType.ts b/sdk/constructive-react/src/public/orm/models/roleType.ts index dce555ddb..90a0b01dc 100644 --- a/sdk/constructive-react/src/public/orm/models/roleType.ts +++ b/sdk/constructive-react/src/public/orm/models/roleType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RoleTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/schema.ts b/sdk/constructive-react/src/public/orm/models/schema.ts index e930fee2b..5f6660fe0 100644 --- a/sdk/constructive-react/src/public/orm/models/schema.ts +++ b/sdk/constructive-react/src/public/orm/models/schema.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SchemaModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/schemaGrant.ts b/sdk/constructive-react/src/public/orm/models/schemaGrant.ts index 7a311cdb9..78813289e 100644 --- a/sdk/constructive-react/src/public/orm/models/schemaGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/schemaGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SchemaGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/secretsModule.ts b/sdk/constructive-react/src/public/orm/models/secretsModule.ts index 55d75dad4..c980e5c8a 100644 --- a/sdk/constructive-react/src/public/orm/models/secretsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/secretsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SecretsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/secureTableProvision.ts b/sdk/constructive-react/src/public/orm/models/secureTableProvision.ts index 713dc44c8..f3a438581 100644 --- a/sdk/constructive-react/src/public/orm/models/secureTableProvision.ts +++ b/sdk/constructive-react/src/public/orm/models/secureTableProvision.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SecureTableProvisionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/sessionsModule.ts b/sdk/constructive-react/src/public/orm/models/sessionsModule.ts index 5245d808b..724f530df 100644 --- a/sdk/constructive-react/src/public/orm/models/sessionsModule.ts +++ b/sdk/constructive-react/src/public/orm/models/sessionsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SessionsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/site.ts b/sdk/constructive-react/src/public/orm/models/site.ts index 83b54cc55..65ac6affd 100644 --- a/sdk/constructive-react/src/public/orm/models/site.ts +++ b/sdk/constructive-react/src/public/orm/models/site.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/siteMetadatum.ts b/sdk/constructive-react/src/public/orm/models/siteMetadatum.ts index 38353bdd3..9bafa6686 100644 --- a/sdk/constructive-react/src/public/orm/models/siteMetadatum.ts +++ b/sdk/constructive-react/src/public/orm/models/siteMetadatum.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteMetadatumModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/siteModule.ts b/sdk/constructive-react/src/public/orm/models/siteModule.ts index 59ee85477..b5215f5ee 100644 --- a/sdk/constructive-react/src/public/orm/models/siteModule.ts +++ b/sdk/constructive-react/src/public/orm/models/siteModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/siteTheme.ts b/sdk/constructive-react/src/public/orm/models/siteTheme.ts index e9222e3c5..68707da06 100644 --- a/sdk/constructive-react/src/public/orm/models/siteTheme.ts +++ b/sdk/constructive-react/src/public/orm/models/siteTheme.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteThemeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/sqlMigration.ts b/sdk/constructive-react/src/public/orm/models/sqlMigration.ts index 07bba36b7..29bec4157 100644 --- a/sdk/constructive-react/src/public/orm/models/sqlMigration.ts +++ b/sdk/constructive-react/src/public/orm/models/sqlMigration.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SqlMigrationModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/store.ts b/sdk/constructive-react/src/public/orm/models/store.ts index d6f5e0450..5481b44b9 100644 --- a/sdk/constructive-react/src/public/orm/models/store.ts +++ b/sdk/constructive-react/src/public/orm/models/store.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class StoreModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/table.ts b/sdk/constructive-react/src/public/orm/models/table.ts index 25f1ac127..5f875bd7f 100644 --- a/sdk/constructive-react/src/public/orm/models/table.ts +++ b/sdk/constructive-react/src/public/orm/models/table.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/tableGrant.ts b/sdk/constructive-react/src/public/orm/models/tableGrant.ts index bdd257b1e..eb85d3409 100644 --- a/sdk/constructive-react/src/public/orm/models/tableGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/tableGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/tableModule.ts b/sdk/constructive-react/src/public/orm/models/tableModule.ts deleted file mode 100644 index 708e7a4c5..000000000 --- a/sdk/constructive-react/src/public/orm/models/tableModule.ts +++ /dev/null @@ -1,236 +0,0 @@ -/** - * TableModule model for ORM client - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ -import { OrmClient } from '../client'; -import { - QueryBuilder, - buildFindManyDocument, - buildFindFirstDocument, - buildFindOneDocument, - buildCreateDocument, - buildUpdateByPkDocument, - buildDeleteByPkDocument, -} from '../query-builder'; -import type { - ConnectionResult, - FindManyArgs, - FindFirstArgs, - CreateArgs, - UpdateArgs, - DeleteArgs, - InferSelectResult, - StrictSelect, -} from '../select-types'; -import type { - TableModule, - TableModuleWithRelations, - TableModuleSelect, - TableModuleFilter, - TableModuleOrderBy, - CreateTableModuleInput, - UpdateTableModuleInput, - TableModulePatch, -} from '../input-types'; -import { connectionFieldsMap } from '../input-types'; -export class TableModuleModel { - constructor(private client: OrmClient) {} - findMany( - args: FindManyArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModules: ConnectionResult>; - }> { - const { document, variables } = buildFindManyDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: args?.where, - orderBy: args?.orderBy as string[] | undefined, - first: args?.first, - last: args?.last, - after: args?.after, - before: args?.before, - offset: args?.offset, - }, - 'TableModuleFilter', - 'TableModuleOrderBy', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModules', - document, - variables, - }); - } - findFirst( - args: FindFirstArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModules: { - nodes: InferSelectResult[]; - }; - }> { - const { document, variables } = buildFindFirstDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: args?.where, - }, - 'TableModuleFilter', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModules', - document, - variables, - }); - } - findOne( - args: { - id: string; - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModule: InferSelectResult | null; - }> { - const { document, variables } = buildFindManyDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: { - id: { - equalTo: args.id, - }, - }, - first: 1, - }, - 'TableModuleFilter', - 'TableModuleOrderBy', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModule', - document, - variables, - transform: (data: { - tableModules?: { - nodes?: InferSelectResult[]; - }; - }) => ({ - tableModule: data.tableModules?.nodes?.[0] ?? null, - }), - }); - } - create( - args: CreateArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - createTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildCreateDocument( - 'TableModule', - 'createTableModule', - 'tableModule', - args.select, - args.data, - 'CreateTableModuleInput', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'createTableModule', - document, - variables, - }); - } - update( - args: UpdateArgs< - S, - { - id: string; - }, - TableModulePatch - > & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - updateTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildUpdateByPkDocument( - 'TableModule', - 'updateTableModule', - 'tableModule', - args.select, - args.where.id, - args.data, - 'UpdateTableModuleInput', - 'id', - 'tableModulePatch', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'updateTableModule', - document, - variables, - }); - } - delete( - args: DeleteArgs< - { - id: string; - }, - S - > & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - deleteTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildDeleteByPkDocument( - 'TableModule', - 'deleteTableModule', - 'tableModule', - args.where.id, - 'DeleteTableModuleInput', - 'id', - args.select, - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'deleteTableModule', - document, - variables, - }); - } -} diff --git a/sdk/constructive-react/src/public/orm/models/tableTemplateModule.ts b/sdk/constructive-react/src/public/orm/models/tableTemplateModule.ts index 7438901cc..4bb1225ec 100644 --- a/sdk/constructive-react/src/public/orm/models/tableTemplateModule.ts +++ b/sdk/constructive-react/src/public/orm/models/tableTemplateModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableTemplateModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/trigger.ts b/sdk/constructive-react/src/public/orm/models/trigger.ts index 3ad1cf6ad..2839fac37 100644 --- a/sdk/constructive-react/src/public/orm/models/trigger.ts +++ b/sdk/constructive-react/src/public/orm/models/trigger.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TriggerModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/triggerFunction.ts b/sdk/constructive-react/src/public/orm/models/triggerFunction.ts index 7e93572c1..5a9f1ccae 100644 --- a/sdk/constructive-react/src/public/orm/models/triggerFunction.ts +++ b/sdk/constructive-react/src/public/orm/models/triggerFunction.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TriggerFunctionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/uniqueConstraint.ts b/sdk/constructive-react/src/public/orm/models/uniqueConstraint.ts index ad935fcca..c8de8b9fd 100644 --- a/sdk/constructive-react/src/public/orm/models/uniqueConstraint.ts +++ b/sdk/constructive-react/src/public/orm/models/uniqueConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UniqueConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/user.ts b/sdk/constructive-react/src/public/orm/models/user.ts index 7adeca16a..bc2dacdba 100644 --- a/sdk/constructive-react/src/public/orm/models/user.ts +++ b/sdk/constructive-react/src/public/orm/models/user.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/userAuthModule.ts b/sdk/constructive-react/src/public/orm/models/userAuthModule.ts index 59b3f7d69..3ee00a8eb 100644 --- a/sdk/constructive-react/src/public/orm/models/userAuthModule.ts +++ b/sdk/constructive-react/src/public/orm/models/userAuthModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserAuthModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/usersModule.ts b/sdk/constructive-react/src/public/orm/models/usersModule.ts index c61a00ff1..3682dbb29 100644 --- a/sdk/constructive-react/src/public/orm/models/usersModule.ts +++ b/sdk/constructive-react/src/public/orm/models/usersModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UsersModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/uuidModule.ts b/sdk/constructive-react/src/public/orm/models/uuidModule.ts index 1b2f60f23..9a95fd500 100644 --- a/sdk/constructive-react/src/public/orm/models/uuidModule.ts +++ b/sdk/constructive-react/src/public/orm/models/uuidModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UuidModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/view.ts b/sdk/constructive-react/src/public/orm/models/view.ts index d28154954..1bdab5036 100644 --- a/sdk/constructive-react/src/public/orm/models/view.ts +++ b/sdk/constructive-react/src/public/orm/models/view.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/viewGrant.ts b/sdk/constructive-react/src/public/orm/models/viewGrant.ts index e63ef2382..7c0552242 100644 --- a/sdk/constructive-react/src/public/orm/models/viewGrant.ts +++ b/sdk/constructive-react/src/public/orm/models/viewGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/viewRule.ts b/sdk/constructive-react/src/public/orm/models/viewRule.ts index 4bf9c2cca..33a361252 100644 --- a/sdk/constructive-react/src/public/orm/models/viewRule.ts +++ b/sdk/constructive-react/src/public/orm/models/viewRule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewRuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/models/viewTable.ts b/sdk/constructive-react/src/public/orm/models/viewTable.ts index f976d31af..d44582086 100644 --- a/sdk/constructive-react/src/public/orm/models/viewTable.ts +++ b/sdk/constructive-react/src/public/orm/models/viewTable.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewTableModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-react/src/public/orm/mutation/index.ts b/sdk/constructive-react/src/public/orm/mutation/index.ts index f8ef22b51..43b9fc6e9 100644 --- a/sdk/constructive-react/src/public/orm/mutation/index.ts +++ b/sdk/constructive-react/src/public/orm/mutation/index.ts @@ -18,8 +18,8 @@ import type { SetPasswordInput, VerifyEmailInput, ResetPasswordInput, - RemoveNodeAtPathInput, BootstrapUserInput, + RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, @@ -49,8 +49,8 @@ import type { SetPasswordPayload, VerifyEmailPayload, ResetPasswordPayload, - RemoveNodeAtPathPayload, BootstrapUserPayload, + RemoveNodeAtPathPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, @@ -80,8 +80,8 @@ import type { SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ResetPasswordPayloadSelect, - RemoveNodeAtPathPayloadSelect, BootstrapUserPayloadSelect, + RemoveNodeAtPathPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, @@ -135,12 +135,12 @@ export interface VerifyEmailVariables { export interface ResetPasswordVariables { input: ResetPasswordInput; } -export interface RemoveNodeAtPathVariables { - input: RemoveNodeAtPathInput; -} export interface BootstrapUserVariables { input: BootstrapUserInput; } +export interface RemoveNodeAtPathVariables { + input: RemoveNodeAtPathInput; +} export interface SetDataAtPathVariables { input: SetDataAtPathInput; } @@ -535,62 +535,62 @@ export function createMutationOperations(client: OrmClient) { 'ResetPasswordPayload' ), }), - removeNodeAtPath: ( - args: RemoveNodeAtPathVariables, + bootstrapUser: ( + args: BootstrapUserVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - removeNodeAtPath: InferSelectResult | null; + bootstrapUser: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'RemoveNodeAtPath', - fieldName: 'removeNodeAtPath', + operationName: 'BootstrapUser', + fieldName: 'bootstrapUser', ...buildCustomDocument( 'mutation', - 'RemoveNodeAtPath', - 'removeNodeAtPath', + 'BootstrapUser', + 'bootstrapUser', options.select, args, [ { name: 'input', - type: 'RemoveNodeAtPathInput!', + type: 'BootstrapUserInput!', }, ], connectionFieldsMap, - 'RemoveNodeAtPathPayload' + 'BootstrapUserPayload' ), }), - bootstrapUser: ( - args: BootstrapUserVariables, + removeNodeAtPath: ( + args: RemoveNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - bootstrapUser: InferSelectResult | null; + removeNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'BootstrapUser', - fieldName: 'bootstrapUser', + operationName: 'RemoveNodeAtPath', + fieldName: 'removeNodeAtPath', ...buildCustomDocument( 'mutation', - 'BootstrapUser', - 'bootstrapUser', + 'RemoveNodeAtPath', + 'removeNodeAtPath', options.select, args, [ { name: 'input', - type: 'BootstrapUserInput!', + type: 'RemoveNodeAtPathInput!', }, ], connectionFieldsMap, - 'BootstrapUserPayload' + 'RemoveNodeAtPathPayload' ), }), setDataAtPath: ( diff --git a/sdk/constructive-react/src/public/orm/query-builder.ts b/sdk/constructive-react/src/public/orm/query-builder.ts index 67c3992b5..969c14937 100644 --- a/sdk/constructive-react/src/public/orm/query-builder.ts +++ b/sdk/constructive-react/src/public/orm/query-builder.ts @@ -189,12 +189,13 @@ export function buildSelections( // Document Builders // ============================================================================ -export function buildFindManyDocument( +export function buildFindManyDocument( operationName: string, queryField: string, select: TSelect, args: { where?: TWhere; + condition?: TCondition; orderBy?: string[]; first?: number; last?: number; @@ -204,7 +205,8 @@ export function buildFindManyDocument( }, filterTypeName: string, orderByTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -214,10 +216,19 @@ export function buildFindManyDocument( const queryArgs: ArgumentNode[] = []; const variables: Record = {}; + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -290,13 +301,14 @@ export function buildFindManyDocument( return { document: print(document), variables }; } -export function buildFindFirstDocument( +export function buildFindFirstDocument( operationName: string, queryField: string, select: TSelect, - args: { where?: TWhere }, + args: { where?: TWhere; condition?: TCondition }, filterTypeName: string, - connectionFieldsMap?: Record> + connectionFieldsMap?: Record>, + conditionTypeName?: string ): { document: string; variables: Record } { const selections = select ? buildSelections(select as Record, connectionFieldsMap, operationName) @@ -313,10 +325,19 @@ export function buildFindFirstDocument( queryArgs, variables ); + addVariable( + { + varName: 'condition', + typeName: conditionTypeName, + value: args.condition, + }, + variableDefinitions, + queryArgs, + variables + ); addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -728,7 +749,7 @@ function buildConnectionSelections(nodeSelections: FieldNode[]): FieldNode[] { interface VariableSpec { varName: string; argName?: string; - typeName: string; + typeName?: string; value: unknown; } @@ -779,7 +800,7 @@ function addVariable( args: ArgumentNode[], variables: Record ): void { - if (spec.value === undefined) return; + if (spec.value === undefined || !spec.typeName) return; definitions.push( t.variableDefinition({ diff --git a/sdk/constructive-react/src/public/orm/select-types.ts b/sdk/constructive-react/src/public/orm/select-types.ts index 80165efa6..919d1b935 100644 --- a/sdk/constructive-react/src/public/orm/select-types.ts +++ b/sdk/constructive-react/src/public/orm/select-types.ts @@ -16,9 +16,10 @@ export interface PageInfo { endCursor?: string | null; } -export interface FindManyArgs { +export interface FindManyArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; orderBy?: TOrderBy[]; first?: number; last?: number; @@ -27,9 +28,10 @@ export interface FindManyArgs { offset?: number; } -export interface FindFirstArgs { +export interface FindFirstArgs { select?: TSelect; where?: TWhere; + condition?: TCondition; } export interface CreateArgs { diff --git a/sdk/constructive-react/src/public/schema-types.ts b/sdk/constructive-react/src/public/schema-types.ts index 211a47a11..598c684d6 100644 --- a/sdk/constructive-react/src/public/schema-types.ts +++ b/sdk/constructive-react/src/public/schema-types.ts @@ -96,7 +96,6 @@ import type { Store, Table, TableGrant, - TableModule, TableTemplateModule, Trigger, TriggerFunction, @@ -125,6 +124,7 @@ import type { StringListFilter, UUIDFilter, UUIDListFilter, + VectorFilter, } from './types'; export type ConstructiveInternalTypeAttachment = unknown; export type ConstructiveInternalTypeEmail = unknown; @@ -149,7 +149,15 @@ export type CheckConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `Field`. */ export type FieldOrderBy = | 'NATURAL' @@ -166,7 +174,21 @@ export type FieldOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `ForeignKeyConstraint`. */ export type ForeignKeyConstraintOrderBy = | 'NATURAL' @@ -183,7 +205,21 @@ export type ForeignKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `FullTextSearch`. */ export type FullTextSearchOrderBy = | 'NATURAL' @@ -215,7 +251,15 @@ export type IndexOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `Policy`. */ export type PolicyOrderBy = | 'NATURAL' @@ -232,7 +276,19 @@ export type PolicyOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `PrimaryKeyConstraint`. */ export type PrimaryKeyConstraintOrderBy = | 'NATURAL' @@ -249,7 +305,15 @@ export type PrimaryKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `TableGrant`. */ export type TableGrantOrderBy = | 'NATURAL' @@ -264,7 +328,13 @@ export type TableGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `Trigger`. */ export type TriggerOrderBy = | 'NATURAL' @@ -281,7 +351,17 @@ export type TriggerOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `UniqueConstraint`. */ export type UniqueConstraintOrderBy = | 'NATURAL' @@ -298,7 +378,17 @@ export type UniqueConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `ViewTable`. */ export type ViewTableOrderBy = | 'NATURAL' @@ -326,7 +416,13 @@ export type ViewGrantOrderBy = | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; /** Methods to use when ordering `ViewRule`. */ export type ViewRuleOrderBy = | 'NATURAL' @@ -339,7 +435,15 @@ export type ViewRuleOrderBy = | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'NAME_ASC' - | 'NAME_DESC'; + | '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'; /** Methods to use when ordering `View`. */ export type ViewOrderBy = | 'NATURAL' @@ -354,20 +458,17 @@ export type ViewOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'TABLE_ID_ASC' - | 'TABLE_ID_DESC'; -/** Methods to use when ordering `TableModule`. */ -export type TableModuleOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' - | 'NODE_TYPE_ASC' - | 'NODE_TYPE_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'; /** Methods to use when ordering `TableTemplateModule`. */ export type TableTemplateModuleOrderBy = | 'NATURAL' @@ -386,7 +487,13 @@ export type TableTemplateModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'NODE_TYPE_ASC' - | 'NODE_TYPE_DESC'; + | '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'; /** Methods to use when ordering `SecureTableProvision`. */ export type SecureTableProvisionOrderBy = | 'NATURAL' @@ -399,7 +506,19 @@ export type SecureTableProvisionOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NODE_TYPE_ASC' - | 'NODE_TYPE_DESC'; + | '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'; /** Methods to use when ordering `RelationProvision`. */ export type RelationProvisionOrderBy = | 'NATURAL' @@ -414,7 +533,29 @@ export type RelationProvisionOrderBy = | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' - | 'TARGET_TABLE_ID_DESC'; + | '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'; /** Methods to use when ordering `Table`. */ export type TableOrderBy = | 'NATURAL' @@ -431,7 +572,21 @@ export type TableOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `SchemaGrant`. */ export type SchemaGrantOrderBy = | 'NATURAL' @@ -446,7 +601,11 @@ export type SchemaGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_ASC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `DefaultPrivilege`. */ export type DefaultPrivilegeOrderBy = | 'NATURAL' @@ -465,7 +624,15 @@ export type DefaultPrivilegeOrderBy = | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; /** Methods to use when ordering `ApiModule`. */ export type ApiModuleOrderBy = | 'NATURAL' @@ -478,7 +645,11 @@ export type ApiModuleOrderBy = | 'API_ID_ASC' | 'API_ID_DESC' | 'NAME_ASC' - | 'NAME_DESC'; + | 'NAME_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `ApiSchema`. */ export type ApiSchemaOrderBy = | 'NATURAL' @@ -519,7 +690,13 @@ export type SiteMetadatumOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SITE_ID_ASC' - | 'SITE_ID_DESC'; + | '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'; /** Methods to use when ordering `SiteModule`. */ export type SiteModuleOrderBy = | 'NATURAL' @@ -530,7 +707,11 @@ export type SiteModuleOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SITE_ID_ASC' - | 'SITE_ID_DESC'; + | 'SITE_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `SiteTheme`. */ export type SiteThemeOrderBy = | 'NATURAL' @@ -558,7 +739,19 @@ export type SchemaOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `TriggerFunction`. */ export type TriggerFunctionOrderBy = | 'NATURAL' @@ -573,7 +766,13 @@ export type TriggerFunctionOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `Api`. */ export type ApiOrderBy = | 'NATURAL' @@ -584,7 +783,17 @@ export type ApiOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' - | 'NAME_DESC'; + | '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'; /** Methods to use when ordering `Site`. */ export type SiteOrderBy = | 'NATURAL' @@ -593,7 +802,15 @@ export type SiteOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `App`. */ export type AppOrderBy = | 'NATURAL' @@ -604,7 +821,15 @@ export type AppOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SITE_ID_ASC' - | 'SITE_ID_DESC'; + | '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'; /** Methods to use when ordering `ConnectedAccountsModule`. */ export type ConnectedAccountsModuleOrderBy = | 'NATURAL' @@ -613,7 +838,11 @@ export type ConnectedAccountsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `CryptoAddressesModule`. */ export type CryptoAddressesModuleOrderBy = | 'NATURAL' @@ -622,7 +851,13 @@ export type CryptoAddressesModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `CryptoAuthModule`. */ export type CryptoAuthModuleOrderBy = | 'NATURAL' @@ -631,7 +866,21 @@ export type CryptoAuthModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `DefaultIdsModule`. */ export type DefaultIdsModuleOrderBy = | 'NATURAL' @@ -649,7 +898,11 @@ export type DenormalizedTableFieldOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'FUNC_NAME_TRGM_SIMILARITY_ASC' + | 'FUNC_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `EmailsModule`. */ export type EmailsModuleOrderBy = | 'NATURAL' @@ -658,7 +911,11 @@ export type EmailsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `EncryptedSecretsModule`. */ export type EncryptedSecretsModuleOrderBy = | 'NATURAL' @@ -667,7 +924,11 @@ export type EncryptedSecretsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `FieldModule`. */ export type FieldModuleOrderBy = | 'NATURAL' @@ -678,7 +939,11 @@ export type FieldModuleOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NODE_TYPE_ASC' - | 'NODE_TYPE_DESC'; + | 'NODE_TYPE_DESC' + | 'NODE_TYPE_TRGM_SIMILARITY_ASC' + | 'NODE_TYPE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `InvitesModule`. */ export type InvitesModuleOrderBy = | 'NATURAL' @@ -687,7 +952,17 @@ export type InvitesModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `LevelsModule`. */ export type LevelsModuleOrderBy = | 'NATURAL' @@ -696,7 +971,39 @@ export type LevelsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `LimitsModule`. */ export type LimitsModuleOrderBy = | 'NATURAL' @@ -705,7 +1012,27 @@ export type LimitsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `MembershipTypesModule`. */ export type MembershipTypesModuleOrderBy = | 'NATURAL' @@ -714,7 +1041,11 @@ export type MembershipTypesModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `MembershipsModule`. */ export type MembershipsModuleOrderBy = | 'NATURAL' @@ -723,7 +1054,33 @@ export type MembershipsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `PermissionsModule`. */ export type PermissionsModuleOrderBy = | 'NATURAL' @@ -732,7 +1089,23 @@ export type PermissionsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `PhoneNumbersModule`. */ export type PhoneNumbersModuleOrderBy = | 'NATURAL' @@ -741,7 +1114,11 @@ export type PhoneNumbersModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `ProfilesModule`. */ export type ProfilesModuleOrderBy = | 'NATURAL' @@ -752,18 +1129,19 @@ export type ProfilesModuleOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'MEMBERSHIP_TYPE_ASC' - | 'MEMBERSHIP_TYPE_DESC'; -/** Methods to use when ordering `RlsModule`. */ -export type RlsModuleOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'API_ID_ASC' - | 'API_ID_DESC'; + | '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'; /** Methods to use when ordering `SecretsModule`. */ export type SecretsModuleOrderBy = | 'NATURAL' @@ -772,7 +1150,11 @@ export type SecretsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `SessionsModule`. */ export type SessionsModuleOrderBy = | 'NATURAL' @@ -781,7 +1163,15 @@ export type SessionsModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `UserAuthModule`. */ export type UserAuthModuleOrderBy = | 'NATURAL' @@ -790,7 +1180,41 @@ export type UserAuthModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `UsersModule`. */ export type UsersModuleOrderBy = | 'NATURAL' @@ -799,7 +1223,13 @@ export type UsersModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `UuidModule`. */ export type UuidModuleOrderBy = | 'NATURAL' @@ -808,7 +1238,13 @@ export type UuidModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `DatabaseProvisionModule`. */ export type DatabaseProvisionModuleOrderBy = | 'NATURAL' @@ -821,7 +1257,19 @@ export type DatabaseProvisionModuleOrderBy = | 'STATUS_ASC' | 'STATUS_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | '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'; /** Methods to use when ordering `Database`. */ export type DatabaseOrderBy = | 'NATURAL' @@ -836,7 +1284,15 @@ export type DatabaseOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `AppAdminGrant`. */ export type AppAdminGrantOrderBy = | 'NATURAL' @@ -975,7 +1431,11 @@ export type OrgChartEdgeOrderBy = | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' - | 'PARENT_ID_DESC'; + | 'PARENT_ID_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `OrgChartEdgeGrant`. */ export type OrgChartEdgeGrantOrderBy = | 'NATURAL' @@ -990,7 +1450,11 @@ export type OrgChartEdgeGrantOrderBy = | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' - | 'GRANTOR_ID_DESC'; + | 'GRANTOR_ID_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppLimit`. */ export type AppLimitOrderBy = | 'NATURAL' @@ -1065,7 +1529,11 @@ export type InviteOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `ClaimedInvite`. */ export type ClaimedInviteOrderBy = | 'NATURAL' @@ -1103,7 +1571,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `OrgClaimedInvite`. */ export type OrgClaimedInviteOrderBy = | 'NATURAL' @@ -1129,7 +1601,11 @@ export type RefOrderBy = | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' - | 'STORE_ID_DESC'; + | 'STORE_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `Store`. */ export type StoreOrderBy = | 'NATURAL' @@ -1138,7 +1614,11 @@ export type StoreOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppPermissionDefault`. */ export type AppPermissionDefaultOrderBy = | 'NATURAL' @@ -1146,6 +1626,23 @@ export type AppPermissionDefaultOrderBy = | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC'; +/** Methods to use when ordering `CryptoAddress`. */ +export type 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'; /** Methods to use when ordering `RoleType`. */ export type RoleTypeOrderBy = | 'NATURAL' @@ -1162,19 +1659,25 @@ export type OrgPermissionDefaultOrderBy = | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC'; -/** Methods to use when ordering `CryptoAddress`. */ -export type CryptoAddressOrderBy = +/** Methods to use when ordering `PhoneNumber`. */ +export type PhoneNumberOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' - | 'ADDRESS_ASC' - | 'ADDRESS_DESC' + | 'NUMBER_ASC' + | 'NUMBER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; /** Methods to use when ordering `AppLimitDefault`. */ export type AppLimitDefaultOrderBy = | 'NATURAL' @@ -1207,20 +1710,36 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -/** Methods to use when ordering `PhoneNumber`. */ -export type PhoneNumberOrderBy = + | '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'; +/** Methods to use when ordering `NodeTypeRegistry`. */ +export type NodeTypeRegistryOrderBy = | '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'; + | 'NAME_ASC' + | 'NAME_DESC' + | 'SLUG_ASC' + | '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'; /** Methods to use when ordering `MembershipType`. */ export type MembershipTypeOrderBy = | 'NATURAL' @@ -1229,18 +1748,13 @@ export type MembershipTypeOrderBy = | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' - | 'NAME_DESC'; -/** Methods to use when ordering `NodeTypeRegistry`. */ -export type NodeTypeRegistryOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NAME_ASC' | 'NAME_DESC' - | 'SLUG_ASC' - | 'SLUG_DESC' - | 'CATEGORY_ASC' - | 'CATEGORY_DESC'; + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'PREFIX_TRGM_SIMILARITY_ASC' + | 'PREFIX_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppPermission`. */ export type AppPermissionOrderBy = | 'NATURAL' @@ -1251,7 +1765,11 @@ export type AppPermissionOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' - | 'BITNUM_DESC'; + | 'BITNUM_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `OrgPermission`. */ export type OrgPermissionOrderBy = | 'NATURAL' @@ -1262,7 +1780,11 @@ export type OrgPermissionOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' - | 'BITNUM_DESC'; + | 'BITNUM_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppMembershipDefault`. */ export type AppMembershipDefaultOrderBy = | 'NATURAL' @@ -1278,6 +1800,25 @@ export type AppMembershipDefaultOrderBy = | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC'; +/** Methods to use when ordering `RlsModule`. */ +export type RlsModuleOrderBy = + | 'NATURAL' + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'ID_ASC' + | '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'; /** Methods to use when ordering `Object`. */ export type ObjectOrderBy = | 'NATURAL' @@ -1297,7 +1838,11 @@ export type CommitOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; + | 'DATABASE_ID_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `OrgMembershipDefault`. */ export type OrgMembershipDefaultOrderBy = | 'NATURAL' @@ -1331,7 +1876,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AuditLog`. */ export type AuditLogOrderBy = | 'NATURAL' @@ -1340,7 +1889,11 @@ export type AuditLogOrderBy = | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' - | 'EVENT_DESC'; + | 'EVENT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppLevel`. */ export type AppLevelOrderBy = | 'NATURAL' @@ -1353,20 +1906,11 @@ export type AppLevelOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -/** Methods to use when ordering `Email`. */ -export type 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'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `SqlMigration`. */ export type SqlMigrationOrderBy = | 'NATURAL' @@ -1391,7 +1935,34 @@ export type SqlMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; + | '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'; +/** Methods to use when ordering `Email`. */ +export type 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'; /** Methods to use when ordering `AstMigration`. */ export type AstMigrationOrderBy = | 'NATURAL' @@ -1410,24 +1981,11 @@ export type AstMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; -/** Methods to use when ordering `User`. */ -export type UserOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'USERNAME_ASC' - | 'USERNAME_DESC' - | 'SEARCH_TSV_ASC' - | 'SEARCH_TSV_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC' - | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; + | 'ACTOR_ID_DESC' + | 'ACTION_TRGM_SIMILARITY_ASC' + | 'ACTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `AppMembership`. */ export type AppMembershipOrderBy = | 'NATURAL' @@ -1451,6 +2009,27 @@ export type AppMembershipOrderBy = | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +/** Methods to use when ordering `User`. */ +export type UserOrderBy = + | 'NATURAL' + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'ID_ASC' + | 'ID_DESC' + | 'USERNAME_ASC' + | 'USERNAME_DESC' + | 'SEARCH_TSV_ASC' + | 'SEARCH_TSV_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC' + | 'UPDATED_AT_ASC' + | 'UPDATED_AT_DESC' + | 'SEARCH_TSV_RANK_ASC' + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; /** Methods to use when ordering `HierarchyModule`. */ export type HierarchyModuleOrderBy = | 'NATURAL' @@ -1459,41 +2038,29 @@ export type HierarchyModuleOrderBy = | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC'; -/** - * A condition to be used against `CheckConstraint` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface CheckConstraintCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `type` field. */ - type?: string; - /** Checks for equality with the object’s `fieldIds` field. */ - fieldIds?: string[]; - /** Checks for equality with the object’s `expr` field. */ - expr?: unknown; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} + | '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'; /** A filter to be used against `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */ export interface CheckConstraintFilter { /** Filter by the object’s `id` field. */ @@ -1530,6 +2097,30 @@ export interface CheckConstraintFilter { or?: CheckConstraintFilter[]; /** Negates the expression. */ not?: CheckConstraintFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; +} +/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */ +export interface 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?: number; } /** A filter to be used against ObjectCategory fields. All fields are combined with a logical ‘and.’ */ export interface ObjectCategoryFilter { @@ -1556,1698 +2147,1763 @@ export interface ObjectCategoryFilter { /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: ObjectCategory; } -/** A condition to be used against `Field` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface FieldCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `label` field. */ - label?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `isRequired` field. */ - isRequired?: boolean; - /** Checks for equality with the object’s `defaultValue` field. */ - defaultValue?: string; - /** Checks for equality with the object’s `defaultValueAst` field. */ - defaultValueAst?: unknown; - /** Checks for equality with the object’s `isHidden` field. */ - isHidden?: boolean; - /** Checks for equality with the object’s `type` field. */ - type?: string; - /** Checks for equality with the object’s `fieldOrder` field. */ - fieldOrder?: number; - /** Checks for equality with the object’s `regexp` field. */ - regexp?: string; - /** Checks for equality with the object’s `chk` field. */ - chk?: unknown; - /** Checks for equality with the object’s `chkExpr` field. */ - chkExpr?: unknown; - /** Checks for equality with the object’s `min` field. */ - min?: number; - /** Checks for equality with the object’s `max` field. */ - max?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} -/** A filter to be used against `Field` object types. All fields are combined with a logical ‘and.’ */ -export interface FieldFilter { +/** A filter to be used against `Database` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseFilter { /** 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 `ownerId` field. */ + ownerId?: UUIDFilter; + /** Filter by the object’s `schemaHash` field. */ + schemaHash?: StringFilter; /** 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 `smartTags` field. */ - smartTags?: JSONFilter; - /** Filter by the object’s `isRequired` field. */ - isRequired?: BooleanFilter; - /** Filter by the object’s `defaultValue` field. */ - defaultValue?: StringFilter; - /** Filter by the object’s `defaultValueAst` field. */ - defaultValueAst?: JSONFilter; - /** Filter by the object’s `isHidden` field. */ - isHidden?: BooleanFilter; - /** Filter by the object’s `type` field. */ - type?: StringFilter; - /** Filter by the object’s `fieldOrder` field. */ - fieldOrder?: IntFilter; - /** Filter by the object’s `regexp` field. */ - regexp?: StringFilter; - /** Filter by the object’s `chk` field. */ - chk?: JSONFilter; - /** Filter by the object’s `chkExpr` field. */ - chkExpr?: JSONFilter; - /** Filter by the object’s `min` field. */ - min?: FloatFilter; - /** Filter by the object’s `max` field. */ - max?: FloatFilter; - /** Filter by the object’s `tags` field. */ - tags?: StringListFilter; - /** 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 `hash` field. */ + hash?: 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?: FieldFilter[]; + and?: DatabaseFilter[]; /** Checks for any expressions in this list. */ - or?: FieldFilter[]; + or?: DatabaseFilter[]; /** Negates the expression. */ - not?: FieldFilter; -} -/** - * A condition to be used against `ForeignKeyConstraint` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface ForeignKeyConstraintCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `type` field. */ - type?: string; - /** Checks for equality with the object’s `fieldIds` field. */ - fieldIds?: string[]; - /** Checks for equality with the object’s `refTableId` field. */ - refTableId?: string; - /** Checks for equality with the object’s `refFieldIds` field. */ - refFieldIds?: string[]; - /** Checks for equality with the object’s `deleteAction` field. */ - deleteAction?: string; - /** Checks for equality with the object’s `updateAction` field. */ - updateAction?: string; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: DatabaseFilter; + /** Filter by the object’s `owner` relation. */ + owner?: UserFilter; + /** A related `owner` exists. */ + ownerExists?: boolean; + /** Filter by the object’s `schemas` relation. */ + schemas?: DatabaseToManySchemaFilter; + /** `schemas` exist. */ + schemasExist?: boolean; + /** Filter by the object’s `tables` relation. */ + tables?: DatabaseToManyTableFilter; + /** `tables` exist. */ + tablesExist?: boolean; + /** Filter by the object’s `checkConstraints` relation. */ + checkConstraints?: DatabaseToManyCheckConstraintFilter; + /** `checkConstraints` exist. */ + checkConstraintsExist?: boolean; + /** Filter by the object’s `fields` relation. */ + fields?: DatabaseToManyFieldFilter; + /** `fields` exist. */ + fieldsExist?: boolean; + /** Filter by the object’s `foreignKeyConstraints` relation. */ + foreignKeyConstraints?: DatabaseToManyForeignKeyConstraintFilter; + /** `foreignKeyConstraints` exist. */ + foreignKeyConstraintsExist?: boolean; + /** Filter by the object’s `fullTextSearches` relation. */ + fullTextSearches?: DatabaseToManyFullTextSearchFilter; + /** `fullTextSearches` exist. */ + fullTextSearchesExist?: boolean; + /** Filter by the object’s `indices` relation. */ + indices?: DatabaseToManyIndexFilter; + /** `indices` exist. */ + indicesExist?: boolean; + /** Filter by the object’s `policies` relation. */ + policies?: DatabaseToManyPolicyFilter; + /** `policies` exist. */ + policiesExist?: boolean; + /** Filter by the object’s `primaryKeyConstraints` relation. */ + primaryKeyConstraints?: DatabaseToManyPrimaryKeyConstraintFilter; + /** `primaryKeyConstraints` exist. */ + primaryKeyConstraintsExist?: boolean; + /** Filter by the object’s `schemaGrants` relation. */ + schemaGrants?: DatabaseToManySchemaGrantFilter; + /** `schemaGrants` exist. */ + schemaGrantsExist?: boolean; + /** Filter by the object’s `tableGrants` relation. */ + tableGrants?: DatabaseToManyTableGrantFilter; + /** `tableGrants` exist. */ + tableGrantsExist?: boolean; + /** Filter by the object’s `triggerFunctions` relation. */ + triggerFunctions?: DatabaseToManyTriggerFunctionFilter; + /** `triggerFunctions` exist. */ + triggerFunctionsExist?: boolean; + /** Filter by the object’s `triggers` relation. */ + triggers?: DatabaseToManyTriggerFilter; + /** `triggers` exist. */ + triggersExist?: boolean; + /** Filter by the object’s `uniqueConstraints` relation. */ + uniqueConstraints?: DatabaseToManyUniqueConstraintFilter; + /** `uniqueConstraints` exist. */ + uniqueConstraintsExist?: boolean; + /** Filter by the object’s `views` relation. */ + views?: DatabaseToManyViewFilter; + /** `views` exist. */ + viewsExist?: boolean; + /** Filter by the object’s `viewGrants` relation. */ + viewGrants?: DatabaseToManyViewGrantFilter; + /** `viewGrants` exist. */ + viewGrantsExist?: boolean; + /** Filter by the object’s `viewRules` relation. */ + viewRules?: DatabaseToManyViewRuleFilter; + /** `viewRules` exist. */ + viewRulesExist?: boolean; + /** Filter by the object’s `defaultPrivileges` relation. */ + defaultPrivileges?: DatabaseToManyDefaultPrivilegeFilter; + /** `defaultPrivileges` exist. */ + defaultPrivilegesExist?: boolean; + /** Filter by the object’s `apis` relation. */ + apis?: DatabaseToManyApiFilter; + /** `apis` exist. */ + apisExist?: boolean; + /** Filter by the object’s `apiModules` relation. */ + apiModules?: DatabaseToManyApiModuleFilter; + /** `apiModules` exist. */ + apiModulesExist?: boolean; + /** Filter by the object’s `apiSchemas` relation. */ + apiSchemas?: DatabaseToManyApiSchemaFilter; + /** `apiSchemas` exist. */ + apiSchemasExist?: boolean; + /** Filter by the object’s `sites` relation. */ + sites?: DatabaseToManySiteFilter; + /** `sites` exist. */ + sitesExist?: boolean; + /** Filter by the object’s `apps` relation. */ + apps?: DatabaseToManyAppFilter; + /** `apps` exist. */ + appsExist?: boolean; + /** Filter by the object’s `domains` relation. */ + domains?: DatabaseToManyDomainFilter; + /** `domains` exist. */ + domainsExist?: boolean; + /** Filter by the object’s `siteMetadata` relation. */ + siteMetadata?: DatabaseToManySiteMetadatumFilter; + /** `siteMetadata` exist. */ + siteMetadataExist?: boolean; + /** Filter by the object’s `siteModules` relation. */ + siteModules?: DatabaseToManySiteModuleFilter; + /** `siteModules` exist. */ + siteModulesExist?: boolean; + /** Filter by the object’s `siteThemes` relation. */ + siteThemes?: DatabaseToManySiteThemeFilter; + /** `siteThemes` exist. */ + siteThemesExist?: boolean; + /** Filter by the object’s `connectedAccountsModules` relation. */ + connectedAccountsModules?: DatabaseToManyConnectedAccountsModuleFilter; + /** `connectedAccountsModules` exist. */ + connectedAccountsModulesExist?: boolean; + /** Filter by the object’s `cryptoAddressesModules` relation. */ + cryptoAddressesModules?: DatabaseToManyCryptoAddressesModuleFilter; + /** `cryptoAddressesModules` exist. */ + cryptoAddressesModulesExist?: boolean; + /** Filter by the object’s `cryptoAuthModules` relation. */ + cryptoAuthModules?: DatabaseToManyCryptoAuthModuleFilter; + /** `cryptoAuthModules` exist. */ + cryptoAuthModulesExist?: boolean; + /** Filter by the object’s `defaultIdsModules` relation. */ + defaultIdsModules?: DatabaseToManyDefaultIdsModuleFilter; + /** `defaultIdsModules` exist. */ + defaultIdsModulesExist?: boolean; + /** Filter by the object’s `denormalizedTableFields` relation. */ + denormalizedTableFields?: DatabaseToManyDenormalizedTableFieldFilter; + /** `denormalizedTableFields` exist. */ + denormalizedTableFieldsExist?: boolean; + /** Filter by the object’s `emailsModules` relation. */ + emailsModules?: DatabaseToManyEmailsModuleFilter; + /** `emailsModules` exist. */ + emailsModulesExist?: boolean; + /** Filter by the object’s `encryptedSecretsModules` relation. */ + encryptedSecretsModules?: DatabaseToManyEncryptedSecretsModuleFilter; + /** `encryptedSecretsModules` exist. */ + encryptedSecretsModulesExist?: boolean; + /** Filter by the object’s `fieldModules` relation. */ + fieldModules?: DatabaseToManyFieldModuleFilter; + /** `fieldModules` exist. */ + fieldModulesExist?: boolean; + /** Filter by the object’s `invitesModules` relation. */ + invitesModules?: DatabaseToManyInvitesModuleFilter; + /** `invitesModules` exist. */ + invitesModulesExist?: boolean; + /** Filter by the object’s `levelsModules` relation. */ + levelsModules?: DatabaseToManyLevelsModuleFilter; + /** `levelsModules` exist. */ + levelsModulesExist?: boolean; + /** Filter by the object’s `limitsModules` relation. */ + limitsModules?: DatabaseToManyLimitsModuleFilter; + /** `limitsModules` exist. */ + limitsModulesExist?: boolean; + /** Filter by the object’s `membershipTypesModules` relation. */ + membershipTypesModules?: DatabaseToManyMembershipTypesModuleFilter; + /** `membershipTypesModules` exist. */ + membershipTypesModulesExist?: boolean; + /** Filter by the object’s `membershipsModules` relation. */ + membershipsModules?: DatabaseToManyMembershipsModuleFilter; + /** `membershipsModules` exist. */ + membershipsModulesExist?: boolean; + /** Filter by the object’s `permissionsModules` relation. */ + permissionsModules?: DatabaseToManyPermissionsModuleFilter; + /** `permissionsModules` exist. */ + permissionsModulesExist?: boolean; + /** Filter by the object’s `phoneNumbersModules` relation. */ + phoneNumbersModules?: DatabaseToManyPhoneNumbersModuleFilter; + /** `phoneNumbersModules` exist. */ + phoneNumbersModulesExist?: boolean; + /** Filter by the object’s `profilesModules` relation. */ + profilesModules?: DatabaseToManyProfilesModuleFilter; + /** `profilesModules` exist. */ + profilesModulesExist?: boolean; + /** Filter by the object’s `rlsModule` relation. */ + rlsModule?: RlsModuleFilter; + /** A related `rlsModule` exists. */ + rlsModuleExists?: boolean; + /** Filter by the object’s `secretsModules` relation. */ + secretsModules?: DatabaseToManySecretsModuleFilter; + /** `secretsModules` exist. */ + secretsModulesExist?: boolean; + /** Filter by the object’s `sessionsModules` relation. */ + sessionsModules?: DatabaseToManySessionsModuleFilter; + /** `sessionsModules` exist. */ + sessionsModulesExist?: boolean; + /** Filter by the object’s `userAuthModules` relation. */ + userAuthModules?: DatabaseToManyUserAuthModuleFilter; + /** `userAuthModules` exist. */ + userAuthModulesExist?: boolean; + /** Filter by the object’s `usersModules` relation. */ + usersModules?: DatabaseToManyUsersModuleFilter; + /** `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; + /** A related `hierarchyModule` exists. */ + hierarchyModuleExists?: boolean; + /** Filter by the object’s `tableTemplateModules` relation. */ + tableTemplateModules?: DatabaseToManyTableTemplateModuleFilter; + /** `tableTemplateModules` exist. */ + tableTemplateModulesExist?: boolean; + /** Filter by the object’s `secureTableProvisions` relation. */ + secureTableProvisions?: DatabaseToManySecureTableProvisionFilter; + /** `secureTableProvisions` exist. */ + secureTableProvisionsExist?: boolean; + /** Filter by the object’s `relationProvisions` relation. */ + relationProvisions?: DatabaseToManyRelationProvisionFilter; + /** `relationProvisions` exist. */ + relationProvisionsExist?: 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; } -/** A filter to be used against `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ -export interface ForeignKeyConstraintFilter { +/** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */ +export interface UserFilter { /** 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 `name` field. */ - name?: StringFilter; - /** Filter by the object’s `description` field. */ - description?: StringFilter; - /** Filter by the object’s `smartTags` field. */ - smartTags?: JSONFilter; + /** Filter by the object’s `username` field. */ + username?: StringFilter; + /** Filter by the object’s `displayName` field. */ + displayName?: StringFilter; + /** Filter by the object’s `profilePicture` field. */ + profilePicture?: ConstructiveInternalTypeImageFilter; + /** Filter by the object’s `searchTsv` field. */ + searchTsv?: FullTextFilter; /** Filter by the object’s `type` field. */ - type?: StringFilter; - /** Filter by the object’s `fieldIds` field. */ - fieldIds?: UUIDListFilter; - /** Filter by the object’s `refTableId` field. */ - refTableId?: UUIDFilter; - /** Filter by the object’s `refFieldIds` field. */ - refFieldIds?: UUIDListFilter; - /** Filter by the object’s `deleteAction` field. */ - deleteAction?: StringFilter; - /** Filter by the object’s `updateAction` field. */ - updateAction?: StringFilter; - /** 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; + type?: IntFilter; /** 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?: ForeignKeyConstraintFilter[]; + and?: UserFilter[]; /** Checks for any expressions in this list. */ - or?: ForeignKeyConstraintFilter[]; + or?: UserFilter[]; /** Negates the expression. */ - not?: ForeignKeyConstraintFilter; + not?: UserFilter; + /** Filter by the object’s `roleType` relation. */ + roleType?: RoleTypeFilter; + /** Filter by the object’s `ownedDatabases` relation. */ + ownedDatabases?: UserToManyDatabaseFilter; + /** `ownedDatabases` exist. */ + ownedDatabasesExist?: boolean; + /** Filter by the object’s `appMembershipByActorId` relation. */ + appMembershipByActorId?: AppMembershipFilter; + /** A related `appMembershipByActorId` exists. */ + appMembershipByActorIdExists?: boolean; + /** Filter by the object’s `appAdminGrantsByGrantorId` relation. */ + appAdminGrantsByGrantorId?: UserToManyAppAdminGrantFilter; + /** `appAdminGrantsByGrantorId` exist. */ + appAdminGrantsByGrantorIdExist?: boolean; + /** Filter by the object’s `appOwnerGrantsByGrantorId` relation. */ + appOwnerGrantsByGrantorId?: UserToManyAppOwnerGrantFilter; + /** `appOwnerGrantsByGrantorId` exist. */ + appOwnerGrantsByGrantorIdExist?: boolean; + /** Filter by the object’s `appGrantsByGrantorId` relation. */ + appGrantsByGrantorId?: UserToManyAppGrantFilter; + /** `appGrantsByGrantorId` exist. */ + appGrantsByGrantorIdExist?: boolean; + /** Filter by the object’s `orgMembershipsByActorId` relation. */ + orgMembershipsByActorId?: UserToManyOrgMembershipFilter; + /** `orgMembershipsByActorId` exist. */ + orgMembershipsByActorIdExist?: boolean; + /** Filter by the object’s `orgMembershipsByEntityId` relation. */ + orgMembershipsByEntityId?: UserToManyOrgMembershipFilter; + /** `orgMembershipsByEntityId` exist. */ + orgMembershipsByEntityIdExist?: boolean; + /** Filter by the object’s `orgMembershipDefaultByEntityId` relation. */ + orgMembershipDefaultByEntityId?: OrgMembershipDefaultFilter; + /** A related `orgMembershipDefaultByEntityId` exists. */ + orgMembershipDefaultByEntityIdExists?: boolean; + /** Filter by the object’s `orgMembersByActorId` relation. */ + orgMembersByActorId?: UserToManyOrgMemberFilter; + /** `orgMembersByActorId` exist. */ + orgMembersByActorIdExist?: boolean; + /** Filter by the object’s `orgMembersByEntityId` relation. */ + orgMembersByEntityId?: UserToManyOrgMemberFilter; + /** `orgMembersByEntityId` exist. */ + orgMembersByEntityIdExist?: boolean; + /** Filter by the object’s `orgAdminGrantsByEntityId` relation. */ + orgAdminGrantsByEntityId?: UserToManyOrgAdminGrantFilter; + /** `orgAdminGrantsByEntityId` exist. */ + orgAdminGrantsByEntityIdExist?: boolean; + /** Filter by the object’s `orgAdminGrantsByGrantorId` relation. */ + orgAdminGrantsByGrantorId?: UserToManyOrgAdminGrantFilter; + /** `orgAdminGrantsByGrantorId` exist. */ + orgAdminGrantsByGrantorIdExist?: boolean; + /** Filter by the object’s `orgOwnerGrantsByEntityId` relation. */ + orgOwnerGrantsByEntityId?: UserToManyOrgOwnerGrantFilter; + /** `orgOwnerGrantsByEntityId` exist. */ + orgOwnerGrantsByEntityIdExist?: boolean; + /** Filter by the object’s `orgOwnerGrantsByGrantorId` relation. */ + orgOwnerGrantsByGrantorId?: UserToManyOrgOwnerGrantFilter; + /** `orgOwnerGrantsByGrantorId` exist. */ + orgOwnerGrantsByGrantorIdExist?: boolean; + /** Filter by the object’s `orgGrantsByEntityId` relation. */ + orgGrantsByEntityId?: UserToManyOrgGrantFilter; + /** `orgGrantsByEntityId` exist. */ + orgGrantsByEntityIdExist?: boolean; + /** Filter by the object’s `orgGrantsByGrantorId` relation. */ + orgGrantsByGrantorId?: UserToManyOrgGrantFilter; + /** `orgGrantsByGrantorId` exist. */ + orgGrantsByGrantorIdExist?: boolean; + /** Filter by the object’s `parentOrgChartEdges` relation. */ + parentOrgChartEdges?: UserToManyOrgChartEdgeFilter; + /** `parentOrgChartEdges` exist. */ + parentOrgChartEdgesExist?: boolean; + /** Filter by the object’s `orgChartEdgesByEntityId` relation. */ + orgChartEdgesByEntityId?: UserToManyOrgChartEdgeFilter; + /** `orgChartEdgesByEntityId` exist. */ + orgChartEdgesByEntityIdExist?: boolean; + /** Filter by the object’s `childOrgChartEdges` relation. */ + childOrgChartEdges?: UserToManyOrgChartEdgeFilter; + /** `childOrgChartEdges` exist. */ + childOrgChartEdgesExist?: boolean; + /** Filter by the object’s `parentOrgChartEdgeGrants` relation. */ + parentOrgChartEdgeGrants?: UserToManyOrgChartEdgeGrantFilter; + /** `parentOrgChartEdgeGrants` exist. */ + parentOrgChartEdgeGrantsExist?: boolean; + /** Filter by the object’s `orgChartEdgeGrantsByEntityId` relation. */ + orgChartEdgeGrantsByEntityId?: UserToManyOrgChartEdgeGrantFilter; + /** `orgChartEdgeGrantsByEntityId` exist. */ + orgChartEdgeGrantsByEntityIdExist?: boolean; + /** Filter by the object’s `orgChartEdgeGrantsByGrantorId` relation. */ + orgChartEdgeGrantsByGrantorId?: UserToManyOrgChartEdgeGrantFilter; + /** `orgChartEdgeGrantsByGrantorId` exist. */ + orgChartEdgeGrantsByGrantorIdExist?: boolean; + /** Filter by the object’s `childOrgChartEdgeGrants` relation. */ + childOrgChartEdgeGrants?: UserToManyOrgChartEdgeGrantFilter; + /** `childOrgChartEdgeGrants` exist. */ + childOrgChartEdgeGrantsExist?: boolean; + /** Filter by the object’s `appLimitsByActorId` relation. */ + appLimitsByActorId?: UserToManyAppLimitFilter; + /** `appLimitsByActorId` exist. */ + appLimitsByActorIdExist?: boolean; + /** Filter by the object’s `orgLimitsByActorId` relation. */ + orgLimitsByActorId?: UserToManyOrgLimitFilter; + /** `orgLimitsByActorId` exist. */ + orgLimitsByActorIdExist?: boolean; + /** Filter by the object’s `orgLimitsByEntityId` relation. */ + orgLimitsByEntityId?: UserToManyOrgLimitFilter; + /** `orgLimitsByEntityId` exist. */ + orgLimitsByEntityIdExist?: boolean; + /** Filter by the object’s `appStepsByActorId` relation. */ + appStepsByActorId?: UserToManyAppStepFilter; + /** `appStepsByActorId` exist. */ + appStepsByActorIdExist?: boolean; + /** Filter by the object’s `appAchievementsByActorId` relation. */ + appAchievementsByActorId?: UserToManyAppAchievementFilter; + /** `appAchievementsByActorId` exist. */ + appAchievementsByActorIdExist?: boolean; + /** Filter by the object’s `invitesBySenderId` relation. */ + invitesBySenderId?: UserToManyInviteFilter; + /** `invitesBySenderId` exist. */ + invitesBySenderIdExist?: boolean; + /** Filter by the object’s `claimedInvitesByReceiverId` relation. */ + claimedInvitesByReceiverId?: UserToManyClaimedInviteFilter; + /** `claimedInvitesByReceiverId` exist. */ + claimedInvitesByReceiverIdExist?: boolean; + /** Filter by the object’s `claimedInvitesBySenderId` relation. */ + claimedInvitesBySenderId?: UserToManyClaimedInviteFilter; + /** `claimedInvitesBySenderId` exist. */ + claimedInvitesBySenderIdExist?: boolean; + /** Filter by the object’s `orgInvitesByEntityId` relation. */ + orgInvitesByEntityId?: UserToManyOrgInviteFilter; + /** `orgInvitesByEntityId` exist. */ + orgInvitesByEntityIdExist?: boolean; + /** Filter by the object’s `orgInvitesBySenderId` relation. */ + orgInvitesBySenderId?: UserToManyOrgInviteFilter; + /** `orgInvitesBySenderId` exist. */ + orgInvitesBySenderIdExist?: boolean; + /** Filter by the object’s `orgClaimedInvitesByReceiverId` relation. */ + orgClaimedInvitesByReceiverId?: UserToManyOrgClaimedInviteFilter; + /** `orgClaimedInvitesByReceiverId` exist. */ + orgClaimedInvitesByReceiverIdExist?: boolean; + /** Filter by the object’s `orgClaimedInvitesBySenderId` relation. */ + orgClaimedInvitesBySenderId?: UserToManyOrgClaimedInviteFilter; + /** `orgClaimedInvitesBySenderId` exist. */ + orgClaimedInvitesBySenderIdExist?: boolean; + /** TSV search on the `search_tsv` column. */ + tsvSearchTsv?: string; + /** TRGM search on the `display_name` column. */ + trgmDisplayName?: 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 condition to be used against `FullTextSearch` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface FullTextSearchCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `fieldId` field. */ - fieldId?: string; - /** Checks for equality with the object’s `fieldIds` field. */ - fieldIds?: string[]; - /** Checks for equality with the object’s `weights` field. */ - weights?: string[]; - /** Checks for equality with the object’s `langs` field. */ - langs?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */ +export interface ConstructiveInternalTypeImageFilter { + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: boolean; + /** Equal to the specified value. */ + equalTo?: ConstructiveInternalTypeImage; + /** Not equal to the specified value. */ + notEqualTo?: ConstructiveInternalTypeImage; + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: ConstructiveInternalTypeImage; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: ConstructiveInternalTypeImage; + /** Included in the specified list. */ + in?: ConstructiveInternalTypeImage[]; + /** Not included in the specified list. */ + notIn?: ConstructiveInternalTypeImage[]; + /** Less than the specified value. */ + lessThan?: ConstructiveInternalTypeImage; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: ConstructiveInternalTypeImage; + /** Greater than the specified value. */ + greaterThan?: ConstructiveInternalTypeImage; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: ConstructiveInternalTypeImage; + /** Contains the specified JSON. */ + contains?: ConstructiveInternalTypeImage; + /** Contains the specified key. */ + containsKey?: string; + /** Contains all of the specified keys. */ + containsAllKeys?: string[]; + /** Contains any of the specified keys. */ + containsAnyKeys?: string[]; + /** Contained by the specified JSON. */ + containedBy?: ConstructiveInternalTypeImage; } -/** A filter to be used against `FullTextSearch` object types. All fields are combined with a logical ‘and.’ */ -export interface FullTextSearchFilter { +/** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */ +export interface RoleTypeFilter { /** 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 `fieldId` field. */ - fieldId?: UUIDFilter; - /** Filter by the object’s `fieldIds` field. */ - fieldIds?: UUIDListFilter; - /** Filter by the object’s `weights` field. */ - weights?: StringListFilter; - /** Filter by the object’s `langs` field. */ - langs?: StringListFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + id?: IntFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; /** Checks for all expressions in this list. */ - and?: FullTextSearchFilter[]; + and?: RoleTypeFilter[]; /** Checks for any expressions in this list. */ - or?: FullTextSearchFilter[]; + or?: RoleTypeFilter[]; /** Negates the expression. */ - not?: FullTextSearchFilter; + not?: RoleTypeFilter; } -/** A condition to be used against `Index` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface IndexCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `fieldIds` field. */ - fieldIds?: string[]; - /** Checks for equality with the object’s `includeFieldIds` field. */ - includeFieldIds?: string[]; - /** Checks for equality with the object’s `accessMethod` field. */ - accessMethod?: string; - /** Checks for equality with the object’s `indexParams` field. */ - indexParams?: unknown; - /** Checks for equality with the object’s `whereClause` field. */ - whereClause?: unknown; - /** Checks for equality with the object’s `isUnique` field. */ - isUnique?: boolean; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `Database` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyDatabaseFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DatabaseFilter; + /** Filters to entities where every related entity matches. */ + every?: DatabaseFilter; + /** Filters to entities where no related entity matches. */ + none?: DatabaseFilter; } -/** A filter to be used against `Index` object types. All fields are combined with a logical ‘and.’ */ -export interface IndexFilter { +/** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */ +export interface AppMembershipFilter { /** 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 `name` field. */ - name?: StringFilter; - /** Filter by the object’s `fieldIds` field. */ - fieldIds?: UUIDListFilter; - /** Filter by the object’s `includeFieldIds` field. */ - includeFieldIds?: UUIDListFilter; - /** Filter by the object’s `accessMethod` field. */ - accessMethod?: StringFilter; - /** Filter by the object’s `indexParams` field. */ - indexParams?: JSONFilter; - /** Filter by the object’s `whereClause` field. */ - whereClause?: JSONFilter; - /** Filter by the object’s `isUnique` field. */ - isUnique?: BooleanFilter; - /** 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 `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; + /** Filter by the object’s `createdBy` field. */ + createdBy?: UUIDFilter; + /** Filter by the object’s `updatedBy` field. */ + updatedBy?: UUIDFilter; + /** Filter by the object’s `isApproved` field. */ + isApproved?: BooleanFilter; + /** Filter by the object’s `isBanned` field. */ + isBanned?: BooleanFilter; + /** Filter by the object’s `isDisabled` field. */ + isDisabled?: BooleanFilter; + /** Filter by the object’s `isVerified` field. */ + isVerified?: BooleanFilter; + /** Filter by the object’s `isActive` field. */ + isActive?: BooleanFilter; + /** Filter by the object’s `isOwner` field. */ + isOwner?: BooleanFilter; + /** Filter by the object’s `isAdmin` field. */ + isAdmin?: BooleanFilter; + /** Filter by the object’s `permissions` field. */ + permissions?: BitStringFilter; + /** Filter by the object’s `granted` field. */ + granted?: BitStringFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `profileId` field. */ + profileId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: IndexFilter[]; + and?: AppMembershipFilter[]; /** Checks for any expressions in this list. */ - or?: IndexFilter[]; + or?: AppMembershipFilter[]; /** Negates the expression. */ - not?: IndexFilter; -} -/** A condition to be used against `Policy` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface PolicyCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `granteeName` field. */ - granteeName?: string; - /** Checks for equality with the object’s `privilege` field. */ - privilege?: string; - /** Checks for equality with the object’s `permissive` field. */ - permissive?: boolean; - /** Checks for equality with the object’s `disabled` field. */ - disabled?: boolean; - /** Checks for equality with the object’s `policyType` field. */ - policyType?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: AppMembershipFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; +} +/** A filter to be used against many `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyAppAdminGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: AppAdminGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: AppAdminGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: AppAdminGrantFilter; } -/** A filter to be used against `Policy` object types. All fields are combined with a logical ‘and.’ */ -export interface PolicyFilter { +/** A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface AppAdminGrantFilter { /** 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 `name` field. */ - name?: StringFilter; - /** Filter by the object’s `granteeName` field. */ - granteeName?: StringFilter; - /** Filter by the object’s `privilege` field. */ - privilege?: StringFilter; - /** Filter by the object’s `permissive` field. */ - permissive?: BooleanFilter; - /** Filter by the object’s `disabled` field. */ - disabled?: BooleanFilter; - /** Filter by the object’s `policyType` field. */ - policyType?: StringFilter; - /** Filter by the object’s `data` field. */ - data?: JSONFilter; - /** 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 `isGrant` field. */ + isGrant?: BooleanFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `grantorId` field. */ + grantorId?: 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?: PolicyFilter[]; + and?: AppAdminGrantFilter[]; /** Checks for any expressions in this list. */ - or?: PolicyFilter[]; + or?: AppAdminGrantFilter[]; /** Negates the expression. */ - not?: PolicyFilter; -} -/** - * A condition to be used against `PrimaryKeyConstraint` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface PrimaryKeyConstraintCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `type` field. */ - type?: string; - /** Checks for equality with the object’s `fieldIds` field. */ - fieldIds?: string[]; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: AppAdminGrantFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `grantor` relation. */ + grantor?: UserFilter; + /** A related `grantor` exists. */ + grantorExists?: boolean; +} +/** A filter to be used against many `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyAppOwnerGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: AppOwnerGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: AppOwnerGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: AppOwnerGrantFilter; } -/** A filter to be used against `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ -export interface PrimaryKeyConstraintFilter { +/** A filter to be used against `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface AppOwnerGrantFilter { /** 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 `name` field. */ - name?: StringFilter; - /** Filter by the object’s `type` field. */ - type?: StringFilter; - /** Filter by the object’s `fieldIds` field. */ - fieldIds?: UUIDListFilter; - /** 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 `isGrant` field. */ + isGrant?: BooleanFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `grantorId` field. */ + grantorId?: 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?: PrimaryKeyConstraintFilter[]; + and?: AppOwnerGrantFilter[]; /** Checks for any expressions in this list. */ - or?: PrimaryKeyConstraintFilter[]; + or?: AppOwnerGrantFilter[]; /** Negates the expression. */ - not?: PrimaryKeyConstraintFilter; -} -/** - * A condition to be used against `TableGrant` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface TableGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `privilege` field. */ - privilege?: string; - /** Checks for equality with the object’s `granteeName` field. */ - granteeName?: string; - /** Checks for equality with the object’s `fieldIds` field. */ - fieldIds?: string[]; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: AppOwnerGrantFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `grantor` relation. */ + grantor?: UserFilter; + /** A related `grantor` exists. */ + grantorExists?: boolean; +} +/** A filter to be used against many `AppGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyAppGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: AppGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: AppGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: AppGrantFilter; } -/** A filter to be used against `TableGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface TableGrantFilter { +/** A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface AppGrantFilter { /** 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 `privilege` field. */ - privilege?: StringFilter; - /** Filter by the object’s `granteeName` field. */ - granteeName?: StringFilter; - /** Filter by the object’s `fieldIds` field. */ - fieldIds?: UUIDListFilter; + /** Filter by the object’s `permissions` field. */ + permissions?: BitStringFilter; /** Filter by the object’s `isGrant` field. */ isGrant?: BooleanFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `grantorId` field. */ + grantorId?: 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?: TableGrantFilter[]; + and?: AppGrantFilter[]; /** Checks for any expressions in this list. */ - or?: TableGrantFilter[]; + or?: AppGrantFilter[]; /** Negates the expression. */ - not?: TableGrantFilter; -} -/** A condition to be used against `Trigger` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface TriggerCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `event` field. */ - event?: string; - /** Checks for equality with the object’s `functionName` field. */ - functionName?: string; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: AppGrantFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `grantor` relation. */ + grantor?: UserFilter; + /** A related `grantor` exists. */ + grantorExists?: boolean; +} +/** A filter to be used against many `OrgMembership` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgMembershipFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgMembershipFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgMembershipFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgMembershipFilter; } -/** A filter to be used against `Trigger` object types. All fields are combined with a logical ‘and.’ */ -export interface TriggerFilter { +/** A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgMembershipFilter { /** 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 `name` field. */ - name?: StringFilter; - /** Filter by the object’s `event` field. */ - event?: StringFilter; - /** Filter by the object’s `functionName` field. */ - functionName?: 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 `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; - /** Checks for all expressions in this list. */ - and?: TriggerFilter[]; - /** Checks for any expressions in this list. */ - or?: TriggerFilter[]; - /** Negates the expression. */ - not?: TriggerFilter; -} -/** - * A condition to be used against `UniqueConstraint` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface UniqueConstraintCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `type` field. */ - type?: string; - /** Checks for equality with the object’s `fieldIds` field. */ - fieldIds?: string[]; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + /** Filter by the object’s `createdBy` field. */ + createdBy?: UUIDFilter; + /** Filter by the object’s `updatedBy` field. */ + updatedBy?: UUIDFilter; + /** Filter by the object’s `isApproved` field. */ + isApproved?: BooleanFilter; + /** Filter by the object’s `isBanned` field. */ + isBanned?: BooleanFilter; + /** Filter by the object’s `isDisabled` field. */ + isDisabled?: BooleanFilter; + /** Filter by the object’s `isActive` field. */ + isActive?: BooleanFilter; + /** Filter by the object’s `isOwner` field. */ + isOwner?: BooleanFilter; + /** Filter by the object’s `isAdmin` field. */ + isAdmin?: BooleanFilter; + /** Filter by the object’s `permissions` field. */ + permissions?: BitStringFilter; + /** Filter by the object’s `granted` field. */ + granted?: BitStringFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `profileId` field. */ + profileId?: UUIDFilter; + /** Checks for all expressions in this list. */ + and?: OrgMembershipFilter[]; + /** Checks for any expressions in this list. */ + or?: OrgMembershipFilter[]; + /** Negates the expression. */ + not?: OrgMembershipFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; } -/** A filter to be used against `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ */ -export interface UniqueConstraintFilter { +/** A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgMembershipDefaultFilter { /** 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 `name` field. */ - name?: StringFilter; - /** Filter by the object’s `description` field. */ - description?: StringFilter; - /** Filter by the object’s `smartTags` field. */ - smartTags?: JSONFilter; - /** Filter by the object’s `type` field. */ - type?: StringFilter; - /** Filter by the object’s `fieldIds` field. */ - fieldIds?: UUIDListFilter; - /** 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 `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; + /** Filter by the object’s `createdBy` field. */ + createdBy?: UUIDFilter; + /** Filter by the object’s `updatedBy` field. */ + updatedBy?: UUIDFilter; + /** Filter by the object’s `isApproved` field. */ + isApproved?: BooleanFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `deleteMemberCascadeGroups` field. */ + deleteMemberCascadeGroups?: BooleanFilter; + /** Filter by the object’s `createGroupsCascadeMembers` field. */ + createGroupsCascadeMembers?: BooleanFilter; /** Checks for all expressions in this list. */ - and?: UniqueConstraintFilter[]; + and?: OrgMembershipDefaultFilter[]; /** Checks for any expressions in this list. */ - or?: UniqueConstraintFilter[]; + or?: OrgMembershipDefaultFilter[]; /** Negates the expression. */ - not?: UniqueConstraintFilter; -} -/** - * A condition to be used against `ViewTable` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface ViewTableCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `viewId` field. */ - viewId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `joinOrder` field. */ - joinOrder?: number; + not?: OrgMembershipDefaultFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; +} +/** A filter to be used against many `OrgMember` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgMemberFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgMemberFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgMemberFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgMemberFilter; } -/** A filter to be used against `ViewTable` object types. All fields are combined with a logical ‘and.’ */ -export interface ViewTableFilter { +/** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgMemberFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `viewId` field. */ - viewId?: UUIDFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `joinOrder` field. */ - joinOrder?: IntFilter; + /** Filter by the object’s `isAdmin` field. */ + isAdmin?: BooleanFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: ViewTableFilter[]; + and?: OrgMemberFilter[]; /** Checks for any expressions in this list. */ - or?: ViewTableFilter[]; + or?: OrgMemberFilter[]; /** Negates the expression. */ - not?: ViewTableFilter; -} -/** - * A condition to be used against `ViewGrant` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface ViewGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `viewId` field. */ - viewId?: string; - /** Checks for equality with the object’s `granteeName` field. */ - granteeName?: string; - /** Checks for equality with the object’s `privilege` field. */ - privilege?: string; - /** Checks for equality with the object’s `withGrantOption` field. */ - withGrantOption?: boolean; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; + not?: OrgMemberFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; +} +/** A filter to be used against many `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgAdminGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgAdminGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgAdminGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgAdminGrantFilter; } -/** A filter to be used against `ViewGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface ViewGrantFilter { +/** A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgAdminGrantFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `viewId` field. */ - viewId?: UUIDFilter; - /** Filter by the object’s `granteeName` field. */ - granteeName?: StringFilter; - /** Filter by the object’s `privilege` field. */ - privilege?: StringFilter; - /** Filter by the object’s `withGrantOption` field. */ - withGrantOption?: BooleanFilter; /** Filter by the object’s `isGrant` field. */ isGrant?: BooleanFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `grantorId` field. */ + grantorId?: 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?: ViewGrantFilter[]; + and?: OrgAdminGrantFilter[]; /** Checks for any expressions in this list. */ - or?: ViewGrantFilter[]; + or?: OrgAdminGrantFilter[]; /** Negates the expression. */ - not?: ViewGrantFilter; -} -/** - * A condition to be used against `ViewRule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface ViewRuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `viewId` field. */ - viewId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `event` field. */ - event?: string; - /** Checks for equality with the object’s `action` field. */ - action?: string; + not?: OrgAdminGrantFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; + /** Filter by the object’s `grantor` relation. */ + grantor?: UserFilter; + /** A related `grantor` exists. */ + grantorExists?: boolean; +} +/** A filter to be used against many `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgOwnerGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgOwnerGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgOwnerGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgOwnerGrantFilter; } -/** A filter to be used against `ViewRule` object types. All fields are combined with a logical ‘and.’ */ -export interface ViewRuleFilter { +/** A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgOwnerGrantFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `viewId` field. */ - viewId?: UUIDFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `event` field. */ - event?: StringFilter; - /** Filter by the object’s `action` field. */ - action?: StringFilter; + /** Filter by the object’s `isGrant` field. */ + isGrant?: BooleanFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `grantorId` field. */ + grantorId?: 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?: ViewRuleFilter[]; + and?: OrgOwnerGrantFilter[]; /** Checks for any expressions in this list. */ - or?: ViewRuleFilter[]; + or?: OrgOwnerGrantFilter[]; /** Negates the expression. */ - not?: ViewRuleFilter; + not?: OrgOwnerGrantFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; + /** Filter by the object’s `grantor` relation. */ + grantor?: UserFilter; + /** A related `grantor` exists. */ + grantorExists?: boolean; +} +/** A filter to be used against many `OrgGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgGrantFilter; } -/** A condition to be used against `View` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface ViewCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `viewType` field. */ - viewType?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `filterType` field. */ - filterType?: string; - /** Checks for equality with the object’s `filterData` field. */ - filterData?: unknown; - /** Checks for equality with the object’s `securityInvoker` field. */ - securityInvoker?: boolean; - /** Checks for equality with the object’s `isReadOnly` field. */ - isReadOnly?: boolean; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; +/** A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgGrantFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `permissions` field. */ + permissions?: BitStringFilter; + /** Filter by the object’s `isGrant` field. */ + isGrant?: BooleanFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `grantorId` field. */ + grantorId?: 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?: OrgGrantFilter[]; + /** Checks for any expressions in this list. */ + or?: OrgGrantFilter[]; + /** Negates the expression. */ + not?: OrgGrantFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; + /** Filter by the object’s `grantor` relation. */ + grantor?: UserFilter; + /** A related `grantor` exists. */ + grantorExists?: boolean; +} +/** A filter to be used against many `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgChartEdgeFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgChartEdgeFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgChartEdgeFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgChartEdgeFilter; } -/** A filter to be used against `View` object types. All fields are combined with a logical ‘and.’ */ -export interface ViewFilter { +/** A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgChartEdgeFilter { /** 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 `name` field. */ - name?: StringFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `viewType` field. */ - viewType?: StringFilter; - /** Filter by the object’s `data` field. */ - data?: JSONFilter; - /** Filter by the object’s `filterType` field. */ - filterType?: StringFilter; - /** Filter by the object’s `filterData` field. */ - filterData?: JSONFilter; - /** Filter by the object’s `securityInvoker` field. */ - securityInvoker?: BooleanFilter; - /** Filter by the object’s `isReadOnly` field. */ - isReadOnly?: BooleanFilter; - /** 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 `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `childId` field. */ + childId?: UUIDFilter; + /** Filter by the object’s `parentId` field. */ + parentId?: UUIDFilter; + /** Filter by the object’s `positionTitle` field. */ + positionTitle?: StringFilter; + /** Filter by the object’s `positionLevel` field. */ + positionLevel?: IntFilter; /** Checks for all expressions in this list. */ - and?: ViewFilter[]; + and?: OrgChartEdgeFilter[]; /** Checks for any expressions in this list. */ - or?: ViewFilter[]; + or?: OrgChartEdgeFilter[]; /** Negates the expression. */ - not?: ViewFilter; + not?: OrgChartEdgeFilter; + /** Filter by the object’s `child` relation. */ + child?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; + /** Filter by the object’s `parent` relation. */ + parent?: UserFilter; + /** 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; } -/** - * A condition to be used against `TableModule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface TableModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `nodeType` field. */ - nodeType?: string; - /** Checks for equality with the object’s `useRls` field. */ - useRls?: boolean; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `fields` field. */ - fields?: string[]; +/** A filter to be used against many `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgChartEdgeGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgChartEdgeGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgChartEdgeGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgChartEdgeGrantFilter; } -/** A filter to be used against `TableModule` object types. All fields are combined with a logical ‘and.’ */ -export interface TableModuleFilter { +/** A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgChartEdgeGrantFilter { /** 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 `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; - /** Filter by the object’s `nodeType` field. */ - nodeType?: StringFilter; - /** Filter by the object’s `useRls` field. */ - useRls?: BooleanFilter; - /** Filter by the object’s `data` field. */ - data?: JSONFilter; - /** Filter by the object’s `fields` field. */ - fields?: UUIDListFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Filter by the object’s `childId` field. */ + childId?: UUIDFilter; + /** Filter by the object’s `parentId` field. */ + parentId?: UUIDFilter; + /** Filter by the object’s `grantorId` field. */ + grantorId?: UUIDFilter; + /** Filter by the object’s `isGrant` field. */ + isGrant?: BooleanFilter; + /** Filter by the object’s `positionTitle` field. */ + positionTitle?: StringFilter; + /** Filter by the object’s `positionLevel` field. */ + positionLevel?: IntFilter; + /** Filter by the object’s `createdAt` field. */ + createdAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: TableModuleFilter[]; + and?: OrgChartEdgeGrantFilter[]; /** Checks for any expressions in this list. */ - or?: TableModuleFilter[]; + or?: OrgChartEdgeGrantFilter[]; /** Negates the expression. */ - not?: TableModuleFilter; + not?: OrgChartEdgeGrantFilter; + /** Filter by the object’s `child` relation. */ + child?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; + /** Filter by the object’s `grantor` relation. */ + grantor?: UserFilter; + /** Filter by the object’s `parent` relation. */ + parent?: UserFilter; + /** 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; } -/** - * A condition to be used against `TableTemplateModule` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface TableTemplateModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `ownerTableId` field. */ - ownerTableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `nodeType` field. */ - nodeType?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; +/** A filter to be used against many `AppLimit` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyAppLimitFilter { + /** Filters to entities where at least one related entity matches. */ + some?: AppLimitFilter; + /** Filters to entities where every related entity matches. */ + every?: AppLimitFilter; + /** Filters to entities where no related entity matches. */ + none?: AppLimitFilter; } -/** A filter to be used against `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */ -export interface TableTemplateModuleFilter { +/** A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ */ +export interface AppLimitFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `ownerTableId` field. */ - ownerTableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; - /** Filter by the object’s `nodeType` field. */ - nodeType?: StringFilter; - /** Filter by the object’s `data` field. */ - data?: JSONFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `num` field. */ + num?: IntFilter; + /** Filter by the object’s `max` field. */ + max?: IntFilter; /** Checks for all expressions in this list. */ - and?: TableTemplateModuleFilter[]; + and?: AppLimitFilter[]; /** Checks for any expressions in this list. */ - or?: TableTemplateModuleFilter[]; + or?: AppLimitFilter[]; /** Negates the expression. */ - not?: TableTemplateModuleFilter; -} -/** - * A condition to be used against `SecureTableProvision` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface SecureTableProvisionCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `nodeType` field. */ - nodeType?: string; - /** Checks for equality with the object’s `useRls` field. */ - useRls?: boolean; - /** Checks for equality with the object’s `nodeData` field. */ - nodeData?: unknown; - /** Checks for equality with the object’s `grantRoles` field. */ - grantRoles?: string[]; - /** Checks for equality with the object’s `grantPrivileges` field. */ - grantPrivileges?: unknown; - /** Checks for equality with the object’s `policyType` field. */ - policyType?: string; - /** Checks for equality with the object’s `policyPrivileges` field. */ - policyPrivileges?: string[]; - /** Checks for equality with the object’s `policyRole` field. */ - policyRole?: string; - /** Checks for equality with the object’s `policyPermissive` field. */ - policyPermissive?: boolean; - /** Checks for equality with the object’s `policyName` field. */ - policyName?: string; - /** Checks for equality with the object’s `policyData` field. */ - policyData?: unknown; - /** Checks for equality with the object’s `outFields` field. */ - outFields?: string[]; + not?: AppLimitFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; +} +/** A filter to be used against many `OrgLimit` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgLimitFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgLimitFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgLimitFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgLimitFilter; } -/** A filter to be used against `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */ -export interface SecureTableProvisionFilter { +/** A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgLimitFilter { /** 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 `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; - /** Filter by the object’s `nodeType` field. */ - nodeType?: StringFilter; - /** Filter by the object’s `useRls` field. */ - useRls?: BooleanFilter; - /** Filter by the object’s `nodeData` field. */ - nodeData?: JSONFilter; - /** Filter by the object’s `grantRoles` field. */ - grantRoles?: StringListFilter; - /** Filter by the object’s `grantPrivileges` field. */ - grantPrivileges?: JSONFilter; - /** Filter by the object’s `policyType` field. */ - policyType?: StringFilter; - /** Filter by the object’s `policyPrivileges` field. */ - policyPrivileges?: StringListFilter; - /** Filter by the object’s `policyRole` field. */ - policyRole?: StringFilter; - /** Filter by the object’s `policyPermissive` field. */ - policyPermissive?: BooleanFilter; - /** Filter by the object’s `policyName` field. */ - policyName?: StringFilter; - /** Filter by the object’s `policyData` field. */ - policyData?: JSONFilter; - /** Filter by the object’s `outFields` field. */ - outFields?: UUIDListFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `num` field. */ + num?: IntFilter; + /** Filter by the object’s `max` field. */ + max?: IntFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: SecureTableProvisionFilter[]; + and?: OrgLimitFilter[]; /** Checks for any expressions in this list. */ - or?: SecureTableProvisionFilter[]; + or?: OrgLimitFilter[]; /** Negates the expression. */ - not?: SecureTableProvisionFilter; -} -/** - * A condition to be used against `RelationProvision` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface RelationProvisionCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `relationType` field. */ - relationType?: string; - /** Checks for equality with the object’s `sourceTableId` field. */ - sourceTableId?: string; - /** Checks for equality with the object’s `targetTableId` field. */ - targetTableId?: string; - /** Checks for equality with the object’s `fieldName` field. */ - fieldName?: string; - /** Checks for equality with the object’s `deleteAction` field. */ - deleteAction?: string; - /** Checks for equality with the object’s `isRequired` field. */ - isRequired?: boolean; - /** Checks for equality with the object’s `junctionTableId` field. */ - junctionTableId?: string; - /** Checks for equality with the object’s `junctionTableName` field. */ - junctionTableName?: string; - /** Checks for equality with the object’s `junctionSchemaId` field. */ - junctionSchemaId?: string; - /** Checks for equality with the object’s `sourceFieldName` field. */ - sourceFieldName?: string; - /** Checks for equality with the object’s `targetFieldName` field. */ - targetFieldName?: string; - /** Checks for equality with the object’s `useCompositeKey` field. */ - useCompositeKey?: boolean; - /** Checks for equality with the object’s `nodeType` field. */ - nodeType?: string; - /** Checks for equality with the object’s `nodeData` field. */ - nodeData?: unknown; - /** Checks for equality with the object’s `grantRoles` field. */ - grantRoles?: string[]; - /** Checks for equality with the object’s `grantPrivileges` field. */ - grantPrivileges?: unknown; - /** Checks for equality with the object’s `policyType` field. */ - policyType?: string; - /** Checks for equality with the object’s `policyPrivileges` field. */ - policyPrivileges?: string[]; - /** Checks for equality with the object’s `policyRole` field. */ - policyRole?: string; - /** Checks for equality with the object’s `policyPermissive` field. */ - policyPermissive?: boolean; - /** Checks for equality with the object’s `policyName` field. */ - policyName?: string; - /** Checks for equality with the object’s `policyData` field. */ - policyData?: unknown; - /** Checks for equality with the object’s `outFieldId` field. */ - outFieldId?: string; - /** Checks for equality with the object’s `outJunctionTableId` field. */ - outJunctionTableId?: string; - /** Checks for equality with the object’s `outSourceFieldId` field. */ - outSourceFieldId?: string; - /** Checks for equality with the object’s `outTargetFieldId` field. */ - outTargetFieldId?: string; + not?: OrgLimitFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; +} +/** A filter to be used against many `AppStep` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyAppStepFilter { + /** Filters to entities where at least one related entity matches. */ + some?: AppStepFilter; + /** Filters to entities where every related entity matches. */ + every?: AppStepFilter; + /** Filters to entities where no related entity matches. */ + none?: AppStepFilter; } -/** A filter to be used against `RelationProvision` object types. All fields are combined with a logical ‘and.’ */ -export interface RelationProvisionFilter { +/** A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ */ +export interface AppStepFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `relationType` field. */ - relationType?: StringFilter; - /** Filter by the object’s `sourceTableId` field. */ - sourceTableId?: UUIDFilter; - /** Filter by the object’s `targetTableId` field. */ - targetTableId?: UUIDFilter; - /** Filter by the object’s `fieldName` field. */ - fieldName?: StringFilter; - /** Filter by the object’s `deleteAction` field. */ - deleteAction?: StringFilter; - /** Filter by the object’s `isRequired` field. */ - isRequired?: BooleanFilter; - /** Filter by the object’s `junctionTableId` field. */ - junctionTableId?: UUIDFilter; - /** Filter by the object’s `junctionTableName` field. */ - junctionTableName?: StringFilter; - /** Filter by the object’s `junctionSchemaId` field. */ - junctionSchemaId?: UUIDFilter; - /** Filter by the object’s `sourceFieldName` field. */ - sourceFieldName?: StringFilter; - /** Filter by the object’s `targetFieldName` field. */ - targetFieldName?: StringFilter; - /** Filter by the object’s `useCompositeKey` field. */ - useCompositeKey?: BooleanFilter; - /** Filter by the object’s `nodeType` field. */ - nodeType?: StringFilter; - /** Filter by the object’s `nodeData` field. */ - nodeData?: JSONFilter; - /** Filter by the object’s `grantRoles` field. */ - grantRoles?: StringListFilter; - /** Filter by the object’s `grantPrivileges` field. */ - grantPrivileges?: JSONFilter; - /** Filter by the object’s `policyType` field. */ - policyType?: StringFilter; - /** Filter by the object’s `policyPrivileges` field. */ - policyPrivileges?: StringListFilter; - /** Filter by the object’s `policyRole` field. */ - policyRole?: StringFilter; - /** Filter by the object’s `policyPermissive` field. */ - policyPermissive?: BooleanFilter; - /** Filter by the object’s `policyName` field. */ - policyName?: StringFilter; - /** Filter by the object’s `policyData` field. */ - policyData?: JSONFilter; - /** Filter by the object’s `outFieldId` field. */ - outFieldId?: UUIDFilter; - /** Filter by the object’s `outJunctionTableId` field. */ - outJunctionTableId?: UUIDFilter; - /** Filter by the object’s `outSourceFieldId` field. */ - outSourceFieldId?: UUIDFilter; - /** Filter by the object’s `outTargetFieldId` field. */ - outTargetFieldId?: UUIDFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `count` field. */ + count?: IntFilter; + /** 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?: RelationProvisionFilter[]; + and?: AppStepFilter[]; /** Checks for any expressions in this list. */ - or?: RelationProvisionFilter[]; + or?: AppStepFilter[]; /** Negates the expression. */ - not?: RelationProvisionFilter; -} -/** A condition to be used against `Table` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface TableCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `label` field. */ - label?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `useRls` field. */ - useRls?: boolean; - /** Checks for equality with the object’s `timestamps` field. */ - timestamps?: boolean; - /** Checks for equality with the object’s `peoplestamps` field. */ - peoplestamps?: boolean; - /** Checks for equality with the object’s `pluralName` field. */ - pluralName?: string; - /** Checks for equality with the object’s `singularName` field. */ - singularName?: string; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `inheritsId` field. */ - inheritsId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: AppStepFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; +} +/** A filter to be used against many `AppAchievement` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyAppAchievementFilter { + /** Filters to entities where at least one related entity matches. */ + some?: AppAchievementFilter; + /** Filters to entities where every related entity matches. */ + every?: AppAchievementFilter; + /** Filters to entities where no related entity matches. */ + none?: AppAchievementFilter; } -/** A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ */ -export interface TableFilter { +/** A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ */ +export interface AppAchievementFilter { /** 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 `actorId` field. */ + actorId?: 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 `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 `useRls` field. */ - useRls?: BooleanFilter; - /** Filter by the object’s `timestamps` field. */ - timestamps?: BooleanFilter; - /** Filter by the object’s `peoplestamps` field. */ - peoplestamps?: BooleanFilter; - /** Filter by the object’s `pluralName` field. */ - pluralName?: StringFilter; - /** Filter by the object’s `singularName` field. */ - singularName?: StringFilter; - /** Filter by the object’s `tags` field. */ - tags?: StringListFilter; - /** Filter by the object’s `inheritsId` field. */ - inheritsId?: UUIDFilter; + /** Filter by the object’s `count` field. */ + count?: IntFilter; /** 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?: TableFilter[]; + and?: AppAchievementFilter[]; /** Checks for any expressions in this list. */ - or?: TableFilter[]; + or?: AppAchievementFilter[]; /** Negates the expression. */ - not?: TableFilter; -} -/** - * A condition to be used against `SchemaGrant` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface SchemaGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `granteeName` field. */ - granteeName?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: AppAchievementFilter; + /** Filter by the object’s `actor` relation. */ + actor?: UserFilter; +} +/** A filter to be used against many `Invite` object types. All fields are combined with a logical ‘and.’ */ +export interface 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 `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface SchemaGrantFilter { +/** A filter to be used against `Invite` object types. All fields are combined with a logical ‘and.’ */ +export interface InviteFilter { /** 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 `granteeName` field. */ - granteeName?: StringFilter; + /** 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?: SchemaGrantFilter[]; + and?: InviteFilter[]; /** Checks for any expressions in this list. */ - or?: SchemaGrantFilter[]; + or?: InviteFilter[]; /** Negates the expression. */ - not?: SchemaGrantFilter; + not?: InviteFilter; + /** 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; } -/** - * A condition to be used against `DefaultPrivilege` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface DefaultPrivilegeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `objectType` field. */ - objectType?: string; - /** Checks for equality with the object’s `privilege` field. */ - privilege?: string; - /** Checks for equality with the object’s `granteeName` field. */ - granteeName?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; +/** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */ +export interface ConstructiveInternalTypeEmailFilter { + /** 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?: ConstructiveInternalTypeEmail; + /** Does not contain the specified string (case-insensitive). */ + notIncludesInsensitive?: ConstructiveInternalTypeEmail; + /** 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?: ConstructiveInternalTypeEmail; + /** Does not start with the specified string (case-insensitive). */ + notStartsWithInsensitive?: ConstructiveInternalTypeEmail; + /** 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?: ConstructiveInternalTypeEmail; + /** Does not end with the specified string (case-insensitive). */ + 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. */ + 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?: 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?: ConstructiveInternalTypeEmail; + /** Equal to the specified value (case-insensitive). */ + equalToInsensitive?: ConstructiveInternalTypeEmail; + /** Not equal to the specified value (case-insensitive). */ + notEqualToInsensitive?: ConstructiveInternalTypeEmail; + /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ + distinctFromInsensitive?: ConstructiveInternalTypeEmail; + /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ + notDistinctFromInsensitive?: ConstructiveInternalTypeEmail; + /** Included in the specified list (case-insensitive). */ + inInsensitive?: ConstructiveInternalTypeEmail[]; + /** Not included in the specified list (case-insensitive). */ + notInInsensitive?: ConstructiveInternalTypeEmail[]; + /** Less than the specified value (case-insensitive). */ + lessThanInsensitive?: ConstructiveInternalTypeEmail; + /** Less than or equal to the specified value (case-insensitive). */ + lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; + /** Greater than the specified value (case-insensitive). */ + greaterThanInsensitive?: ConstructiveInternalTypeEmail; + /** Greater than or equal to the specified value (case-insensitive). */ + greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; } -/** A filter to be used against `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ */ -export interface DefaultPrivilegeFilter { +/** A filter to be used against many `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyClaimedInviteFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ClaimedInviteFilter; + /** Filters to entities where every related entity matches. */ + every?: ClaimedInviteFilter; + /** Filters to entities where no related entity matches. */ + none?: ClaimedInviteFilter; +} +/** A filter to be used against `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ +export interface ClaimedInviteFilter { /** 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 `objectType` field. */ - objectType?: StringFilter; - /** Filter by the object’s `privilege` field. */ - privilege?: StringFilter; - /** Filter by the object’s `granteeName` field. */ - granteeName?: StringFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; + /** Filter by the object’s `senderId` field. */ + senderId?: UUIDFilter; + /** Filter by the object’s `receiverId` field. */ + receiverId?: 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?: DefaultPrivilegeFilter[]; + and?: ClaimedInviteFilter[]; /** Checks for any expressions in this list. */ - or?: DefaultPrivilegeFilter[]; + or?: ClaimedInviteFilter[]; /** Negates the expression. */ - not?: DefaultPrivilegeFilter; + not?: ClaimedInviteFilter; + /** Filter by the object’s `receiver` relation. */ + receiver?: UserFilter; + /** A related `receiver` exists. */ + receiverExists?: boolean; + /** Filter by the object’s `sender` relation. */ + sender?: UserFilter; + /** A related `sender` exists. */ + senderExists?: boolean; +} +/** A filter to be used against many `OrgInvite` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgInviteFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgInviteFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgInviteFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgInviteFilter; } -/** - * A condition to be used against `ApiModule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface ApiModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `apiId` field. */ - apiId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; +/** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgInviteFilter { + /** 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 `receiverId` field. */ + receiverId?: 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; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Checks for all expressions in this list. */ + and?: OrgInviteFilter[]; + /** Checks for any expressions in this list. */ + or?: OrgInviteFilter[]; + /** Negates the expression. */ + not?: OrgInviteFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; + /** Filter by the object’s `receiver` relation. */ + receiver?: UserFilter; + /** A related `receiver` exists. */ + receiverExists?: boolean; + /** 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; } -/** A filter to be used against `ApiModule` object types. All fields are combined with a logical ‘and.’ */ -export interface ApiModuleFilter { +/** A filter to be used against many `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ +export interface UserToManyOrgClaimedInviteFilter { + /** Filters to entities where at least one related entity matches. */ + some?: OrgClaimedInviteFilter; + /** Filters to entities where every related entity matches. */ + every?: OrgClaimedInviteFilter; + /** Filters to entities where no related entity matches. */ + none?: OrgClaimedInviteFilter; +} +/** A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ +export interface OrgClaimedInviteFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `senderId` field. */ + senderId?: UUIDFilter; + /** Filter by the object’s `receiverId` field. */ + receiverId?: UUIDFilter; + /** Filter by the object’s `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; + /** Filter by the object’s `entityId` field. */ + entityId?: UUIDFilter; + /** Checks for all expressions in this list. */ + and?: OrgClaimedInviteFilter[]; + /** Checks for any expressions in this list. */ + or?: OrgClaimedInviteFilter[]; + /** Negates the expression. */ + not?: OrgClaimedInviteFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; + /** Filter by the object’s `receiver` relation. */ + receiver?: UserFilter; + /** A related `receiver` exists. */ + receiverExists?: boolean; + /** Filter by the object’s `sender` relation. */ + sender?: UserFilter; + /** A related `sender` exists. */ + senderExists?: boolean; +} +/** A filter to be used against many `Schema` object types. All fields are combined with a logical ‘and.’ */ +export interface 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.’ */ +export interface SchemaFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** Filter by the object’s `apiId` field. */ - apiId?: 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?: ApiModuleFilter[]; + and?: SchemaFilter[]; /** Checks for any expressions in this list. */ - or?: ApiModuleFilter[]; + or?: SchemaFilter[]; /** Negates the expression. */ - not?: ApiModuleFilter; + 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 `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; + /** TRGM search on the `name` column. */ + trgmName?: TrgmSearchInput; + /** TRGM search on the `schema_name` column. */ + trgmSchemaName?: 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; + /** + * 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 condition to be used against `ApiSchema` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface ApiSchemaCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `apiId` field. */ - apiId?: string; +/** A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ */ +export interface SchemaToManyTableFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TableFilter; + /** Filters to entities where every related entity matches. */ + every?: TableFilter; + /** Filters to entities where no related entity matches. */ + none?: TableFilter; } -/** A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ */ -export interface ApiSchemaFilter { +/** A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ */ +export interface TableFilter { /** 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 `apiId` field. */ - apiId?: 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 `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 `useRls` field. */ + useRls?: BooleanFilter; + /** Filter by the object’s `timestamps` field. */ + timestamps?: BooleanFilter; + /** Filter by the object’s `peoplestamps` field. */ + peoplestamps?: BooleanFilter; + /** Filter by the object’s `pluralName` field. */ + pluralName?: StringFilter; + /** Filter by the object’s `singularName` field. */ + singularName?: StringFilter; + /** Filter by the object’s `tags` field. */ + tags?: StringListFilter; + /** Filter by the object’s `inheritsId` field. */ + inheritsId?: 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?: ApiSchemaFilter[]; + and?: TableFilter[]; /** Checks for any expressions in this list. */ - or?: ApiSchemaFilter[]; + or?: TableFilter[]; /** Negates the expression. */ - not?: ApiSchemaFilter; -} -/** A condition to be used against `Domain` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface DomainCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `apiId` field. */ - apiId?: string; - /** Checks for equality with the object’s `siteId` field. */ - siteId?: string; - /** Checks for equality with the object’s `subdomain` field. */ - subdomain?: ConstructiveInternalTypeHostname; - /** Checks for equality with the object’s `domain` field. */ - domain?: ConstructiveInternalTypeHostname; + not?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** Filter by the object’s `inherits` relation. */ + inherits?: TableFilter; + /** A related `inherits` exists. */ + inheritsExists?: boolean; + /** Filter by the object’s `checkConstraints` relation. */ + checkConstraints?: TableToManyCheckConstraintFilter; + /** `checkConstraints` exist. */ + checkConstraintsExist?: boolean; + /** Filter by the object’s `fields` relation. */ + fields?: TableToManyFieldFilter; + /** `fields` exist. */ + fieldsExist?: boolean; + /** Filter by the object’s `foreignKeyConstraints` relation. */ + foreignKeyConstraints?: TableToManyForeignKeyConstraintFilter; + /** `foreignKeyConstraints` exist. */ + foreignKeyConstraintsExist?: boolean; + /** Filter by the object’s `fullTextSearches` relation. */ + fullTextSearches?: TableToManyFullTextSearchFilter; + /** `fullTextSearches` exist. */ + fullTextSearchesExist?: boolean; + /** Filter by the object’s `indices` relation. */ + indices?: TableToManyIndexFilter; + /** `indices` exist. */ + indicesExist?: boolean; + /** Filter by the object’s `policies` relation. */ + policies?: TableToManyPolicyFilter; + /** `policies` exist. */ + policiesExist?: boolean; + /** Filter by the object’s `primaryKeyConstraints` relation. */ + primaryKeyConstraints?: TableToManyPrimaryKeyConstraintFilter; + /** `primaryKeyConstraints` exist. */ + primaryKeyConstraintsExist?: boolean; + /** Filter by the object’s `tableGrants` relation. */ + tableGrants?: TableToManyTableGrantFilter; + /** `tableGrants` exist. */ + tableGrantsExist?: boolean; + /** Filter by the object’s `triggers` relation. */ + triggers?: TableToManyTriggerFilter; + /** `triggers` exist. */ + triggersExist?: boolean; + /** Filter by the object’s `uniqueConstraints` relation. */ + uniqueConstraints?: TableToManyUniqueConstraintFilter; + /** `uniqueConstraints` exist. */ + uniqueConstraintsExist?: boolean; + /** Filter by the object’s `views` relation. */ + views?: TableToManyViewFilter; + /** `views` exist. */ + viewsExist?: boolean; + /** Filter by the object’s `viewTables` relation. */ + viewTables?: TableToManyViewTableFilter; + /** `viewTables` exist. */ + viewTablesExist?: boolean; + /** Filter by the object’s `tableTemplateModulesByOwnerTableId` relation. */ + tableTemplateModulesByOwnerTableId?: TableToManyTableTemplateModuleFilter; + /** `tableTemplateModulesByOwnerTableId` exist. */ + tableTemplateModulesByOwnerTableIdExist?: boolean; + /** Filter by the object’s `tableTemplateModules` relation. */ + tableTemplateModules?: TableToManyTableTemplateModuleFilter; + /** `tableTemplateModules` exist. */ + tableTemplateModulesExist?: boolean; + /** Filter by the object’s `secureTableProvisions` relation. */ + secureTableProvisions?: TableToManySecureTableProvisionFilter; + /** `secureTableProvisions` exist. */ + secureTableProvisionsExist?: boolean; + /** Filter by the object’s `relationProvisionsBySourceTableId` relation. */ + relationProvisionsBySourceTableId?: TableToManyRelationProvisionFilter; + /** `relationProvisionsBySourceTableId` exist. */ + relationProvisionsBySourceTableIdExist?: boolean; + /** Filter by the object’s `relationProvisionsByTargetTableId` relation. */ + relationProvisionsByTargetTableId?: TableToManyRelationProvisionFilter; + /** `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; +} +/** A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyCheckConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: CheckConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: CheckConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: CheckConstraintFilter; +} +/** A filter to be used against many `Field` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyFieldFilter { + /** Filters to entities where at least one related entity matches. */ + some?: FieldFilter; + /** Filters to entities where every related entity matches. */ + every?: FieldFilter; + /** Filters to entities where no related entity matches. */ + none?: FieldFilter; } -/** A filter to be used against `Domain` object types. All fields are combined with a logical ‘and.’ */ -export interface DomainFilter { +/** A filter to be used against `Field` object types. All fields are combined with a logical ‘and.’ */ +export interface FieldFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** Filter by the object’s `apiId` field. */ - apiId?: UUIDFilter; - /** Filter by the object’s `siteId` field. */ - siteId?: UUIDFilter; - /** Filter by the object’s `subdomain` field. */ - subdomain?: ConstructiveInternalTypeHostnameFilter; - /** Filter by the object’s `domain` field. */ - domain?: ConstructiveInternalTypeHostnameFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: 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 `smartTags` field. */ + smartTags?: JSONFilter; + /** Filter by the object’s `isRequired` field. */ + isRequired?: BooleanFilter; + /** Filter by the object’s `defaultValue` field. */ + defaultValue?: StringFilter; + /** Filter by the object’s `defaultValueAst` field. */ + defaultValueAst?: JSONFilter; + /** Filter by the object’s `isHidden` field. */ + isHidden?: BooleanFilter; + /** Filter by the object’s `type` field. */ + type?: StringFilter; + /** Filter by the object’s `fieldOrder` field. */ + fieldOrder?: IntFilter; + /** Filter by the object’s `regexp` field. */ + regexp?: StringFilter; + /** Filter by the object’s `chk` field. */ + chk?: JSONFilter; + /** Filter by the object’s `chkExpr` field. */ + chkExpr?: JSONFilter; + /** Filter by the object’s `min` field. */ + min?: FloatFilter; + /** Filter by the object’s `max` field. */ + max?: FloatFilter; + /** Filter by the object’s `tags` field. */ + tags?: StringListFilter; + /** 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 `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: DomainFilter[]; + and?: FieldFilter[]; /** Checks for any expressions in this list. */ - or?: DomainFilter[]; + or?: FieldFilter[]; /** Negates the expression. */ - not?: DomainFilter; + not?: FieldFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** A filter to be used against ConstructiveInternalTypeHostname fields. All fields are combined with a logical ‘and.’ */ -export interface ConstructiveInternalTypeHostnameFilter { - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: boolean; - /** Equal to the specified value. */ - equalTo?: ConstructiveInternalTypeHostname; - /** Not equal to the specified value. */ - notEqualTo?: ConstructiveInternalTypeHostname; - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: ConstructiveInternalTypeHostname; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: ConstructiveInternalTypeHostname; - /** Included in the specified list. */ - in?: ConstructiveInternalTypeHostname[]; - /** Not included in the specified list. */ - notIn?: ConstructiveInternalTypeHostname[]; - /** Less than the specified value. */ - lessThan?: ConstructiveInternalTypeHostname; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: ConstructiveInternalTypeHostname; - /** Greater than the specified value. */ - greaterThan?: ConstructiveInternalTypeHostname; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: ConstructiveInternalTypeHostname; - /** Contains the specified string (case-sensitive). */ - includes?: ConstructiveInternalTypeHostname; - /** Does not contain the specified string (case-sensitive). */ - notIncludes?: ConstructiveInternalTypeHostname; - /** Contains the specified string (case-insensitive). */ - includesInsensitive?: ConstructiveInternalTypeHostname; - /** Does not contain the specified string (case-insensitive). */ - notIncludesInsensitive?: ConstructiveInternalTypeHostname; - /** Starts with the specified string (case-sensitive). */ - startsWith?: ConstructiveInternalTypeHostname; - /** Does not start with the specified string (case-sensitive). */ - notStartsWith?: ConstructiveInternalTypeHostname; - /** Starts with the specified string (case-insensitive). */ - startsWithInsensitive?: ConstructiveInternalTypeHostname; - /** Does not start with the specified string (case-insensitive). */ - notStartsWithInsensitive?: ConstructiveInternalTypeHostname; - /** Ends with the specified string (case-sensitive). */ - endsWith?: ConstructiveInternalTypeHostname; - /** Does not end with the specified string (case-sensitive). */ - notEndsWith?: ConstructiveInternalTypeHostname; - /** Ends with the specified string (case-insensitive). */ - endsWithInsensitive?: ConstructiveInternalTypeHostname; - /** Does not end with the specified string (case-insensitive). */ - notEndsWithInsensitive?: ConstructiveInternalTypeHostname; - /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - like?: ConstructiveInternalTypeHostname; - /** 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?: ConstructiveInternalTypeHostname; - /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - likeInsensitive?: ConstructiveInternalTypeHostname; - /** 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?: ConstructiveInternalTypeHostname; - /** 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 condition to be used against `SiteMetadatum` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface SiteMetadatumCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `siteId` field. */ - siteId?: string; - /** Checks for equality with the object’s `title` field. */ - title?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `ogImage` field. */ - ogImage?: ConstructiveInternalTypeImage; -} -/** A filter to be used against `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ */ -export interface SiteMetadatumFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `siteId` field. */ - siteId?: UUIDFilter; - /** Filter by the object’s `title` field. */ - title?: StringFilter; - /** Filter by the object’s `description` field. */ - description?: StringFilter; - /** Filter by the object’s `ogImage` field. */ - ogImage?: ConstructiveInternalTypeImageFilter; - /** Checks for all expressions in this list. */ - and?: SiteMetadatumFilter[]; - /** Checks for any expressions in this list. */ - or?: SiteMetadatumFilter[]; - /** Negates the expression. */ - not?: SiteMetadatumFilter; -} -/** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */ -export interface ConstructiveInternalTypeImageFilter { - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: boolean; - /** Equal to the specified value. */ - equalTo?: ConstructiveInternalTypeImage; - /** Not equal to the specified value. */ - notEqualTo?: ConstructiveInternalTypeImage; - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: ConstructiveInternalTypeImage; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: ConstructiveInternalTypeImage; - /** Included in the specified list. */ - in?: ConstructiveInternalTypeImage[]; - /** Not included in the specified list. */ - notIn?: ConstructiveInternalTypeImage[]; - /** Less than the specified value. */ - lessThan?: ConstructiveInternalTypeImage; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: ConstructiveInternalTypeImage; - /** Greater than the specified value. */ - greaterThan?: ConstructiveInternalTypeImage; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: ConstructiveInternalTypeImage; - /** Contains the specified JSON. */ - contains?: ConstructiveInternalTypeImage; - /** Contains the specified key. */ - containsKey?: string; - /** Contains all of the specified keys. */ - containsAllKeys?: string[]; - /** Contains any of the specified keys. */ - containsAnyKeys?: string[]; - /** Contained by the specified JSON. */ - containedBy?: ConstructiveInternalTypeImage; -} -/** - * A condition to be used against `SiteModule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface SiteModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `siteId` field. */ - siteId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; -} -/** A filter to be used against `SiteModule` object types. All fields are combined with a logical ‘and.’ */ -export interface SiteModuleFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `siteId` field. */ - siteId?: UUIDFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Checks for all expressions in this list. */ - and?: SiteModuleFilter[]; - /** Checks for any expressions in this list. */ - or?: SiteModuleFilter[]; - /** Negates the expression. */ - not?: SiteModuleFilter; -} -/** - * A condition to be used against `SiteTheme` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface SiteThemeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `siteId` field. */ - siteId?: string; - /** Checks for equality with the object’s `theme` field. */ - theme?: unknown; -} -/** A filter to be used against `SiteTheme` object types. All fields are combined with a logical ‘and.’ */ -export interface SiteThemeFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `siteId` field. */ - siteId?: UUIDFilter; - /** Filter by the object’s `theme` field. */ - theme?: JSONFilter; - /** Checks for all expressions in this list. */ - and?: SiteThemeFilter[]; - /** Checks for any expressions in this list. */ - or?: SiteThemeFilter[]; - /** Negates the expression. */ - not?: SiteThemeFilter; -} -/** A condition to be used against `Schema` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface SchemaCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `schemaName` field. */ - schemaName?: string; - /** Checks for equality with the object’s `label` field. */ - label?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `smartTags` field. */ - smartTags?: unknown; - /** Checks for equality with the object’s `category` field. */ - category?: ObjectCategory; - /** Checks for equality with the object’s `module` field. */ - module?: string; - /** Checks for equality with the object’s `scope` field. */ - scope?: number; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `isPublic` field. */ - isPublic?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyForeignKeyConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ForeignKeyConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: ForeignKeyConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: ForeignKeyConstraintFilter; } -/** A filter to be used against `Schema` object types. All fields are combined with a logical ‘and.’ */ -export interface SchemaFilter { +/** A filter to be used against `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface ForeignKeyConstraintFilter { /** 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 `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 `type` field. */ + type?: StringFilter; + /** Filter by the object’s `fieldIds` field. */ + fieldIds?: UUIDListFilter; + /** Filter by the object’s `refTableId` field. */ + refTableId?: UUIDFilter; + /** Filter by the object’s `refFieldIds` field. */ + refFieldIds?: UUIDListFilter; + /** Filter by the object’s `deleteAction` field. */ + deleteAction?: StringFilter; + /** Filter by the object’s `updateAction` field. */ + updateAction?: StringFilter; /** Filter by the object’s `category` field. */ category?: ObjectCategoryFilter; /** Filter by the object’s `module` field. */ @@ -3256,2809 +3912,3690 @@ export interface SchemaFilter { 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[]; + and?: ForeignKeyConstraintFilter[]; /** Checks for any expressions in this list. */ - or?: SchemaFilter[]; + or?: ForeignKeyConstraintFilter[]; /** Negates the expression. */ - not?: SchemaFilter; + not?: ForeignKeyConstraintFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `refTable` relation. */ + refTable?: TableFilter; + /** 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; } -/** - * A condition to be used against `TriggerFunction` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface TriggerFunctionCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `code` field. */ - code?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `FullTextSearch` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyFullTextSearchFilter { + /** Filters to entities where at least one related entity matches. */ + some?: FullTextSearchFilter; + /** Filters to entities where every related entity matches. */ + every?: FullTextSearchFilter; + /** Filters to entities where no related entity matches. */ + none?: FullTextSearchFilter; } -/** A filter to be used against `TriggerFunction` object types. All fields are combined with a logical ‘and.’ */ -export interface TriggerFunctionFilter { +/** A filter to be used against `FullTextSearch` object types. All fields are combined with a logical ‘and.’ */ +export interface FullTextSearchFilter { /** 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 `code` field. */ - code?: StringFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `fieldId` field. */ + fieldId?: UUIDFilter; + /** Filter by the object’s `fieldIds` field. */ + fieldIds?: UUIDListFilter; + /** Filter by the object’s `weights` field. */ + weights?: StringListFilter; + /** Filter by the object’s `langs` field. */ + langs?: StringListFilter; /** 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?: TriggerFunctionFilter[]; + and?: FullTextSearchFilter[]; /** Checks for any expressions in this list. */ - or?: TriggerFunctionFilter[]; + or?: FullTextSearchFilter[]; /** Negates the expression. */ - not?: TriggerFunctionFilter; -} -/** A condition to be used against `Api` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface ApiCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `dbname` field. */ - dbname?: string; - /** Checks for equality with the object’s `roleName` field. */ - roleName?: string; - /** Checks for equality with the object’s `anonRole` field. */ - anonRole?: string; - /** Checks for equality with the object’s `isPublic` field. */ - isPublic?: boolean; + not?: FullTextSearchFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `table` relation. */ + table?: TableFilter; +} +/** A filter to be used against many `Index` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyIndexFilter { + /** Filters to entities where at least one related entity matches. */ + some?: IndexFilter; + /** Filters to entities where every related entity matches. */ + every?: IndexFilter; + /** Filters to entities where no related entity matches. */ + none?: IndexFilter; } -/** A filter to be used against `Api` object types. All fields are combined with a logical ‘and.’ */ -export interface ApiFilter { +/** A filter to be used against `Index` object types. All fields are combined with a logical ‘and.’ */ +export interface IndexFilter { /** 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 `name` field. */ name?: StringFilter; - /** Filter by the object’s `dbname` field. */ - dbname?: StringFilter; - /** Filter by the object’s `roleName` field. */ - roleName?: StringFilter; - /** Filter by the object’s `anonRole` field. */ - anonRole?: StringFilter; - /** Filter by the object’s `isPublic` field. */ - isPublic?: BooleanFilter; + /** Filter by the object’s `fieldIds` field. */ + fieldIds?: UUIDListFilter; + /** Filter by the object’s `includeFieldIds` field. */ + includeFieldIds?: UUIDListFilter; + /** Filter by the object’s `accessMethod` field. */ + accessMethod?: StringFilter; + /** Filter by the object’s `indexParams` field. */ + indexParams?: JSONFilter; + /** Filter by the object’s `whereClause` field. */ + whereClause?: JSONFilter; + /** Filter by the object’s `isUnique` field. */ + isUnique?: BooleanFilter; + /** Filter by the object’s `options` field. */ + options?: JSONFilter; + /** Filter by the object’s `opClasses` field. */ + opClasses?: 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; + /** 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?: ApiFilter[]; + and?: IndexFilter[]; /** Checks for any expressions in this list. */ - or?: ApiFilter[]; + or?: IndexFilter[]; /** Negates the expression. */ - not?: ApiFilter; + not?: IndexFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** A condition to be used against `Site` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface SiteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `title` field. */ - title?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `ogImage` field. */ - ogImage?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `favicon` field. */ - favicon?: ConstructiveInternalTypeAttachment; - /** Checks for equality with the object’s `appleTouchIcon` field. */ - appleTouchIcon?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `logo` field. */ - logo?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `dbname` field. */ - dbname?: string; +/** A filter to be used against many `Policy` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyPolicyFilter { + /** Filters to entities where at least one related entity matches. */ + some?: PolicyFilter; + /** Filters to entities where every related entity matches. */ + every?: PolicyFilter; + /** Filters to entities where no related entity matches. */ + none?: PolicyFilter; } -/** A filter to be used against `Site` object types. All fields are combined with a logical ‘and.’ */ -export interface SiteFilter { +/** A filter to be used against `Policy` object types. All fields are combined with a logical ‘and.’ */ +export interface PolicyFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** Filter by the object’s `title` field. */ - title?: StringFilter; - /** Filter by the object’s `description` field. */ - description?: StringFilter; - /** Filter by the object’s `ogImage` field. */ - ogImage?: ConstructiveInternalTypeImageFilter; - /** Filter by the object’s `favicon` field. */ - favicon?: ConstructiveInternalTypeAttachmentFilter; - /** Filter by the object’s `appleTouchIcon` field. */ - appleTouchIcon?: ConstructiveInternalTypeImageFilter; - /** Filter by the object’s `logo` field. */ - logo?: ConstructiveInternalTypeImageFilter; - /** Filter by the object’s `dbname` field. */ - dbname?: StringFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `granteeName` field. */ + granteeName?: StringFilter; + /** Filter by the object’s `privilege` field. */ + privilege?: StringFilter; + /** Filter by the object’s `permissive` field. */ + permissive?: BooleanFilter; + /** Filter by the object’s `disabled` field. */ + disabled?: BooleanFilter; + /** Filter by the object’s `policyType` field. */ + policyType?: StringFilter; + /** Filter by the object’s `data` field. */ + data?: JSONFilter; + /** 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 `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: SiteFilter[]; + and?: PolicyFilter[]; /** Checks for any expressions in this list. */ - or?: SiteFilter[]; + or?: PolicyFilter[]; /** Negates the expression. */ - not?: SiteFilter; -} -/** A filter to be used against ConstructiveInternalTypeAttachment fields. All fields are combined with a logical ‘and.’ */ -export interface ConstructiveInternalTypeAttachmentFilter { - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: boolean; - /** Equal to the specified value. */ - equalTo?: ConstructiveInternalTypeAttachment; - /** Not equal to the specified value. */ - notEqualTo?: ConstructiveInternalTypeAttachment; - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: ConstructiveInternalTypeAttachment; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: ConstructiveInternalTypeAttachment; - /** Included in the specified list. */ - in?: ConstructiveInternalTypeAttachment[]; - /** Not included in the specified list. */ - notIn?: ConstructiveInternalTypeAttachment[]; - /** Less than the specified value. */ - lessThan?: ConstructiveInternalTypeAttachment; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: ConstructiveInternalTypeAttachment; - /** Greater than the specified value. */ - greaterThan?: ConstructiveInternalTypeAttachment; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: ConstructiveInternalTypeAttachment; - /** Contains the specified string (case-sensitive). */ - includes?: ConstructiveInternalTypeAttachment; - /** Does not contain the specified string (case-sensitive). */ - notIncludes?: ConstructiveInternalTypeAttachment; - /** Contains the specified string (case-insensitive). */ - includesInsensitive?: ConstructiveInternalTypeAttachment; - /** Does not contain the specified string (case-insensitive). */ - notIncludesInsensitive?: ConstructiveInternalTypeAttachment; - /** Starts with the specified string (case-sensitive). */ - startsWith?: ConstructiveInternalTypeAttachment; - /** Does not start with the specified string (case-sensitive). */ - notStartsWith?: ConstructiveInternalTypeAttachment; - /** Starts with the specified string (case-insensitive). */ - startsWithInsensitive?: ConstructiveInternalTypeAttachment; - /** Does not start with the specified string (case-insensitive). */ - notStartsWithInsensitive?: ConstructiveInternalTypeAttachment; - /** Ends with the specified string (case-sensitive). */ - endsWith?: ConstructiveInternalTypeAttachment; - /** Does not end with the specified string (case-sensitive). */ - notEndsWith?: ConstructiveInternalTypeAttachment; - /** Ends with the specified string (case-insensitive). */ - endsWithInsensitive?: ConstructiveInternalTypeAttachment; - /** Does not end with the specified string (case-insensitive). */ - notEndsWithInsensitive?: ConstructiveInternalTypeAttachment; - /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - like?: ConstructiveInternalTypeAttachment; - /** 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?: ConstructiveInternalTypeAttachment; - /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - likeInsensitive?: ConstructiveInternalTypeAttachment; - /** 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?: ConstructiveInternalTypeAttachment; - /** 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; + not?: PolicyFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** A condition to be used against `App` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface AppCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `siteId` field. */ - siteId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `appImage` field. */ - appImage?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `appStoreLink` field. */ - appStoreLink?: ConstructiveInternalTypeUrl; - /** Checks for equality with the object’s `appStoreId` field. */ - appStoreId?: string; - /** Checks for equality with the object’s `appIdPrefix` field. */ - appIdPrefix?: string; - /** Checks for equality with the object’s `playStoreLink` field. */ - playStoreLink?: ConstructiveInternalTypeUrl; +/** A filter to be used against many `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyPrimaryKeyConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: PrimaryKeyConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: PrimaryKeyConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: PrimaryKeyConstraintFilter; } -/** A filter to be used against `App` object types. All fields are combined with a logical ‘and.’ */ -export interface AppFilter { +/** A filter to be used against `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface PrimaryKeyConstraintFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** Filter by the object’s `siteId` field. */ - siteId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; - /** Filter by the object’s `appImage` field. */ - appImage?: ConstructiveInternalTypeImageFilter; - /** Filter by the object’s `appStoreLink` field. */ - appStoreLink?: ConstructiveInternalTypeUrlFilter; - /** Filter by the object’s `appStoreId` field. */ - appStoreId?: StringFilter; - /** Filter by the object’s `appIdPrefix` field. */ - appIdPrefix?: StringFilter; - /** Filter by the object’s `playStoreLink` field. */ - playStoreLink?: ConstructiveInternalTypeUrlFilter; + /** Filter by the object’s `type` field. */ + type?: StringFilter; + /** Filter by the object’s `fieldIds` field. */ + fieldIds?: UUIDListFilter; + /** 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 `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: AppFilter[]; + and?: PrimaryKeyConstraintFilter[]; /** Checks for any expressions in this list. */ - or?: AppFilter[]; + or?: PrimaryKeyConstraintFilter[]; /** Negates the expression. */ - not?: AppFilter; + not?: PrimaryKeyConstraintFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** A filter to be used against ConstructiveInternalTypeUrl fields. All fields are combined with a logical ‘and.’ */ -export interface ConstructiveInternalTypeUrlFilter { - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: boolean; - /** Equal to the specified value. */ - equalTo?: ConstructiveInternalTypeUrl; - /** Not equal to the specified value. */ - notEqualTo?: ConstructiveInternalTypeUrl; - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: ConstructiveInternalTypeUrl; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: ConstructiveInternalTypeUrl; - /** Included in the specified list. */ - in?: ConstructiveInternalTypeUrl[]; - /** Not included in the specified list. */ - notIn?: ConstructiveInternalTypeUrl[]; - /** Less than the specified value. */ - lessThan?: ConstructiveInternalTypeUrl; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: ConstructiveInternalTypeUrl; - /** Greater than the specified value. */ - greaterThan?: ConstructiveInternalTypeUrl; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: ConstructiveInternalTypeUrl; - /** Contains the specified string (case-sensitive). */ - includes?: ConstructiveInternalTypeUrl; - /** Does not contain the specified string (case-sensitive). */ - notIncludes?: ConstructiveInternalTypeUrl; - /** Contains the specified string (case-insensitive). */ - includesInsensitive?: ConstructiveInternalTypeUrl; - /** Does not contain the specified string (case-insensitive). */ - notIncludesInsensitive?: ConstructiveInternalTypeUrl; - /** Starts with the specified string (case-sensitive). */ - startsWith?: ConstructiveInternalTypeUrl; - /** Does not start with the specified string (case-sensitive). */ - notStartsWith?: ConstructiveInternalTypeUrl; - /** Starts with the specified string (case-insensitive). */ - startsWithInsensitive?: ConstructiveInternalTypeUrl; - /** Does not start with the specified string (case-insensitive). */ - notStartsWithInsensitive?: ConstructiveInternalTypeUrl; - /** Ends with the specified string (case-sensitive). */ - endsWith?: ConstructiveInternalTypeUrl; - /** Does not end with the specified string (case-sensitive). */ - notEndsWith?: ConstructiveInternalTypeUrl; - /** Ends with the specified string (case-insensitive). */ - endsWithInsensitive?: ConstructiveInternalTypeUrl; - /** Does not end with the specified string (case-insensitive). */ - notEndsWithInsensitive?: ConstructiveInternalTypeUrl; - /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - like?: ConstructiveInternalTypeUrl; - /** 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?: ConstructiveInternalTypeUrl; - /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - likeInsensitive?: ConstructiveInternalTypeUrl; - /** 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?: ConstructiveInternalTypeUrl; - /** 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 condition to be used against `ConnectedAccountsModule` object types. All - * fields are tested for equality and combined with a logical ‘and.’ - */ -export interface ConnectedAccountsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `ownerTableId` field. */ - ownerTableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; +/** A filter to be used against many `TableGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyTableGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TableGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: TableGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: TableGrantFilter; } -/** A filter to be used against `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface ConnectedAccountsModuleFilter { +/** A filter to be used against `TableGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface TableGrantFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; /** Filter by the object’s `tableId` field. */ tableId?: UUIDFilter; - /** Filter by the object’s `ownerTableId` field. */ - ownerTableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; + /** Filter by the object’s `privilege` field. */ + privilege?: StringFilter; + /** Filter by the object’s `granteeName` field. */ + granteeName?: StringFilter; + /** Filter by the object’s `fieldIds` field. */ + fieldIds?: UUIDListFilter; + /** Filter by the object’s `isGrant` field. */ + isGrant?: 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?: ConnectedAccountsModuleFilter[]; + and?: TableGrantFilter[]; /** Checks for any expressions in this list. */ - or?: ConnectedAccountsModuleFilter[]; + or?: TableGrantFilter[]; /** Negates the expression. */ - not?: ConnectedAccountsModuleFilter; + not?: TableGrantFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** - * A condition to be used against `CryptoAddressesModule` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface CryptoAddressesModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `ownerTableId` field. */ - ownerTableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `cryptoNetwork` field. */ - cryptoNetwork?: string; +/** A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyTriggerFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TriggerFilter; + /** Filters to entities where every related entity matches. */ + every?: TriggerFilter; + /** Filters to entities where no related entity matches. */ + none?: TriggerFilter; } -/** A filter to be used against `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ */ -export interface CryptoAddressesModuleFilter { +/** A filter to be used against `Trigger` object types. All fields are combined with a logical ‘and.’ */ +export interface TriggerFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; /** Filter by the object’s `tableId` field. */ tableId?: UUIDFilter; - /** Filter by the object’s `ownerTableId` field. */ - ownerTableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; - /** Filter by the object’s `cryptoNetwork` field. */ - cryptoNetwork?: StringFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `event` field. */ + event?: StringFilter; + /** Filter by the object’s `functionName` field. */ + functionName?: 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 `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: CryptoAddressesModuleFilter[]; + and?: TriggerFilter[]; /** Checks for any expressions in this list. */ - or?: CryptoAddressesModuleFilter[]; + or?: TriggerFilter[]; /** Negates the expression. */ - not?: CryptoAddressesModuleFilter; + not?: TriggerFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** - * A condition to be used against `CryptoAuthModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface CryptoAuthModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `usersTableId` field. */ - usersTableId?: string; - /** Checks for equality with the object’s `secretsTableId` field. */ - secretsTableId?: string; - /** Checks for equality with the object’s `sessionsTableId` field. */ - sessionsTableId?: string; - /** Checks for equality with the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: string; - /** Checks for equality with the object’s `addressesTableId` field. */ - addressesTableId?: string; - /** Checks for equality with the object’s `userField` field. */ - userField?: string; - /** Checks for equality with the object’s `cryptoNetwork` field. */ - cryptoNetwork?: string; - /** Checks for equality with the object’s `signInRequestChallenge` field. */ - signInRequestChallenge?: string; - /** Checks for equality with the object’s `signInRecordFailure` field. */ - signInRecordFailure?: string; - /** Checks for equality with the object’s `signUpWithKey` field. */ - signUpWithKey?: string; - /** Checks for equality with the object’s `signInWithChallenge` field. */ - signInWithChallenge?: string; +/** A filter to be used against many `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyUniqueConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: UniqueConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: UniqueConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: UniqueConstraintFilter; } -/** A filter to be used against `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ */ -export interface CryptoAuthModuleFilter { +/** A filter to be used against `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface UniqueConstraintFilter { /** 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 `usersTableId` field. */ - usersTableId?: UUIDFilter; - /** Filter by the object’s `secretsTableId` field. */ - secretsTableId?: UUIDFilter; - /** Filter by the object’s `sessionsTableId` field. */ - sessionsTableId?: UUIDFilter; - /** Filter by the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: UUIDFilter; - /** Filter by the object’s `addressesTableId` field. */ - addressesTableId?: UUIDFilter; - /** Filter by the object’s `userField` field. */ - userField?: StringFilter; - /** Filter by the object’s `cryptoNetwork` field. */ - cryptoNetwork?: StringFilter; - /** Filter by the object’s `signInRequestChallenge` field. */ - signInRequestChallenge?: StringFilter; - /** Filter by the object’s `signInRecordFailure` field. */ - signInRecordFailure?: StringFilter; - /** Filter by the object’s `signUpWithKey` field. */ - signUpWithKey?: StringFilter; - /** Filter by the object’s `signInWithChallenge` field. */ - signInWithChallenge?: StringFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `description` field. */ + description?: StringFilter; + /** Filter by the object’s `smartTags` field. */ + smartTags?: JSONFilter; + /** Filter by the object’s `type` field. */ + type?: StringFilter; + /** Filter by the object’s `fieldIds` field. */ + fieldIds?: UUIDListFilter; + /** 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 `createdAt` field. */ + createdAt?: DatetimeFilter; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: CryptoAuthModuleFilter[]; + and?: UniqueConstraintFilter[]; /** Checks for any expressions in this list. */ - or?: CryptoAuthModuleFilter[]; + or?: UniqueConstraintFilter[]; /** Negates the expression. */ - not?: CryptoAuthModuleFilter; + not?: UniqueConstraintFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** - * A condition to be used against `DefaultIdsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface DefaultIdsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; +/** A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyViewFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewFilter; } -/** A filter to be used against `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface DefaultIdsModuleFilter { +/** A filter to be used against `View` object types. All fields are combined with a logical ‘and.’ */ +export interface ViewFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** Checks for all expressions in this list. */ - and?: DefaultIdsModuleFilter[]; - /** Checks for any expressions in this list. */ - or?: DefaultIdsModuleFilter[]; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `viewType` field. */ + viewType?: StringFilter; + /** Filter by the object’s `data` field. */ + data?: JSONFilter; + /** Filter by the object’s `filterType` field. */ + filterType?: StringFilter; + /** Filter by the object’s `filterData` field. */ + filterData?: JSONFilter; + /** Filter by the object’s `securityInvoker` field. */ + securityInvoker?: BooleanFilter; + /** Filter by the object’s `isReadOnly` field. */ + isReadOnly?: BooleanFilter; + /** 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?: ViewFilter[]; + /** Checks for any expressions in this list. */ + or?: ViewFilter[]; /** Negates the expression. */ - not?: DefaultIdsModuleFilter; + not?: ViewFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** Filter by the object’s `table` relation. */ + table?: TableFilter; + /** A related `table` exists. */ + tableExists?: boolean; + /** Filter by the object’s `viewTables` relation. */ + viewTables?: ViewToManyViewTableFilter; + /** `viewTables` exist. */ + viewTablesExist?: boolean; + /** Filter by the object’s `viewGrants` relation. */ + viewGrants?: ViewToManyViewGrantFilter; + /** `viewGrants` exist. */ + viewGrantsExist?: boolean; + /** Filter by the object’s `viewRules` relation. */ + viewRules?: ViewToManyViewRuleFilter; + /** `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; } -/** - * A condition to be used against `DenormalizedTableField` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface DenormalizedTableFieldCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `fieldId` field. */ - fieldId?: string; - /** Checks for equality with the object’s `setIds` field. */ - setIds?: string[]; - /** Checks for equality with the object’s `refTableId` field. */ - refTableId?: string; - /** Checks for equality with the object’s `refFieldId` field. */ - refFieldId?: string; - /** Checks for equality with the object’s `refIds` field. */ - refIds?: string[]; - /** Checks for equality with the object’s `useUpdates` field. */ - useUpdates?: boolean; - /** Checks for equality with the object’s `updateDefaults` field. */ - updateDefaults?: boolean; - /** Checks for equality with the object’s `funcName` field. */ - funcName?: string; - /** Checks for equality with the object’s `funcOrder` field. */ - funcOrder?: number; +/** A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ */ +export interface ViewToManyViewTableFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewTableFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewTableFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewTableFilter; } -/** A filter to be used against `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ */ -export interface DenormalizedTableFieldFilter { +/** A filter to be used against `ViewTable` object types. All fields are combined with a logical ‘and.’ */ +export interface ViewTableFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; + /** Filter by the object’s `viewId` field. */ + viewId?: UUIDFilter; /** Filter by the object’s `tableId` field. */ tableId?: UUIDFilter; - /** Filter by the object’s `fieldId` field. */ - fieldId?: UUIDFilter; - /** Filter by the object’s `setIds` field. */ - setIds?: UUIDListFilter; - /** Filter by the object’s `refTableId` field. */ - refTableId?: UUIDFilter; - /** Filter by the object’s `refFieldId` field. */ - refFieldId?: UUIDFilter; - /** Filter by the object’s `refIds` field. */ - refIds?: UUIDListFilter; - /** Filter by the object’s `useUpdates` field. */ - useUpdates?: BooleanFilter; - /** Filter by the object’s `updateDefaults` field. */ - updateDefaults?: BooleanFilter; - /** Filter by the object’s `funcName` field. */ - funcName?: StringFilter; - /** Filter by the object’s `funcOrder` field. */ - funcOrder?: IntFilter; + /** Filter by the object’s `joinOrder` field. */ + joinOrder?: IntFilter; /** Checks for all expressions in this list. */ - and?: DenormalizedTableFieldFilter[]; + and?: ViewTableFilter[]; /** Checks for any expressions in this list. */ - or?: DenormalizedTableFieldFilter[]; + or?: ViewTableFilter[]; /** Negates the expression. */ - not?: DenormalizedTableFieldFilter; -} -/** - * A condition to be used against `EmailsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface EmailsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `ownerTableId` field. */ - ownerTableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; + not?: ViewTableFilter; + /** Filter by the object’s `table` relation. */ + table?: TableFilter; + /** Filter by the object’s `view` relation. */ + view?: ViewFilter; +} +/** A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface ViewToManyViewGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewGrantFilter; } -/** A filter to be used against `EmailsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface EmailsModuleFilter { +/** A filter to be used against `ViewGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface ViewGrantFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `ownerTableId` field. */ - ownerTableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; + /** Filter by the object’s `viewId` field. */ + viewId?: UUIDFilter; + /** Filter by the object’s `granteeName` field. */ + granteeName?: StringFilter; + /** Filter by the object’s `privilege` field. */ + privilege?: StringFilter; + /** Filter by the object’s `withGrantOption` field. */ + withGrantOption?: BooleanFilter; + /** Filter by the object’s `isGrant` field. */ + isGrant?: BooleanFilter; /** Checks for all expressions in this list. */ - and?: EmailsModuleFilter[]; + and?: ViewGrantFilter[]; /** Checks for any expressions in this list. */ - or?: EmailsModuleFilter[]; + or?: ViewGrantFilter[]; /** Negates the expression. */ - not?: EmailsModuleFilter; + not?: ViewGrantFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** - * A condition to be used against `EncryptedSecretsModule` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface EncryptedSecretsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; +/** A filter to be used against many `ViewRule` object types. All fields are combined with a logical ‘and.’ */ +export interface ViewToManyViewRuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewRuleFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewRuleFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewRuleFilter; } -/** A filter to be used against `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface EncryptedSecretsModuleFilter { +/** A filter to be used against `ViewRule` object types. All fields are combined with a logical ‘and.’ */ +export interface ViewRuleFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `viewId` field. */ + viewId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `event` field. */ + event?: StringFilter; + /** Filter by the object’s `action` field. */ + action?: StringFilter; + /** Checks for all expressions in this list. */ + and?: ViewRuleFilter[]; + /** Checks for any expressions in this list. */ + or?: ViewRuleFilter[]; + /** Negates the expression. */ + not?: ViewRuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; +} +/** A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyViewTableFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewTableFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewTableFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewTableFilter; +} +/** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyTableTemplateModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TableTemplateModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: TableTemplateModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: TableTemplateModuleFilter; +} +/** A filter to be used against `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */ +export interface TableTemplateModuleFilter { /** 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 `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; /** Filter by the object’s `tableId` field. */ tableId?: UUIDFilter; + /** Filter by the object’s `ownerTableId` field. */ + ownerTableId?: UUIDFilter; /** Filter by the object’s `tableName` field. */ tableName?: StringFilter; + /** Filter by the object’s `nodeType` field. */ + nodeType?: StringFilter; + /** Filter by the object’s `data` field. */ + data?: JSONFilter; /** Checks for all expressions in this list. */ - and?: EncryptedSecretsModuleFilter[]; + and?: TableTemplateModuleFilter[]; /** Checks for any expressions in this list. */ - or?: EncryptedSecretsModuleFilter[]; + or?: TableTemplateModuleFilter[]; /** Negates the expression. */ - not?: EncryptedSecretsModuleFilter; + not?: TableTemplateModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `ownerTable` relation. */ + ownerTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `FieldModule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface FieldModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `fieldId` field. */ - fieldId?: string; - /** Checks for equality with the object’s `nodeType` field. */ - nodeType?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `triggers` field. */ - triggers?: string[]; - /** Checks for equality with the object’s `functions` field. */ - functions?: string[]; +/** A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManySecureTableProvisionFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SecureTableProvisionFilter; + /** Filters to entities where every related entity matches. */ + every?: SecureTableProvisionFilter; + /** Filters to entities where no related entity matches. */ + none?: SecureTableProvisionFilter; } -/** A filter to be used against `FieldModule` object types. All fields are combined with a logical ‘and.’ */ -export interface FieldModuleFilter { +/** A filter to be used against `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */ +export interface SecureTableProvisionFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** Filter by the object’s `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; /** Filter by the object’s `tableId` field. */ tableId?: UUIDFilter; - /** Filter by the object’s `fieldId` field. */ - fieldId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; /** Filter by the object’s `nodeType` field. */ nodeType?: StringFilter; - /** Filter by the object’s `data` field. */ - data?: JSONFilter; - /** Filter by the object’s `triggers` field. */ - triggers?: StringListFilter; - /** Filter by the object’s `functions` field. */ - functions?: StringListFilter; + /** Filter by the object’s `useRls` field. */ + useRls?: BooleanFilter; + /** Filter by the object’s `nodeData` field. */ + nodeData?: JSONFilter; + /** Filter by the object’s `fields` field. */ + fields?: JSONFilter; + /** Filter by the object’s `grantRoles` field. */ + grantRoles?: StringListFilter; + /** Filter by the object’s `grantPrivileges` field. */ + grantPrivileges?: JSONFilter; + /** Filter by the object’s `policyType` field. */ + policyType?: StringFilter; + /** Filter by the object’s `policyPrivileges` field. */ + policyPrivileges?: StringListFilter; + /** Filter by the object’s `policyRole` field. */ + policyRole?: StringFilter; + /** Filter by the object’s `policyPermissive` field. */ + policyPermissive?: BooleanFilter; + /** Filter by the object’s `policyName` field. */ + policyName?: StringFilter; + /** Filter by the object’s `policyData` field. */ + policyData?: JSONFilter; + /** Filter by the object’s `outFields` field. */ + outFields?: UUIDListFilter; /** Checks for all expressions in this list. */ - and?: FieldModuleFilter[]; + and?: SecureTableProvisionFilter[]; /** Checks for any expressions in this list. */ - or?: FieldModuleFilter[]; + or?: SecureTableProvisionFilter[]; /** Negates the expression. */ - not?: FieldModuleFilter; + not?: SecureTableProvisionFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; + /** 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; } -/** - * A condition to be used against `InvitesModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface InvitesModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `emailsTableId` field. */ - emailsTableId?: string; - /** Checks for equality with the object’s `usersTableId` field. */ - usersTableId?: string; - /** Checks for equality with the object’s `invitesTableId` field. */ - invitesTableId?: string; - /** Checks for equality with the object’s `claimedInvitesTableId` field. */ - claimedInvitesTableId?: string; - /** Checks for equality with the object’s `invitesTableName` field. */ - invitesTableName?: string; - /** Checks for equality with the object’s `claimedInvitesTableName` field. */ - claimedInvitesTableName?: string; - /** Checks for equality with the object’s `submitInviteCodeFunction` field. */ - submitInviteCodeFunction?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; - /** Checks for equality with the object’s `membershipType` field. */ - membershipType?: number; - /** Checks for equality with the object’s `entityTableId` field. */ - entityTableId?: string; +/** A filter to be used against many `RelationProvision` object types. All fields are combined with a logical ‘and.’ */ +export interface TableToManyRelationProvisionFilter { + /** Filters to entities where at least one related entity matches. */ + some?: RelationProvisionFilter; + /** Filters to entities where every related entity matches. */ + every?: RelationProvisionFilter; + /** Filters to entities where no related entity matches. */ + none?: RelationProvisionFilter; } -/** A filter to be used against `InvitesModule` object types. All fields are combined with a logical ‘and.’ */ -export interface InvitesModuleFilter { +/** A filter to be used against `RelationProvision` object types. All fields are combined with a logical ‘and.’ */ +export interface RelationProvisionFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `emailsTableId` field. */ - emailsTableId?: UUIDFilter; - /** Filter by the object’s `usersTableId` field. */ - usersTableId?: UUIDFilter; - /** Filter by the object’s `invitesTableId` field. */ - invitesTableId?: UUIDFilter; - /** Filter by the object’s `claimedInvitesTableId` field. */ - claimedInvitesTableId?: UUIDFilter; - /** Filter by the object’s `invitesTableName` field. */ - invitesTableName?: StringFilter; - /** Filter by the object’s `claimedInvitesTableName` field. */ - claimedInvitesTableName?: StringFilter; - /** Filter by the object’s `submitInviteCodeFunction` field. */ - submitInviteCodeFunction?: StringFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Filter by the object’s `membershipType` field. */ - membershipType?: IntFilter; - /** Filter by the object’s `entityTableId` field. */ - entityTableId?: UUIDFilter; + /** Filter by the object’s `relationType` field. */ + relationType?: StringFilter; + /** Filter by the object’s `sourceTableId` field. */ + sourceTableId?: UUIDFilter; + /** Filter by the object’s `targetTableId` field. */ + targetTableId?: UUIDFilter; + /** Filter by the object’s `fieldName` field. */ + fieldName?: StringFilter; + /** Filter by the object’s `deleteAction` field. */ + deleteAction?: StringFilter; + /** Filter by the object’s `isRequired` field. */ + isRequired?: BooleanFilter; + /** Filter by the object’s `junctionTableId` field. */ + junctionTableId?: UUIDFilter; + /** Filter by the object’s `junctionTableName` field. */ + junctionTableName?: StringFilter; + /** Filter by the object’s `junctionSchemaId` field. */ + junctionSchemaId?: UUIDFilter; + /** Filter by the object’s `sourceFieldName` field. */ + sourceFieldName?: StringFilter; + /** Filter by the object’s `targetFieldName` field. */ + targetFieldName?: StringFilter; + /** Filter by the object’s `useCompositeKey` field. */ + useCompositeKey?: BooleanFilter; + /** Filter by the object’s `nodeType` field. */ + nodeType?: StringFilter; + /** Filter by the object’s `nodeData` field. */ + nodeData?: JSONFilter; + /** Filter by the object’s `grantRoles` field. */ + grantRoles?: StringListFilter; + /** Filter by the object’s `grantPrivileges` field. */ + grantPrivileges?: JSONFilter; + /** Filter by the object’s `policyType` field. */ + policyType?: StringFilter; + /** Filter by the object’s `policyPrivileges` field. */ + policyPrivileges?: StringListFilter; + /** Filter by the object’s `policyRole` field. */ + policyRole?: StringFilter; + /** Filter by the object’s `policyPermissive` field. */ + policyPermissive?: BooleanFilter; + /** Filter by the object’s `policyName` field. */ + policyName?: StringFilter; + /** Filter by the object’s `policyData` field. */ + policyData?: JSONFilter; + /** Filter by the object’s `outFieldId` field. */ + outFieldId?: UUIDFilter; + /** Filter by the object’s `outJunctionTableId` field. */ + outJunctionTableId?: UUIDFilter; + /** Filter by the object’s `outSourceFieldId` field. */ + outSourceFieldId?: UUIDFilter; + /** Filter by the object’s `outTargetFieldId` field. */ + outTargetFieldId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: InvitesModuleFilter[]; + and?: RelationProvisionFilter[]; /** Checks for any expressions in this list. */ - or?: InvitesModuleFilter[]; + or?: RelationProvisionFilter[]; /** Negates the expression. */ - not?: InvitesModuleFilter; + not?: RelationProvisionFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `sourceTable` relation. */ + sourceTable?: TableFilter; + /** 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; } -/** - * A condition to be used against `LevelsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface LevelsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `stepsTableId` field. */ - stepsTableId?: string; - /** Checks for equality with the object’s `stepsTableName` field. */ - stepsTableName?: string; - /** Checks for equality with the object’s `achievementsTableId` field. */ - achievementsTableId?: string; - /** Checks for equality with the object’s `achievementsTableName` field. */ - achievementsTableName?: string; - /** Checks for equality with the object’s `levelsTableId` field. */ - levelsTableId?: string; - /** Checks for equality with the object’s `levelsTableName` field. */ - levelsTableName?: string; - /** Checks for equality with the object’s `levelRequirementsTableId` field. */ - levelRequirementsTableId?: string; - /** Checks for equality with the object’s `levelRequirementsTableName` field. */ - levelRequirementsTableName?: string; - /** Checks for equality with the object’s `completedStep` field. */ - completedStep?: string; - /** Checks for equality with the object’s `incompletedStep` field. */ - incompletedStep?: string; - /** Checks for equality with the object’s `tgAchievement` field. */ - tgAchievement?: string; - /** Checks for equality with the object’s `tgAchievementToggle` field. */ - tgAchievementToggle?: string; - /** Checks for equality with the object’s `tgAchievementToggleBoolean` field. */ - tgAchievementToggleBoolean?: string; - /** Checks for equality with the object’s `tgAchievementBoolean` field. */ - tgAchievementBoolean?: string; - /** Checks for equality with the object’s `upsertAchievement` field. */ - upsertAchievement?: string; - /** Checks for equality with the object’s `tgUpdateAchievements` field. */ - tgUpdateAchievements?: string; - /** Checks for equality with the object’s `stepsRequired` field. */ - stepsRequired?: string; - /** Checks for equality with the object’s `levelAchieved` field. */ - levelAchieved?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; - /** Checks for equality with the object’s `membershipType` field. */ - membershipType?: number; - /** Checks for equality with the object’s `entityTableId` field. */ - entityTableId?: string; - /** Checks for equality with the object’s `actorTableId` field. */ - actorTableId?: string; +/** A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface SchemaToManySchemaGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SchemaGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: SchemaGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: SchemaGrantFilter; } -/** A filter to be used against `LevelsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface LevelsModuleFilter { +/** A filter to be used against `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface SchemaGrantFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `stepsTableId` field. */ - stepsTableId?: UUIDFilter; - /** Filter by the object’s `stepsTableName` field. */ - stepsTableName?: StringFilter; - /** Filter by the object’s `achievementsTableId` field. */ - achievementsTableId?: UUIDFilter; - /** Filter by the object’s `achievementsTableName` field. */ - achievementsTableName?: StringFilter; - /** Filter by the object’s `levelsTableId` field. */ - levelsTableId?: UUIDFilter; - /** Filter by the object’s `levelsTableName` field. */ - levelsTableName?: StringFilter; - /** Filter by the object’s `levelRequirementsTableId` field. */ - levelRequirementsTableId?: UUIDFilter; - /** Filter by the object’s `levelRequirementsTableName` field. */ - levelRequirementsTableName?: StringFilter; - /** Filter by the object’s `completedStep` field. */ - completedStep?: StringFilter; - /** Filter by the object’s `incompletedStep` field. */ - incompletedStep?: StringFilter; - /** Filter by the object’s `tgAchievement` field. */ - tgAchievement?: StringFilter; - /** Filter by the object’s `tgAchievementToggle` field. */ - tgAchievementToggle?: StringFilter; - /** Filter by the object’s `tgAchievementToggleBoolean` field. */ - tgAchievementToggleBoolean?: StringFilter; - /** Filter by the object’s `tgAchievementBoolean` field. */ - tgAchievementBoolean?: StringFilter; - /** Filter by the object’s `upsertAchievement` field. */ - upsertAchievement?: StringFilter; - /** Filter by the object’s `tgUpdateAchievements` field. */ - tgUpdateAchievements?: StringFilter; - /** Filter by the object’s `stepsRequired` field. */ - stepsRequired?: StringFilter; - /** Filter by the object’s `levelAchieved` field. */ - levelAchieved?: StringFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Filter by the object’s `membershipType` field. */ - membershipType?: IntFilter; - /** Filter by the object’s `entityTableId` field. */ - entityTableId?: UUIDFilter; - /** Filter by the object’s `actorTableId` field. */ - actorTableId?: UUIDFilter; + /** Filter by the object’s `granteeName` field. */ + granteeName?: StringFilter; + /** 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?: LevelsModuleFilter[]; + and?: SchemaGrantFilter[]; /** Checks for any expressions in this list. */ - or?: LevelsModuleFilter[]; + or?: SchemaGrantFilter[]; /** Negates the expression. */ - not?: LevelsModuleFilter; -} -/** - * A condition to be used against `LimitsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface LimitsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `defaultTableId` field. */ - defaultTableId?: string; - /** Checks for equality with the object’s `defaultTableName` field. */ - defaultTableName?: string; - /** Checks for equality with the object’s `limitIncrementFunction` field. */ - limitIncrementFunction?: string; - /** Checks for equality with the object’s `limitDecrementFunction` field. */ - limitDecrementFunction?: string; - /** Checks for equality with the object’s `limitIncrementTrigger` field. */ - limitIncrementTrigger?: string; - /** Checks for equality with the object’s `limitDecrementTrigger` field. */ - limitDecrementTrigger?: string; - /** Checks for equality with the object’s `limitUpdateTrigger` field. */ - limitUpdateTrigger?: string; - /** Checks for equality with the object’s `limitCheckFunction` field. */ - limitCheckFunction?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; - /** Checks for equality with the object’s `membershipType` field. */ - membershipType?: number; - /** Checks for equality with the object’s `entityTableId` field. */ - entityTableId?: string; - /** Checks for equality with the object’s `actorTableId` field. */ - actorTableId?: string; + not?: SchemaGrantFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; +} +/** A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ */ +export interface SchemaToManyViewFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewFilter; +} +/** A filter to be used against many `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ */ +export interface SchemaToManyDefaultPrivilegeFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DefaultPrivilegeFilter; + /** Filters to entities where every related entity matches. */ + every?: DefaultPrivilegeFilter; + /** Filters to entities where no related entity matches. */ + none?: DefaultPrivilegeFilter; } -/** A filter to be used against `LimitsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface LimitsModuleFilter { +/** A filter to be used against `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ */ +export interface DefaultPrivilegeFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; - /** Filter by the object’s `defaultTableId` field. */ - defaultTableId?: UUIDFilter; - /** Filter by the object’s `defaultTableName` field. */ - defaultTableName?: StringFilter; - /** Filter by the object’s `limitIncrementFunction` field. */ - limitIncrementFunction?: StringFilter; - /** Filter by the object’s `limitDecrementFunction` field. */ - limitDecrementFunction?: StringFilter; - /** Filter by the object’s `limitIncrementTrigger` field. */ - limitIncrementTrigger?: StringFilter; - /** Filter by the object’s `limitDecrementTrigger` field. */ - limitDecrementTrigger?: StringFilter; - /** Filter by the object’s `limitUpdateTrigger` field. */ - limitUpdateTrigger?: StringFilter; - /** Filter by the object’s `limitCheckFunction` field. */ - limitCheckFunction?: StringFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Filter by the object’s `membershipType` field. */ - membershipType?: IntFilter; - /** Filter by the object’s `entityTableId` field. */ - entityTableId?: UUIDFilter; - /** Filter by the object’s `actorTableId` field. */ - actorTableId?: UUIDFilter; + /** Filter by the object’s `objectType` field. */ + objectType?: StringFilter; + /** Filter by the object’s `privilege` field. */ + privilege?: StringFilter; + /** Filter by the object’s `granteeName` field. */ + granteeName?: StringFilter; + /** Filter by the object’s `isGrant` field. */ + isGrant?: BooleanFilter; /** Checks for all expressions in this list. */ - and?: LimitsModuleFilter[]; + and?: DefaultPrivilegeFilter[]; /** Checks for any expressions in this list. */ - or?: LimitsModuleFilter[]; + or?: DefaultPrivilegeFilter[]; /** Negates the expression. */ - not?: LimitsModuleFilter; + not?: DefaultPrivilegeFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** TRGM search on the `object_type` column. */ + trgmObjectType?: TrgmSearchInput; + /** 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; } -/** - * A condition to be used against `MembershipTypesModule` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface MembershipTypesModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; +/** A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ */ +export interface SchemaToManyApiSchemaFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ApiSchemaFilter; + /** Filters to entities where every related entity matches. */ + every?: ApiSchemaFilter; + /** Filters to entities where no related entity matches. */ + none?: ApiSchemaFilter; } -/** A filter to be used against `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ */ -export interface MembershipTypesModuleFilter { +/** A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ */ +export interface ApiSchemaFilter { /** 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 `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; + /** Filter by the object’s `apiId` field. */ + apiId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: MembershipTypesModuleFilter[]; + and?: ApiSchemaFilter[]; /** Checks for any expressions in this list. */ - or?: MembershipTypesModuleFilter[]; + or?: ApiSchemaFilter[]; /** Negates the expression. */ - not?: MembershipTypesModuleFilter; -} -/** - * A condition to be used against `MembershipsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface MembershipsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `membershipsTableId` field. */ - membershipsTableId?: string; - /** Checks for equality with the object’s `membershipsTableName` field. */ - membershipsTableName?: string; - /** Checks for equality with the object’s `membersTableId` field. */ - membersTableId?: string; - /** Checks for equality with the object’s `membersTableName` field. */ - membersTableName?: string; - /** Checks for equality with the object’s `membershipDefaultsTableId` field. */ - membershipDefaultsTableId?: string; - /** Checks for equality with the object’s `membershipDefaultsTableName` field. */ - membershipDefaultsTableName?: string; - /** Checks for equality with the object’s `grantsTableId` field. */ - grantsTableId?: string; - /** Checks for equality with the object’s `grantsTableName` field. */ - grantsTableName?: string; - /** Checks for equality with the object’s `actorTableId` field. */ - actorTableId?: string; - /** Checks for equality with the object’s `limitsTableId` field. */ - limitsTableId?: string; - /** Checks for equality with the object’s `defaultLimitsTableId` field. */ - defaultLimitsTableId?: string; - /** Checks for equality with the object’s `permissionsTableId` field. */ - permissionsTableId?: string; - /** Checks for equality with the object’s `defaultPermissionsTableId` field. */ - defaultPermissionsTableId?: string; - /** Checks for equality with the object’s `sprtTableId` field. */ - sprtTableId?: string; - /** Checks for equality with the object’s `adminGrantsTableId` field. */ - adminGrantsTableId?: string; - /** Checks for equality with the object’s `adminGrantsTableName` field. */ - adminGrantsTableName?: string; - /** Checks for equality with the object’s `ownerGrantsTableId` field. */ - ownerGrantsTableId?: string; - /** Checks for equality with the object’s `ownerGrantsTableName` field. */ - ownerGrantsTableName?: string; - /** Checks for equality with the object’s `membershipType` field. */ - membershipType?: number; - /** Checks for equality with the object’s `entityTableId` field. */ - entityTableId?: string; - /** Checks for equality with the object’s `entityTableOwnerId` field. */ - entityTableOwnerId?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; - /** Checks for equality with the object’s `actorMaskCheck` field. */ - actorMaskCheck?: string; - /** Checks for equality with the object’s `actorPermCheck` field. */ - actorPermCheck?: string; - /** Checks for equality with the object’s `entityIdsByMask` field. */ - entityIdsByMask?: string; - /** Checks for equality with the object’s `entityIdsByPerm` field. */ - entityIdsByPerm?: string; - /** Checks for equality with the object’s `entityIdsFunction` field. */ - entityIdsFunction?: string; + not?: ApiSchemaFilter; + /** Filter by the object’s `api` relation. */ + api?: ApiFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; } -/** A filter to be used against `MembershipsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface MembershipsModuleFilter { +/** A filter to be used against `Api` object types. All fields are combined with a logical ‘and.’ */ +export interface ApiFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `membershipsTableId` field. */ - membershipsTableId?: UUIDFilter; - /** Filter by the object’s `membershipsTableName` field. */ - membershipsTableName?: StringFilter; - /** Filter by the object’s `membersTableId` field. */ - membersTableId?: UUIDFilter; - /** Filter by the object’s `membersTableName` field. */ - membersTableName?: StringFilter; - /** Filter by the object’s `membershipDefaultsTableId` field. */ - membershipDefaultsTableId?: UUIDFilter; - /** Filter by the object’s `membershipDefaultsTableName` field. */ - membershipDefaultsTableName?: StringFilter; - /** Filter by the object’s `grantsTableId` field. */ - grantsTableId?: UUIDFilter; - /** Filter by the object’s `grantsTableName` field. */ - grantsTableName?: StringFilter; - /** Filter by the object’s `actorTableId` field. */ - actorTableId?: UUIDFilter; - /** Filter by the object’s `limitsTableId` field. */ - limitsTableId?: UUIDFilter; - /** Filter by the object’s `defaultLimitsTableId` field. */ - defaultLimitsTableId?: UUIDFilter; - /** Filter by the object’s `permissionsTableId` field. */ - permissionsTableId?: UUIDFilter; - /** Filter by the object’s `defaultPermissionsTableId` field. */ - defaultPermissionsTableId?: UUIDFilter; - /** Filter by the object’s `sprtTableId` field. */ - sprtTableId?: UUIDFilter; - /** Filter by the object’s `adminGrantsTableId` field. */ - adminGrantsTableId?: UUIDFilter; - /** Filter by the object’s `adminGrantsTableName` field. */ - adminGrantsTableName?: StringFilter; - /** Filter by the object’s `ownerGrantsTableId` field. */ - ownerGrantsTableId?: UUIDFilter; - /** Filter by the object’s `ownerGrantsTableName` field. */ - ownerGrantsTableName?: StringFilter; - /** Filter by the object’s `membershipType` field. */ - membershipType?: IntFilter; - /** Filter by the object’s `entityTableId` field. */ - entityTableId?: UUIDFilter; - /** Filter by the object’s `entityTableOwnerId` field. */ - entityTableOwnerId?: UUIDFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Filter by the object’s `actorMaskCheck` field. */ - actorMaskCheck?: StringFilter; - /** Filter by the object’s `actorPermCheck` field. */ - actorPermCheck?: StringFilter; - /** Filter by the object’s `entityIdsByMask` field. */ - entityIdsByMask?: StringFilter; - /** Filter by the object’s `entityIdsByPerm` field. */ - entityIdsByPerm?: StringFilter; - /** Filter by the object’s `entityIdsFunction` field. */ - entityIdsFunction?: StringFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `dbname` field. */ + dbname?: StringFilter; + /** Filter by the object’s `roleName` field. */ + roleName?: StringFilter; + /** Filter by the object’s `anonRole` field. */ + anonRole?: StringFilter; + /** Filter by the object’s `isPublic` field. */ + isPublic?: BooleanFilter; /** Checks for all expressions in this list. */ - and?: MembershipsModuleFilter[]; + and?: ApiFilter[]; /** Checks for any expressions in this list. */ - or?: MembershipsModuleFilter[]; + or?: ApiFilter[]; /** Negates the expression. */ - not?: MembershipsModuleFilter; + not?: ApiFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `apiModules` relation. */ + apiModules?: ApiToManyApiModuleFilter; + /** `apiModules` exist. */ + apiModulesExist?: boolean; + /** Filter by the object’s `apiSchemas` relation. */ + apiSchemas?: ApiToManyApiSchemaFilter; + /** `apiSchemas` exist. */ + apiSchemasExist?: boolean; + /** Filter by the object’s `domains` relation. */ + domains?: ApiToManyDomainFilter; + /** `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; } -/** - * A condition to be used against `PermissionsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface PermissionsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `defaultTableId` field. */ - defaultTableId?: string; - /** Checks for equality with the object’s `defaultTableName` field. */ - defaultTableName?: string; - /** Checks for equality with the object’s `bitlen` field. */ - bitlen?: number; - /** Checks for equality with the object’s `membershipType` field. */ - membershipType?: number; - /** Checks for equality with the object’s `entityTableId` field. */ - entityTableId?: string; - /** Checks for equality with the object’s `actorTableId` field. */ - actorTableId?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; - /** Checks for equality with the object’s `getPaddedMask` field. */ - getPaddedMask?: string; - /** Checks for equality with the object’s `getMask` field. */ - getMask?: string; - /** Checks for equality with the object’s `getByMask` field. */ - getByMask?: string; - /** Checks for equality with the object’s `getMaskByName` field. */ - getMaskByName?: string; +/** A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ */ +export interface ApiToManyApiModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ApiModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: ApiModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: ApiModuleFilter; } -/** A filter to be used against `PermissionsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface PermissionsModuleFilter { +/** A filter to be used against `ApiModule` object types. All fields are combined with a logical ‘and.’ */ +export interface ApiModuleFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; - /** Filter by the object’s `defaultTableId` field. */ - defaultTableId?: UUIDFilter; - /** Filter by the object’s `defaultTableName` field. */ - defaultTableName?: StringFilter; - /** Filter by the object’s `bitlen` field. */ - bitlen?: IntFilter; - /** Filter by the object’s `membershipType` field. */ - membershipType?: IntFilter; - /** Filter by the object’s `entityTableId` field. */ - entityTableId?: UUIDFilter; - /** Filter by the object’s `actorTableId` field. */ - actorTableId?: UUIDFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Filter by the object’s `getPaddedMask` field. */ - getPaddedMask?: StringFilter; - /** Filter by the object’s `getMask` field. */ - getMask?: StringFilter; - /** Filter by the object’s `getByMask` field. */ - getByMask?: StringFilter; - /** Filter by the object’s `getMaskByName` field. */ - getMaskByName?: StringFilter; + /** Filter by the object’s `apiId` field. */ + apiId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; /** Checks for all expressions in this list. */ - and?: PermissionsModuleFilter[]; + and?: ApiModuleFilter[]; /** Checks for any expressions in this list. */ - or?: PermissionsModuleFilter[]; + or?: ApiModuleFilter[]; /** Negates the expression. */ - not?: PermissionsModuleFilter; -} -/** - * A condition to be used against `PhoneNumbersModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface PhoneNumbersModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `ownerTableId` field. */ - ownerTableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; + not?: ApiModuleFilter; + /** Filter by the object’s `api` relation. */ + api?: ApiFilter; + /** 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; +} +/** A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ */ +export interface ApiToManyApiSchemaFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ApiSchemaFilter; + /** Filters to entities where every related entity matches. */ + every?: ApiSchemaFilter; + /** Filters to entities where no related entity matches. */ + none?: ApiSchemaFilter; +} +/** A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ */ +export interface ApiToManyDomainFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DomainFilter; + /** Filters to entities where every related entity matches. */ + every?: DomainFilter; + /** Filters to entities where no related entity matches. */ + none?: DomainFilter; } -/** A filter to be used against `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ */ -export interface PhoneNumbersModuleFilter { +/** A filter to be used against `Domain` object types. All fields are combined with a logical ‘and.’ */ +export interface DomainFilter { /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `ownerTableId` field. */ - ownerTableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; + /** Filter by the object’s `apiId` field. */ + apiId?: UUIDFilter; + /** Filter by the object’s `siteId` field. */ + siteId?: UUIDFilter; + /** Filter by the object’s `subdomain` field. */ + subdomain?: ConstructiveInternalTypeHostnameFilter; + /** Filter by the object’s `domain` field. */ + domain?: ConstructiveInternalTypeHostnameFilter; /** Checks for all expressions in this list. */ - and?: PhoneNumbersModuleFilter[]; + and?: DomainFilter[]; /** Checks for any expressions in this list. */ - or?: PhoneNumbersModuleFilter[]; + or?: DomainFilter[]; /** Negates the expression. */ - not?: PhoneNumbersModuleFilter; -} -/** - * A condition to be used against `ProfilesModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface ProfilesModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `profilePermissionsTableId` field. */ - profilePermissionsTableId?: string; - /** Checks for equality with the object’s `profilePermissionsTableName` field. */ - profilePermissionsTableName?: string; - /** Checks for equality with the object’s `profileGrantsTableId` field. */ - profileGrantsTableId?: string; - /** Checks for equality with the object’s `profileGrantsTableName` field. */ - profileGrantsTableName?: string; - /** Checks for equality with the object’s `profileDefinitionGrantsTableId` field. */ - profileDefinitionGrantsTableId?: string; - /** Checks for equality with the object’s `profileDefinitionGrantsTableName` field. */ - profileDefinitionGrantsTableName?: string; - /** Checks for equality with the object’s `membershipType` field. */ - membershipType?: number; - /** Checks for equality with the object’s `entityTableId` field. */ - entityTableId?: string; - /** Checks for equality with the object’s `actorTableId` field. */ - actorTableId?: string; - /** Checks for equality with the object’s `permissionsTableId` field. */ - permissionsTableId?: string; - /** Checks for equality with the object’s `membershipsTableId` field. */ - membershipsTableId?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; + not?: DomainFilter; + /** Filter by the object’s `api` relation. */ + api?: ApiFilter; + /** A related `api` exists. */ + apiExists?: boolean; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `site` relation. */ + site?: SiteFilter; + /** A related `site` exists. */ + siteExists?: boolean; } -/** A filter to be used against `ProfilesModule` object types. All fields are combined with a logical ‘and.’ */ -export interface ProfilesModuleFilter { - /** 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 `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; - /** Filter by the object’s `profilePermissionsTableId` field. */ - profilePermissionsTableId?: UUIDFilter; - /** Filter by the object’s `profilePermissionsTableName` field. */ - profilePermissionsTableName?: StringFilter; - /** Filter by the object’s `profileGrantsTableId` field. */ - profileGrantsTableId?: UUIDFilter; - /** Filter by the object’s `profileGrantsTableName` field. */ - profileGrantsTableName?: StringFilter; - /** Filter by the object’s `profileDefinitionGrantsTableId` field. */ - profileDefinitionGrantsTableId?: UUIDFilter; - /** Filter by the object’s `profileDefinitionGrantsTableName` field. */ - profileDefinitionGrantsTableName?: StringFilter; - /** Filter by the object’s `membershipType` field. */ - membershipType?: IntFilter; - /** Filter by the object’s `entityTableId` field. */ - entityTableId?: UUIDFilter; - /** Filter by the object’s `actorTableId` field. */ - actorTableId?: UUIDFilter; - /** Filter by the object’s `permissionsTableId` field. */ - permissionsTableId?: UUIDFilter; - /** Filter by the object’s `membershipsTableId` field. */ - membershipsTableId?: UUIDFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Checks for all expressions in this list. */ - and?: ProfilesModuleFilter[]; - /** Checks for any expressions in this list. */ - or?: ProfilesModuleFilter[]; - /** Negates the expression. */ - not?: ProfilesModuleFilter; -} -/** - * A condition to be used against `RlsModule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface RlsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `apiId` field. */ - apiId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: string; - /** Checks for equality with the object’s `sessionsTableId` field. */ - sessionsTableId?: string; - /** Checks for equality with the object’s `usersTableId` field. */ - usersTableId?: string; - /** Checks for equality with the object’s `authenticate` field. */ - authenticate?: string; - /** Checks for equality with the object’s `authenticateStrict` field. */ - authenticateStrict?: string; - /** Checks for equality with the object’s `currentRole` field. */ - currentRole?: string; - /** Checks for equality with the object’s `currentRoleId` field. */ - currentRoleId?: string; -} -/** A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface RlsModuleFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `apiId` field. */ - apiId?: UUIDFilter; - /** Filter by the object’s `schemaId` field. */ - schemaId?: UUIDFilter; - /** Filter by the object’s `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: UUIDFilter; - /** Filter by the object’s `sessionsTableId` field. */ - sessionsTableId?: UUIDFilter; - /** Filter by the object’s `usersTableId` field. */ - usersTableId?: UUIDFilter; - /** Filter by the object’s `authenticate` field. */ - authenticate?: StringFilter; - /** Filter by the object’s `authenticateStrict` field. */ - authenticateStrict?: StringFilter; - /** Filter by the object’s `currentRole` field. */ - currentRole?: StringFilter; - /** Filter by the object’s `currentRoleId` field. */ - currentRoleId?: StringFilter; - /** Checks for all expressions in this list. */ - and?: RlsModuleFilter[]; - /** Checks for any expressions in this list. */ - or?: RlsModuleFilter[]; - /** Negates the expression. */ - not?: RlsModuleFilter; -} -/** - * A condition to be used against `SecretsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface SecretsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; +/** A filter to be used against ConstructiveInternalTypeHostname fields. All fields are combined with a logical ‘and.’ */ +export interface ConstructiveInternalTypeHostnameFilter { + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: boolean; + /** Equal to the specified value. */ + equalTo?: ConstructiveInternalTypeHostname; + /** Not equal to the specified value. */ + notEqualTo?: ConstructiveInternalTypeHostname; + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: ConstructiveInternalTypeHostname; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: ConstructiveInternalTypeHostname; + /** Included in the specified list. */ + in?: ConstructiveInternalTypeHostname[]; + /** Not included in the specified list. */ + notIn?: ConstructiveInternalTypeHostname[]; + /** Less than the specified value. */ + lessThan?: ConstructiveInternalTypeHostname; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: ConstructiveInternalTypeHostname; + /** Greater than the specified value. */ + greaterThan?: ConstructiveInternalTypeHostname; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: ConstructiveInternalTypeHostname; + /** Contains the specified string (case-sensitive). */ + includes?: ConstructiveInternalTypeHostname; + /** Does not contain the specified string (case-sensitive). */ + notIncludes?: ConstructiveInternalTypeHostname; + /** Contains the specified string (case-insensitive). */ + includesInsensitive?: ConstructiveInternalTypeHostname; + /** Does not contain the specified string (case-insensitive). */ + notIncludesInsensitive?: ConstructiveInternalTypeHostname; + /** Starts with the specified string (case-sensitive). */ + startsWith?: ConstructiveInternalTypeHostname; + /** Does not start with the specified string (case-sensitive). */ + notStartsWith?: ConstructiveInternalTypeHostname; + /** Starts with the specified string (case-insensitive). */ + startsWithInsensitive?: ConstructiveInternalTypeHostname; + /** Does not start with the specified string (case-insensitive). */ + notStartsWithInsensitive?: ConstructiveInternalTypeHostname; + /** Ends with the specified string (case-sensitive). */ + endsWith?: ConstructiveInternalTypeHostname; + /** Does not end with the specified string (case-sensitive). */ + notEndsWith?: ConstructiveInternalTypeHostname; + /** Ends with the specified string (case-insensitive). */ + endsWithInsensitive?: ConstructiveInternalTypeHostname; + /** Does not end with the specified string (case-insensitive). */ + notEndsWithInsensitive?: ConstructiveInternalTypeHostname; + /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + like?: ConstructiveInternalTypeHostname; + /** 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?: ConstructiveInternalTypeHostname; + /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + likeInsensitive?: ConstructiveInternalTypeHostname; + /** 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?: ConstructiveInternalTypeHostname; + /** 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 `SecretsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface SecretsModuleFilter { +/** A filter to be used against `Site` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteFilter { /** 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 `tableId` field. */ - tableId?: UUIDFilter; - /** Filter by the object’s `tableName` field. */ - tableName?: StringFilter; + /** Filter by the object’s `title` field. */ + title?: StringFilter; + /** Filter by the object’s `description` field. */ + description?: StringFilter; + /** Filter by the object’s `ogImage` field. */ + ogImage?: ConstructiveInternalTypeImageFilter; + /** Filter by the object’s `favicon` field. */ + favicon?: ConstructiveInternalTypeAttachmentFilter; + /** Filter by the object’s `appleTouchIcon` field. */ + appleTouchIcon?: ConstructiveInternalTypeImageFilter; + /** Filter by the object’s `logo` field. */ + logo?: ConstructiveInternalTypeImageFilter; + /** Filter by the object’s `dbname` field. */ + dbname?: StringFilter; /** Checks for all expressions in this list. */ - and?: SecretsModuleFilter[]; + and?: SiteFilter[]; /** Checks for any expressions in this list. */ - or?: SecretsModuleFilter[]; + or?: SiteFilter[]; /** Negates the expression. */ - not?: SecretsModuleFilter; -} -/** - * A condition to be used against `SessionsModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface SessionsModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `sessionsTableId` field. */ - sessionsTableId?: string; - /** Checks for equality with the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: string; - /** Checks for equality with the object’s `authSettingsTableId` field. */ - authSettingsTableId?: string; - /** Checks for equality with the object’s `usersTableId` field. */ - usersTableId?: string; - /** Checks for equality with the object’s `sessionsDefaultExpiration` field. */ - sessionsDefaultExpiration?: IntervalInput; - /** Checks for equality with the object’s `sessionsTable` field. */ - sessionsTable?: string; - /** Checks for equality with the object’s `sessionCredentialsTable` field. */ - sessionCredentialsTable?: string; - /** Checks for equality with the object’s `authSettingsTable` field. */ - authSettingsTable?: string; -} -/** An interval of time that has passed where the smallest distinct unit is a second. */ -export interface IntervalInput { + not?: SiteFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `app` relation. */ + app?: AppFilter; + /** A related `app` exists. */ + appExists?: boolean; + /** Filter by the object’s `domains` relation. */ + domains?: SiteToManyDomainFilter; + /** `domains` exist. */ + domainsExist?: boolean; + /** Filter by the object’s `siteMetadata` relation. */ + siteMetadata?: SiteToManySiteMetadatumFilter; + /** `siteMetadata` exist. */ + siteMetadataExist?: boolean; + /** Filter by the object’s `siteModules` relation. */ + siteModules?: SiteToManySiteModuleFilter; + /** `siteModules` exist. */ + siteModulesExist?: boolean; + /** Filter by the object’s `siteThemes` relation. */ + siteThemes?: SiteToManySiteThemeFilter; + /** `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; /** - * A quantity of seconds. This is the only non-integer field, as all the other - * fields will dump their overflow into a smaller unit of time. Intervals don’t - * have a smaller unit than seconds. + * 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. */ - seconds?: number; - /** A quantity of minutes. */ - minutes?: number; - /** A quantity of hours. */ - hours?: number; - /** A quantity of days. */ - days?: number; - /** A quantity of months. */ - months?: number; - /** A quantity of years. */ - years?: number; + fullTextSearch?: string; +} +/** A filter to be used against ConstructiveInternalTypeAttachment fields. All fields are combined with a logical ‘and.’ */ +export interface ConstructiveInternalTypeAttachmentFilter { + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: boolean; + /** Equal to the specified value. */ + equalTo?: ConstructiveInternalTypeAttachment; + /** Not equal to the specified value. */ + notEqualTo?: ConstructiveInternalTypeAttachment; + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: ConstructiveInternalTypeAttachment; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: ConstructiveInternalTypeAttachment; + /** Included in the specified list. */ + in?: ConstructiveInternalTypeAttachment[]; + /** Not included in the specified list. */ + notIn?: ConstructiveInternalTypeAttachment[]; + /** Less than the specified value. */ + lessThan?: ConstructiveInternalTypeAttachment; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: ConstructiveInternalTypeAttachment; + /** Greater than the specified value. */ + greaterThan?: ConstructiveInternalTypeAttachment; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: ConstructiveInternalTypeAttachment; + /** Contains the specified string (case-sensitive). */ + includes?: ConstructiveInternalTypeAttachment; + /** Does not contain the specified string (case-sensitive). */ + notIncludes?: ConstructiveInternalTypeAttachment; + /** Contains the specified string (case-insensitive). */ + includesInsensitive?: ConstructiveInternalTypeAttachment; + /** Does not contain the specified string (case-insensitive). */ + notIncludesInsensitive?: ConstructiveInternalTypeAttachment; + /** Starts with the specified string (case-sensitive). */ + startsWith?: ConstructiveInternalTypeAttachment; + /** Does not start with the specified string (case-sensitive). */ + notStartsWith?: ConstructiveInternalTypeAttachment; + /** Starts with the specified string (case-insensitive). */ + startsWithInsensitive?: ConstructiveInternalTypeAttachment; + /** Does not start with the specified string (case-insensitive). */ + notStartsWithInsensitive?: ConstructiveInternalTypeAttachment; + /** Ends with the specified string (case-sensitive). */ + endsWith?: ConstructiveInternalTypeAttachment; + /** Does not end with the specified string (case-sensitive). */ + notEndsWith?: ConstructiveInternalTypeAttachment; + /** Ends with the specified string (case-insensitive). */ + endsWithInsensitive?: ConstructiveInternalTypeAttachment; + /** Does not end with the specified string (case-insensitive). */ + notEndsWithInsensitive?: ConstructiveInternalTypeAttachment; + /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + like?: ConstructiveInternalTypeAttachment; + /** 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?: ConstructiveInternalTypeAttachment; + /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + likeInsensitive?: ConstructiveInternalTypeAttachment; + /** 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?: ConstructiveInternalTypeAttachment; + /** 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 `SessionsModule` object types. All fields are combined with a logical ‘and.’ */ -export interface SessionsModuleFilter { +/** A filter to be used against `App` object types. All fields are combined with a logical ‘and.’ */ +export interface AppFilter { /** 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 `sessionsTableId` field. */ - sessionsTableId?: UUIDFilter; - /** Filter by the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: UUIDFilter; - /** Filter by the object’s `authSettingsTableId` field. */ - authSettingsTableId?: UUIDFilter; - /** Filter by the object’s `usersTableId` field. */ - usersTableId?: UUIDFilter; - /** Filter by the object’s `sessionsDefaultExpiration` field. */ - sessionsDefaultExpiration?: IntervalFilter; - /** Filter by the object’s `sessionsTable` field. */ - sessionsTable?: StringFilter; - /** Filter by the object’s `sessionCredentialsTable` field. */ - sessionCredentialsTable?: StringFilter; - /** Filter by the object’s `authSettingsTable` field. */ - authSettingsTable?: StringFilter; + /** Filter by the object’s `siteId` field. */ + siteId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `appImage` field. */ + appImage?: ConstructiveInternalTypeImageFilter; + /** Filter by the object’s `appStoreLink` field. */ + appStoreLink?: ConstructiveInternalTypeUrlFilter; + /** Filter by the object’s `appStoreId` field. */ + appStoreId?: StringFilter; + /** Filter by the object’s `appIdPrefix` field. */ + appIdPrefix?: StringFilter; + /** Filter by the object’s `playStoreLink` field. */ + playStoreLink?: ConstructiveInternalTypeUrlFilter; /** Checks for all expressions in this list. */ - and?: SessionsModuleFilter[]; + and?: AppFilter[]; /** Checks for any expressions in this list. */ - or?: SessionsModuleFilter[]; + or?: AppFilter[]; /** Negates the expression. */ - not?: SessionsModuleFilter; + not?: AppFilter; + /** Filter by the object’s `site` relation. */ + site?: SiteFilter; + /** 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; } -/** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */ -export interface IntervalFilter { +/** A filter to be used against ConstructiveInternalTypeUrl fields. All fields are combined with a logical ‘and.’ */ +export interface ConstructiveInternalTypeUrlFilter { /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Equal to the specified value. */ - equalTo?: IntervalInput; + equalTo?: ConstructiveInternalTypeUrl; /** Not equal to the specified value. */ - notEqualTo?: IntervalInput; + notEqualTo?: ConstructiveInternalTypeUrl; /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: IntervalInput; + distinctFrom?: ConstructiveInternalTypeUrl; /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: IntervalInput; + notDistinctFrom?: ConstructiveInternalTypeUrl; /** Included in the specified list. */ - in?: IntervalInput[]; + in?: ConstructiveInternalTypeUrl[]; /** Not included in the specified list. */ - notIn?: IntervalInput[]; + notIn?: ConstructiveInternalTypeUrl[]; /** Less than the specified value. */ - lessThan?: IntervalInput; + lessThan?: ConstructiveInternalTypeUrl; /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: IntervalInput; + lessThanOrEqualTo?: ConstructiveInternalTypeUrl; /** Greater than the specified value. */ - greaterThan?: IntervalInput; + greaterThan?: ConstructiveInternalTypeUrl; /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: IntervalInput; + greaterThanOrEqualTo?: ConstructiveInternalTypeUrl; + /** Contains the specified string (case-sensitive). */ + includes?: ConstructiveInternalTypeUrl; + /** Does not contain the specified string (case-sensitive). */ + notIncludes?: ConstructiveInternalTypeUrl; + /** Contains the specified string (case-insensitive). */ + includesInsensitive?: ConstructiveInternalTypeUrl; + /** Does not contain the specified string (case-insensitive). */ + notIncludesInsensitive?: ConstructiveInternalTypeUrl; + /** Starts with the specified string (case-sensitive). */ + startsWith?: ConstructiveInternalTypeUrl; + /** Does not start with the specified string (case-sensitive). */ + notStartsWith?: ConstructiveInternalTypeUrl; + /** Starts with the specified string (case-insensitive). */ + startsWithInsensitive?: ConstructiveInternalTypeUrl; + /** Does not start with the specified string (case-insensitive). */ + notStartsWithInsensitive?: ConstructiveInternalTypeUrl; + /** Ends with the specified string (case-sensitive). */ + endsWith?: ConstructiveInternalTypeUrl; + /** Does not end with the specified string (case-sensitive). */ + notEndsWith?: ConstructiveInternalTypeUrl; + /** Ends with the specified string (case-insensitive). */ + endsWithInsensitive?: ConstructiveInternalTypeUrl; + /** Does not end with the specified string (case-insensitive). */ + notEndsWithInsensitive?: ConstructiveInternalTypeUrl; + /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + like?: ConstructiveInternalTypeUrl; + /** 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?: ConstructiveInternalTypeUrl; + /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + likeInsensitive?: ConstructiveInternalTypeUrl; + /** 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?: ConstructiveInternalTypeUrl; + /** 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 condition to be used against `UserAuthModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface UserAuthModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `emailsTableId` field. */ - emailsTableId?: string; - /** Checks for equality with the object’s `usersTableId` field. */ - usersTableId?: string; - /** Checks for equality with the object’s `secretsTableId` field. */ - secretsTableId?: string; - /** Checks for equality with the object’s `encryptedTableId` field. */ - encryptedTableId?: string; - /** Checks for equality with the object’s `sessionsTableId` field. */ - sessionsTableId?: string; - /** Checks for equality with the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: string; - /** Checks for equality with the object’s `auditsTableId` field. */ - auditsTableId?: string; - /** Checks for equality with the object’s `auditsTableName` field. */ - auditsTableName?: string; - /** Checks for equality with the object’s `signInFunction` field. */ - signInFunction?: string; - /** Checks for equality with the object’s `signUpFunction` field. */ - signUpFunction?: string; - /** Checks for equality with the object’s `signOutFunction` field. */ - signOutFunction?: string; - /** Checks for equality with the object’s `setPasswordFunction` field. */ - setPasswordFunction?: string; - /** Checks for equality with the object’s `resetPasswordFunction` field. */ - resetPasswordFunction?: string; - /** Checks for equality with the object’s `forgotPasswordFunction` field. */ - forgotPasswordFunction?: string; - /** Checks for equality with the object’s `sendVerificationEmailFunction` field. */ - sendVerificationEmailFunction?: string; - /** Checks for equality with the object’s `verifyEmailFunction` field. */ - verifyEmailFunction?: string; - /** Checks for equality with the object’s `verifyPasswordFunction` field. */ - verifyPasswordFunction?: string; - /** Checks for equality with the object’s `checkPasswordFunction` field. */ - checkPasswordFunction?: string; - /** Checks for equality with the object’s `sendAccountDeletionEmailFunction` field. */ - sendAccountDeletionEmailFunction?: string; - /** Checks for equality with the object’s `deleteAccountFunction` field. */ - deleteAccountFunction?: string; - /** Checks for equality with the object’s `signInOneTimeTokenFunction` field. */ - signInOneTimeTokenFunction?: string; - /** Checks for equality with the object’s `oneTimeTokenFunction` field. */ - oneTimeTokenFunction?: string; - /** Checks for equality with the object’s `extendTokenExpires` field. */ - extendTokenExpires?: string; +/** A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteToManyDomainFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DomainFilter; + /** Filters to entities where every related entity matches. */ + every?: DomainFilter; + /** Filters to entities where no related entity matches. */ + none?: DomainFilter; +} +/** A filter to be used against many `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteToManySiteMetadatumFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SiteMetadatumFilter; + /** Filters to entities where every related entity matches. */ + every?: SiteMetadatumFilter; + /** Filters to entities where no related entity matches. */ + none?: SiteMetadatumFilter; } -/** A filter to be used against `UserAuthModule` object types. All fields are combined with a logical ‘and.’ */ -export interface UserAuthModuleFilter { +/** A filter to be used against `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteMetadatumFilter { /** 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 `emailsTableId` field. */ - emailsTableId?: UUIDFilter; - /** Filter by the object’s `usersTableId` field. */ - usersTableId?: UUIDFilter; - /** Filter by the object’s `secretsTableId` field. */ - secretsTableId?: UUIDFilter; - /** Filter by the object’s `encryptedTableId` field. */ - encryptedTableId?: UUIDFilter; - /** Filter by the object’s `sessionsTableId` field. */ - sessionsTableId?: UUIDFilter; - /** Filter by the object’s `sessionCredentialsTableId` field. */ - sessionCredentialsTableId?: UUIDFilter; - /** Filter by the object’s `auditsTableId` field. */ - auditsTableId?: UUIDFilter; - /** Filter by the object’s `auditsTableName` field. */ - auditsTableName?: StringFilter; - /** Filter by the object’s `signInFunction` field. */ - signInFunction?: StringFilter; - /** Filter by the object’s `signUpFunction` field. */ - signUpFunction?: StringFilter; - /** Filter by the object’s `signOutFunction` field. */ - signOutFunction?: StringFilter; - /** Filter by the object’s `setPasswordFunction` field. */ - setPasswordFunction?: StringFilter; - /** Filter by the object’s `resetPasswordFunction` field. */ - resetPasswordFunction?: StringFilter; - /** Filter by the object’s `forgotPasswordFunction` field. */ - forgotPasswordFunction?: StringFilter; - /** Filter by the object’s `sendVerificationEmailFunction` field. */ - sendVerificationEmailFunction?: StringFilter; - /** Filter by the object’s `verifyEmailFunction` field. */ - verifyEmailFunction?: StringFilter; - /** Filter by the object’s `verifyPasswordFunction` field. */ - verifyPasswordFunction?: StringFilter; - /** Filter by the object’s `checkPasswordFunction` field. */ - checkPasswordFunction?: StringFilter; - /** Filter by the object’s `sendAccountDeletionEmailFunction` field. */ - sendAccountDeletionEmailFunction?: StringFilter; - /** Filter by the object’s `deleteAccountFunction` field. */ - deleteAccountFunction?: StringFilter; - /** Filter by the object’s `signInOneTimeTokenFunction` field. */ - signInOneTimeTokenFunction?: StringFilter; - /** Filter by the object’s `oneTimeTokenFunction` field. */ - oneTimeTokenFunction?: StringFilter; - /** Filter by the object’s `extendTokenExpires` field. */ - extendTokenExpires?: StringFilter; + /** Filter by the object’s `siteId` field. */ + siteId?: UUIDFilter; + /** Filter by the object’s `title` field. */ + title?: StringFilter; + /** Filter by the object’s `description` field. */ + description?: StringFilter; + /** Filter by the object’s `ogImage` field. */ + ogImage?: ConstructiveInternalTypeImageFilter; + /** Checks for all expressions in this list. */ + and?: SiteMetadatumFilter[]; + /** Checks for any expressions in this list. */ + or?: SiteMetadatumFilter[]; + /** Negates the expression. */ + not?: SiteMetadatumFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; +} +/** A filter to be used against many `SiteModule` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteToManySiteModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SiteModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: SiteModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: SiteModuleFilter; +} +/** A filter to be used against `SiteModule` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteModuleFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `siteId` field. */ + siteId?: UUIDFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; /** Checks for all expressions in this list. */ - and?: UserAuthModuleFilter[]; + and?: SiteModuleFilter[]; /** Checks for any expressions in this list. */ - or?: UserAuthModuleFilter[]; + or?: SiteModuleFilter[]; /** Negates the expression. */ - not?: UserAuthModuleFilter; + not?: SiteModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } -/** - * A condition to be used against `UsersModule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface UsersModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `tableId` field. */ - tableId?: string; - /** Checks for equality with the object’s `tableName` field. */ - tableName?: string; - /** Checks for equality with the object’s `typeTableId` field. */ - typeTableId?: string; - /** Checks for equality with the object’s `typeTableName` field. */ - typeTableName?: string; +/** A filter to be used against many `SiteTheme` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteToManySiteThemeFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SiteThemeFilter; + /** Filters to entities where every related entity matches. */ + every?: SiteThemeFilter; + /** Filters to entities where no related entity matches. */ + none?: SiteThemeFilter; } -/** A filter to be used against `UsersModule` object types. All fields are combined with a logical ‘and.’ */ -export interface UsersModuleFilter { +/** A filter to be used against `SiteTheme` object types. All fields are combined with a logical ‘and.’ */ +export interface SiteThemeFilter { + /** Filter by the object’s `id` field. */ + id?: UUIDFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `siteId` field. */ + siteId?: UUIDFilter; + /** Filter by the object’s `theme` field. */ + theme?: JSONFilter; + /** Checks for all expressions in this list. */ + and?: SiteThemeFilter[]; + /** Checks for any expressions in this list. */ + or?: SiteThemeFilter[]; + /** Negates the expression. */ + not?: SiteThemeFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `site` relation. */ + site?: SiteFilter; +} +/** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */ +export interface SchemaToManyTableTemplateModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TableTemplateModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: TableTemplateModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: TableTemplateModuleFilter; +} +/** A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyTableFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TableFilter; + /** Filters to entities where every related entity matches. */ + every?: TableFilter; + /** Filters to entities where no related entity matches. */ + none?: TableFilter; +} +/** A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyCheckConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: CheckConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: CheckConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: CheckConstraintFilter; +} +/** A filter to be used against many `Field` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyFieldFilter { + /** Filters to entities where at least one related entity matches. */ + some?: FieldFilter; + /** Filters to entities where every related entity matches. */ + every?: FieldFilter; + /** Filters to entities where no related entity matches. */ + none?: FieldFilter; +} +/** A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyForeignKeyConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ForeignKeyConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: ForeignKeyConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: ForeignKeyConstraintFilter; +} +/** A filter to be used against many `FullTextSearch` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyFullTextSearchFilter { + /** Filters to entities where at least one related entity matches. */ + some?: FullTextSearchFilter; + /** Filters to entities where every related entity matches. */ + every?: FullTextSearchFilter; + /** Filters to entities where no related entity matches. */ + none?: FullTextSearchFilter; +} +/** A filter to be used against many `Index` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyIndexFilter { + /** Filters to entities where at least one related entity matches. */ + some?: IndexFilter; + /** Filters to entities where every related entity matches. */ + every?: IndexFilter; + /** Filters to entities where no related entity matches. */ + none?: IndexFilter; +} +/** A filter to be used against many `Policy` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyPolicyFilter { + /** Filters to entities where at least one related entity matches. */ + some?: PolicyFilter; + /** Filters to entities where every related entity matches. */ + every?: PolicyFilter; + /** Filters to entities where no related entity matches. */ + none?: PolicyFilter; +} +/** A filter to be used against many `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyPrimaryKeyConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: PrimaryKeyConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: PrimaryKeyConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: PrimaryKeyConstraintFilter; +} +/** A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySchemaGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SchemaGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: SchemaGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: SchemaGrantFilter; +} +/** A filter to be used against many `TableGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyTableGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TableGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: TableGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: TableGrantFilter; +} +/** A filter to be used against many `TriggerFunction` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyTriggerFunctionFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TriggerFunctionFilter; + /** Filters to entities where every related entity matches. */ + every?: TriggerFunctionFilter; + /** Filters to entities where no related entity matches. */ + none?: TriggerFunctionFilter; +} +/** A filter to be used against `TriggerFunction` object types. All fields are combined with a logical ‘and.’ */ +export interface TriggerFunctionFilter { + /** 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 `code` field. */ + code?: StringFilter; + /** 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?: TriggerFunctionFilter[]; + /** Checks for any expressions in this list. */ + or?: TriggerFunctionFilter[]; + /** Negates the expression. */ + not?: 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; +} +/** A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyTriggerFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TriggerFilter; + /** Filters to entities where every related entity matches. */ + every?: TriggerFilter; + /** Filters to entities where no related entity matches. */ + none?: TriggerFilter; +} +/** A filter to be used against many `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyUniqueConstraintFilter { + /** Filters to entities where at least one related entity matches. */ + some?: UniqueConstraintFilter; + /** Filters to entities where every related entity matches. */ + every?: UniqueConstraintFilter; + /** Filters to entities where no related entity matches. */ + none?: UniqueConstraintFilter; +} +/** A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyViewFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewFilter; +} +/** A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyViewGrantFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewGrantFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewGrantFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewGrantFilter; +} +/** A filter to be used against many `ViewRule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyViewRuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ViewRuleFilter; + /** Filters to entities where every related entity matches. */ + every?: ViewRuleFilter; + /** Filters to entities where no related entity matches. */ + none?: ViewRuleFilter; +} +/** A filter to be used against many `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyDefaultPrivilegeFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DefaultPrivilegeFilter; + /** Filters to entities where every related entity matches. */ + every?: DefaultPrivilegeFilter; + /** Filters to entities where no related entity matches. */ + none?: DefaultPrivilegeFilter; +} +/** A filter to be used against many `Api` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyApiFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ApiFilter; + /** Filters to entities where every related entity matches. */ + every?: ApiFilter; + /** Filters to entities where no related entity matches. */ + none?: ApiFilter; +} +/** A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyApiModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ApiModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: ApiModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: ApiModuleFilter; +} +/** A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyApiSchemaFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ApiSchemaFilter; + /** Filters to entities where every related entity matches. */ + every?: ApiSchemaFilter; + /** Filters to entities where no related entity matches. */ + none?: ApiSchemaFilter; +} +/** A filter to be used against many `Site` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySiteFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SiteFilter; + /** Filters to entities where every related entity matches. */ + every?: SiteFilter; + /** Filters to entities where no related entity matches. */ + none?: SiteFilter; +} +/** A filter to be used against many `App` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyAppFilter { + /** Filters to entities where at least one related entity matches. */ + some?: AppFilter; + /** Filters to entities where every related entity matches. */ + every?: AppFilter; + /** Filters to entities where no related entity matches. */ + none?: AppFilter; +} +/** A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyDomainFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DomainFilter; + /** Filters to entities where every related entity matches. */ + every?: DomainFilter; + /** Filters to entities where no related entity matches. */ + none?: DomainFilter; +} +/** A filter to be used against many `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySiteMetadatumFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SiteMetadatumFilter; + /** Filters to entities where every related entity matches. */ + every?: SiteMetadatumFilter; + /** Filters to entities where no related entity matches. */ + none?: SiteMetadatumFilter; +} +/** A filter to be used against many `SiteModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySiteModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SiteModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: SiteModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: SiteModuleFilter; +} +/** A filter to be used against many `SiteTheme` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySiteThemeFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SiteThemeFilter; + /** Filters to entities where every related entity matches. */ + every?: SiteThemeFilter; + /** Filters to entities where no related entity matches. */ + none?: SiteThemeFilter; +} +/** A filter to be used against many `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyConnectedAccountsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ConnectedAccountsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: ConnectedAccountsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: ConnectedAccountsModuleFilter; +} +/** A filter to be used against `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface ConnectedAccountsModuleFilter { /** 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 `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; /** Filter by the object’s `tableId` field. */ tableId?: UUIDFilter; + /** Filter by the object’s `ownerTableId` field. */ + ownerTableId?: UUIDFilter; /** Filter by the object’s `tableName` field. */ tableName?: StringFilter; - /** Filter by the object’s `typeTableId` field. */ - typeTableId?: UUIDFilter; - /** Filter by the object’s `typeTableName` field. */ - typeTableName?: StringFilter; /** Checks for all expressions in this list. */ - and?: UsersModuleFilter[]; + and?: ConnectedAccountsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: UsersModuleFilter[]; + or?: ConnectedAccountsModuleFilter[]; /** Negates the expression. */ - not?: UsersModuleFilter; + not?: ConnectedAccountsModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `ownerTable` relation. */ + ownerTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `UuidModule` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface UuidModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `uuidFunction` field. */ - uuidFunction?: string; - /** Checks for equality with the object’s `uuidSeed` field. */ - uuidSeed?: string; +/** A filter to be used against many `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyCryptoAddressesModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: CryptoAddressesModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: CryptoAddressesModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: CryptoAddressesModuleFilter; } -/** A filter to be used against `UuidModule` object types. All fields are combined with a logical ‘and.’ */ -export interface UuidModuleFilter { +/** A filter to be used against `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface CryptoAddressesModuleFilter { /** 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; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `ownerTableId` field. */ + ownerTableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; + /** Filter by the object’s `cryptoNetwork` field. */ + cryptoNetwork?: StringFilter; /** Checks for all expressions in this list. */ - and?: UuidModuleFilter[]; + and?: CryptoAddressesModuleFilter[]; /** Checks for any expressions in this list. */ - or?: UuidModuleFilter[]; + or?: CryptoAddressesModuleFilter[]; /** Negates the expression. */ - not?: UuidModuleFilter; + not?: CryptoAddressesModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `ownerTable` relation. */ + ownerTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `DatabaseProvisionModule` object types. All - * fields are tested for equality and combined with a logical ‘and.’ - */ -export interface DatabaseProvisionModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseName` field. */ - databaseName?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `subdomain` field. */ - subdomain?: string; - /** Checks for equality with the object’s `domain` field. */ - domain?: string; - /** Checks for equality with the object’s `modules` field. */ - modules?: string[]; - /** Checks for equality with the object’s `options` field. */ - options?: unknown; - /** Checks for equality with the object’s `bootstrapUser` field. */ - bootstrapUser?: boolean; - /** Checks for equality with the object’s `status` field. */ - status?: string; - /** Checks for equality with the object’s `errorMessage` field. */ - errorMessage?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `completedAt` field. */ - completedAt?: string; +/** A filter to be used against many `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyCryptoAuthModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: CryptoAuthModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: CryptoAuthModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: CryptoAuthModuleFilter; } -/** A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */ -export interface DatabaseProvisionModuleFilter { +/** A filter to be used against `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ */ +export interface CryptoAuthModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `databaseName` field. */ - databaseName?: StringFilter; - /** Filter by the object’s `ownerId` field. */ - ownerId?: UUIDFilter; - /** Filter by the object’s `subdomain` field. */ - subdomain?: StringFilter; - /** Filter by the object’s `domain` field. */ - domain?: StringFilter; - /** Filter by the object’s `modules` field. */ - modules?: StringListFilter; - /** Filter by the object’s `options` field. */ - options?: JSONFilter; - /** Filter by the object’s `bootstrapUser` field. */ - bootstrapUser?: BooleanFilter; - /** Filter by the object’s `status` field. */ - status?: StringFilter; - /** Filter by the object’s `errorMessage` field. */ - errorMessage?: StringFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** 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; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `usersTableId` field. */ + usersTableId?: UUIDFilter; + /** Filter by the object’s `secretsTableId` field. */ + secretsTableId?: UUIDFilter; + /** Filter by the object’s `sessionsTableId` field. */ + sessionsTableId?: UUIDFilter; + /** Filter by the object’s `sessionCredentialsTableId` field. */ + sessionCredentialsTableId?: UUIDFilter; + /** Filter by the object’s `addressesTableId` field. */ + addressesTableId?: UUIDFilter; + /** Filter by the object’s `userField` field. */ + userField?: StringFilter; + /** Filter by the object’s `cryptoNetwork` field. */ + cryptoNetwork?: StringFilter; + /** Filter by the object’s `signInRequestChallenge` field. */ + signInRequestChallenge?: StringFilter; + /** Filter by the object’s `signInRecordFailure` field. */ + signInRecordFailure?: StringFilter; + /** Filter by the object’s `signUpWithKey` field. */ + signUpWithKey?: StringFilter; + /** Filter by the object’s `signInWithChallenge` field. */ + signInWithChallenge?: StringFilter; /** Checks for all expressions in this list. */ - and?: DatabaseProvisionModuleFilter[]; + and?: CryptoAuthModuleFilter[]; /** Checks for any expressions in this list. */ - or?: DatabaseProvisionModuleFilter[]; + or?: CryptoAuthModuleFilter[]; /** Negates the expression. */ - not?: DatabaseProvisionModuleFilter; + not?: CryptoAuthModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** Filter by the object’s `secretsTable` relation. */ + secretsTable?: TableFilter; + /** Filter by the object’s `sessionCredentialsTable` relation. */ + sessionCredentialsTable?: TableFilter; + /** Filter by the object’s `sessionsTable` relation. */ + sessionsTable?: TableFilter; + /** 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; } -/** - * A condition to be used against `Database` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface DatabaseCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `schemaHash` field. */ - schemaHash?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `label` field. */ - label?: string; - /** Checks for equality with the object’s `hash` field. */ - hash?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyDefaultIdsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DefaultIdsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: DefaultIdsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: DefaultIdsModuleFilter; } -/** A filter to be used against `Database` object types. All fields are combined with a logical ‘and.’ */ -export interface DatabaseFilter { +/** A filter to be used against `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DefaultIdsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `ownerId` field. */ - ownerId?: UUIDFilter; - /** Filter by the object’s `schemaHash` field. */ - schemaHash?: StringFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `label` field. */ - label?: StringFilter; - /** Filter by the object’s `hash` field. */ - hash?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: DatabaseFilter[]; + and?: DefaultIdsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: DatabaseFilter[]; - /** Negates the expression. */ - not?: DatabaseFilter; -} -/** - * A condition to be used against `AppAdminGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppAdminGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} -/** A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface AppAdminGrantFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `grantorId` field. */ - grantorId?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + or?: DefaultIdsModuleFilter[]; + /** Negates the expression. */ + not?: DefaultIdsModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; +} +/** A filter to be used against many `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyDenormalizedTableFieldFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DenormalizedTableFieldFilter; + /** Filters to entities where every related entity matches. */ + every?: DenormalizedTableFieldFilter; + /** Filters to entities where no related entity matches. */ + none?: DenormalizedTableFieldFilter; +} +/** A filter to be used against `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ */ +export interface DenormalizedTableFieldFilter { + /** 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 `fieldId` field. */ + fieldId?: UUIDFilter; + /** Filter by the object’s `setIds` field. */ + setIds?: UUIDListFilter; + /** Filter by the object’s `refTableId` field. */ + refTableId?: UUIDFilter; + /** Filter by the object’s `refFieldId` field. */ + refFieldId?: UUIDFilter; + /** Filter by the object’s `refIds` field. */ + refIds?: UUIDListFilter; + /** Filter by the object’s `useUpdates` field. */ + useUpdates?: BooleanFilter; + /** Filter by the object’s `updateDefaults` field. */ + updateDefaults?: BooleanFilter; + /** Filter by the object’s `funcName` field. */ + funcName?: StringFilter; + /** Filter by the object’s `funcOrder` field. */ + funcOrder?: IntFilter; /** Checks for all expressions in this list. */ - and?: AppAdminGrantFilter[]; + and?: DenormalizedTableFieldFilter[]; /** Checks for any expressions in this list. */ - or?: AppAdminGrantFilter[]; + or?: DenormalizedTableFieldFilter[]; /** Negates the expression. */ - not?: AppAdminGrantFilter; + not?: DenormalizedTableFieldFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `field` relation. */ + field?: FieldFilter; + /** Filter by the object’s `refField` relation. */ + refField?: FieldFilter; + /** Filter by the object’s `refTable` relation. */ + refTable?: TableFilter; + /** 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; } -/** - * A condition to be used against `AppOwnerGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppOwnerGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `EmailsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyEmailsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: EmailsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: EmailsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: EmailsModuleFilter; } -/** A filter to be used against `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface AppOwnerGrantFilter { +/** A filter to be used against `EmailsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface EmailsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `grantorId` field. */ - grantorId?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `ownerTableId` field. */ + ownerTableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; /** Checks for all expressions in this list. */ - and?: AppOwnerGrantFilter[]; + and?: EmailsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: AppOwnerGrantFilter[]; + or?: EmailsModuleFilter[]; /** Negates the expression. */ - not?: AppOwnerGrantFilter; + not?: EmailsModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `ownerTable` relation. */ + ownerTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `AppGrant` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AppGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyEncryptedSecretsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: EncryptedSecretsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: EncryptedSecretsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: EncryptedSecretsModuleFilter; } -/** A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface AppGrantFilter { +/** A filter to be used against `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface EncryptedSecretsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `permissions` field. */ - permissions?: BitStringFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `grantorId` field. */ - grantorId?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; /** Checks for all expressions in this list. */ - and?: AppGrantFilter[]; + and?: EncryptedSecretsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: AppGrantFilter[]; + or?: EncryptedSecretsModuleFilter[]; /** Negates the expression. */ - not?: AppGrantFilter; + not?: EncryptedSecretsModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `OrgMembership` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgMembershipCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `isBanned` field. */ - isBanned?: boolean; - /** Checks for equality with the object’s `isDisabled` field. */ - isDisabled?: boolean; - /** Checks for equality with the object’s `isActive` field. */ - isActive?: boolean; - /** Checks for equality with the object’s `isOwner` field. */ - isOwner?: boolean; - /** Checks for equality with the object’s `isAdmin` field. */ - isAdmin?: boolean; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `granted` field. */ - granted?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `profileId` field. */ - profileId?: string; +/** A filter to be used against many `FieldModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyFieldModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: FieldModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: FieldModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: FieldModuleFilter; } -/** A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgMembershipFilter { +/** A filter to be used against `FieldModule` object types. All fields are combined with a logical ‘and.’ */ +export interface FieldModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; - /** Filter by the object’s `createdBy` field. */ - createdBy?: UUIDFilter; - /** Filter by the object’s `updatedBy` field. */ - updatedBy?: UUIDFilter; - /** Filter by the object’s `isApproved` field. */ - isApproved?: BooleanFilter; - /** Filter by the object’s `isBanned` field. */ - isBanned?: BooleanFilter; - /** Filter by the object’s `isDisabled` field. */ - isDisabled?: BooleanFilter; - /** Filter by the object’s `isActive` field. */ - isActive?: BooleanFilter; - /** Filter by the object’s `isOwner` field. */ - isOwner?: BooleanFilter; - /** Filter by the object’s `isAdmin` field. */ - isAdmin?: BooleanFilter; - /** Filter by the object’s `permissions` field. */ - permissions?: BitStringFilter; - /** Filter by the object’s `granted` field. */ - granted?: BitStringFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `profileId` field. */ - profileId?: UUIDFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `fieldId` field. */ + fieldId?: UUIDFilter; + /** Filter by the object’s `nodeType` field. */ + nodeType?: StringFilter; + /** Filter by the object’s `data` field. */ + data?: JSONFilter; + /** Filter by the object’s `triggers` field. */ + triggers?: StringListFilter; + /** Filter by the object’s `functions` field. */ + functions?: StringListFilter; /** Checks for all expressions in this list. */ - and?: OrgMembershipFilter[]; + and?: FieldModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgMembershipFilter[]; + or?: FieldModuleFilter[]; /** Negates the expression. */ - not?: OrgMembershipFilter; + not?: FieldModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `field` relation. */ + field?: FieldFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `OrgMember` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgMemberCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isAdmin` field. */ - isAdmin?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; +/** A filter to be used against many `InvitesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyInvitesModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: InvitesModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: InvitesModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: InvitesModuleFilter; } -/** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgMemberFilter { +/** A filter to be used against `InvitesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface InvitesModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `isAdmin` field. */ - isAdmin?: BooleanFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `emailsTableId` field. */ + emailsTableId?: UUIDFilter; + /** Filter by the object’s `usersTableId` field. */ + usersTableId?: UUIDFilter; + /** Filter by the object’s `invitesTableId` field. */ + invitesTableId?: UUIDFilter; + /** Filter by the object’s `claimedInvitesTableId` field. */ + claimedInvitesTableId?: UUIDFilter; + /** Filter by the object’s `invitesTableName` field. */ + invitesTableName?: StringFilter; + /** Filter by the object’s `claimedInvitesTableName` field. */ + claimedInvitesTableName?: StringFilter; + /** Filter by the object’s `submitInviteCodeFunction` field. */ + submitInviteCodeFunction?: StringFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Filter by the object’s `membershipType` field. */ + membershipType?: IntFilter; + /** Filter by the object’s `entityTableId` field. */ + entityTableId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: OrgMemberFilter[]; + and?: InvitesModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgMemberFilter[]; + or?: InvitesModuleFilter[]; /** Negates the expression. */ - not?: OrgMemberFilter; -} -/** - * A condition to be used against `OrgAdminGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgAdminGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: InvitesModuleFilter; + /** Filter by the object’s `claimedInvitesTable` relation. */ + claimedInvitesTable?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `emailsTable` relation. */ + emailsTable?: TableFilter; + /** Filter by the object’s `entityTable` relation. */ + entityTable?: TableFilter; + /** A related `entityTable` exists. */ + entityTableExists?: boolean; + /** Filter by the object’s `invitesTable` relation. */ + invitesTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgAdminGrantFilter { +/** A filter to be used against many `LevelsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyLevelsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: LevelsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: LevelsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: LevelsModuleFilter; +} +/** A filter to be used against `LevelsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface LevelsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `grantorId` field. */ - grantorId?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `stepsTableId` field. */ + stepsTableId?: UUIDFilter; + /** Filter by the object’s `stepsTableName` field. */ + stepsTableName?: StringFilter; + /** Filter by the object’s `achievementsTableId` field. */ + achievementsTableId?: UUIDFilter; + /** Filter by the object’s `achievementsTableName` field. */ + achievementsTableName?: StringFilter; + /** Filter by the object’s `levelsTableId` field. */ + levelsTableId?: UUIDFilter; + /** Filter by the object’s `levelsTableName` field. */ + levelsTableName?: StringFilter; + /** Filter by the object’s `levelRequirementsTableId` field. */ + levelRequirementsTableId?: UUIDFilter; + /** Filter by the object’s `levelRequirementsTableName` field. */ + levelRequirementsTableName?: StringFilter; + /** Filter by the object’s `completedStep` field. */ + completedStep?: StringFilter; + /** Filter by the object’s `incompletedStep` field. */ + incompletedStep?: StringFilter; + /** Filter by the object’s `tgAchievement` field. */ + tgAchievement?: StringFilter; + /** Filter by the object’s `tgAchievementToggle` field. */ + tgAchievementToggle?: StringFilter; + /** Filter by the object’s `tgAchievementToggleBoolean` field. */ + tgAchievementToggleBoolean?: StringFilter; + /** Filter by the object’s `tgAchievementBoolean` field. */ + tgAchievementBoolean?: StringFilter; + /** Filter by the object’s `upsertAchievement` field. */ + upsertAchievement?: StringFilter; + /** Filter by the object’s `tgUpdateAchievements` field. */ + tgUpdateAchievements?: StringFilter; + /** Filter by the object’s `stepsRequired` field. */ + stepsRequired?: StringFilter; + /** Filter by the object’s `levelAchieved` field. */ + levelAchieved?: StringFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Filter by the object’s `membershipType` field. */ + membershipType?: IntFilter; + /** Filter by the object’s `entityTableId` field. */ + entityTableId?: UUIDFilter; + /** Filter by the object’s `actorTableId` field. */ + actorTableId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: OrgAdminGrantFilter[]; + and?: LevelsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgAdminGrantFilter[]; + or?: LevelsModuleFilter[]; /** Negates the expression. */ - not?: OrgAdminGrantFilter; + not?: LevelsModuleFilter; + /** Filter by the object’s `achievementsTable` relation. */ + achievementsTable?: TableFilter; + /** Filter by the object’s `actorTable` relation. */ + actorTable?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `entityTable` relation. */ + entityTable?: TableFilter; + /** A related `entityTable` exists. */ + entityTableExists?: boolean; + /** Filter by the object’s `levelRequirementsTable` relation. */ + levelRequirementsTable?: TableFilter; + /** Filter by the object’s `levelsTable` relation. */ + levelsTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `OrgOwnerGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgOwnerGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `LimitsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyLimitsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: LimitsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: LimitsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: LimitsModuleFilter; } -/** A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgOwnerGrantFilter { +/** A filter to be used against `LimitsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface LimitsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `grantorId` field. */ - grantorId?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; + /** Filter by the object’s `defaultTableId` field. */ + defaultTableId?: UUIDFilter; + /** Filter by the object’s `defaultTableName` field. */ + defaultTableName?: StringFilter; + /** Filter by the object’s `limitIncrementFunction` field. */ + limitIncrementFunction?: StringFilter; + /** Filter by the object’s `limitDecrementFunction` field. */ + limitDecrementFunction?: StringFilter; + /** Filter by the object’s `limitIncrementTrigger` field. */ + limitIncrementTrigger?: StringFilter; + /** Filter by the object’s `limitDecrementTrigger` field. */ + limitDecrementTrigger?: StringFilter; + /** Filter by the object’s `limitUpdateTrigger` field. */ + limitUpdateTrigger?: StringFilter; + /** Filter by the object’s `limitCheckFunction` field. */ + limitCheckFunction?: StringFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Filter by the object’s `membershipType` field. */ + membershipType?: IntFilter; + /** Filter by the object’s `entityTableId` field. */ + entityTableId?: UUIDFilter; + /** Filter by the object’s `actorTableId` field. */ + actorTableId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: OrgOwnerGrantFilter[]; + and?: LimitsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgOwnerGrantFilter[]; + or?: LimitsModuleFilter[]; /** Negates the expression. */ - not?: OrgOwnerGrantFilter; + not?: LimitsModuleFilter; + /** Filter by the object’s `actorTable` relation. */ + actorTable?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `defaultTable` relation. */ + defaultTable?: TableFilter; + /** Filter by the object’s `entityTable` relation. */ + entityTable?: TableFilter; + /** A related `entityTable` exists. */ + entityTableExists?: boolean; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `OrgGrant` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyMembershipTypesModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: MembershipTypesModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: MembershipTypesModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: MembershipTypesModuleFilter; } -/** A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgGrantFilter { +/** A filter to be used against `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface MembershipTypesModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `permissions` field. */ - permissions?: BitStringFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `grantorId` field. */ - grantorId?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; /** Checks for all expressions in this list. */ - and?: OrgGrantFilter[]; + and?: MembershipTypesModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgGrantFilter[]; + or?: MembershipTypesModuleFilter[]; /** Negates the expression. */ - not?: OrgGrantFilter; + not?: MembershipTypesModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `OrgChartEdge` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgChartEdgeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `childId` field. */ - childId?: string; - /** Checks for equality with the object’s `parentId` field. */ - parentId?: string; - /** Checks for equality with the object’s `positionTitle` field. */ - positionTitle?: string; - /** Checks for equality with the object’s `positionLevel` field. */ - positionLevel?: number; +/** A filter to be used against many `MembershipsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyMembershipsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: MembershipsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: MembershipsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: MembershipsModuleFilter; } -/** A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgChartEdgeFilter { +/** A filter to be used against `MembershipsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface MembershipsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `childId` field. */ - childId?: UUIDFilter; - /** Filter by the object’s `parentId` field. */ - parentId?: UUIDFilter; - /** Filter by the object’s `positionTitle` field. */ - positionTitle?: StringFilter; - /** Filter by the object’s `positionLevel` field. */ - positionLevel?: IntFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `membershipsTableId` field. */ + membershipsTableId?: UUIDFilter; + /** Filter by the object’s `membershipsTableName` field. */ + membershipsTableName?: StringFilter; + /** Filter by the object’s `membersTableId` field. */ + membersTableId?: UUIDFilter; + /** Filter by the object’s `membersTableName` field. */ + membersTableName?: StringFilter; + /** Filter by the object’s `membershipDefaultsTableId` field. */ + membershipDefaultsTableId?: UUIDFilter; + /** Filter by the object’s `membershipDefaultsTableName` field. */ + membershipDefaultsTableName?: StringFilter; + /** Filter by the object’s `grantsTableId` field. */ + grantsTableId?: UUIDFilter; + /** Filter by the object’s `grantsTableName` field. */ + grantsTableName?: StringFilter; + /** Filter by the object’s `actorTableId` field. */ + actorTableId?: UUIDFilter; + /** Filter by the object’s `limitsTableId` field. */ + limitsTableId?: UUIDFilter; + /** Filter by the object’s `defaultLimitsTableId` field. */ + defaultLimitsTableId?: UUIDFilter; + /** Filter by the object’s `permissionsTableId` field. */ + permissionsTableId?: UUIDFilter; + /** Filter by the object’s `defaultPermissionsTableId` field. */ + defaultPermissionsTableId?: UUIDFilter; + /** Filter by the object’s `sprtTableId` field. */ + sprtTableId?: UUIDFilter; + /** Filter by the object’s `adminGrantsTableId` field. */ + adminGrantsTableId?: UUIDFilter; + /** Filter by the object’s `adminGrantsTableName` field. */ + adminGrantsTableName?: StringFilter; + /** Filter by the object’s `ownerGrantsTableId` field. */ + ownerGrantsTableId?: UUIDFilter; + /** Filter by the object’s `ownerGrantsTableName` field. */ + ownerGrantsTableName?: StringFilter; + /** Filter by the object’s `membershipType` field. */ + membershipType?: IntFilter; + /** Filter by the object’s `entityTableId` field. */ + entityTableId?: UUIDFilter; + /** Filter by the object’s `entityTableOwnerId` field. */ + entityTableOwnerId?: UUIDFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Filter by the object’s `actorMaskCheck` field. */ + actorMaskCheck?: StringFilter; + /** Filter by the object’s `actorPermCheck` field. */ + actorPermCheck?: StringFilter; + /** Filter by the object’s `entityIdsByMask` field. */ + entityIdsByMask?: StringFilter; + /** Filter by the object’s `entityIdsByPerm` field. */ + entityIdsByPerm?: StringFilter; + /** Filter by the object’s `entityIdsFunction` field. */ + entityIdsFunction?: StringFilter; /** Checks for all expressions in this list. */ - and?: OrgChartEdgeFilter[]; + and?: MembershipsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgChartEdgeFilter[]; + or?: MembershipsModuleFilter[]; /** Negates the expression. */ - not?: OrgChartEdgeFilter; + not?: MembershipsModuleFilter; + /** Filter by the object’s `actorTable` relation. */ + actorTable?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `defaultLimitsTable` relation. */ + defaultLimitsTable?: TableFilter; + /** Filter by the object’s `defaultPermissionsTable` relation. */ + defaultPermissionsTable?: TableFilter; + /** Filter by the object’s `entityTable` relation. */ + entityTable?: TableFilter; + /** A related `entityTable` exists. */ + entityTableExists?: boolean; + /** Filter by the object’s `entityTableOwner` relation. */ + entityTableOwner?: FieldFilter; + /** A related `entityTableOwner` exists. */ + entityTableOwnerExists?: boolean; + /** Filter by the object’s `grantsTable` relation. */ + grantsTable?: TableFilter; + /** Filter by the object’s `limitsTable` relation. */ + limitsTable?: TableFilter; + /** Filter by the object’s `membersTable` relation. */ + membersTable?: TableFilter; + /** Filter by the object’s `membershipDefaultsTable` relation. */ + membershipDefaultsTable?: TableFilter; + /** Filter by the object’s `membershipsTable` relation. */ + membershipsTable?: TableFilter; + /** Filter by the object’s `permissionsTable` relation. */ + permissionsTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `OrgChartEdgeGrant` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgChartEdgeGrantCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `childId` field. */ - childId?: string; - /** Checks for equality with the object’s `parentId` field. */ - parentId?: string; - /** Checks for equality with the object’s `grantorId` field. */ - grantorId?: string; - /** Checks for equality with the object’s `isGrant` field. */ - isGrant?: boolean; - /** Checks for equality with the object’s `positionTitle` field. */ - positionTitle?: string; - /** Checks for equality with the object’s `positionLevel` field. */ - positionLevel?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; +/** A filter to be used against many `PermissionsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyPermissionsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: PermissionsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: PermissionsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: PermissionsModuleFilter; } -/** A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgChartEdgeGrantFilter { +/** A filter to be used against `PermissionsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface PermissionsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `childId` field. */ - childId?: UUIDFilter; - /** Filter by the object’s `parentId` field. */ - parentId?: UUIDFilter; - /** Filter by the object’s `grantorId` field. */ - grantorId?: UUIDFilter; - /** Filter by the object’s `isGrant` field. */ - isGrant?: BooleanFilter; - /** Filter by the object’s `positionTitle` field. */ - positionTitle?: StringFilter; - /** Filter by the object’s `positionLevel` field. */ - positionLevel?: IntFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; + /** Filter by the object’s `defaultTableId` field. */ + defaultTableId?: UUIDFilter; + /** Filter by the object’s `defaultTableName` field. */ + defaultTableName?: StringFilter; + /** Filter by the object’s `bitlen` field. */ + bitlen?: IntFilter; + /** Filter by the object’s `membershipType` field. */ + membershipType?: IntFilter; + /** Filter by the object’s `entityTableId` field. */ + entityTableId?: UUIDFilter; + /** Filter by the object’s `actorTableId` field. */ + actorTableId?: UUIDFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Filter by the object’s `getPaddedMask` field. */ + getPaddedMask?: StringFilter; + /** Filter by the object’s `getMask` field. */ + getMask?: StringFilter; + /** Filter by the object’s `getByMask` field. */ + getByMask?: StringFilter; + /** Filter by the object’s `getMaskByName` field. */ + getMaskByName?: StringFilter; /** Checks for all expressions in this list. */ - and?: OrgChartEdgeGrantFilter[]; + and?: PermissionsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgChartEdgeGrantFilter[]; + or?: PermissionsModuleFilter[]; /** Negates the expression. */ - not?: OrgChartEdgeGrantFilter; + not?: PermissionsModuleFilter; + /** Filter by the object’s `actorTable` relation. */ + actorTable?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `defaultTable` relation. */ + defaultTable?: TableFilter; + /** Filter by the object’s `entityTable` relation. */ + entityTable?: TableFilter; + /** A related `entityTable` exists. */ + entityTableExists?: boolean; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `AppLimit` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AppLimitCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `num` field. */ - num?: number; - /** Checks for equality with the object’s `max` field. */ - max?: number; +/** A filter to be used against many `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyPhoneNumbersModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: PhoneNumbersModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: PhoneNumbersModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: PhoneNumbersModuleFilter; } -/** A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ */ -export interface AppLimitFilter { +/** A filter to be used against `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ */ +export interface PhoneNumbersModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `num` field. */ - num?: IntFilter; - /** Filter by the object’s `max` field. */ - max?: IntFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `ownerTableId` field. */ + ownerTableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; /** Checks for all expressions in this list. */ - and?: AppLimitFilter[]; + and?: PhoneNumbersModuleFilter[]; /** Checks for any expressions in this list. */ - or?: AppLimitFilter[]; + or?: PhoneNumbersModuleFilter[]; /** Negates the expression. */ - not?: AppLimitFilter; + not?: PhoneNumbersModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `ownerTable` relation. */ + ownerTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** - * A condition to be used against `OrgLimit` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgLimitCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `num` field. */ - num?: number; - /** Checks for equality with the object’s `max` field. */ - max?: number; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; +/** A filter to be used against many `ProfilesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyProfilesModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: ProfilesModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: ProfilesModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: ProfilesModuleFilter; } -/** A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgLimitFilter { +/** A filter to be used against `ProfilesModule` object types. All fields are combined with a logical ‘and.’ */ +export interface ProfilesModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `num` field. */ - num?: IntFilter; - /** Filter by the object’s `max` field. */ - max?: IntFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; + /** Filter by the object’s `profilePermissionsTableId` field. */ + profilePermissionsTableId?: UUIDFilter; + /** Filter by the object’s `profilePermissionsTableName` field. */ + profilePermissionsTableName?: StringFilter; + /** Filter by the object’s `profileGrantsTableId` field. */ + profileGrantsTableId?: UUIDFilter; + /** Filter by the object’s `profileGrantsTableName` field. */ + profileGrantsTableName?: StringFilter; + /** Filter by the object’s `profileDefinitionGrantsTableId` field. */ + profileDefinitionGrantsTableId?: UUIDFilter; + /** Filter by the object’s `profileDefinitionGrantsTableName` field. */ + profileDefinitionGrantsTableName?: StringFilter; + /** Filter by the object’s `membershipType` field. */ + membershipType?: IntFilter; + /** Filter by the object’s `entityTableId` field. */ + entityTableId?: UUIDFilter; + /** Filter by the object’s `actorTableId` field. */ + actorTableId?: UUIDFilter; + /** Filter by the object’s `permissionsTableId` field. */ + permissionsTableId?: UUIDFilter; + /** Filter by the object’s `membershipsTableId` field. */ + membershipsTableId?: UUIDFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; /** Checks for all expressions in this list. */ - and?: OrgLimitFilter[]; + and?: ProfilesModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgLimitFilter[]; + or?: ProfilesModuleFilter[]; /** Negates the expression. */ - not?: OrgLimitFilter; -} -/** A condition to be used against `AppStep` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface AppStepCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `count` field. */ - count?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: ProfilesModuleFilter; + /** Filter by the object’s `actorTable` relation. */ + actorTable?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `entityTable` relation. */ + entityTable?: TableFilter; + /** A related `entityTable` exists. */ + entityTableExists?: boolean; + /** Filter by the object’s `membershipsTable` relation. */ + membershipsTable?: TableFilter; + /** Filter by the object’s `permissionsTable` relation. */ + permissionsTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `profileDefinitionGrantsTable` relation. */ + profileDefinitionGrantsTable?: TableFilter; + /** Filter by the object’s `profileGrantsTable` relation. */ + profileGrantsTable?: TableFilter; + /** Filter by the object’s `profilePermissionsTable` relation. */ + profilePermissionsTable?: TableFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ */ -export interface AppStepFilter { +/** A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface RlsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `count` field. */ - count?: IntFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `sessionCredentialsTableId` field. */ + sessionCredentialsTableId?: UUIDFilter; + /** Filter by the object’s `sessionsTableId` field. */ + sessionsTableId?: UUIDFilter; + /** Filter by the object’s `usersTableId` field. */ + usersTableId?: UUIDFilter; + /** Filter by the object’s `authenticate` field. */ + authenticate?: StringFilter; + /** Filter by the object’s `authenticateStrict` field. */ + authenticateStrict?: StringFilter; + /** Filter by the object’s `currentRole` field. */ + currentRole?: StringFilter; + /** Filter by the object’s `currentRoleId` field. */ + currentRoleId?: StringFilter; /** Checks for all expressions in this list. */ - and?: AppStepFilter[]; + and?: RlsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: AppStepFilter[]; + or?: RlsModuleFilter[]; /** Negates the expression. */ - not?: AppStepFilter; -} -/** - * A condition to be used against `AppAchievement` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppAchievementCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `count` field. */ - count?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + not?: RlsModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** Filter by the object’s `sessionCredentialsTable` relation. */ + sessionCredentialsTable?: TableFilter; + /** Filter by the object’s `sessionsTable` relation. */ + sessionsTable?: TableFilter; + /** 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; } -/** A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ */ -export interface AppAchievementFilter { +/** A filter to be used against many `SecretsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySecretsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SecretsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: SecretsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: SecretsModuleFilter; +} +/** A filter to be used against `SecretsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface SecretsModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `count` field. */ - count?: IntFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; /** Checks for all expressions in this list. */ - and?: AppAchievementFilter[]; + and?: SecretsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: AppAchievementFilter[]; + or?: SecretsModuleFilter[]; /** Negates the expression. */ - not?: AppAchievementFilter; + not?: SecretsModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; } -/** A condition to be used against `Invite` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface InviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `email` field. */ - email?: ConstructiveInternalTypeEmail; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `inviteToken` field. */ - inviteToken?: string; - /** Checks for equality with the object’s `inviteValid` field. */ - inviteValid?: boolean; - /** Checks for equality with the object’s `inviteLimit` field. */ - inviteLimit?: number; - /** Checks for equality with the object’s `inviteCount` field. */ - inviteCount?: number; - /** Checks for equality with the object’s `multiple` field. */ - multiple?: boolean; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `expiresAt` field. */ - expiresAt?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `SessionsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySessionsModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SessionsModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: SessionsModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: SessionsModuleFilter; } -/** A filter to be used against `Invite` object types. All fields are combined with a logical ‘and.’ */ -export interface InviteFilter { +/** A filter to be used against `SessionsModule` object types. All fields are combined with a logical ‘and.’ */ +export interface SessionsModuleFilter { /** 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; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `sessionsTableId` field. */ + sessionsTableId?: UUIDFilter; + /** Filter by the object’s `sessionCredentialsTableId` field. */ + sessionCredentialsTableId?: UUIDFilter; + /** Filter by the object’s `authSettingsTableId` field. */ + authSettingsTableId?: UUIDFilter; + /** Filter by the object’s `usersTableId` field. */ + usersTableId?: UUIDFilter; + /** Filter by the object’s `sessionsDefaultExpiration` field. */ + sessionsDefaultExpiration?: IntervalFilter; + /** Filter by the object’s `sessionsTable` field. */ + sessionsTable?: StringFilter; + /** Filter by the object’s `sessionCredentialsTable` field. */ + sessionCredentialsTable?: StringFilter; + /** Filter by the object’s `authSettingsTable` field. */ + authSettingsTable?: StringFilter; /** Checks for all expressions in this list. */ - and?: InviteFilter[]; + and?: SessionsModuleFilter[]; /** Checks for any expressions in this list. */ - or?: InviteFilter[]; + or?: SessionsModuleFilter[]; /** Negates the expression. */ - not?: InviteFilter; + not?: SessionsModuleFilter; + /** Filter by the object’s `authSettingsTableByAuthSettingsTableId` relation. */ + authSettingsTableByAuthSettingsTableId?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** Filter by the object’s `sessionCredentialsTableBySessionCredentialsTableId` relation. */ + sessionCredentialsTableBySessionCredentialsTableId?: TableFilter; + /** Filter by the object’s `sessionsTableBySessionsTableId` relation. */ + sessionsTableBySessionsTableId?: TableFilter; + /** 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; } -/** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */ -export interface ConstructiveInternalTypeEmailFilter { +/** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */ +export interface IntervalFilter { /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Equal to the specified value. */ - equalTo?: string; + equalTo?: IntervalInput; /** Not equal to the specified value. */ - notEqualTo?: string; + notEqualTo?: IntervalInput; /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: string; + distinctFrom?: IntervalInput; /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: string; + notDistinctFrom?: IntervalInput; /** Included in the specified list. */ - in?: string[]; + in?: IntervalInput[]; /** Not included in the specified list. */ - notIn?: string[]; + notIn?: IntervalInput[]; /** Less than the specified value. */ - lessThan?: string; + lessThan?: IntervalInput; /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: string; + lessThanOrEqualTo?: IntervalInput; /** Greater than the specified value. */ - greaterThan?: string; + greaterThan?: IntervalInput; /** 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?: ConstructiveInternalTypeEmail; - /** Does not contain the specified string (case-insensitive). */ - notIncludesInsensitive?: ConstructiveInternalTypeEmail; - /** 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?: ConstructiveInternalTypeEmail; - /** Does not start with the specified string (case-insensitive). */ - notStartsWithInsensitive?: ConstructiveInternalTypeEmail; - /** 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?: ConstructiveInternalTypeEmail; - /** Does not end with the specified string (case-insensitive). */ - 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. */ - 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?: 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?: ConstructiveInternalTypeEmail; - /** Equal to the specified value (case-insensitive). */ - equalToInsensitive?: ConstructiveInternalTypeEmail; - /** Not equal to the specified value (case-insensitive). */ - notEqualToInsensitive?: ConstructiveInternalTypeEmail; - /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ - distinctFromInsensitive?: ConstructiveInternalTypeEmail; - /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ - notDistinctFromInsensitive?: ConstructiveInternalTypeEmail; - /** Included in the specified list (case-insensitive). */ - inInsensitive?: ConstructiveInternalTypeEmail[]; - /** Not included in the specified list (case-insensitive). */ - notInInsensitive?: ConstructiveInternalTypeEmail[]; - /** Less than the specified value (case-insensitive). */ - lessThanInsensitive?: ConstructiveInternalTypeEmail; - /** Less than or equal to the specified value (case-insensitive). */ - lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; - /** Greater than the specified value (case-insensitive). */ - greaterThanInsensitive?: ConstructiveInternalTypeEmail; - /** Greater than or equal to the specified value (case-insensitive). */ - greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; + greaterThanOrEqualTo?: IntervalInput; +} +/** An interval of time that has passed where the smallest distinct unit is a second. */ +export interface IntervalInput { + /** + * A quantity of seconds. This is the only non-integer field, as all the other + * fields will dump their overflow into a smaller unit of time. Intervals don’t + * have a smaller unit than seconds. + */ + seconds?: number; + /** A quantity of minutes. */ + minutes?: number; + /** A quantity of hours. */ + hours?: number; + /** A quantity of days. */ + days?: number; + /** A quantity of months. */ + months?: number; + /** A quantity of years. */ + years?: number; +} +/** A filter to be used against many `UserAuthModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyUserAuthModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: UserAuthModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: UserAuthModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: UserAuthModuleFilter; +} +/** A filter to be used against `UserAuthModule` object types. All fields are combined with a logical ‘and.’ */ +export interface UserAuthModuleFilter { + /** 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 `emailsTableId` field. */ + emailsTableId?: UUIDFilter; + /** Filter by the object’s `usersTableId` field. */ + usersTableId?: UUIDFilter; + /** Filter by the object’s `secretsTableId` field. */ + secretsTableId?: UUIDFilter; + /** Filter by the object’s `encryptedTableId` field. */ + encryptedTableId?: UUIDFilter; + /** Filter by the object’s `sessionsTableId` field. */ + sessionsTableId?: UUIDFilter; + /** Filter by the object’s `sessionCredentialsTableId` field. */ + sessionCredentialsTableId?: UUIDFilter; + /** Filter by the object’s `auditsTableId` field. */ + auditsTableId?: UUIDFilter; + /** Filter by the object’s `auditsTableName` field. */ + auditsTableName?: StringFilter; + /** Filter by the object’s `signInFunction` field. */ + signInFunction?: StringFilter; + /** Filter by the object’s `signUpFunction` field. */ + signUpFunction?: StringFilter; + /** Filter by the object’s `signOutFunction` field. */ + signOutFunction?: StringFilter; + /** Filter by the object’s `setPasswordFunction` field. */ + setPasswordFunction?: StringFilter; + /** Filter by the object’s `resetPasswordFunction` field. */ + resetPasswordFunction?: StringFilter; + /** Filter by the object’s `forgotPasswordFunction` field. */ + forgotPasswordFunction?: StringFilter; + /** Filter by the object’s `sendVerificationEmailFunction` field. */ + sendVerificationEmailFunction?: StringFilter; + /** Filter by the object’s `verifyEmailFunction` field. */ + verifyEmailFunction?: StringFilter; + /** Filter by the object’s `verifyPasswordFunction` field. */ + verifyPasswordFunction?: StringFilter; + /** Filter by the object’s `checkPasswordFunction` field. */ + checkPasswordFunction?: StringFilter; + /** Filter by the object’s `sendAccountDeletionEmailFunction` field. */ + sendAccountDeletionEmailFunction?: StringFilter; + /** Filter by the object’s `deleteAccountFunction` field. */ + deleteAccountFunction?: StringFilter; + /** Filter by the object’s `signInOneTimeTokenFunction` field. */ + signInOneTimeTokenFunction?: StringFilter; + /** Filter by the object’s `oneTimeTokenFunction` field. */ + oneTimeTokenFunction?: StringFilter; + /** Filter by the object’s `extendTokenExpires` field. */ + extendTokenExpires?: StringFilter; + /** Checks for all expressions in this list. */ + and?: UserAuthModuleFilter[]; + /** Checks for any expressions in this list. */ + or?: UserAuthModuleFilter[]; + /** Negates the expression. */ + not?: UserAuthModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `emailsTable` relation. */ + emailsTable?: TableFilter; + /** Filter by the object’s `encryptedTable` relation. */ + encryptedTable?: TableFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** Filter by the object’s `secretsTable` relation. */ + secretsTable?: TableFilter; + /** Filter by the object’s `sessionCredentialsTable` relation. */ + sessionCredentialsTable?: TableFilter; + /** Filter by the object’s `sessionsTable` relation. */ + sessionsTable?: TableFilter; + /** 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; } -/** - * A condition to be used against `ClaimedInvite` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface ClaimedInviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `receiverId` field. */ - receiverId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; +/** A filter to be used against many `UsersModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyUsersModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: UsersModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: UsersModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: UsersModuleFilter; } -/** A filter to be used against `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ -export interface ClaimedInviteFilter { +/** A filter to be used against `UsersModule` object types. All fields are combined with a logical ‘and.’ */ +export interface UsersModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `senderId` field. */ - senderId?: UUIDFilter; - /** Filter by the object’s `receiverId` field. */ - receiverId?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `schemaId` field. */ + schemaId?: UUIDFilter; + /** Filter by the object’s `tableId` field. */ + tableId?: UUIDFilter; + /** Filter by the object’s `tableName` field. */ + tableName?: StringFilter; + /** Filter by the object’s `typeTableId` field. */ + typeTableId?: UUIDFilter; + /** Filter by the object’s `typeTableName` field. */ + typeTableName?: StringFilter; /** Checks for all expressions in this list. */ - and?: ClaimedInviteFilter[]; + and?: UsersModuleFilter[]; /** Checks for any expressions in this list. */ - or?: ClaimedInviteFilter[]; + or?: UsersModuleFilter[]; /** Negates the expression. */ - not?: ClaimedInviteFilter; + not?: UsersModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** Filter by the object’s `table` relation. */ + table?: TableFilter; + /** 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 condition to be used against `OrgInvite` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface OrgInviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `email` field. */ - email?: ConstructiveInternalTypeEmail; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `receiverId` field. */ - receiverId?: string; - /** Checks for equality with the object’s `inviteToken` field. */ - inviteToken?: string; - /** Checks for equality with the object’s `inviteValid` field. */ - inviteValid?: boolean; - /** Checks for equality with the object’s `inviteLimit` field. */ - inviteLimit?: number; - /** Checks for equality with the object’s `inviteCount` field. */ - inviteCount?: number; - /** Checks for equality with the object’s `multiple` field. */ - multiple?: boolean; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `expiresAt` field. */ - expiresAt?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; +/** A filter to be used against many `UuidModule` object types. All fields are combined with a logical ‘and.’ */ +export interface 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 `OrgInvite` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgInviteFilter { +/** A filter to be used against `UuidModule` object types. All fields are combined with a logical ‘and.’ */ +export interface UuidModuleFilter { /** 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 `receiverId` field. */ - receiverId?: 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 `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; +} +/** A filter to be used against `HierarchyModule` object types. All fields are combined with a logical ‘and.’ */ +export interface HierarchyModuleFilter { + /** 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 `privateSchemaId` field. */ + privateSchemaId?: UUIDFilter; + /** Filter by the object’s `chartEdgesTableId` field. */ + chartEdgesTableId?: UUIDFilter; + /** Filter by the object’s `chartEdgesTableName` field. */ + chartEdgesTableName?: StringFilter; + /** Filter by the object’s `hierarchySprtTableId` field. */ + hierarchySprtTableId?: UUIDFilter; + /** Filter by the object’s `hierarchySprtTableName` field. */ + hierarchySprtTableName?: StringFilter; + /** Filter by the object’s `chartEdgeGrantsTableId` field. */ + chartEdgeGrantsTableId?: UUIDFilter; + /** Filter by the object’s `chartEdgeGrantsTableName` field. */ + chartEdgeGrantsTableName?: StringFilter; + /** Filter by the object’s `entityTableId` field. */ + entityTableId?: UUIDFilter; + /** Filter by the object’s `usersTableId` field. */ + usersTableId?: UUIDFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Filter by the object’s `privateSchemaName` field. */ + privateSchemaName?: StringFilter; + /** Filter by the object’s `sprtTableName` field. */ + sprtTableName?: StringFilter; + /** Filter by the object’s `rebuildHierarchyFunction` field. */ + rebuildHierarchyFunction?: StringFilter; + /** Filter by the object’s `getSubordinatesFunction` field. */ + getSubordinatesFunction?: StringFilter; + /** Filter by the object’s `getManagersFunction` field. */ + getManagersFunction?: StringFilter; + /** Filter by the object’s `isManagerOfFunction` field. */ + isManagerOfFunction?: StringFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: OrgInviteFilter[]; + and?: HierarchyModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgInviteFilter[]; + or?: HierarchyModuleFilter[]; /** Negates the expression. */ - not?: OrgInviteFilter; -} -/** - * A condition to be used against `OrgClaimedInvite` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgClaimedInviteCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `senderId` field. */ - senderId?: string; - /** Checks for equality with the object’s `receiverId` field. */ - receiverId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; + not?: HierarchyModuleFilter; + /** Filter by the object’s `chartEdgeGrantsTable` relation. */ + chartEdgeGrantsTable?: TableFilter; + /** Filter by the object’s `chartEdgesTable` relation. */ + chartEdgesTable?: TableFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** Filter by the object’s `entityTable` relation. */ + entityTable?: TableFilter; + /** Filter by the object’s `hierarchySprtTable` relation. */ + hierarchySprtTable?: TableFilter; + /** Filter by the object’s `privateSchema` relation. */ + privateSchema?: SchemaFilter; + /** Filter by the object’s `schema` relation. */ + schema?: SchemaFilter; + /** 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; +} +/** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyTableTemplateModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: TableTemplateModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: TableTemplateModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: TableTemplateModuleFilter; +} +/** A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManySecureTableProvisionFilter { + /** Filters to entities where at least one related entity matches. */ + some?: SecureTableProvisionFilter; + /** Filters to entities where every related entity matches. */ + every?: SecureTableProvisionFilter; + /** Filters to entities where no related entity matches. */ + none?: SecureTableProvisionFilter; +} +/** A filter to be used against many `RelationProvision` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyRelationProvisionFilter { + /** Filters to entities where at least one related entity matches. */ + some?: RelationProvisionFilter; + /** Filters to entities where every related entity matches. */ + every?: RelationProvisionFilter; + /** Filters to entities where no related entity matches. */ + none?: RelationProvisionFilter; +} +/** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseToManyDatabaseProvisionModuleFilter { + /** Filters to entities where at least one related entity matches. */ + some?: DatabaseProvisionModuleFilter; + /** Filters to entities where every related entity matches. */ + every?: DatabaseProvisionModuleFilter; + /** Filters to entities where no related entity matches. */ + none?: DatabaseProvisionModuleFilter; } -/** A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgClaimedInviteFilter { +/** A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */ +export interface DatabaseProvisionModuleFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `senderId` field. */ - senderId?: UUIDFilter; - /** Filter by the object’s `receiverId` field. */ - receiverId?: UUIDFilter; + /** Filter by the object’s `databaseName` field. */ + databaseName?: StringFilter; + /** Filter by the object’s `ownerId` field. */ + ownerId?: UUIDFilter; + /** Filter by the object’s `subdomain` field. */ + subdomain?: StringFilter; + /** Filter by the object’s `domain` field. */ + domain?: StringFilter; + /** Filter by the object’s `modules` field. */ + modules?: StringListFilter; + /** Filter by the object’s `options` field. */ + options?: JSONFilter; + /** Filter by the object’s `bootstrapUser` field. */ + bootstrapUser?: BooleanFilter; + /** Filter by the object’s `status` field. */ + status?: StringFilter; + /** Filter by the object’s `errorMessage` field. */ + errorMessage?: StringFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; + /** Filter by the object’s `completedAt` field. */ + completedAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: OrgClaimedInviteFilter[]; + and?: DatabaseProvisionModuleFilter[]; /** Checks for any expressions in this list. */ - or?: OrgClaimedInviteFilter[]; + or?: DatabaseProvisionModuleFilter[]; /** Negates the expression. */ - not?: OrgClaimedInviteFilter; -} -/** A condition to be used against `Ref` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface RefCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `storeId` field. */ - storeId?: string; - /** Checks for equality with the object’s `commitId` field. */ - commitId?: string; + not?: DatabaseProvisionModuleFilter; + /** Filter by the object’s `database` relation. */ + database?: DatabaseFilter; + /** 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; } /** A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ */ export interface RefFilter { @@ -6078,19 +7615,15 @@ export interface RefFilter { or?: RefFilter[]; /** Negates the expression. */ not?: RefFilter; -} -/** A condition to be used against `Store` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface StoreCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `hash` field. */ - hash?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; + /** 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; } /** A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ */ export interface StoreFilter { @@ -6110,16 +7643,15 @@ export interface StoreFilter { or?: StoreFilter[]; /** Negates the expression. */ not?: StoreFilter; -} -/** - * A condition to be used against `AppPermissionDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface AppPermissionDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; + /** 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; } /** A filter to be used against `AppPermissionDefault` object types. All fields are combined with a logical ‘and.’ */ export interface AppPermissionDefaultFilter { @@ -6134,40 +7666,39 @@ export interface AppPermissionDefaultFilter { /** Negates the expression. */ not?: AppPermissionDefaultFilter; } -/** - * A condition to be used against `RoleType` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface RoleTypeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: number; - /** Checks for equality with the object’s `name` field. */ - name?: string; -} -/** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */ -export interface RoleTypeFilter { +/** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */ +export interface CryptoAddressFilter { /** Filter by the object’s `id` field. */ - id?: IntFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Checks for all expressions in this list. */ - and?: RoleTypeFilter[]; - /** Checks for any expressions in this list. */ - or?: RoleTypeFilter[]; - /** Negates the expression. */ - not?: RoleTypeFilter; -} -/** - * A condition to be used against `OrgPermissionDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface OrgPermissionDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; + 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; } /** A filter to be used against `OrgPermissionDefault` object types. All fields are combined with a logical ‘and.’ */ export interface OrgPermissionDefaultFilter { @@ -6183,35 +7714,19 @@ export interface OrgPermissionDefaultFilter { or?: OrgPermissionDefaultFilter[]; /** Negates the expression. */ not?: OrgPermissionDefaultFilter; + /** Filter by the object’s `entity` relation. */ + entity?: UserFilter; } -/** - * A condition to be used against `CryptoAddress` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface CryptoAddressCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `address` field. */ - address?: string; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isPrimary` field. */ - isPrimary?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} -/** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */ -export interface CryptoAddressFilter { +/** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */ +export interface PhoneNumberFilter { /** 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 `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. */ @@ -6221,23 +7736,24 @@ export interface CryptoAddressFilter { /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: CryptoAddressFilter[]; + and?: PhoneNumberFilter[]; /** Checks for any expressions in this list. */ - or?: CryptoAddressFilter[]; + or?: PhoneNumberFilter[]; /** Negates the expression. */ - not?: CryptoAddressFilter; -} -/** - * A condition to be used against `AppLimitDefault` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppLimitDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `max` field. */ - max?: number; + 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; } /** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitDefaultFilter { @@ -6254,18 +7770,6 @@ export interface AppLimitDefaultFilter { /** Negates the expression. */ not?: AppLimitDefaultFilter; } -/** - * A condition to be used against `OrgLimitDefault` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgLimitDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `max` field. */ - max?: number; -} /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */ export interface OrgLimitDefaultFilter { /** Filter by the object’s `id` field. */ @@ -6281,28 +7785,6 @@ export interface OrgLimitDefaultFilter { /** Negates the expression. */ not?: OrgLimitDefaultFilter; } -/** - * A condition to be used against `ConnectedAccount` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface ConnectedAccountCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `service` field. */ - service?: string; - /** Checks for equality with the object’s `identifier` field. */ - identifier?: string; - /** Checks for equality with the object’s `details` field. */ - details?: unknown; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */ export interface ConnectedAccountFilter { /** Filter by the object’s `id` field. */ @@ -6327,108 +7809,19 @@ export interface ConnectedAccountFilter { or?: ConnectedAccountFilter[]; /** Negates the expression. */ not?: ConnectedAccountFilter; -} -/** - * A condition to be used against `PhoneNumber` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface PhoneNumberCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `cc` field. */ - cc?: string; - /** Checks for equality with the object’s `number` field. */ - number?: string; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isPrimary` field. */ - isPrimary?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} -/** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */ -export interface 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; -} -/** - * A condition to be used against `MembershipType` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface MembershipTypeCondition { - /** Checks for equality with the object’s `id` field. */ - id?: number; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; -} -/** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */ -export interface MembershipTypeFilter { - /** Filter by the object’s `id` field. */ - id?: IntFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `description` field. */ - description?: StringFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Checks for all expressions in this list. */ - and?: MembershipTypeFilter[]; - /** Checks for any expressions in this list. */ - or?: MembershipTypeFilter[]; - /** Negates the expression. */ - not?: MembershipTypeFilter; -} -/** - * A condition to be used against `NodeTypeRegistry` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface NodeTypeRegistryCondition { - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `slug` field. */ - slug?: string; - /** Checks for equality with the object’s `category` field. */ - category?: string; - /** Checks for equality with the object’s `displayName` field. */ - displayName?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `parameterSchema` field. */ - parameterSchema?: unknown; - /** Checks for equality with the object’s `tags` field. */ - tags?: string[]; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + /** 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; } /** A filter to be used against `NodeTypeRegistry` object types. All fields are combined with a logical ‘and.’ */ export interface NodeTypeRegistryFilter { @@ -6456,22 +7849,51 @@ export interface NodeTypeRegistryFilter { or?: 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; } -/** - * A condition to be used against `AppPermission` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppPermissionCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `bitnum` field. */ - bitnum?: number; - /** Checks for equality with the object’s `bitstr` field. */ - bitstr?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; +/** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */ +export interface MembershipTypeFilter { + /** Filter by the object’s `id` field. */ + id?: IntFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `description` field. */ + description?: StringFilter; + /** Filter by the object’s `prefix` field. */ + prefix?: StringFilter; + /** Checks for all expressions in this list. */ + and?: MembershipTypeFilter[]; + /** Checks for any expressions in this list. */ + or?: 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; } /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */ export interface AppPermissionFilter { @@ -6491,22 +7913,15 @@ export interface AppPermissionFilter { or?: AppPermissionFilter[]; /** Negates the expression. */ not?: AppPermissionFilter; -} -/** - * A condition to be used against `OrgPermission` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface OrgPermissionCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `bitnum` field. */ - bitnum?: number; - /** Checks for equality with the object’s `bitstr` field. */ - bitstr?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; + /** 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; } /** A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ */ export interface OrgPermissionFilter { @@ -6526,26 +7941,15 @@ export interface OrgPermissionFilter { or?: OrgPermissionFilter[]; /** Negates the expression. */ not?: OrgPermissionFilter; -} -/** - * A condition to be used against `AppMembershipDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface AppMembershipDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: 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; } /** A filter to be used against `AppMembershipDefault` object types. All fields are combined with a logical ‘and.’ */ export interface AppMembershipDefaultFilter { @@ -6570,23 +7974,6 @@ export interface AppMembershipDefaultFilter { /** Negates the expression. */ not?: AppMembershipDefaultFilter; } -/** A condition to be used against `Object` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface ObjectCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `kids` field. */ - kids?: string[]; - /** Checks for equality with the object’s `ktree` field. */ - ktree?: string[]; - /** Checks for equality with the object’s `data` field. */ - data?: unknown; - /** Checks for equality with the object’s `frzn` field. */ - frzn?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; -} /** A filter to be used against `Object` object types. All fields are combined with a logical ‘and.’ */ export interface ObjectFilter { /** Filter by the object’s `id` field. */ @@ -6610,126 +7997,41 @@ export interface ObjectFilter { /** Negates the expression. */ not?: ObjectFilter; } -/** A condition to be used against `Commit` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface CommitCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `message` field. */ - message?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `storeId` field. */ - storeId?: string; - /** Checks for equality with the object’s `parentIds` field. */ - parentIds?: string[]; - /** Checks for equality with the object’s `authorId` field. */ - authorId?: string; - /** Checks for equality with the object’s `committerId` field. */ - committerId?: string; - /** Checks for equality with the object’s `treeId` field. */ - treeId?: string; - /** Checks for equality with the object’s `date` field. */ - date?: string; -} /** A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ */ export interface CommitFilter { /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `message` field. */ - message?: StringFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `storeId` field. */ - storeId?: UUIDFilter; - /** Filter by the object’s `parentIds` field. */ - parentIds?: UUIDListFilter; - /** Filter by the object’s `authorId` field. */ - authorId?: UUIDFilter; - /** Filter by the object’s `committerId` field. */ - committerId?: UUIDFilter; - /** Filter by the object’s `treeId` field. */ - treeId?: UUIDFilter; - /** Filter by the object’s `date` field. */ - date?: DatetimeFilter; - /** Checks for all expressions in this list. */ - and?: CommitFilter[]; - /** Checks for any expressions in this list. */ - or?: CommitFilter[]; - /** Negates the expression. */ - not?: CommitFilter; -} -/** - * A condition to be used against `OrgMembershipDefault` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface OrgMembershipDefaultCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `entityId` field. */ - entityId?: string; - /** Checks for equality with the object’s `deleteMemberCascadeGroups` field. */ - deleteMemberCascadeGroups?: boolean; - /** Checks for equality with the object’s `createGroupsCascadeMembers` field. */ - createGroupsCascadeMembers?: boolean; -} -/** A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ */ -export interface OrgMembershipDefaultFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; - /** Filter by the object’s `createdBy` field. */ - createdBy?: UUIDFilter; - /** Filter by the object’s `updatedBy` field. */ - updatedBy?: UUIDFilter; - /** Filter by the object’s `isApproved` field. */ - isApproved?: BooleanFilter; - /** Filter by the object’s `entityId` field. */ - entityId?: UUIDFilter; - /** Filter by the object’s `deleteMemberCascadeGroups` field. */ - deleteMemberCascadeGroups?: BooleanFilter; - /** Filter by the object’s `createGroupsCascadeMembers` field. */ - createGroupsCascadeMembers?: BooleanFilter; + id?: UUIDFilter; + /** Filter by the object’s `message` field. */ + message?: StringFilter; + /** Filter by the object’s `databaseId` field. */ + databaseId?: UUIDFilter; + /** Filter by the object’s `storeId` field. */ + storeId?: UUIDFilter; + /** Filter by the object’s `parentIds` field. */ + parentIds?: UUIDListFilter; + /** Filter by the object’s `authorId` field. */ + authorId?: UUIDFilter; + /** Filter by the object’s `committerId` field. */ + committerId?: UUIDFilter; + /** Filter by the object’s `treeId` field. */ + treeId?: UUIDFilter; + /** Filter by the object’s `date` field. */ + date?: DatetimeFilter; /** Checks for all expressions in this list. */ - and?: OrgMembershipDefaultFilter[]; + and?: CommitFilter[]; /** Checks for any expressions in this list. */ - or?: OrgMembershipDefaultFilter[]; + or?: CommitFilter[]; /** Negates the expression. */ - not?: OrgMembershipDefaultFilter; -} -/** - * A condition to be used against `AppLevelRequirement` object types. All fields - * are tested for equality and combined with a logical ‘and.’ - */ -export interface AppLevelRequirementCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `level` field. */ - level?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `requiredCount` field. */ - requiredCount?: number; - /** Checks for equality with the object’s `priority` field. */ - priority?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; + 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; } /** A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ */ export interface AppLevelRequirementFilter { @@ -6755,28 +8057,15 @@ export interface AppLevelRequirementFilter { or?: AppLevelRequirementFilter[]; /** Negates the expression. */ not?: AppLevelRequirementFilter; -} -/** - * A condition to be used against `AuditLog` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AuditLogCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `event` field. */ - event?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `origin` field. */ - origin?: ConstructiveInternalTypeOrigin; - /** Checks for equality with the object’s `userAgent` field. */ - userAgent?: string; - /** Checks for equality with the object’s `ipAddress` field. */ - ipAddress?: string; - /** Checks for equality with the object’s `success` field. */ - success?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; + /** 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; } /** A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ */ export interface AuditLogFilter { @@ -6802,6 +8091,17 @@ export interface AuditLogFilter { 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.’ */ export interface ConstructiveInternalTypeOriginFilter { @@ -6880,26 +8180,6 @@ export interface ConstructiveInternalTypeOriginFilter { /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: string; } -/** - * A condition to be used against `AppLevel` object types. All fields are tested - * for equality and combined with a logical ‘and.’ - */ -export interface AppLevelCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `description` field. */ - description?: string; - /** Checks for equality with the object’s `image` field. */ - image?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} /** A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ */ export interface AppLevelFilter { /** Filter by the object’s `id` field. */ @@ -6922,78 +8202,19 @@ export interface AppLevelFilter { or?: AppLevelFilter[]; /** Negates the expression. */ not?: AppLevelFilter; -} -/** A condition to be used against `Email` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface EmailCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `ownerId` field. */ - ownerId?: string; - /** Checks for equality with the object’s `email` field. */ - email?: ConstructiveInternalTypeEmail; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isPrimary` field. */ - isPrimary?: boolean; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; -} -/** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */ -export interface 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; -} -/** - * A condition to be used against `SqlMigration` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface SqlMigrationCondition { - /** Checks for equality with the object’s `id` field. */ - id?: number; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `deploy` field. */ - deploy?: string; - /** Checks for equality with the object’s `deps` field. */ - deps?: string[]; - /** Checks for equality with the object’s `payload` field. */ - payload?: unknown; - /** Checks for equality with the object’s `content` field. */ - content?: string; - /** Checks for equality with the object’s `revert` field. */ - revert?: string; - /** Checks for equality with the object’s `verify` field. */ - verify?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `action` field. */ - action?: string; - /** Checks for equality with the object’s `actionId` field. */ - actionId?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; + /** 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; } /** A filter to be used against `SqlMigration` object types. All fields are combined with a logical ‘and.’ */ export interface SqlMigrationFilter { @@ -7027,293 +8248,94 @@ export interface SqlMigrationFilter { or?: 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; } -/** - * A condition to be used against `AstMigration` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AstMigrationCondition { - /** Checks for equality with the object’s `id` field. */ - id?: number; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `name` field. */ - name?: string; - /** Checks for equality with the object’s `requires` field. */ - requires?: string[]; - /** Checks for equality with the object’s `payload` field. */ - payload?: unknown; - /** Checks for equality with the object’s `deploys` field. */ - deploys?: string; - /** Checks for equality with the object’s `deploy` field. */ - deploy?: unknown; - /** Checks for equality with the object’s `revert` field. */ - revert?: unknown; - /** Checks for equality with the object’s `verify` field. */ - verify?: unknown; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `action` field. */ - action?: string; - /** Checks for equality with the object’s `actionId` field. */ - actionId?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; -} -/** A filter to be used against `AstMigration` object types. All fields are combined with a logical ‘and.’ */ -export interface AstMigrationFilter { - /** Filter by the object’s `id` field. */ - id?: IntFilter; - /** Filter by the object’s `databaseId` field. */ - databaseId?: UUIDFilter; - /** Filter by the object’s `name` field. */ - name?: StringFilter; - /** Filter by the object’s `requires` field. */ - requires?: StringListFilter; - /** Filter by the object’s `payload` field. */ - payload?: JSONFilter; - /** Filter by the object’s `deploys` field. */ - deploys?: StringFilter; - /** Filter by the object’s `deploy` field. */ - deploy?: JSONFilter; - /** Filter by the object’s `revert` field. */ - revert?: JSONFilter; - /** Filter by the object’s `verify` field. */ - verify?: JSONFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `action` field. */ - action?: StringFilter; - /** Filter by the object’s `actionId` field. */ - actionId?: UUIDFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Checks for all expressions in this list. */ - and?: AstMigrationFilter[]; - /** Checks for any expressions in this list. */ - or?: AstMigrationFilter[]; - /** Negates the expression. */ - not?: AstMigrationFilter; -} -/** A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ */ -export interface UserCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `username` field. */ - username?: string; - /** Checks for equality with the object’s `displayName` field. */ - displayName?: string; - /** Checks for equality with the object’s `profilePicture` field. */ - profilePicture?: ConstructiveInternalTypeImage; - /** Checks for equality with the object’s `searchTsv` field. */ - searchTsv?: string; - /** Checks for equality with the object’s `type` field. */ - type?: number; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Full-text search on the `search_tsv` tsvector column using `websearch_to_tsquery`. */ - fullTextSearchTsv?: string; -} -/** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */ -export interface UserFilter { - /** Filter by the object’s `id` field. */ - id?: UUIDFilter; - /** Filter by the object’s `username` field. */ - username?: StringFilter; - /** Filter by the object’s `displayName` field. */ - displayName?: StringFilter; - /** Filter by the object’s `profilePicture` field. */ - profilePicture?: ConstructiveInternalTypeImageFilter; - /** Filter by the object’s `searchTsv` field. */ - searchTsv?: FullTextFilter; - /** Filter by the object’s `type` field. */ - type?: IntFilter; - /** 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?: UserFilter[]; - /** Checks for any expressions in this list. */ - or?: UserFilter[]; - /** Negates the expression. */ - not?: UserFilter; -} -/** - * A condition to be used against `AppMembership` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface AppMembershipCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; - /** Checks for equality with the object’s `updatedAt` field. */ - updatedAt?: string; - /** Checks for equality with the object’s `createdBy` field. */ - createdBy?: string; - /** Checks for equality with the object’s `updatedBy` field. */ - updatedBy?: string; - /** Checks for equality with the object’s `isApproved` field. */ - isApproved?: boolean; - /** Checks for equality with the object’s `isBanned` field. */ - isBanned?: boolean; - /** Checks for equality with the object’s `isDisabled` field. */ - isDisabled?: boolean; - /** Checks for equality with the object’s `isVerified` field. */ - isVerified?: boolean; - /** Checks for equality with the object’s `isActive` field. */ - isActive?: boolean; - /** Checks for equality with the object’s `isOwner` field. */ - isOwner?: boolean; - /** Checks for equality with the object’s `isAdmin` field. */ - isAdmin?: boolean; - /** Checks for equality with the object’s `permissions` field. */ - permissions?: string; - /** Checks for equality with the object’s `granted` field. */ - granted?: string; - /** Checks for equality with the object’s `actorId` field. */ - actorId?: string; - /** Checks for equality with the object’s `profileId` field. */ - profileId?: string; -} -/** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */ -export interface AppMembershipFilter { +/** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */ +export interface EmailFilter { /** Filter by the object’s `id` field. */ id?: UUIDFilter; - /** Filter by the object’s `createdAt` field. */ - createdAt?: DatetimeFilter; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: DatetimeFilter; - /** Filter by the object’s `createdBy` field. */ - createdBy?: UUIDFilter; - /** Filter by the object’s `updatedBy` field. */ - updatedBy?: UUIDFilter; - /** Filter by the object’s `isApproved` field. */ - isApproved?: BooleanFilter; - /** Filter by the object’s `isBanned` field. */ - isBanned?: BooleanFilter; - /** Filter by the object’s `isDisabled` field. */ - isDisabled?: BooleanFilter; + /** 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 `isActive` field. */ - isActive?: BooleanFilter; - /** Filter by the object’s `isOwner` field. */ - isOwner?: BooleanFilter; - /** Filter by the object’s `isAdmin` field. */ - isAdmin?: BooleanFilter; - /** Filter by the object’s `permissions` field. */ - permissions?: BitStringFilter; - /** Filter by the object’s `granted` field. */ - granted?: BitStringFilter; - /** Filter by the object’s `actorId` field. */ - actorId?: UUIDFilter; - /** Filter by the object’s `profileId` field. */ - profileId?: UUIDFilter; + /** 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?: AppMembershipFilter[]; + and?: EmailFilter[]; /** Checks for any expressions in this list. */ - or?: AppMembershipFilter[]; + or?: EmailFilter[]; /** Negates the expression. */ - not?: AppMembershipFilter; -} -/** - * A condition to be used against `HierarchyModule` object types. All fields are - * tested for equality and combined with a logical ‘and.’ - */ -export interface HierarchyModuleCondition { - /** Checks for equality with the object’s `id` field. */ - id?: string; - /** Checks for equality with the object’s `databaseId` field. */ - databaseId?: string; - /** Checks for equality with the object’s `schemaId` field. */ - schemaId?: string; - /** Checks for equality with the object’s `privateSchemaId` field. */ - privateSchemaId?: string; - /** Checks for equality with the object’s `chartEdgesTableId` field. */ - chartEdgesTableId?: string; - /** Checks for equality with the object’s `chartEdgesTableName` field. */ - chartEdgesTableName?: string; - /** Checks for equality with the object’s `hierarchySprtTableId` field. */ - hierarchySprtTableId?: string; - /** Checks for equality with the object’s `hierarchySprtTableName` field. */ - hierarchySprtTableName?: string; - /** Checks for equality with the object’s `chartEdgeGrantsTableId` field. */ - chartEdgeGrantsTableId?: string; - /** Checks for equality with the object’s `chartEdgeGrantsTableName` field. */ - chartEdgeGrantsTableName?: string; - /** Checks for equality with the object’s `entityTableId` field. */ - entityTableId?: string; - /** Checks for equality with the object’s `usersTableId` field. */ - usersTableId?: string; - /** Checks for equality with the object’s `prefix` field. */ - prefix?: string; - /** Checks for equality with the object’s `privateSchemaName` field. */ - privateSchemaName?: string; - /** Checks for equality with the object’s `sprtTableName` field. */ - sprtTableName?: string; - /** Checks for equality with the object’s `rebuildHierarchyFunction` field. */ - rebuildHierarchyFunction?: string; - /** Checks for equality with the object’s `getSubordinatesFunction` field. */ - getSubordinatesFunction?: string; - /** Checks for equality with the object’s `getManagersFunction` field. */ - getManagersFunction?: string; - /** Checks for equality with the object’s `isManagerOfFunction` field. */ - isManagerOfFunction?: string; - /** Checks for equality with the object’s `createdAt` field. */ - createdAt?: string; + not?: EmailFilter; + /** Filter by the object’s `owner` relation. */ + owner?: UserFilter; } -/** A filter to be used against `HierarchyModule` object types. All fields are combined with a logical ‘and.’ */ -export interface HierarchyModuleFilter { +/** A filter to be used against `AstMigration` object types. All fields are combined with a logical ‘and.’ */ +export interface AstMigrationFilter { /** Filter by the object’s `id` field. */ - id?: UUIDFilter; + id?: IntFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; - /** Filter by the object’s `schemaId` field. */ - schemaId?: UUIDFilter; - /** Filter by the object’s `privateSchemaId` field. */ - privateSchemaId?: UUIDFilter; - /** Filter by the object’s `chartEdgesTableId` field. */ - chartEdgesTableId?: UUIDFilter; - /** Filter by the object’s `chartEdgesTableName` field. */ - chartEdgesTableName?: StringFilter; - /** Filter by the object’s `hierarchySprtTableId` field. */ - hierarchySprtTableId?: UUIDFilter; - /** Filter by the object’s `hierarchySprtTableName` field. */ - hierarchySprtTableName?: StringFilter; - /** Filter by the object’s `chartEdgeGrantsTableId` field. */ - chartEdgeGrantsTableId?: UUIDFilter; - /** Filter by the object’s `chartEdgeGrantsTableName` field. */ - chartEdgeGrantsTableName?: StringFilter; - /** Filter by the object’s `entityTableId` field. */ - entityTableId?: UUIDFilter; - /** Filter by the object’s `usersTableId` field. */ - usersTableId?: UUIDFilter; - /** Filter by the object’s `prefix` field. */ - prefix?: StringFilter; - /** Filter by the object’s `privateSchemaName` field. */ - privateSchemaName?: StringFilter; - /** Filter by the object’s `sprtTableName` field. */ - sprtTableName?: StringFilter; - /** Filter by the object’s `rebuildHierarchyFunction` field. */ - rebuildHierarchyFunction?: StringFilter; - /** Filter by the object’s `getSubordinatesFunction` field. */ - getSubordinatesFunction?: StringFilter; - /** Filter by the object’s `getManagersFunction` field. */ - getManagersFunction?: StringFilter; - /** Filter by the object’s `isManagerOfFunction` field. */ - isManagerOfFunction?: StringFilter; + /** Filter by the object’s `name` field. */ + name?: StringFilter; + /** Filter by the object’s `requires` field. */ + requires?: StringListFilter; + /** Filter by the object’s `payload` field. */ + payload?: JSONFilter; + /** Filter by the object’s `deploys` field. */ + deploys?: StringFilter; + /** Filter by the object’s `deploy` field. */ + deploy?: JSONFilter; + /** Filter by the object’s `revert` field. */ + revert?: JSONFilter; + /** Filter by the object’s `verify` field. */ + verify?: JSONFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; + /** Filter by the object’s `action` field. */ + action?: StringFilter; + /** Filter by the object’s `actionId` field. */ + actionId?: UUIDFilter; + /** Filter by the object’s `actorId` field. */ + actorId?: UUIDFilter; /** Checks for all expressions in this list. */ - and?: HierarchyModuleFilter[]; + and?: AstMigrationFilter[]; /** Checks for any expressions in this list. */ - or?: HierarchyModuleFilter[]; + or?: AstMigrationFilter[]; /** Negates the expression. */ - not?: HierarchyModuleFilter; + 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; } export interface SignOutInput { clientMutationId?: string; @@ -7364,12 +8386,6 @@ export interface ResetPasswordInput { resetToken?: string; newPassword?: string; } -export interface RemoveNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; -} export interface BootstrapUserInput { clientMutationId?: string; targetDatabaseId?: string; @@ -7380,6 +8396,12 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface SetDataAtPathInput { clientMutationId?: string; dbId?: string; @@ -7556,22 +8578,6 @@ export interface OrgMemberInput { /** References the entity (org or group) this member belongs to */ entityId: string; } -export interface CreateSiteThemeInput { - clientMutationId?: string; - /** The `SiteTheme` to be created by this mutation. */ - siteTheme: SiteThemeInput; -} -/** An input for mutations affecting `SiteTheme` */ -export interface SiteThemeInput { - /** Unique identifier for this theme record */ - id?: string; - /** Reference to the metaschema database */ - databaseId: string; - /** Site this theme belongs to */ - siteId: string; - /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */ - theme: unknown; -} export interface CreateRefInput { clientMutationId?: string; /** The `Ref` to be created by this mutation. */ @@ -7587,23 +8593,6 @@ export interface RefInput { storeId: string; commitId?: string; } -export interface CreateStoreInput { - clientMutationId?: string; - /** The `Store` to be created by this mutation. */ - store: StoreInput; -} -/** An input for mutations affecting `Store` */ -export interface StoreInput { - /** The primary unique identifier for the store. */ - id?: string; - /** The name of the store (e.g., metaschema, migrations). */ - name: string; - /** The database this store belongs to. */ - databaseId: string; - /** The current head tree_id for this store. */ - hash?: string; - createdAt?: string; -} export interface CreateEncryptedSecretsModuleInput { clientMutationId?: string; /** The `EncryptedSecretsModule` to be created by this mutation. */ @@ -7656,6 +8645,55 @@ export interface UuidModuleInput { uuidFunction?: string; uuidSeed: string; } +export interface CreateSiteThemeInput { + clientMutationId?: string; + /** The `SiteTheme` to be created by this mutation. */ + siteTheme: SiteThemeInput; +} +/** An input for mutations affecting `SiteTheme` */ +export interface SiteThemeInput { + /** Unique identifier for this theme record */ + id?: string; + /** Reference to the metaschema database */ + databaseId: string; + /** Site this theme belongs to */ + siteId: string; + /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */ + theme: unknown; +} +export interface CreateStoreInput { + clientMutationId?: string; + /** The `Store` to be created by this mutation. */ + store: StoreInput; +} +/** An input for mutations affecting `Store` */ +export interface StoreInput { + /** The primary unique identifier for the store. */ + id?: string; + /** The name of the store (e.g., metaschema, migrations). */ + name: string; + /** The database this store belongs to. */ + databaseId: string; + /** The current head tree_id for this store. */ + hash?: string; + createdAt?: string; +} +export interface CreateViewRuleInput { + clientMutationId?: string; + /** The `ViewRule` to be created by this mutation. */ + viewRule: ViewRuleInput; +} +/** An input for mutations affecting `ViewRule` */ +export interface ViewRuleInput { + id?: string; + databaseId?: string; + viewId: string; + name: string; + /** INSERT, UPDATE, or DELETE */ + event: string; + /** NOTHING (for read-only) or custom action */ + action?: string; +} export interface CreateAppPermissionDefaultInput { clientMutationId?: string; /** The `AppPermissionDefault` to be created by this mutation. */ @@ -7731,22 +8769,6 @@ export interface TriggerFunctionInput { createdAt?: string; updatedAt?: string; } -export interface CreateViewRuleInput { - clientMutationId?: string; - /** The `ViewRule` to be created by this mutation. */ - viewRule: ViewRuleInput; -} -/** An input for mutations affecting `ViewRule` */ -export interface ViewRuleInput { - id?: string; - databaseId?: string; - viewId: string; - name: string; - /** INSERT, UPDATE, or DELETE */ - event: string; - /** NOTHING (for read-only) or custom action */ - action?: string; -} export interface CreateAppAdminGrantInput { clientMutationId?: string; /** The `AppAdminGrant` to be created by this mutation. */ @@ -7779,29 +8801,6 @@ export interface AppOwnerGrantInput { createdAt?: string; updatedAt?: string; } -export interface CreateRoleTypeInput { - clientMutationId?: string; - /** The `RoleType` to be created by this mutation. */ - roleType: RoleTypeInput; -} -/** An input for mutations affecting `RoleType` */ -export interface RoleTypeInput { - id: number; - name: string; -} -export interface CreateOrgPermissionDefaultInput { - clientMutationId?: string; - /** The `OrgPermissionDefault` to be created by this mutation. */ - orgPermissionDefault: OrgPermissionDefaultInput; -} -/** An input for mutations affecting `OrgPermissionDefault` */ -export interface OrgPermissionDefaultInput { - id?: string; - /** Default permission bitmask applied to new members */ - permissions?: string; - /** References the entity these default permissions apply to */ - entityId: string; -} export interface CreateDefaultPrivilegeInput { clientMutationId?: string; /** The `DefaultPrivilege` to be created by this mutation. */ @@ -7968,31 +8967,28 @@ export interface CryptoAddressInput { createdAt?: string; updatedAt?: string; } -export interface CreateAppLimitDefaultInput { +export interface CreateRoleTypeInput { clientMutationId?: string; - /** The `AppLimitDefault` to be created by this mutation. */ - appLimitDefault: AppLimitDefaultInput; + /** The `RoleType` to be created by this mutation. */ + roleType: RoleTypeInput; } -/** An input for mutations affecting `AppLimitDefault` */ -export interface AppLimitDefaultInput { - id?: string; - /** Name identifier of the limit this default applies to */ +/** An input for mutations affecting `RoleType` */ +export interface RoleTypeInput { + id: number; name: string; - /** Default maximum usage allowed for this limit */ - max?: number; } -export interface CreateOrgLimitDefaultInput { +export interface CreateOrgPermissionDefaultInput { clientMutationId?: string; - /** The `OrgLimitDefault` to be created by this mutation. */ - orgLimitDefault: OrgLimitDefaultInput; + /** The `OrgPermissionDefault` to be created by this mutation. */ + orgPermissionDefault: OrgPermissionDefaultInput; } -/** An input for mutations affecting `OrgLimitDefault` */ -export interface OrgLimitDefaultInput { +/** An input for mutations affecting `OrgPermissionDefault` */ +export interface OrgPermissionDefaultInput { id?: string; - /** Name identifier of the limit this default applies to */ - name: string; - /** Default maximum usage allowed for this limit */ - max?: number; + /** Default permission bitmask applied to new members */ + permissions?: string; + /** References the entity these default permissions apply to */ + entityId: string; } export interface CreateDatabaseInput { clientMutationId?: string; @@ -8026,26 +9022,6 @@ export interface CryptoAddressesModuleInput { tableName: string; cryptoNetwork?: string; } -export interface CreateConnectedAccountInput { - clientMutationId?: string; - /** The `ConnectedAccount` to be created by this mutation. */ - connectedAccount: ConnectedAccountInput; -} -/** An input for mutations affecting `ConnectedAccount` */ -export interface ConnectedAccountInput { - id?: string; - ownerId?: string; - /** 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: unknown; - /** Whether this connected account has been verified */ - isVerified?: boolean; - createdAt?: string; - updatedAt?: string; -} export interface CreatePhoneNumberInput { clientMutationId?: string; /** The `PhoneNumber` to be created by this mutation. */ @@ -8066,21 +9042,51 @@ export interface PhoneNumberInput { createdAt?: string; updatedAt?: string; } -export interface CreateMembershipTypeInput { +export interface CreateAppLimitDefaultInput { clientMutationId?: string; - /** The `MembershipType` to be created by this mutation. */ - membershipType: MembershipTypeInput; + /** The `AppLimitDefault` to be created by this mutation. */ + appLimitDefault: AppLimitDefaultInput; } -/** An input for mutations affecting `MembershipType` */ -export interface MembershipTypeInput { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ +/** An input for mutations affecting `AppLimitDefault` */ +export interface AppLimitDefaultInput { + id?: string; + /** Name identifier of the limit this default applies to */ name: string; - /** Description of what this membership type represents */ - description: string; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix: string; + /** Default maximum usage allowed for this limit */ + max?: number; +} +export interface CreateOrgLimitDefaultInput { + clientMutationId?: string; + /** The `OrgLimitDefault` to be created by this mutation. */ + orgLimitDefault: OrgLimitDefaultInput; +} +/** An input for mutations affecting `OrgLimitDefault` */ +export interface OrgLimitDefaultInput { + id?: string; + /** Name identifier of the limit this default applies to */ + name: string; + /** Default maximum usage allowed for this limit */ + max?: number; +} +export interface CreateConnectedAccountInput { + clientMutationId?: string; + /** The `ConnectedAccount` to be created by this mutation. */ + connectedAccount: ConnectedAccountInput; +} +/** An input for mutations affecting `ConnectedAccount` */ +export interface ConnectedAccountInput { + id?: string; + ownerId?: string; + /** 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: unknown; + /** Whether this connected account has been verified */ + isVerified?: boolean; + createdAt?: string; + updatedAt?: string; } export interface CreateFieldModuleInput { clientMutationId?: string; @@ -8099,23 +9105,6 @@ export interface FieldModuleInput { triggers?: string[]; functions?: string[]; } -export interface CreateTableModuleInput { - clientMutationId?: string; - /** The `TableModule` to be created by this mutation. */ - tableModule: TableModuleInput; -} -/** An input for mutations affecting `TableModule` */ -export interface TableModuleInput { - id?: string; - databaseId: string; - schemaId?: string; - tableId?: string; - tableName?: string; - nodeType: string; - useRls?: boolean; - data?: unknown; - fields?: string[]; -} export interface CreateTableTemplateModuleInput { clientMutationId?: string; /** The `TableTemplateModule` to be created by this mutation. */ @@ -8182,6 +9171,22 @@ export interface NodeTypeRegistryInput { createdAt?: string; updatedAt?: string; } +export interface CreateMembershipTypeInput { + clientMutationId?: string; + /** The `MembershipType` to be created by this mutation. */ + membershipType: MembershipTypeInput; +} +/** An input for mutations affecting `MembershipType` */ +export interface MembershipTypeInput { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name: string; + /** Description of what this membership type represents */ + description: string; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix: string; +} export interface CreateTableGrantInput { clientMutationId?: string; /** The `TableGrant` to be created by this mutation. */ @@ -8336,6 +9341,44 @@ export interface SiteMetadatumInput { /** Open Graph image for social media previews */ ogImage?: ConstructiveInternalTypeImage; } +export interface CreateRlsModuleInput { + clientMutationId?: string; + /** The `RlsModule` to be created by this mutation. */ + rlsModule: RlsModuleInput; +} +/** An input for mutations affecting `RlsModule` */ +export interface RlsModuleInput { + id?: string; + databaseId: string; + schemaId?: string; + privateSchemaId?: string; + sessionCredentialsTableId?: string; + sessionsTableId?: string; + usersTableId?: string; + authenticate?: string; + authenticateStrict?: string; + currentRole?: string; + currentRoleId?: string; +} +export interface CreateSessionsModuleInput { + clientMutationId?: string; + /** The `SessionsModule` to be created by this mutation. */ + sessionsModule: SessionsModuleInput; +} +/** An input for mutations affecting `SessionsModule` */ +export interface SessionsModuleInput { + id?: string; + databaseId: string; + schemaId?: string; + sessionsTableId?: string; + sessionCredentialsTableId?: string; + authSettingsTableId?: string; + usersTableId?: string; + sessionsDefaultExpiration?: IntervalInput; + sessionsTable?: string; + sessionCredentialsTable?: string; + authSettingsTable?: string; +} export interface CreateObjectInput { clientMutationId?: string; /** The `Object` to be created by this mutation. */ @@ -8487,25 +9530,6 @@ export interface DomainInput { /** Root domain of the hostname */ domain?: ConstructiveInternalTypeHostname; } -export interface CreateSessionsModuleInput { - clientMutationId?: string; - /** The `SessionsModule` to be created by this mutation. */ - sessionsModule: SessionsModuleInput; -} -/** An input for mutations affecting `SessionsModule` */ -export interface SessionsModuleInput { - id?: string; - databaseId: string; - schemaId?: string; - sessionsTableId?: string; - sessionCredentialsTableId?: string; - authSettingsTableId?: string; - usersTableId?: string; - sessionsDefaultExpiration?: IntervalInput; - sessionsTable?: string; - sessionCredentialsTable?: string; - authSettingsTable?: string; -} export interface CreateOrgGrantInput { clientMutationId?: string; /** The `OrgGrant` to be created by this mutation. */ @@ -8547,26 +9571,6 @@ export interface OrgMembershipDefaultInput { /** When a group is created, whether to auto-add existing org members as group members */ createGroupsCascadeMembers?: boolean; } -export interface CreateRlsModuleInput { - clientMutationId?: string; - /** The `RlsModule` to be created by this mutation. */ - rlsModule: RlsModuleInput; -} -/** An input for mutations affecting `RlsModule` */ -export interface RlsModuleInput { - id?: string; - databaseId: string; - apiId?: string; - schemaId?: string; - privateSchemaId?: string; - sessionCredentialsTableId?: string; - sessionsTableId?: string; - usersTableId?: string; - authenticate?: string; - authenticateStrict?: string; - currentRole?: string; - currentRoleId?: string; -} export interface CreateAppLevelRequirementInput { clientMutationId?: string; /** The `AppLevelRequirement` to be created by this mutation. */ @@ -8630,44 +9634,6 @@ export interface AppLevelInput { createdAt?: string; updatedAt?: string; } -export interface CreateEmailInput { - clientMutationId?: string; - /** The `Email` to be created by this mutation. */ - email: EmailInput; -} -/** An input for mutations affecting `Email` */ -export interface EmailInput { - id?: string; - ownerId?: string; - /** 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?: string; - updatedAt?: string; -} -export interface CreateDenormalizedTableFieldInput { - clientMutationId?: string; - /** The `DenormalizedTableField` to be created by this mutation. */ - denormalizedTableField: DenormalizedTableFieldInput; -} -/** An input for mutations affecting `DenormalizedTableField` */ -export interface DenormalizedTableFieldInput { - id?: string; - databaseId: string; - tableId: string; - fieldId: string; - setIds?: string[]; - refTableId: string; - refFieldId: string; - refIds?: string[]; - useUpdates?: boolean; - updateDefaults?: boolean; - funcName?: string; - funcOrder?: number; -} export interface CreateSqlMigrationInput { clientMutationId?: string; /** The `SqlMigration` to be created by this mutation. */ @@ -8764,6 +9730,44 @@ export interface InvitesModuleInput { membershipType: number; entityTableId?: string; } +export interface CreateDenormalizedTableFieldInput { + clientMutationId?: string; + /** The `DenormalizedTableField` to be created by this mutation. */ + denormalizedTableField: DenormalizedTableFieldInput; +} +/** An input for mutations affecting `DenormalizedTableField` */ +export interface DenormalizedTableFieldInput { + id?: string; + databaseId: string; + tableId: string; + fieldId: string; + setIds?: string[]; + refTableId: string; + refFieldId: string; + refIds?: string[]; + useUpdates?: boolean; + updateDefaults?: boolean; + funcName?: string; + funcOrder?: number; +} +export interface CreateEmailInput { + clientMutationId?: string; + /** The `Email` to be created by this mutation. */ + email: EmailInput; +} +/** An input for mutations affecting `Email` */ +export interface EmailInput { + id?: string; + ownerId?: string; + /** 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?: string; + updatedAt?: string; +} export interface CreateViewInput { clientMutationId?: string; /** The `View` to be created by this mutation. */ @@ -8813,6 +9817,58 @@ export interface PermissionsModuleInput { getByMask?: string; getMaskByName?: string; } +export interface CreateLimitsModuleInput { + clientMutationId?: string; + /** The `LimitsModule` to be created by this mutation. */ + limitsModule: LimitsModuleInput; +} +/** An input for mutations affecting `LimitsModule` */ +export interface LimitsModuleInput { + id?: string; + databaseId: string; + schemaId?: string; + privateSchemaId?: string; + tableId?: string; + tableName?: string; + defaultTableId?: string; + defaultTableName?: string; + limitIncrementFunction?: string; + limitDecrementFunction?: string; + limitIncrementTrigger?: string; + limitDecrementTrigger?: string; + limitUpdateTrigger?: string; + limitCheckFunction?: string; + prefix?: string; + membershipType: number; + entityTableId?: string; + actorTableId?: string; +} +export interface CreateProfilesModuleInput { + clientMutationId?: string; + /** The `ProfilesModule` to be created by this mutation. */ + profilesModule: ProfilesModuleInput; +} +/** An input for mutations affecting `ProfilesModule` */ +export interface ProfilesModuleInput { + id?: string; + databaseId: string; + schemaId?: string; + privateSchemaId?: string; + tableId?: string; + tableName?: string; + profilePermissionsTableId?: string; + profilePermissionsTableName?: string; + profileGrantsTableId?: string; + profileGrantsTableName?: string; + profileDefinitionGrantsTableId?: string; + profileDefinitionGrantsTableName?: string; + membershipType: number; + entityTableId?: string; + actorTableId?: string; + permissionsTableId?: string; + membershipsTableId?: string; + prefix?: string; +} export interface CreateSecureTableProvisionInput { clientMutationId?: string; /** The `SecureTableProvision` to be created by this mutation. */ @@ -8836,6 +9892,8 @@ export interface SecureTableProvisionInput { 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?: unknown; + /** 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?: unknown; /** 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. */ @@ -8855,27 +9913,6 @@ export interface SecureTableProvisionInput { /** 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?: string[]; } -export interface CreateAstMigrationInput { - clientMutationId?: string; - /** The `AstMigration` to be created by this mutation. */ - astMigration: AstMigrationInput; -} -/** An input for mutations affecting `AstMigration` */ -export interface AstMigrationInput { - id?: number; - databaseId?: string; - name?: string; - requires?: string[]; - payload?: unknown; - deploys?: string; - deploy?: unknown; - revert?: unknown; - verify?: unknown; - createdAt?: string; - action?: string; - actionId?: string; - actorId?: string; -} export interface CreateTriggerInput { clientMutationId?: string; /** The `Trigger` to be created by this mutation. */ @@ -8897,27 +9934,6 @@ export interface TriggerInput { createdAt?: string; updatedAt?: string; } -export interface CreatePrimaryKeyConstraintInput { - clientMutationId?: string; - /** The `PrimaryKeyConstraint` to be created by this mutation. */ - primaryKeyConstraint: PrimaryKeyConstraintInput; -} -/** An input for mutations affecting `PrimaryKeyConstraint` */ -export interface PrimaryKeyConstraintInput { - id?: string; - databaseId?: string; - tableId: string; - name?: string; - type?: string; - fieldIds: string[]; - smartTags?: unknown; - category?: ObjectCategory; - module?: string; - scope?: number; - tags?: string[]; - createdAt?: string; - updatedAt?: string; -} export interface CreateUniqueConstraintInput { clientMutationId?: string; /** The `UniqueConstraint` to be created by this mutation. */ @@ -8940,20 +9956,19 @@ export interface UniqueConstraintInput { createdAt?: string; updatedAt?: string; } -export interface CreateCheckConstraintInput { +export interface CreatePrimaryKeyConstraintInput { clientMutationId?: string; - /** The `CheckConstraint` to be created by this mutation. */ - checkConstraint: CheckConstraintInput; + /** The `PrimaryKeyConstraint` to be created by this mutation. */ + primaryKeyConstraint: PrimaryKeyConstraintInput; } -/** An input for mutations affecting `CheckConstraint` */ -export interface CheckConstraintInput { +/** An input for mutations affecting `PrimaryKeyConstraint` */ +export interface PrimaryKeyConstraintInput { id?: string; databaseId?: string; tableId: string; name?: string; type?: string; fieldIds: string[]; - expr?: unknown; smartTags?: unknown; category?: ObjectCategory; module?: string; @@ -8962,168 +9977,45 @@ export interface CheckConstraintInput { createdAt?: string; updatedAt?: string; } -export interface CreatePolicyInput { +export interface CreateCheckConstraintInput { clientMutationId?: string; - /** The `Policy` to be created by this mutation. */ - policy: PolicyInput; + /** The `CheckConstraint` to be created by this mutation. */ + checkConstraint: CheckConstraintInput; } -/** An input for mutations affecting `Policy` */ -export interface PolicyInput { +/** An input for mutations affecting `CheckConstraint` */ +export interface CheckConstraintInput { id?: string; databaseId?: string; tableId: string; name?: string; - granteeName?: string; - privilege?: string; - permissive?: boolean; - disabled?: boolean; - policyType?: string; - data?: unknown; - smartTags?: unknown; - category?: ObjectCategory; - module?: string; - scope?: number; - tags?: string[]; - createdAt?: string; - updatedAt?: string; -} -export interface CreateAppInput { - clientMutationId?: string; - /** The `App` to be created by this mutation. */ - app: AppInput; -} -/** An input for mutations affecting `App` */ -export interface AppInput { - /** Unique identifier for this app */ - id?: string; - /** Reference to the metaschema database this app belongs to */ - databaseId: string; - /** Site this app is associated with (one app per site) */ - siteId: string; - /** Display name of the app */ - name?: string; - /** App icon or promotional image */ - appImage?: ConstructiveInternalTypeImage; - /** URL to the Apple App Store listing */ - appStoreLink?: ConstructiveInternalTypeUrl; - /** Apple App Store application identifier */ - appStoreId?: string; - /** Apple App ID prefix (Team ID) for universal links and associated domains */ - appIdPrefix?: string; - /** URL to the Google Play Store listing */ - playStoreLink?: ConstructiveInternalTypeUrl; -} -export interface CreateSiteInput { - clientMutationId?: string; - /** The `Site` to be created by this mutation. */ - site: SiteInput; -} -/** An input for mutations affecting `Site` */ -export interface SiteInput { - /** Unique identifier for this site */ - id?: string; - /** Reference to the metaschema database this site belongs to */ - databaseId: string; - /** Display title for the site (max 120 characters) */ - title?: string; - /** Short description of the site (max 120 characters) */ - description?: string; - /** Open Graph image used for social media link previews */ - ogImage?: ConstructiveInternalTypeImage; - /** Browser favicon attachment */ - favicon?: ConstructiveInternalTypeAttachment; - /** Apple touch icon for iOS home screen bookmarks */ - appleTouchIcon?: ConstructiveInternalTypeImage; - /** Primary logo image for the site */ - logo?: ConstructiveInternalTypeImage; - /** PostgreSQL database name this site connects to */ - dbname?: string; -} -export interface CreateUserInput { - clientMutationId?: string; - /** The `User` to be created by this mutation. */ - user: UserInput; -} -/** An input for mutations affecting `User` */ -export interface UserInput { - id?: string; - username?: string; - displayName?: string; - profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; - type?: number; - createdAt?: string; - updatedAt?: string; -} -export interface CreateLimitsModuleInput { - clientMutationId?: string; - /** The `LimitsModule` to be created by this mutation. */ - limitsModule: LimitsModuleInput; -} -/** An input for mutations affecting `LimitsModule` */ -export interface LimitsModuleInput { - id?: string; - databaseId: string; - schemaId?: string; - privateSchemaId?: string; - tableId?: string; - tableName?: string; - defaultTableId?: string; - defaultTableName?: string; - limitIncrementFunction?: string; - limitDecrementFunction?: string; - limitIncrementTrigger?: string; - limitDecrementTrigger?: string; - limitUpdateTrigger?: string; - limitCheckFunction?: string; - prefix?: string; - membershipType: number; - entityTableId?: string; - actorTableId?: string; -} -export interface CreateProfilesModuleInput { - clientMutationId?: string; - /** The `ProfilesModule` to be created by this mutation. */ - profilesModule: ProfilesModuleInput; -} -/** An input for mutations affecting `ProfilesModule` */ -export interface ProfilesModuleInput { - id?: string; - databaseId: string; - schemaId?: string; - privateSchemaId?: string; - tableId?: string; - tableName?: string; - profilePermissionsTableId?: string; - profilePermissionsTableName?: string; - profileGrantsTableId?: string; - profileGrantsTableName?: string; - profileDefinitionGrantsTableId?: string; - profileDefinitionGrantsTableName?: string; - membershipType: number; - entityTableId?: string; - actorTableId?: string; - permissionsTableId?: string; - membershipsTableId?: string; - prefix?: string; + type?: string; + fieldIds: string[]; + expr?: unknown; + smartTags?: unknown; + category?: ObjectCategory; + module?: string; + scope?: number; + tags?: string[]; + createdAt?: string; + updatedAt?: string; } -export interface CreateIndexInput { +export interface CreatePolicyInput { clientMutationId?: string; - /** The `Index` to be created by this mutation. */ - index: IndexInput; + /** The `Policy` to be created by this mutation. */ + policy: PolicyInput; } -/** An input for mutations affecting `Index` */ -export interface IndexInput { +/** An input for mutations affecting `Policy` */ +export interface PolicyInput { id?: string; - databaseId: string; + databaseId?: string; tableId: string; name?: string; - fieldIds?: string[]; - includeFieldIds?: string[]; - accessMethod?: string; - indexParams?: unknown; - whereClause?: unknown; - isUnique?: boolean; + granteeName?: string; + privilege?: string; + permissive?: boolean; + disabled?: boolean; + policyType?: string; + data?: unknown; smartTags?: unknown; category?: ObjectCategory; module?: string; @@ -9132,6 +10024,27 @@ export interface IndexInput { createdAt?: string; updatedAt?: string; } +export interface CreateAstMigrationInput { + clientMutationId?: string; + /** The `AstMigration` to be created by this mutation. */ + astMigration: AstMigrationInput; +} +/** An input for mutations affecting `AstMigration` */ +export interface AstMigrationInput { + id?: number; + databaseId?: string; + name?: string; + requires?: string[]; + payload?: unknown; + deploys?: string; + deploy?: unknown; + revert?: unknown; + verify?: unknown; + createdAt?: string; + action?: string; + actionId?: string; + actorId?: string; +} export interface CreateAppMembershipInput { clientMutationId?: string; /** The `AppMembership` to be created by this mutation. */ @@ -9200,35 +10113,6 @@ export interface OrgMembershipInput { entityId: string; profileId?: string; } -export interface CreateInviteInput { - clientMutationId?: string; - /** The `Invite` to be created by this mutation. */ - invite: InviteInput; -} -/** An input for mutations affecting `Invite` */ -export interface InviteInput { - id?: string; - /** Email address of the invited recipient */ - email?: ConstructiveInternalTypeEmail; - /** User ID of the member who sent this invitation */ - senderId?: string; - /** Unique random hex token used to redeem this invitation */ - inviteToken?: string; - /** Whether this invitation is still valid and can be redeemed */ - inviteValid?: boolean; - /** Maximum number of times this invite can be claimed; -1 means unlimited */ - inviteLimit?: number; - /** Running count of how many times this invite has been claimed */ - inviteCount?: number; - /** Whether this invite can be claimed by multiple recipients */ - multiple?: boolean; - /** Optional JSON payload of additional invite metadata */ - data?: unknown; - /** Timestamp after which this invitation can no longer be redeemed */ - expiresAt?: string; - createdAt?: string; - updatedAt?: string; -} export interface CreateSchemaInput { clientMutationId?: string; /** The `Schema` to be created by this mutation. */ @@ -9251,6 +10135,74 @@ export interface SchemaInput { createdAt?: string; updatedAt?: string; } +export interface CreateAppInput { + clientMutationId?: string; + /** The `App` to be created by this mutation. */ + app: AppInput; +} +/** An input for mutations affecting `App` */ +export interface AppInput { + /** Unique identifier for this app */ + id?: string; + /** Reference to the metaschema database this app belongs to */ + databaseId: string; + /** Site this app is associated with (one app per site) */ + siteId: string; + /** Display name of the app */ + name?: string; + /** App icon or promotional image */ + appImage?: ConstructiveInternalTypeImage; + /** URL to the Apple App Store listing */ + appStoreLink?: ConstructiveInternalTypeUrl; + /** Apple App Store application identifier */ + appStoreId?: string; + /** Apple App ID prefix (Team ID) for universal links and associated domains */ + appIdPrefix?: string; + /** URL to the Google Play Store listing */ + playStoreLink?: ConstructiveInternalTypeUrl; +} +export interface CreateSiteInput { + clientMutationId?: string; + /** The `Site` to be created by this mutation. */ + site: SiteInput; +} +/** An input for mutations affecting `Site` */ +export interface SiteInput { + /** Unique identifier for this site */ + id?: string; + /** Reference to the metaschema database this site belongs to */ + databaseId: string; + /** Display title for the site (max 120 characters) */ + title?: string; + /** Short description of the site (max 120 characters) */ + description?: string; + /** Open Graph image used for social media link previews */ + ogImage?: ConstructiveInternalTypeImage; + /** Browser favicon attachment */ + favicon?: ConstructiveInternalTypeAttachment; + /** Apple touch icon for iOS home screen bookmarks */ + appleTouchIcon?: ConstructiveInternalTypeImage; + /** Primary logo image for the site */ + logo?: ConstructiveInternalTypeImage; + /** PostgreSQL database name this site connects to */ + dbname?: string; +} +export interface CreateUserInput { + clientMutationId?: string; + /** The `User` to be created by this mutation. */ + user: UserInput; +} +/** An input for mutations affecting `User` */ +export interface UserInput { + id?: string; + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + searchTsv?: string; + type?: number; + createdAt?: string; + updatedAt?: string; +} export interface CreateHierarchyModuleInput { clientMutationId?: string; /** The `HierarchyModule` to be created by this mutation. */ @@ -9279,20 +10231,18 @@ export interface HierarchyModuleInput { isManagerOfFunction?: string; createdAt?: string; } -export interface CreateOrgInviteInput { +export interface CreateInviteInput { clientMutationId?: string; - /** The `OrgInvite` to be created by this mutation. */ - orgInvite: OrgInviteInput; + /** The `Invite` to be created by this mutation. */ + invite: InviteInput; } -/** An input for mutations affecting `OrgInvite` */ -export interface OrgInviteInput { +/** An input for mutations affecting `Invite` */ +export interface InviteInput { id?: string; /** Email address of the invited recipient */ email?: ConstructiveInternalTypeEmail; /** User ID of the member who sent this invitation */ senderId?: string; - /** User ID of the intended recipient, if targeting a specific user */ - receiverId?: string; /** Unique random hex token used to redeem this invitation */ inviteToken?: string; /** Whether this invitation is still valid and can be redeemed */ @@ -9309,7 +10259,33 @@ export interface OrgInviteInput { expiresAt?: string; createdAt?: string; updatedAt?: string; - entityId: string; +} +export interface CreateIndexInput { + clientMutationId?: string; + /** The `Index` to be created by this mutation. */ + index: IndexInput; +} +/** An input for mutations affecting `Index` */ +export interface IndexInput { + id?: string; + databaseId: string; + tableId: string; + name?: string; + fieldIds?: string[]; + includeFieldIds?: string[]; + accessMethod?: string; + indexParams?: unknown; + whereClause?: unknown; + isUnique?: boolean; + options?: unknown; + opClasses?: string[]; + smartTags?: unknown; + category?: ObjectCategory; + module?: string; + scope?: number; + tags?: string[]; + createdAt?: string; + updatedAt?: string; } export interface CreateForeignKeyConstraintInput { clientMutationId?: string; @@ -9337,6 +10313,38 @@ export interface ForeignKeyConstraintInput { createdAt?: string; updatedAt?: string; } +export interface CreateOrgInviteInput { + clientMutationId?: string; + /** The `OrgInvite` to be created by this mutation. */ + orgInvite: OrgInviteInput; +} +/** An input for mutations affecting `OrgInvite` */ +export interface OrgInviteInput { + id?: string; + /** Email address of the invited recipient */ + email?: ConstructiveInternalTypeEmail; + /** User ID of the member who sent this invitation */ + senderId?: string; + /** User ID of the intended recipient, if targeting a specific user */ + receiverId?: string; + /** Unique random hex token used to redeem this invitation */ + inviteToken?: string; + /** Whether this invitation is still valid and can be redeemed */ + inviteValid?: boolean; + /** Maximum number of times this invite can be claimed; -1 means unlimited */ + inviteLimit?: number; + /** Running count of how many times this invite has been claimed */ + inviteCount?: number; + /** Whether this invite can be claimed by multiple recipients */ + multiple?: boolean; + /** Optional JSON payload of additional invite metadata */ + data?: unknown; + /** Timestamp after which this invitation can no longer be redeemed */ + expiresAt?: string; + createdAt?: string; + updatedAt?: string; + entityId: string; +} export interface CreateTableInput { clientMutationId?: string; /** The `Table` to be created by this mutation. */ @@ -9429,40 +10437,8 @@ export interface UserAuthModuleInput { sendAccountDeletionEmailFunction?: string; deleteAccountFunction?: string; signInOneTimeTokenFunction?: string; - oneTimeTokenFunction?: string; - extendTokenExpires?: string; -} -export interface CreateFieldInput { - clientMutationId?: string; - /** The `Field` to be created by this mutation. */ - field: FieldInput; -} -/** An input for mutations affecting `Field` */ -export interface FieldInput { - id?: string; - databaseId?: string; - tableId: string; - name: string; - label?: string; - description?: string; - smartTags?: unknown; - isRequired?: boolean; - defaultValue?: string; - defaultValueAst?: unknown; - isHidden?: boolean; - type: string; - fieldOrder?: number; - regexp?: string; - chk?: unknown; - chkExpr?: unknown; - min?: number; - max?: number; - tags?: string[]; - category?: ObjectCategory; - module?: string; - scope?: number; - createdAt?: string; - updatedAt?: string; + oneTimeTokenFunction?: string; + extendTokenExpires?: string; } export interface CreateRelationProvisionInput { clientMutationId?: string; @@ -9595,6 +10571,38 @@ export interface RelationProvisionInput { /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */ outTargetFieldId?: string; } +export interface CreateFieldInput { + clientMutationId?: string; + /** The `Field` to be created by this mutation. */ + field: FieldInput; +} +/** An input for mutations affecting `Field` */ +export interface FieldInput { + id?: string; + databaseId?: string; + tableId: string; + name: string; + label?: string; + description?: string; + smartTags?: unknown; + isRequired?: boolean; + defaultValue?: string; + defaultValueAst?: unknown; + isHidden?: boolean; + type: string; + fieldOrder?: number; + regexp?: string; + chk?: unknown; + chkExpr?: unknown; + min?: number; + max?: number; + tags?: string[]; + category?: ObjectCategory; + module?: string; + scope?: number; + createdAt?: string; + updatedAt?: string; +} export interface CreateMembershipsModuleInput { clientMutationId?: string; /** The `MembershipsModule` to be created by this mutation. */ @@ -9692,24 +10700,6 @@ export interface OrgMemberPatch { /** References the entity (org or group) this member belongs to */ entityId?: string; } -export interface UpdateSiteThemeInput { - clientMutationId?: string; - /** Unique identifier for this theme record */ - id: string; - /** 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. */ -export interface SiteThemePatch { - /** Unique identifier for this theme record */ - id?: string; - /** Reference to the metaschema database */ - databaseId?: string; - /** Site this theme belongs to */ - siteId?: string; - /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */ - theme?: unknown; -} export interface UpdateRefInput { clientMutationId?: string; /** The primary unique identifier for the ref. */ @@ -9728,25 +10718,6 @@ export interface RefPatch { storeId?: string; commitId?: string; } -export interface UpdateStoreInput { - clientMutationId?: string; - /** The primary unique identifier for the store. */ - id: string; - /** An object where the defined keys will be set on the `Store` being updated. */ - storePatch: StorePatch; -} -/** Represents an update to a `Store`. Fields that are set will be updated. */ -export interface StorePatch { - /** The primary unique identifier for the store. */ - id?: string; - /** The name of the store (e.g., metaschema, migrations). */ - name?: string; - /** The database this store belongs to. */ - databaseId?: string; - /** The current head tree_id for this store. */ - hash?: string; - createdAt?: string; -} export interface UpdateEncryptedSecretsModuleInput { clientMutationId?: string; id: string; @@ -9803,6 +10774,60 @@ export interface UuidModulePatch { uuidFunction?: string; uuidSeed?: string; } +export interface UpdateSiteThemeInput { + clientMutationId?: string; + /** Unique identifier for this theme record */ + id: string; + /** 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. */ +export interface SiteThemePatch { + /** Unique identifier for this theme record */ + id?: string; + /** Reference to the metaschema database */ + databaseId?: string; + /** Site this theme belongs to */ + siteId?: string; + /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */ + theme?: unknown; +} +export interface UpdateStoreInput { + clientMutationId?: string; + /** The primary unique identifier for the store. */ + id: string; + /** An object where the defined keys will be set on the `Store` being updated. */ + storePatch: StorePatch; +} +/** Represents an update to a `Store`. Fields that are set will be updated. */ +export interface StorePatch { + /** The primary unique identifier for the store. */ + id?: string; + /** The name of the store (e.g., metaschema, migrations). */ + name?: string; + /** The database this store belongs to. */ + databaseId?: string; + /** The current head tree_id for this store. */ + hash?: string; + createdAt?: string; +} +export interface UpdateViewRuleInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `ViewRule` being updated. */ + viewRulePatch: ViewRulePatch; +} +/** Represents an update to a `ViewRule`. Fields that are set will be updated. */ +export interface ViewRulePatch { + id?: string; + databaseId?: string; + viewId?: string; + name?: string; + /** INSERT, UPDATE, or DELETE */ + event?: string; + /** NOTHING (for read-only) or custom action */ + action?: string; +} export interface UpdateAppPermissionDefaultInput { clientMutationId?: string; id: string; @@ -9885,23 +10910,6 @@ export interface TriggerFunctionPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateViewRuleInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `ViewRule` being updated. */ - viewRulePatch: ViewRulePatch; -} -/** Represents an update to a `ViewRule`. Fields that are set will be updated. */ -export interface ViewRulePatch { - id?: string; - databaseId?: string; - viewId?: string; - name?: string; - /** INSERT, UPDATE, or DELETE */ - event?: string; - /** NOTHING (for read-only) or custom action */ - action?: string; -} export interface UpdateAppAdminGrantInput { clientMutationId?: string; id: string; @@ -9936,31 +10944,6 @@ export interface AppOwnerGrantPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateRoleTypeInput { - clientMutationId?: string; - id: number; - /** An object where the defined keys will be set on the `RoleType` being updated. */ - roleTypePatch: RoleTypePatch; -} -/** Represents an update to a `RoleType`. Fields that are set will be updated. */ -export interface RoleTypePatch { - id?: number; - name?: string; -} -export interface UpdateOrgPermissionDefaultInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `OrgPermissionDefault` being updated. */ - orgPermissionDefaultPatch: OrgPermissionDefaultPatch; -} -/** Represents an update to a `OrgPermissionDefault`. Fields that are set will be updated. */ -export interface OrgPermissionDefaultPatch { - id?: string; - /** Default permission bitmask applied to new members */ - permissions?: string; - /** References the entity these default permissions apply to */ - entityId?: string; -} export interface UpdateDefaultPrivilegeInput { clientMutationId?: string; id: string; @@ -10138,33 +11121,30 @@ export interface CryptoAddressPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateAppLimitDefaultInput { +export interface UpdateRoleTypeInput { clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `AppLimitDefault` being updated. */ - appLimitDefaultPatch: AppLimitDefaultPatch; + id: number; + /** An object where the defined keys will be set on the `RoleType` being updated. */ + roleTypePatch: RoleTypePatch; } -/** Represents an update to a `AppLimitDefault`. Fields that are set will be updated. */ -export interface AppLimitDefaultPatch { - id?: string; - /** Name identifier of the limit this default applies to */ +/** Represents an update to a `RoleType`. Fields that are set will be updated. */ +export interface RoleTypePatch { + id?: number; name?: string; - /** Default maximum usage allowed for this limit */ - max?: number; } -export interface UpdateOrgLimitDefaultInput { +export interface UpdateOrgPermissionDefaultInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `OrgLimitDefault` being updated. */ - orgLimitDefaultPatch: OrgLimitDefaultPatch; + /** An object where the defined keys will be set on the `OrgPermissionDefault` being updated. */ + orgPermissionDefaultPatch: OrgPermissionDefaultPatch; } -/** Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. */ -export interface OrgLimitDefaultPatch { +/** Represents an update to a `OrgPermissionDefault`. Fields that are set will be updated. */ +export interface OrgPermissionDefaultPatch { id?: string; - /** Name identifier of the limit this default applies to */ - name?: string; - /** Default maximum usage allowed for this limit */ - max?: number; + /** Default permission bitmask applied to new members */ + permissions?: string; + /** References the entity these default permissions apply to */ + entityId?: string; } export interface UpdateDatabaseInput { clientMutationId?: string; @@ -10175,30 +11155,79 @@ export interface UpdateDatabaseInput { /** Represents an update to a `Database`. Fields that are set will be updated. */ export interface DatabasePatch { id?: string; - ownerId?: string; - schemaHash?: string; + ownerId?: string; + schemaHash?: string; + name?: string; + label?: string; + hash?: string; + createdAt?: string; + updatedAt?: string; +} +export interface UpdateCryptoAddressesModuleInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `CryptoAddressesModule` being updated. */ + cryptoAddressesModulePatch: CryptoAddressesModulePatch; +} +/** Represents an update to a `CryptoAddressesModule`. Fields that are set will be updated. */ +export interface CryptoAddressesModulePatch { + id?: string; + databaseId?: string; + schemaId?: string; + privateSchemaId?: string; + tableId?: string; + ownerTableId?: string; + tableName?: string; + cryptoNetwork?: string; +} +export interface UpdatePhoneNumberInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `PhoneNumber` being updated. */ + phoneNumberPatch: PhoneNumberPatch; +} +/** Represents an update to a `PhoneNumber`. Fields that are set will be updated. */ +export interface PhoneNumberPatch { + id?: string; + ownerId?: string; + /** 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?: string; + updatedAt?: string; +} +export interface UpdateAppLimitDefaultInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `AppLimitDefault` being updated. */ + appLimitDefaultPatch: AppLimitDefaultPatch; +} +/** Represents an update to a `AppLimitDefault`. Fields that are set will be updated. */ +export interface AppLimitDefaultPatch { + id?: string; + /** Name identifier of the limit this default applies to */ name?: string; - label?: string; - hash?: string; - createdAt?: string; - updatedAt?: string; + /** Default maximum usage allowed for this limit */ + max?: number; } -export interface UpdateCryptoAddressesModuleInput { +export interface UpdateOrgLimitDefaultInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `CryptoAddressesModule` being updated. */ - cryptoAddressesModulePatch: CryptoAddressesModulePatch; + /** An object where the defined keys will be set on the `OrgLimitDefault` being updated. */ + orgLimitDefaultPatch: OrgLimitDefaultPatch; } -/** Represents an update to a `CryptoAddressesModule`. Fields that are set will be updated. */ -export interface CryptoAddressesModulePatch { +/** Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. */ +export interface OrgLimitDefaultPatch { id?: string; - databaseId?: string; - schemaId?: string; - privateSchemaId?: string; - tableId?: string; - ownerTableId?: string; - tableName?: string; - cryptoNetwork?: string; + /** Name identifier of the limit this default applies to */ + name?: string; + /** Default maximum usage allowed for this limit */ + max?: number; } export interface UpdateConnectedAccountInput { clientMutationId?: string; @@ -10221,45 +11250,6 @@ export interface ConnectedAccountPatch { createdAt?: string; updatedAt?: string; } -export interface UpdatePhoneNumberInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `PhoneNumber` being updated. */ - phoneNumberPatch: PhoneNumberPatch; -} -/** Represents an update to a `PhoneNumber`. Fields that are set will be updated. */ -export interface PhoneNumberPatch { - id?: string; - ownerId?: string; - /** 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?: string; - updatedAt?: string; -} -export interface UpdateMembershipTypeInput { - clientMutationId?: string; - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** An object where the defined keys will be set on the `MembershipType` being updated. */ - membershipTypePatch: MembershipTypePatch; -} -/** Represents an update to a `MembershipType`. Fields that are set will be updated. */ -export interface MembershipTypePatch { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id?: number; - /** Human-readable name of the membership type */ - name?: string; - /** Description of what this membership type represents */ - description?: string; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string; -} export interface UpdateFieldModuleInput { clientMutationId?: string; id: string; @@ -10278,24 +11268,6 @@ export interface FieldModulePatch { triggers?: string[]; functions?: string[]; } -export interface UpdateTableModuleInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `TableModule` being updated. */ - tableModulePatch: TableModulePatch; -} -/** Represents an update to a `TableModule`. Fields that are set will be updated. */ -export interface TableModulePatch { - id?: string; - databaseId?: string; - schemaId?: string; - tableId?: string; - tableName?: string; - nodeType?: string; - useRls?: boolean; - data?: unknown; - fields?: string[]; -} export interface UpdateTableTemplateModuleInput { clientMutationId?: string; id: string; @@ -10366,6 +11338,24 @@ export interface NodeTypeRegistryPatch { createdAt?: string; updatedAt?: string; } +export interface UpdateMembershipTypeInput { + clientMutationId?: string; + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** An object where the defined keys will be set on the `MembershipType` being updated. */ + membershipTypePatch: MembershipTypePatch; +} +/** Represents an update to a `MembershipType`. Fields that are set will be updated. */ +export interface MembershipTypePatch { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id?: number; + /** Human-readable name of the membership type */ + name?: string; + /** Description of what this membership type represents */ + description?: string; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string; +} export interface UpdateTableGrantInput { clientMutationId?: string; id: string; @@ -10532,6 +11522,46 @@ export interface SiteMetadatumPatch { /** Upload for Open Graph image for social media previews */ ogImageUpload?: File; } +export interface UpdateRlsModuleInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `RlsModule` being updated. */ + rlsModulePatch: RlsModulePatch; +} +/** Represents an update to a `RlsModule`. Fields that are set will be updated. */ +export interface RlsModulePatch { + id?: string; + databaseId?: string; + schemaId?: string; + privateSchemaId?: string; + sessionCredentialsTableId?: string; + sessionsTableId?: string; + usersTableId?: string; + authenticate?: string; + authenticateStrict?: string; + currentRole?: string; + currentRoleId?: string; +} +export interface UpdateSessionsModuleInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `SessionsModule` being updated. */ + sessionsModulePatch: SessionsModulePatch; +} +/** Represents an update to a `SessionsModule`. Fields that are set will be updated. */ +export interface SessionsModulePatch { + id?: string; + databaseId?: string; + schemaId?: string; + sessionsTableId?: string; + sessionCredentialsTableId?: string; + authSettingsTableId?: string; + usersTableId?: string; + sessionsDefaultExpiration?: IntervalInput; + sessionsTable?: string; + sessionCredentialsTable?: string; + authSettingsTable?: string; +} export interface UpdateObjectInput { clientMutationId?: string; id: string; @@ -10696,26 +11726,6 @@ export interface DomainPatch { /** Root domain of the hostname */ domain?: ConstructiveInternalTypeHostname; } -export interface UpdateSessionsModuleInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `SessionsModule` being updated. */ - sessionsModulePatch: SessionsModulePatch; -} -/** Represents an update to a `SessionsModule`. Fields that are set will be updated. */ -export interface SessionsModulePatch { - id?: string; - databaseId?: string; - schemaId?: string; - sessionsTableId?: string; - sessionCredentialsTableId?: string; - authSettingsTableId?: string; - usersTableId?: string; - sessionsDefaultExpiration?: IntervalInput; - sessionsTable?: string; - sessionCredentialsTable?: string; - authSettingsTable?: string; -} export interface UpdateOrgGrantInput { clientMutationId?: string; id: string; @@ -10759,27 +11769,6 @@ export interface OrgMembershipDefaultPatch { /** When a group is created, whether to auto-add existing org members as group members */ createGroupsCascadeMembers?: boolean; } -export interface UpdateRlsModuleInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `RlsModule` being updated. */ - rlsModulePatch: RlsModulePatch; -} -/** Represents an update to a `RlsModule`. Fields that are set will be updated. */ -export interface RlsModulePatch { - id?: string; - databaseId?: string; - apiId?: string; - schemaId?: string; - privateSchemaId?: string; - sessionCredentialsTableId?: string; - sessionsTableId?: string; - usersTableId?: string; - authenticate?: string; - authenticateStrict?: string; - currentRole?: string; - currentRoleId?: string; -} export interface UpdateAppLevelRequirementInput { clientMutationId?: string; id: string; @@ -10848,46 +11837,6 @@ export interface AppLevelPatch { /** Upload for Badge or icon image associated with this level */ imageUpload?: File; } -export interface UpdateEmailInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `Email` being updated. */ - emailPatch: EmailPatch; -} -/** Represents an update to a `Email`. Fields that are set will be updated. */ -export interface EmailPatch { - id?: string; - ownerId?: string; - /** 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?: string; - updatedAt?: string; -} -export interface UpdateDenormalizedTableFieldInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `DenormalizedTableField` being updated. */ - denormalizedTableFieldPatch: DenormalizedTableFieldPatch; -} -/** Represents an update to a `DenormalizedTableField`. Fields that are set will be updated. */ -export interface DenormalizedTableFieldPatch { - id?: string; - databaseId?: string; - tableId?: string; - fieldId?: string; - setIds?: string[]; - refTableId?: string; - refFieldId?: string; - refIds?: string[]; - useUpdates?: boolean; - updateDefaults?: boolean; - funcName?: string; - funcOrder?: number; -} export interface UpdateCryptoAuthModuleInput { clientMutationId?: string; id: string; @@ -10966,6 +11915,46 @@ export interface InvitesModulePatch { membershipType?: number; entityTableId?: string; } +export interface UpdateDenormalizedTableFieldInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `DenormalizedTableField` being updated. */ + denormalizedTableFieldPatch: DenormalizedTableFieldPatch; +} +/** Represents an update to a `DenormalizedTableField`. Fields that are set will be updated. */ +export interface DenormalizedTableFieldPatch { + id?: string; + databaseId?: string; + tableId?: string; + fieldId?: string; + setIds?: string[]; + refTableId?: string; + refFieldId?: string; + refIds?: string[]; + useUpdates?: boolean; + updateDefaults?: boolean; + funcName?: string; + funcOrder?: number; +} +export interface UpdateEmailInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `Email` being updated. */ + emailPatch: EmailPatch; +} +/** Represents an update to a `Email`. Fields that are set will be updated. */ +export interface EmailPatch { + id?: string; + ownerId?: string; + /** 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?: string; + updatedAt?: string; +} export interface UpdateViewInput { clientMutationId?: string; id: string; @@ -11017,6 +12006,60 @@ export interface PermissionsModulePatch { getByMask?: string; getMaskByName?: string; } +export interface UpdateLimitsModuleInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `LimitsModule` being updated. */ + limitsModulePatch: LimitsModulePatch; +} +/** Represents an update to a `LimitsModule`. Fields that are set will be updated. */ +export interface LimitsModulePatch { + id?: string; + databaseId?: string; + schemaId?: string; + privateSchemaId?: string; + tableId?: string; + tableName?: string; + defaultTableId?: string; + defaultTableName?: string; + limitIncrementFunction?: string; + limitDecrementFunction?: string; + limitIncrementTrigger?: string; + limitDecrementTrigger?: string; + limitUpdateTrigger?: string; + limitCheckFunction?: string; + prefix?: string; + membershipType?: number; + entityTableId?: string; + actorTableId?: string; +} +export interface UpdateProfilesModuleInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `ProfilesModule` being updated. */ + profilesModulePatch: ProfilesModulePatch; +} +/** Represents an update to a `ProfilesModule`. Fields that are set will be updated. */ +export interface ProfilesModulePatch { + id?: string; + databaseId?: string; + schemaId?: string; + privateSchemaId?: string; + tableId?: string; + tableName?: string; + profilePermissionsTableId?: string; + profilePermissionsTableName?: string; + profileGrantsTableId?: string; + profileGrantsTableName?: string; + profileDefinitionGrantsTableId?: string; + profileDefinitionGrantsTableName?: string; + membershipType?: number; + entityTableId?: string; + actorTableId?: string; + permissionsTableId?: string; + membershipsTableId?: string; + prefix?: string; +} export interface UpdateSecureTableProvisionInput { clientMutationId?: string; /** Unique identifier for this provision row. */ @@ -11042,6 +12085,8 @@ export interface SecureTableProvisionPatch { 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?: unknown; + /** 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?: unknown; /** 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. */ @@ -11083,28 +12128,6 @@ export interface TriggerPatch { createdAt?: string; updatedAt?: string; } -export interface UpdatePrimaryKeyConstraintInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `PrimaryKeyConstraint` being updated. */ - primaryKeyConstraintPatch: PrimaryKeyConstraintPatch; -} -/** Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. */ -export interface PrimaryKeyConstraintPatch { - id?: string; - databaseId?: string; - tableId?: string; - name?: string; - type?: string; - fieldIds?: string[]; - smartTags?: unknown; - category?: ObjectCategory; - module?: string; - scope?: number; - tags?: string[]; - createdAt?: string; - updatedAt?: string; -} export interface UpdateUniqueConstraintInput { clientMutationId?: string; id: string; @@ -11128,47 +12151,20 @@ export interface UniqueConstraintPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateCheckConstraintInput { +export interface UpdatePrimaryKeyConstraintInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `CheckConstraint` being updated. */ - checkConstraintPatch: CheckConstraintPatch; + /** An object where the defined keys will be set on the `PrimaryKeyConstraint` being updated. */ + primaryKeyConstraintPatch: PrimaryKeyConstraintPatch; } -/** Represents an update to a `CheckConstraint`. Fields that are set will be updated. */ -export interface CheckConstraintPatch { +/** Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. */ +export interface PrimaryKeyConstraintPatch { id?: string; databaseId?: string; tableId?: string; name?: string; type?: string; fieldIds?: string[]; - expr?: unknown; - smartTags?: unknown; - category?: ObjectCategory; - module?: string; - scope?: number; - tags?: string[]; - createdAt?: string; - updatedAt?: string; -} -export interface UpdatePolicyInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `Policy` being updated. */ - policyPatch: PolicyPatch; -} -/** Represents an update to a `Policy`. Fields that are set will be updated. */ -export interface PolicyPatch { - id?: string; - databaseId?: string; - tableId?: string; - name?: string; - granteeName?: string; - privilege?: string; - permissive?: boolean; - disabled?: boolean; - policyType?: string; - data?: unknown; smartTags?: unknown; category?: ObjectCategory; module?: string; @@ -11177,163 +12173,47 @@ export interface PolicyPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateAppInput { - clientMutationId?: string; - /** Unique identifier for this app */ - id: string; - /** An object where the defined keys will be set on the `App` being updated. */ - appPatch: AppPatch; -} -/** Represents an update to a `App`. Fields that are set will be updated. */ -export interface AppPatch { - /** Unique identifier for this app */ - id?: string; - /** Reference to the metaschema database this app belongs to */ - databaseId?: string; - /** Site this app is associated with (one app per site) */ - siteId?: string; - /** Display name of the app */ - name?: string; - /** App icon or promotional image */ - appImage?: ConstructiveInternalTypeImage; - /** URL to the Apple App Store listing */ - appStoreLink?: ConstructiveInternalTypeUrl; - /** Apple App Store application identifier */ - appStoreId?: string; - /** Apple App ID prefix (Team ID) for universal links and associated domains */ - appIdPrefix?: string; - /** URL to the Google Play Store listing */ - playStoreLink?: ConstructiveInternalTypeUrl; - /** Upload for App icon or promotional image */ - appImageUpload?: File; -} -export interface UpdateSiteInput { - clientMutationId?: string; - /** Unique identifier for this site */ - id: string; - /** An object where the defined keys will be set on the `Site` being updated. */ - sitePatch: SitePatch; -} -/** Represents an update to a `Site`. Fields that are set will be updated. */ -export interface SitePatch { - /** Unique identifier for this site */ - id?: string; - /** Reference to the metaschema database this site belongs to */ - databaseId?: string; - /** Display title for the site (max 120 characters) */ - title?: string; - /** Short description of the site (max 120 characters) */ - description?: string; - /** Open Graph image used for social media link previews */ - ogImage?: ConstructiveInternalTypeImage; - /** Browser favicon attachment */ - favicon?: ConstructiveInternalTypeAttachment; - /** Apple touch icon for iOS home screen bookmarks */ - appleTouchIcon?: ConstructiveInternalTypeImage; - /** Primary logo image for the site */ - logo?: ConstructiveInternalTypeImage; - /** PostgreSQL database name this site connects to */ - dbname?: string; - /** Upload for Open Graph image used for social media link previews */ - ogImageUpload?: File; - /** Upload for Browser favicon attachment */ - faviconUpload?: File; - /** Upload for Apple touch icon for iOS home screen bookmarks */ - appleTouchIconUpload?: File; - /** Upload for Primary logo image for the site */ - logoUpload?: File; -} -export interface UpdateUserInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `User` being updated. */ - userPatch: UserPatch; -} -/** Represents an update to a `User`. Fields that are set will be updated. */ -export interface UserPatch { - id?: string; - username?: string; - displayName?: string; - profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; - type?: number; - createdAt?: string; - updatedAt?: string; - /** File upload for the `profilePicture` field. */ - profilePictureUpload?: File; -} -export interface UpdateLimitsModuleInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `LimitsModule` being updated. */ - limitsModulePatch: LimitsModulePatch; -} -/** Represents an update to a `LimitsModule`. Fields that are set will be updated. */ -export interface LimitsModulePatch { - id?: string; - databaseId?: string; - schemaId?: string; - privateSchemaId?: string; - tableId?: string; - tableName?: string; - defaultTableId?: string; - defaultTableName?: string; - limitIncrementFunction?: string; - limitDecrementFunction?: string; - limitIncrementTrigger?: string; - limitDecrementTrigger?: string; - limitUpdateTrigger?: string; - limitCheckFunction?: string; - prefix?: string; - membershipType?: number; - entityTableId?: string; - actorTableId?: string; -} -export interface UpdateProfilesModuleInput { +export interface UpdateCheckConstraintInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `ProfilesModule` being updated. */ - profilesModulePatch: ProfilesModulePatch; + /** An object where the defined keys will be set on the `CheckConstraint` being updated. */ + checkConstraintPatch: CheckConstraintPatch; } -/** Represents an update to a `ProfilesModule`. Fields that are set will be updated. */ -export interface ProfilesModulePatch { +/** Represents an update to a `CheckConstraint`. Fields that are set will be updated. */ +export interface CheckConstraintPatch { id?: string; databaseId?: string; - schemaId?: string; - privateSchemaId?: string; - tableId?: string; - tableName?: string; - profilePermissionsTableId?: string; - profilePermissionsTableName?: string; - profileGrantsTableId?: string; - profileGrantsTableName?: string; - profileDefinitionGrantsTableId?: string; - profileDefinitionGrantsTableName?: string; - membershipType?: number; - entityTableId?: string; - actorTableId?: string; - permissionsTableId?: string; - membershipsTableId?: string; - prefix?: string; + tableId?: string; + name?: string; + type?: string; + fieldIds?: string[]; + expr?: unknown; + smartTags?: unknown; + category?: ObjectCategory; + module?: string; + scope?: number; + tags?: string[]; + createdAt?: string; + updatedAt?: string; } -export interface UpdateIndexInput { +export interface UpdatePolicyInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `Index` being updated. */ - indexPatch: IndexPatch; + /** An object where the defined keys will be set on the `Policy` being updated. */ + policyPatch: PolicyPatch; } -/** Represents an update to a `Index`. Fields that are set will be updated. */ -export interface IndexPatch { +/** Represents an update to a `Policy`. Fields that are set will be updated. */ +export interface PolicyPatch { id?: string; databaseId?: string; tableId?: string; name?: string; - fieldIds?: string[]; - includeFieldIds?: string[]; - accessMethod?: string; - indexParams?: unknown; - whereClause?: unknown; - isUnique?: boolean; + granteeName?: string; + privilege?: string; + permissive?: boolean; + disabled?: boolean; + policyType?: string; + data?: unknown; smartTags?: unknown; category?: ObjectCategory; module?: string; @@ -11412,36 +12292,6 @@ export interface OrgMembershipPatch { entityId?: string; profileId?: string; } -export interface UpdateInviteInput { - clientMutationId?: string; - id: string; - /** An object where the defined keys will be set on the `Invite` being updated. */ - invitePatch: InvitePatch; -} -/** Represents an update to a `Invite`. Fields that are set will be updated. */ -export interface InvitePatch { - id?: string; - /** Email address of the invited recipient */ - email?: ConstructiveInternalTypeEmail; - /** User ID of the member who sent this invitation */ - senderId?: string; - /** Unique random hex token used to redeem this invitation */ - inviteToken?: string; - /** Whether this invitation is still valid and can be redeemed */ - inviteValid?: boolean; - /** Maximum number of times this invite can be claimed; -1 means unlimited */ - inviteLimit?: number; - /** Running count of how many times this invite has been claimed */ - inviteCount?: number; - /** Whether this invite can be claimed by multiple recipients */ - multiple?: boolean; - /** Optional JSON payload of additional invite metadata */ - data?: unknown; - /** Timestamp after which this invitation can no longer be redeemed */ - expiresAt?: string; - createdAt?: string; - updatedAt?: string; -} export interface UpdateSchemaInput { clientMutationId?: string; id: string; @@ -11465,6 +12315,91 @@ export interface SchemaPatch { createdAt?: string; updatedAt?: string; } +export interface UpdateAppInput { + clientMutationId?: string; + /** Unique identifier for this app */ + id: string; + /** An object where the defined keys will be set on the `App` being updated. */ + appPatch: AppPatch; +} +/** Represents an update to a `App`. Fields that are set will be updated. */ +export interface AppPatch { + /** Unique identifier for this app */ + id?: string; + /** Reference to the metaschema database this app belongs to */ + databaseId?: string; + /** Site this app is associated with (one app per site) */ + siteId?: string; + /** Display name of the app */ + name?: string; + /** App icon or promotional image */ + appImage?: ConstructiveInternalTypeImage; + /** URL to the Apple App Store listing */ + appStoreLink?: ConstructiveInternalTypeUrl; + /** Apple App Store application identifier */ + appStoreId?: string; + /** Apple App ID prefix (Team ID) for universal links and associated domains */ + appIdPrefix?: string; + /** URL to the Google Play Store listing */ + playStoreLink?: ConstructiveInternalTypeUrl; + /** Upload for App icon or promotional image */ + appImageUpload?: File; +} +export interface UpdateSiteInput { + clientMutationId?: string; + /** Unique identifier for this site */ + id: string; + /** An object where the defined keys will be set on the `Site` being updated. */ + sitePatch: SitePatch; +} +/** Represents an update to a `Site`. Fields that are set will be updated. */ +export interface SitePatch { + /** Unique identifier for this site */ + id?: string; + /** Reference to the metaschema database this site belongs to */ + databaseId?: string; + /** Display title for the site (max 120 characters) */ + title?: string; + /** Short description of the site (max 120 characters) */ + description?: string; + /** Open Graph image used for social media link previews */ + ogImage?: ConstructiveInternalTypeImage; + /** Browser favicon attachment */ + favicon?: ConstructiveInternalTypeAttachment; + /** Apple touch icon for iOS home screen bookmarks */ + appleTouchIcon?: ConstructiveInternalTypeImage; + /** Primary logo image for the site */ + logo?: ConstructiveInternalTypeImage; + /** PostgreSQL database name this site connects to */ + dbname?: string; + /** Upload for Open Graph image used for social media link previews */ + ogImageUpload?: File; + /** Upload for Browser favicon attachment */ + faviconUpload?: File; + /** Upload for Apple touch icon for iOS home screen bookmarks */ + appleTouchIconUpload?: File; + /** Upload for Primary logo image for the site */ + logoUpload?: File; +} +export interface UpdateUserInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `User` being updated. */ + userPatch: UserPatch; +} +/** Represents an update to a `User`. Fields that are set will be updated. */ +export interface UserPatch { + id?: string; + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + searchTsv?: string; + type?: number; + createdAt?: string; + updatedAt?: string; + /** File upload for the `profilePicture` field. */ + profilePictureUpload?: File; +} export interface UpdateHierarchyModuleInput { clientMutationId?: string; id: string; @@ -11494,21 +12429,19 @@ export interface HierarchyModulePatch { isManagerOfFunction?: string; createdAt?: string; } -export interface UpdateOrgInviteInput { +export interface UpdateInviteInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `OrgInvite` being updated. */ - orgInvitePatch: OrgInvitePatch; + /** An object where the defined keys will be set on the `Invite` being updated. */ + invitePatch: InvitePatch; } -/** Represents an update to a `OrgInvite`. Fields that are set will be updated. */ -export interface OrgInvitePatch { +/** Represents an update to a `Invite`. Fields that are set will be updated. */ +export interface InvitePatch { id?: string; /** Email address of the invited recipient */ email?: ConstructiveInternalTypeEmail; /** User ID of the member who sent this invitation */ senderId?: string; - /** User ID of the intended recipient, if targeting a specific user */ - receiverId?: string; /** Unique random hex token used to redeem this invitation */ inviteToken?: string; /** Whether this invitation is still valid and can be redeemed */ @@ -11525,7 +12458,34 @@ export interface OrgInvitePatch { expiresAt?: string; createdAt?: string; updatedAt?: string; - entityId?: string; +} +export interface UpdateIndexInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `Index` being updated. */ + indexPatch: IndexPatch; +} +/** Represents an update to a `Index`. Fields that are set will be updated. */ +export interface IndexPatch { + id?: string; + databaseId?: string; + tableId?: string; + name?: string; + fieldIds?: string[]; + includeFieldIds?: string[]; + accessMethod?: string; + indexParams?: unknown; + whereClause?: unknown; + isUnique?: boolean; + options?: unknown; + opClasses?: string[]; + smartTags?: unknown; + category?: ObjectCategory; + module?: string; + scope?: number; + tags?: string[]; + createdAt?: string; + updatedAt?: string; } export interface UpdateForeignKeyConstraintInput { clientMutationId?: string; @@ -11554,6 +12514,39 @@ export interface ForeignKeyConstraintPatch { createdAt?: string; updatedAt?: string; } +export interface UpdateOrgInviteInput { + clientMutationId?: string; + id: string; + /** An object where the defined keys will be set on the `OrgInvite` being updated. */ + orgInvitePatch: OrgInvitePatch; +} +/** Represents an update to a `OrgInvite`. Fields that are set will be updated. */ +export interface OrgInvitePatch { + id?: string; + /** Email address of the invited recipient */ + email?: ConstructiveInternalTypeEmail; + /** User ID of the member who sent this invitation */ + senderId?: string; + /** User ID of the intended recipient, if targeting a specific user */ + receiverId?: string; + /** Unique random hex token used to redeem this invitation */ + inviteToken?: string; + /** Whether this invitation is still valid and can be redeemed */ + inviteValid?: boolean; + /** Maximum number of times this invite can be claimed; -1 means unlimited */ + inviteLimit?: number; + /** Running count of how many times this invite has been claimed */ + inviteCount?: number; + /** Whether this invite can be claimed by multiple recipients */ + multiple?: boolean; + /** Optional JSON payload of additional invite metadata */ + data?: unknown; + /** Timestamp after which this invitation can no longer be redeemed */ + expiresAt?: string; + createdAt?: string; + updatedAt?: string; + entityId?: string; +} export interface UpdateTableInput { clientMutationId?: string; id: string; @@ -11652,39 +12645,6 @@ export interface UserAuthModulePatch { oneTimeTokenFunction?: string; extendTokenExpires?: string; } -export interface UpdateFieldInput { - clientMutationId?: string; - id: string; - /** 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. */ -export interface FieldPatch { - id?: string; - databaseId?: string; - tableId?: string; - name?: string; - label?: string; - description?: string; - smartTags?: unknown; - isRequired?: boolean; - defaultValue?: string; - defaultValueAst?: unknown; - isHidden?: boolean; - type?: string; - fieldOrder?: number; - regexp?: string; - chk?: unknown; - chkExpr?: unknown; - min?: number; - max?: number; - tags?: string[]; - category?: ObjectCategory; - module?: string; - scope?: number; - createdAt?: string; - updatedAt?: string; -} export interface UpdateRelationProvisionInput { clientMutationId?: string; /** Unique identifier for this relation provision row. */ @@ -11818,6 +12778,39 @@ export interface RelationProvisionPatch { /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */ outTargetFieldId?: string; } +export interface UpdateFieldInput { + clientMutationId?: string; + id: string; + /** 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. */ +export interface FieldPatch { + id?: string; + databaseId?: string; + tableId?: string; + name?: string; + label?: string; + description?: string; + smartTags?: unknown; + isRequired?: boolean; + defaultValue?: string; + defaultValueAst?: unknown; + isHidden?: boolean; + type?: string; + fieldOrder?: number; + regexp?: string; + chk?: unknown; + chkExpr?: unknown; + min?: number; + max?: number; + tags?: string[]; + category?: ObjectCategory; + module?: string; + scope?: number; + createdAt?: string; + updatedAt?: string; +} export interface UpdateMembershipsModuleInput { clientMutationId?: string; id: string; @@ -11875,22 +12868,12 @@ export interface DeleteOrgMemberInput { clientMutationId?: string; id: string; } -export interface DeleteSiteThemeInput { - clientMutationId?: string; - /** Unique identifier for this theme record */ - id: string; -} export interface DeleteRefInput { clientMutationId?: string; /** The primary unique identifier for the ref. */ id: string; databaseId: string; } -export interface DeleteStoreInput { - clientMutationId?: string; - /** The primary unique identifier for the store. */ - id: string; -} export interface DeleteEncryptedSecretsModuleInput { clientMutationId?: string; id: string; @@ -11907,6 +12890,20 @@ export interface DeleteUuidModuleInput { clientMutationId?: string; id: string; } +export interface DeleteSiteThemeInput { + clientMutationId?: string; + /** Unique identifier for this theme record */ + id: string; +} +export interface DeleteStoreInput { + clientMutationId?: string; + /** The primary unique identifier for the store. */ + id: string; +} +export interface DeleteViewRuleInput { + clientMutationId?: string; + id: string; +} export interface DeleteAppPermissionDefaultInput { clientMutationId?: string; id: string; @@ -11929,10 +12926,6 @@ export interface DeleteTriggerFunctionInput { clientMutationId?: string; id: string; } -export interface DeleteViewRuleInput { - clientMutationId?: string; - id: string; -} export interface DeleteAppAdminGrantInput { clientMutationId?: string; id: string; @@ -11941,14 +12934,6 @@ export interface DeleteAppOwnerGrantInput { clientMutationId?: string; id: string; } -export interface DeleteRoleTypeInput { - clientMutationId?: string; - id: number; -} -export interface DeleteOrgPermissionDefaultInput { - clientMutationId?: string; - id: string; -} export interface DeleteDefaultPrivilegeInput { clientMutationId?: string; id: string; @@ -11990,11 +12975,11 @@ export interface DeleteCryptoAddressInput { clientMutationId?: string; id: string; } -export interface DeleteAppLimitDefaultInput { +export interface DeleteRoleTypeInput { clientMutationId?: string; - id: string; + id: number; } -export interface DeleteOrgLimitDefaultInput { +export interface DeleteOrgPermissionDefaultInput { clientMutationId?: string; id: string; } @@ -12006,24 +12991,23 @@ export interface DeleteCryptoAddressesModuleInput { clientMutationId?: string; id: string; } -export interface DeleteConnectedAccountInput { +export interface DeletePhoneNumberInput { clientMutationId?: string; id: string; } -export interface DeletePhoneNumberInput { +export interface DeleteAppLimitDefaultInput { clientMutationId?: string; id: string; } -export interface DeleteMembershipTypeInput { +export interface DeleteOrgLimitDefaultInput { clientMutationId?: string; - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; + id: string; } -export interface DeleteFieldModuleInput { +export interface DeleteConnectedAccountInput { clientMutationId?: string; id: string; } -export interface DeleteTableModuleInput { +export interface DeleteFieldModuleInput { clientMutationId?: string; id: string; } @@ -12040,6 +13024,11 @@ export interface DeleteNodeTypeRegistryInput { /** PascalCase domain-prefixed node type name (e.g., AuthzDirectOwner, DataTimestamps, FieldImmutable) */ name: string; } +export interface DeleteMembershipTypeInput { + clientMutationId?: string; + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; +} export interface DeleteTableGrantInput { clientMutationId?: string; id: string; @@ -12077,6 +13066,14 @@ export interface DeleteSiteMetadatumInput { /** Unique identifier for this metadata record */ id: string; } +export interface DeleteRlsModuleInput { + clientMutationId?: string; + id: string; +} +export interface DeleteSessionsModuleInput { + clientMutationId?: string; + id: string; +} export interface DeleteObjectInput { clientMutationId?: string; id: string; @@ -12114,10 +13111,6 @@ export interface DeleteDomainInput { /** Unique identifier for this domain record */ id: string; } -export interface DeleteSessionsModuleInput { - clientMutationId?: string; - id: string; -} export interface DeleteOrgGrantInput { clientMutationId?: string; id: string; @@ -12126,10 +13119,6 @@ export interface DeleteOrgMembershipDefaultInput { clientMutationId?: string; id: string; } -export interface DeleteRlsModuleInput { - clientMutationId?: string; - id: string; -} export interface DeleteAppLevelRequirementInput { clientMutationId?: string; id: string; @@ -12142,23 +13131,23 @@ export interface DeleteAppLevelInput { clientMutationId?: string; id: string; } -export interface DeleteEmailInput { +export interface DeleteCryptoAuthModuleInput { clientMutationId?: string; id: string; } -export interface DeleteDenormalizedTableFieldInput { +export interface DeleteDatabaseProvisionModuleInput { clientMutationId?: string; id: string; } -export interface DeleteCryptoAuthModuleInput { +export interface DeleteInvitesModuleInput { clientMutationId?: string; id: string; } -export interface DeleteDatabaseProvisionModuleInput { +export interface DeleteDenormalizedTableFieldInput { clientMutationId?: string; id: string; } -export interface DeleteInvitesModuleInput { +export interface DeleteEmailInput { clientMutationId?: string; id: string; } @@ -12170,6 +13159,14 @@ export interface DeletePermissionsModuleInput { clientMutationId?: string; id: string; } +export interface DeleteLimitsModuleInput { + clientMutationId?: string; + id: string; +} +export interface DeleteProfilesModuleInput { + clientMutationId?: string; + id: string; +} export interface DeleteSecureTableProvisionInput { clientMutationId?: string; /** Unique identifier for this provision row. */ @@ -12179,11 +13176,11 @@ export interface DeleteTriggerInput { clientMutationId?: string; id: string; } -export interface DeletePrimaryKeyConstraintInput { +export interface DeleteUniqueConstraintInput { clientMutationId?: string; id: string; } -export interface DeleteUniqueConstraintInput { +export interface DeletePrimaryKeyConstraintInput { clientMutationId?: string; id: string; } @@ -12195,37 +13192,33 @@ export interface DeletePolicyInput { clientMutationId?: string; id: string; } -export interface DeleteAppInput { - clientMutationId?: string; - /** Unique identifier for this app */ - id: string; -} -export interface DeleteSiteInput { +export interface DeleteAppMembershipInput { clientMutationId?: string; - /** Unique identifier for this site */ id: string; } -export interface DeleteUserInput { +export interface DeleteOrgMembershipInput { clientMutationId?: string; id: string; } -export interface DeleteLimitsModuleInput { +export interface DeleteSchemaInput { clientMutationId?: string; id: string; } -export interface DeleteProfilesModuleInput { +export interface DeleteAppInput { clientMutationId?: string; + /** Unique identifier for this app */ id: string; } -export interface DeleteIndexInput { +export interface DeleteSiteInput { clientMutationId?: string; + /** Unique identifier for this site */ id: string; } -export interface DeleteAppMembershipInput { +export interface DeleteUserInput { clientMutationId?: string; id: string; } -export interface DeleteOrgMembershipInput { +export interface DeleteHierarchyModuleInput { clientMutationId?: string; id: string; } @@ -12233,11 +13226,11 @@ export interface DeleteInviteInput { clientMutationId?: string; id: string; } -export interface DeleteSchemaInput { +export interface DeleteIndexInput { clientMutationId?: string; id: string; } -export interface DeleteHierarchyModuleInput { +export interface DeleteForeignKeyConstraintInput { clientMutationId?: string; id: string; } @@ -12245,10 +13238,6 @@ export interface DeleteOrgInviteInput { clientMutationId?: string; id: string; } -export interface DeleteForeignKeyConstraintInput { - clientMutationId?: string; - id: string; -} export interface DeleteTableInput { clientMutationId?: string; id: string; @@ -12261,13 +13250,13 @@ export interface DeleteUserAuthModuleInput { clientMutationId?: string; id: string; } -export interface DeleteFieldInput { +export interface DeleteRelationProvisionInput { clientMutationId?: string; + /** Unique identifier for this relation provision row. */ id: string; } -export interface DeleteRelationProvisionInput { +export interface DeleteFieldInput { clientMutationId?: string; - /** Unique identifier for this relation provision row. */ id: string; } export interface DeleteMembershipsModuleInput { @@ -12351,13 +13340,6 @@ export interface OrgMemberConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `SiteTheme` values. */ -export interface SiteThemeConnection { - nodes: SiteTheme[]; - edges: SiteThemeEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `Ref` values. */ export interface RefConnection { nodes: Ref[]; @@ -12365,13 +13347,6 @@ export interface RefConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Store` values. */ -export interface StoreConnection { - nodes: Store[]; - edges: StoreEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `EncryptedSecretsModule` values. */ export interface EncryptedSecretsModuleConnection { nodes: EncryptedSecretsModule[]; @@ -12400,6 +13375,27 @@ export interface UuidModuleConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `SiteTheme` values. */ +export interface SiteThemeConnection { + nodes: SiteTheme[]; + edges: SiteThemeEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `Store` values. */ +export interface StoreConnection { + nodes: Store[]; + edges: StoreEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `ViewRule` values. */ +export interface ViewRuleConnection { + nodes: ViewRule[]; + edges: ViewRuleEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `AppPermissionDefault` values. */ export interface AppPermissionDefaultConnection { nodes: AppPermissionDefault[]; @@ -12435,13 +13431,6 @@ export interface TriggerFunctionConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `ViewRule` values. */ -export interface ViewRuleConnection { - nodes: ViewRule[]; - edges: ViewRuleEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `AppAdminGrant` values. */ export interface AppAdminGrantConnection { nodes: AppAdminGrant[]; @@ -12456,20 +13445,6 @@ export interface AppOwnerGrantConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `RoleType` values. */ -export interface RoleTypeConnection { - nodes: RoleType[]; - edges: RoleTypeEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -/** A connection to a list of `OrgPermissionDefault` values. */ -export interface OrgPermissionDefaultConnection { - nodes: OrgPermissionDefault[]; - edges: OrgPermissionDefaultEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `DefaultPrivilege` values. */ export interface DefaultPrivilegeConnection { nodes: DefaultPrivilege[]; @@ -12540,17 +13515,17 @@ export interface CryptoAddressConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `AppLimitDefault` values. */ -export interface AppLimitDefaultConnection { - nodes: AppLimitDefault[]; - edges: AppLimitDefaultEdge[]; +/** A connection to a list of `RoleType` values. */ +export interface RoleTypeConnection { + nodes: RoleType[]; + edges: RoleTypeEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `OrgLimitDefault` values. */ -export interface OrgLimitDefaultConnection { - nodes: OrgLimitDefault[]; - edges: OrgLimitDefaultEdge[]; +/** A connection to a list of `OrgPermissionDefault` values. */ +export interface OrgPermissionDefaultConnection { + nodes: OrgPermissionDefault[]; + edges: OrgPermissionDefaultEdge[]; pageInfo: PageInfo; totalCount: number; } @@ -12568,6 +13543,27 @@ export interface CryptoAddressesModuleConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `PhoneNumber` values. */ +export interface PhoneNumberConnection { + nodes: PhoneNumber[]; + edges: PhoneNumberEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `AppLimitDefault` values. */ +export interface AppLimitDefaultConnection { + nodes: AppLimitDefault[]; + edges: AppLimitDefaultEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `OrgLimitDefault` values. */ +export interface OrgLimitDefaultConnection { + nodes: OrgLimitDefault[]; + edges: OrgLimitDefaultEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `ConnectedAccount` values. */ export interface ConnectedAccountConnection { nodes: ConnectedAccount[]; @@ -12575,20 +13571,6 @@ export interface ConnectedAccountConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `PhoneNumber` values. */ -export interface PhoneNumberConnection { - nodes: PhoneNumber[]; - edges: PhoneNumberEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -/** A connection to a list of `MembershipType` values. */ -export interface MembershipTypeConnection { - nodes: MembershipType[]; - edges: MembershipTypeEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `FieldModule` values. */ export interface FieldModuleConnection { nodes: FieldModule[]; @@ -12596,13 +13578,6 @@ export interface FieldModuleConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `TableModule` values. */ -export interface TableModuleConnection { - nodes: TableModule[]; - edges: TableModuleEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `TableTemplateModule` values. */ export interface TableTemplateModuleConnection { nodes: TableTemplateModule[]; @@ -12624,6 +13599,13 @@ export interface NodeTypeRegistryConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `MembershipType` values. */ +export interface MembershipTypeConnection { + nodes: MembershipType[]; + edges: MembershipTypeEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `TableGrant` values. */ export interface TableGrantConnection { nodes: TableGrant[]; @@ -12673,6 +13655,20 @@ export interface SiteMetadatumConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `RlsModule` values. */ +export interface RlsModuleConnection { + nodes: RlsModule[]; + edges: RlsModuleEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `SessionsModule` values. */ +export interface SessionsModuleConnection { + nodes: SessionsModule[]; + edges: SessionsModuleEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `FullTextSearch` values. */ export interface FullTextSearchConnection { nodes: FullTextSearch[]; @@ -12722,13 +13718,6 @@ export interface DomainConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `SessionsModule` values. */ -export interface SessionsModuleConnection { - nodes: SessionsModule[]; - edges: SessionsModuleEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `OrgGrant` values. */ export interface OrgGrantConnection { nodes: OrgGrant[]; @@ -12743,13 +13732,6 @@ export interface OrgMembershipDefaultConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `RlsModule` values. */ -export interface RlsModuleConnection { - nodes: RlsModule[]; - edges: RlsModuleEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `AuditLog` values. */ export interface AuditLogConnection { nodes: AuditLog[]; @@ -12764,20 +13746,6 @@ export interface AppLevelConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Email` values. */ -export interface EmailConnection { - nodes: Email[]; - edges: EmailEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -/** A connection to a list of `DenormalizedTableField` values. */ -export interface DenormalizedTableFieldConnection { - nodes: DenormalizedTableField[]; - edges: DenormalizedTableFieldEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `SqlMigration` values. */ export interface SqlMigrationConnection { nodes: SqlMigration[]; @@ -12806,6 +13774,20 @@ export interface InvitesModuleConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `DenormalizedTableField` values. */ +export interface DenormalizedTableFieldConnection { + nodes: DenormalizedTableField[]; + edges: DenormalizedTableFieldEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `Email` values. */ +export interface EmailConnection { + nodes: Email[]; + edges: EmailEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `View` values. */ export interface ViewConnection { nodes: View[]; @@ -12820,6 +13802,20 @@ export interface PermissionsModuleConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `LimitsModule` values. */ +export interface LimitsModuleConnection { + nodes: LimitsModule[]; + edges: LimitsModuleEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `ProfilesModule` values. */ +export interface ProfilesModuleConnection { + nodes: ProfilesModule[]; + edges: ProfilesModuleEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `SecureTableProvision` values. */ export interface SecureTableProvisionConnection { nodes: SecureTableProvision[]; @@ -12827,13 +13823,6 @@ export interface SecureTableProvisionConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `AstMigration` values. */ -export interface AstMigrationConnection { - nodes: AstMigration[]; - edges: AstMigrationEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `Trigger` values. */ export interface TriggerConnection { nodes: Trigger[]; @@ -12841,13 +13830,6 @@ export interface TriggerConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `PrimaryKeyConstraint` values. */ -export interface PrimaryKeyConstraintConnection { - nodes: PrimaryKeyConstraint[]; - edges: PrimaryKeyConstraintEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `UniqueConstraint` values. */ export interface UniqueConstraintConnection { nodes: UniqueConstraint[]; @@ -12855,6 +13837,13 @@ export interface UniqueConstraintConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `PrimaryKeyConstraint` values. */ +export interface PrimaryKeyConstraintConnection { + nodes: PrimaryKeyConstraint[]; + edges: PrimaryKeyConstraintEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `CheckConstraint` values. */ export interface CheckConstraintConnection { nodes: CheckConstraint[]; @@ -12869,59 +13858,59 @@ export interface PolicyConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `App` values. */ -export interface AppConnection { - nodes: App[]; - edges: AppEdge[]; +/** A connection to a list of `AstMigration` values. */ +export interface AstMigrationConnection { + nodes: AstMigration[]; + edges: AstMigrationEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Site` values. */ -export interface SiteConnection { - nodes: Site[]; - edges: SiteEdge[]; +/** A connection to a list of `AppMembership` values. */ +export interface AppMembershipConnection { + nodes: AppMembership[]; + edges: AppMembershipEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `User` values. */ -export interface UserConnection { - nodes: User[]; - edges: UserEdge[]; +/** A connection to a list of `OrgMembership` values. */ +export interface OrgMembershipConnection { + nodes: OrgMembership[]; + edges: OrgMembershipEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `LimitsModule` values. */ -export interface LimitsModuleConnection { - nodes: LimitsModule[]; - edges: LimitsModuleEdge[]; +/** A connection to a list of `Schema` values. */ +export interface SchemaConnection { + nodes: Schema[]; + edges: SchemaEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `ProfilesModule` values. */ -export interface ProfilesModuleConnection { - nodes: ProfilesModule[]; - edges: ProfilesModuleEdge[]; +/** A connection to a list of `App` values. */ +export interface AppConnection { + nodes: App[]; + edges: AppEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Index` values. */ -export interface IndexConnection { - nodes: Index[]; - edges: IndexEdge[]; +/** A connection to a list of `Site` values. */ +export interface SiteConnection { + nodes: Site[]; + edges: SiteEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `AppMembership` values. */ -export interface AppMembershipConnection { - nodes: AppMembership[]; - edges: AppMembershipEdge[]; +/** A connection to a list of `User` values. */ +export interface UserConnection { + nodes: User[]; + edges: UserEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `OrgMembership` values. */ -export interface OrgMembershipConnection { - nodes: OrgMembership[]; - edges: OrgMembershipEdge[]; +/** A connection to a list of `HierarchyModule` values. */ +export interface HierarchyModuleConnection { + nodes: HierarchyModule[]; + edges: HierarchyModuleEdge[]; pageInfo: PageInfo; totalCount: number; } @@ -12932,17 +13921,17 @@ export interface InviteConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Schema` values. */ -export interface SchemaConnection { - nodes: Schema[]; - edges: SchemaEdge[]; +/** A connection to a list of `Index` values. */ +export interface IndexConnection { + nodes: Index[]; + edges: IndexEdge[]; pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `HierarchyModule` values. */ -export interface HierarchyModuleConnection { - nodes: HierarchyModule[]; - edges: HierarchyModuleEdge[]; +/** A connection to a list of `ForeignKeyConstraint` values. */ +export interface ForeignKeyConstraintConnection { + nodes: ForeignKeyConstraint[]; + edges: ForeignKeyConstraintEdge[]; pageInfo: PageInfo; totalCount: number; } @@ -12953,13 +13942,6 @@ export interface OrgInviteConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `ForeignKeyConstraint` values. */ -export interface ForeignKeyConstraintConnection { - nodes: ForeignKeyConstraint[]; - edges: ForeignKeyConstraintEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `Table` values. */ export interface TableConnection { nodes: Table[]; @@ -12981,13 +13963,6 @@ export interface UserAuthModuleConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Field` values. */ -export interface FieldConnection { - nodes: Field[]; - edges: FieldEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `RelationProvision` values. */ export interface RelationProvisionConnection { nodes: RelationProvision[]; @@ -12995,6 +13970,13 @@ export interface RelationProvisionConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `Field` values. */ +export interface FieldConnection { + nodes: Field[]; + edges: FieldEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `MembershipsModule` values. */ export interface MembershipsModuleConnection { nodes: MembershipsModule[]; @@ -13046,14 +14028,14 @@ export interface ResetPasswordPayload { clientMutationId?: string | null; result?: boolean | null; } -export interface RemoveNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} export interface BootstrapUserPayload { clientMutationId?: string | null; result?: BootstrapUserRecord[] | null; } +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} export interface SetDataAtPathPayload { clientMutationId?: string | null; result?: string | null; @@ -13147,24 +14129,12 @@ export interface CreateOrgMemberPayload { orgMember?: OrgMember | null; orgMemberEdge?: OrgMemberEdge | null; } -export interface CreateSiteThemePayload { - clientMutationId?: string | null; - /** The `SiteTheme` that was created by this mutation. */ - siteTheme?: SiteTheme | null; - siteThemeEdge?: SiteThemeEdge | null; -} export interface CreateRefPayload { clientMutationId?: string | null; /** The `Ref` that was created by this mutation. */ ref?: Ref | null; refEdge?: RefEdge | null; } -export interface CreateStorePayload { - clientMutationId?: string | null; - /** The `Store` that was created by this mutation. */ - store?: Store | null; - storeEdge?: StoreEdge | null; -} export interface CreateEncryptedSecretsModulePayload { clientMutationId?: string | null; /** The `EncryptedSecretsModule` that was created by this mutation. */ @@ -13183,11 +14153,29 @@ export interface CreateSecretsModulePayload { secretsModule?: SecretsModule | null; secretsModuleEdge?: SecretsModuleEdge | null; } -export interface CreateUuidModulePayload { +export interface CreateUuidModulePayload { + clientMutationId?: string | null; + /** The `UuidModule` that was created by this mutation. */ + uuidModule?: UuidModule | null; + uuidModuleEdge?: UuidModuleEdge | null; +} +export interface CreateSiteThemePayload { + clientMutationId?: string | null; + /** The `SiteTheme` that was created by this mutation. */ + siteTheme?: SiteTheme | null; + siteThemeEdge?: SiteThemeEdge | null; +} +export interface CreateStorePayload { + clientMutationId?: string | null; + /** The `Store` that was created by this mutation. */ + store?: Store | null; + storeEdge?: StoreEdge | null; +} +export interface CreateViewRulePayload { clientMutationId?: string | null; - /** The `UuidModule` that was created by this mutation. */ - uuidModule?: UuidModule | null; - uuidModuleEdge?: UuidModuleEdge | null; + /** The `ViewRule` that was created by this mutation. */ + viewRule?: ViewRule | null; + viewRuleEdge?: ViewRuleEdge | null; } export interface CreateAppPermissionDefaultPayload { clientMutationId?: string | null; @@ -13219,12 +14207,6 @@ export interface CreateTriggerFunctionPayload { triggerFunction?: TriggerFunction | null; triggerFunctionEdge?: TriggerFunctionEdge | null; } -export interface CreateViewRulePayload { - clientMutationId?: string | null; - /** The `ViewRule` that was created by this mutation. */ - viewRule?: ViewRule | null; - viewRuleEdge?: ViewRuleEdge | null; -} export interface CreateAppAdminGrantPayload { clientMutationId?: string | null; /** The `AppAdminGrant` that was created by this mutation. */ @@ -13237,18 +14219,6 @@ export interface CreateAppOwnerGrantPayload { appOwnerGrant?: AppOwnerGrant | null; appOwnerGrantEdge?: AppOwnerGrantEdge | null; } -export interface CreateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was created by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export interface CreateOrgPermissionDefaultPayload { - clientMutationId?: string | null; - /** The `OrgPermissionDefault` that was created by this mutation. */ - orgPermissionDefault?: OrgPermissionDefault | null; - orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null; -} export interface CreateDefaultPrivilegePayload { clientMutationId?: string | null; /** The `DefaultPrivilege` that was created by this mutation. */ @@ -13309,17 +14279,17 @@ export interface CreateCryptoAddressPayload { cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } -export interface CreateAppLimitDefaultPayload { +export interface CreateRoleTypePayload { clientMutationId?: string | null; - /** The `AppLimitDefault` that was created by this mutation. */ - appLimitDefault?: AppLimitDefault | null; - appLimitDefaultEdge?: AppLimitDefaultEdge | null; + /** The `RoleType` that was created by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; } -export interface CreateOrgLimitDefaultPayload { +export interface CreateOrgPermissionDefaultPayload { clientMutationId?: string | null; - /** The `OrgLimitDefault` that was created by this mutation. */ - orgLimitDefault?: OrgLimitDefault | null; - orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; + /** The `OrgPermissionDefault` that was created by this mutation. */ + orgPermissionDefault?: OrgPermissionDefault | null; + orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null; } export interface CreateDatabasePayload { clientMutationId?: string | null; @@ -13333,23 +14303,29 @@ export interface CreateCryptoAddressesModulePayload { cryptoAddressesModule?: CryptoAddressesModule | null; cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null; } -export interface CreateConnectedAccountPayload { - clientMutationId?: string | null; - /** The `ConnectedAccount` that was created by this mutation. */ - connectedAccount?: ConnectedAccount | null; - connectedAccountEdge?: ConnectedAccountEdge | null; -} export interface CreatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was created by this mutation. */ phoneNumber?: PhoneNumber | null; phoneNumberEdge?: PhoneNumberEdge | null; } -export interface CreateMembershipTypePayload { +export interface CreateAppLimitDefaultPayload { clientMutationId?: string | null; - /** The `MembershipType` that was created by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; + /** The `AppLimitDefault` that was created by this mutation. */ + appLimitDefault?: AppLimitDefault | null; + appLimitDefaultEdge?: AppLimitDefaultEdge | null; +} +export interface CreateOrgLimitDefaultPayload { + clientMutationId?: string | null; + /** The `OrgLimitDefault` that was created by this mutation. */ + orgLimitDefault?: OrgLimitDefault | null; + orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; +} +export interface CreateConnectedAccountPayload { + clientMutationId?: string | null; + /** The `ConnectedAccount` that was created by this mutation. */ + connectedAccount?: ConnectedAccount | null; + connectedAccountEdge?: ConnectedAccountEdge | null; } export interface CreateFieldModulePayload { clientMutationId?: string | null; @@ -13357,12 +14333,6 @@ export interface CreateFieldModulePayload { fieldModule?: FieldModule | null; fieldModuleEdge?: FieldModuleEdge | null; } -export interface CreateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was created by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} export interface CreateTableTemplateModulePayload { clientMutationId?: string | null; /** The `TableTemplateModule` that was created by this mutation. */ @@ -13381,6 +14351,12 @@ export interface CreateNodeTypeRegistryPayload { nodeTypeRegistry?: NodeTypeRegistry | null; nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } +export interface CreateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was created by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} export interface CreateTableGrantPayload { clientMutationId?: string | null; /** The `TableGrant` that was created by this mutation. */ @@ -13435,6 +14411,18 @@ export interface CreateSiteMetadatumPayload { siteMetadatum?: SiteMetadatum | null; siteMetadatumEdge?: SiteMetadatumEdge | null; } +export interface CreateRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was created by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export interface CreateSessionsModulePayload { + clientMutationId?: string | null; + /** The `SessionsModule` that was created by this mutation. */ + sessionsModule?: SessionsModule | null; + sessionsModuleEdge?: SessionsModuleEdge | null; +} export interface CreateObjectPayload { clientMutationId?: string | null; /** The `Object` that was created by this mutation. */ @@ -13483,12 +14471,6 @@ export interface CreateDomainPayload { domain?: Domain | null; domainEdge?: DomainEdge | null; } -export interface CreateSessionsModulePayload { - clientMutationId?: string | null; - /** The `SessionsModule` that was created by this mutation. */ - sessionsModule?: SessionsModule | null; - sessionsModuleEdge?: SessionsModuleEdge | null; -} export interface CreateOrgGrantPayload { clientMutationId?: string | null; /** The `OrgGrant` that was created by this mutation. */ @@ -13501,12 +14483,6 @@ export interface CreateOrgMembershipDefaultPayload { orgMembershipDefault?: OrgMembershipDefault | null; orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null; } -export interface CreateRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was created by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} export interface CreateAppLevelRequirementPayload { clientMutationId?: string | null; /** The `AppLevelRequirement` that was created by this mutation. */ @@ -13525,18 +14501,6 @@ export interface CreateAppLevelPayload { appLevel?: AppLevel | null; appLevelEdge?: AppLevelEdge | null; } -export interface CreateEmailPayload { - clientMutationId?: string | null; - /** The `Email` that was created by this mutation. */ - email?: Email | null; - emailEdge?: EmailEdge | null; -} -export interface CreateDenormalizedTableFieldPayload { - clientMutationId?: string | null; - /** The `DenormalizedTableField` that was created by this mutation. */ - denormalizedTableField?: DenormalizedTableField | null; - denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; -} export interface CreateSqlMigrationPayload { clientMutationId?: string | null; /** The `SqlMigration` that was created by this mutation. */ @@ -13560,6 +14524,18 @@ export interface CreateInvitesModulePayload { invitesModule?: InvitesModule | null; invitesModuleEdge?: InvitesModuleEdge | null; } +export interface CreateDenormalizedTableFieldPayload { + clientMutationId?: string | null; + /** The `DenormalizedTableField` that was created by this mutation. */ + denormalizedTableField?: DenormalizedTableField | null; + denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; +} +export interface CreateEmailPayload { + clientMutationId?: string | null; + /** The `Email` that was created by this mutation. */ + email?: Email | null; + emailEdge?: EmailEdge | null; +} export interface CreateViewPayload { clientMutationId?: string | null; /** The `View` that was created by this mutation. */ @@ -13572,35 +14548,42 @@ export interface CreatePermissionsModulePayload { permissionsModule?: PermissionsModule | null; permissionsModuleEdge?: PermissionsModuleEdge | null; } +export interface CreateLimitsModulePayload { + clientMutationId?: string | null; + /** The `LimitsModule` that was created by this mutation. */ + limitsModule?: LimitsModule | null; + limitsModuleEdge?: LimitsModuleEdge | null; +} +export interface CreateProfilesModulePayload { + clientMutationId?: string | null; + /** The `ProfilesModule` that was created by this mutation. */ + profilesModule?: ProfilesModule | null; + profilesModuleEdge?: ProfilesModuleEdge | null; +} export interface CreateSecureTableProvisionPayload { clientMutationId?: string | null; /** The `SecureTableProvision` that was created by this mutation. */ secureTableProvision?: SecureTableProvision | null; secureTableProvisionEdge?: SecureTableProvisionEdge | null; } -export interface CreateAstMigrationPayload { - clientMutationId?: string | null; - /** The `AstMigration` that was created by this mutation. */ - astMigration?: AstMigration | null; -} export interface CreateTriggerPayload { clientMutationId?: string | null; /** The `Trigger` that was created by this mutation. */ trigger?: Trigger | null; triggerEdge?: TriggerEdge | null; } -export interface CreatePrimaryKeyConstraintPayload { - clientMutationId?: string | null; - /** The `PrimaryKeyConstraint` that was created by this mutation. */ - primaryKeyConstraint?: PrimaryKeyConstraint | null; - primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; -} export interface CreateUniqueConstraintPayload { clientMutationId?: string | null; /** The `UniqueConstraint` that was created by this mutation. */ uniqueConstraint?: UniqueConstraint | null; uniqueConstraintEdge?: UniqueConstraintEdge | null; } +export interface CreatePrimaryKeyConstraintPayload { + clientMutationId?: string | null; + /** The `PrimaryKeyConstraint` that was created by this mutation. */ + primaryKeyConstraint?: PrimaryKeyConstraint | null; + primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; +} export interface CreateCheckConstraintPayload { clientMutationId?: string | null; /** The `CheckConstraint` that was created by this mutation. */ @@ -13613,6 +14596,29 @@ export interface CreatePolicyPayload { policy?: Policy | null; policyEdge?: PolicyEdge | null; } +export interface CreateAstMigrationPayload { + clientMutationId?: string | null; + /** The `AstMigration` that was created by this mutation. */ + astMigration?: AstMigration | null; +} +export interface CreateAppMembershipPayload { + clientMutationId?: string | null; + /** The `AppMembership` that was created by this mutation. */ + appMembership?: AppMembership | null; + appMembershipEdge?: AppMembershipEdge | null; +} +export interface CreateOrgMembershipPayload { + clientMutationId?: string | null; + /** The `OrgMembership` that was created by this mutation. */ + orgMembership?: OrgMembership | null; + orgMembershipEdge?: OrgMembershipEdge | null; +} +export interface CreateSchemaPayload { + clientMutationId?: string | null; + /** The `Schema` that was created by this mutation. */ + schema?: Schema | null; + schemaEdge?: SchemaEdge | null; +} export interface CreateAppPayload { clientMutationId?: string | null; /** The `App` that was created by this mutation. */ @@ -13631,35 +14637,11 @@ export interface CreateUserPayload { user?: User | null; userEdge?: UserEdge | null; } -export interface CreateLimitsModulePayload { - clientMutationId?: string | null; - /** The `LimitsModule` that was created by this mutation. */ - limitsModule?: LimitsModule | null; - limitsModuleEdge?: LimitsModuleEdge | null; -} -export interface CreateProfilesModulePayload { - clientMutationId?: string | null; - /** The `ProfilesModule` that was created by this mutation. */ - profilesModule?: ProfilesModule | null; - profilesModuleEdge?: ProfilesModuleEdge | null; -} -export interface CreateIndexPayload { - clientMutationId?: string | null; - /** The `Index` that was created by this mutation. */ - index?: Index | null; - indexEdge?: IndexEdge | null; -} -export interface CreateAppMembershipPayload { - clientMutationId?: string | null; - /** The `AppMembership` that was created by this mutation. */ - appMembership?: AppMembership | null; - appMembershipEdge?: AppMembershipEdge | null; -} -export interface CreateOrgMembershipPayload { +export interface CreateHierarchyModulePayload { clientMutationId?: string | null; - /** The `OrgMembership` that was created by this mutation. */ - orgMembership?: OrgMembership | null; - orgMembershipEdge?: OrgMembershipEdge | null; + /** The `HierarchyModule` that was created by this mutation. */ + hierarchyModule?: HierarchyModule | null; + hierarchyModuleEdge?: HierarchyModuleEdge | null; } export interface CreateInvitePayload { clientMutationId?: string | null; @@ -13667,17 +14649,17 @@ export interface CreateInvitePayload { invite?: Invite | null; inviteEdge?: InviteEdge | null; } -export interface CreateSchemaPayload { +export interface CreateIndexPayload { clientMutationId?: string | null; - /** The `Schema` that was created by this mutation. */ - schema?: Schema | null; - schemaEdge?: SchemaEdge | null; + /** The `Index` that was created by this mutation. */ + index?: Index | null; + indexEdge?: IndexEdge | null; } -export interface CreateHierarchyModulePayload { +export interface CreateForeignKeyConstraintPayload { clientMutationId?: string | null; - /** The `HierarchyModule` that was created by this mutation. */ - hierarchyModule?: HierarchyModule | null; - hierarchyModuleEdge?: HierarchyModuleEdge | null; + /** The `ForeignKeyConstraint` that was created by this mutation. */ + foreignKeyConstraint?: ForeignKeyConstraint | null; + foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null; } export interface CreateOrgInvitePayload { clientMutationId?: string | null; @@ -13685,12 +14667,6 @@ export interface CreateOrgInvitePayload { orgInvite?: OrgInvite | null; orgInviteEdge?: OrgInviteEdge | null; } -export interface CreateForeignKeyConstraintPayload { - clientMutationId?: string | null; - /** The `ForeignKeyConstraint` that was created by this mutation. */ - foreignKeyConstraint?: ForeignKeyConstraint | null; - foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null; -} export interface CreateTablePayload { clientMutationId?: string | null; /** The `Table` that was created by this mutation. */ @@ -13709,18 +14685,18 @@ export interface CreateUserAuthModulePayload { userAuthModule?: UserAuthModule | null; userAuthModuleEdge?: UserAuthModuleEdge | null; } -export interface CreateFieldPayload { - clientMutationId?: string | null; - /** The `Field` that was created by this mutation. */ - field?: Field | null; - fieldEdge?: FieldEdge | null; -} export interface CreateRelationProvisionPayload { clientMutationId?: string | null; /** The `RelationProvision` that was created by this mutation. */ relationProvision?: RelationProvision | null; relationProvisionEdge?: RelationProvisionEdge | null; } +export interface CreateFieldPayload { + clientMutationId?: string | null; + /** The `Field` that was created by this mutation. */ + field?: Field | null; + fieldEdge?: FieldEdge | null; +} export interface CreateMembershipsModulePayload { clientMutationId?: string | null; /** The `MembershipsModule` that was created by this mutation. */ @@ -13751,23 +14727,11 @@ export interface UpdateOrgMemberPayload { orgMember?: OrgMember | null; orgMemberEdge?: OrgMemberEdge | null; } -export interface UpdateSiteThemePayload { - clientMutationId?: string | null; - /** The `SiteTheme` that was updated by this mutation. */ - siteTheme?: SiteTheme | null; - siteThemeEdge?: SiteThemeEdge | null; -} export interface UpdateRefPayload { clientMutationId?: string | null; /** The `Ref` that was updated by this mutation. */ - ref?: Ref | null; - refEdge?: RefEdge | null; -} -export interface UpdateStorePayload { - clientMutationId?: string | null; - /** The `Store` that was updated by this mutation. */ - store?: Store | null; - storeEdge?: StoreEdge | null; + ref?: Ref | null; + refEdge?: RefEdge | null; } export interface UpdateEncryptedSecretsModulePayload { clientMutationId?: string | null; @@ -13793,6 +14757,24 @@ export interface UpdateUuidModulePayload { uuidModule?: UuidModule | null; uuidModuleEdge?: UuidModuleEdge | null; } +export interface UpdateSiteThemePayload { + clientMutationId?: string | null; + /** The `SiteTheme` that was updated by this mutation. */ + siteTheme?: SiteTheme | null; + siteThemeEdge?: SiteThemeEdge | null; +} +export interface UpdateStorePayload { + clientMutationId?: string | null; + /** The `Store` that was updated by this mutation. */ + store?: Store | null; + storeEdge?: StoreEdge | null; +} +export interface UpdateViewRulePayload { + clientMutationId?: string | null; + /** The `ViewRule` that was updated by this mutation. */ + viewRule?: ViewRule | null; + viewRuleEdge?: ViewRuleEdge | null; +} export interface UpdateAppPermissionDefaultPayload { clientMutationId?: string | null; /** The `AppPermissionDefault` that was updated by this mutation. */ @@ -13823,12 +14805,6 @@ export interface UpdateTriggerFunctionPayload { triggerFunction?: TriggerFunction | null; triggerFunctionEdge?: TriggerFunctionEdge | null; } -export interface UpdateViewRulePayload { - clientMutationId?: string | null; - /** The `ViewRule` that was updated by this mutation. */ - viewRule?: ViewRule | null; - viewRuleEdge?: ViewRuleEdge | null; -} export interface UpdateAppAdminGrantPayload { clientMutationId?: string | null; /** The `AppAdminGrant` that was updated by this mutation. */ @@ -13841,18 +14817,6 @@ export interface UpdateAppOwnerGrantPayload { appOwnerGrant?: AppOwnerGrant | null; appOwnerGrantEdge?: AppOwnerGrantEdge | null; } -export interface UpdateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was updated by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export interface UpdateOrgPermissionDefaultPayload { - clientMutationId?: string | null; - /** The `OrgPermissionDefault` that was updated by this mutation. */ - orgPermissionDefault?: OrgPermissionDefault | null; - orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null; -} export interface UpdateDefaultPrivilegePayload { clientMutationId?: string | null; /** The `DefaultPrivilege` that was updated by this mutation. */ @@ -13913,17 +14877,17 @@ export interface UpdateCryptoAddressPayload { cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } -export interface UpdateAppLimitDefaultPayload { +export interface UpdateRoleTypePayload { clientMutationId?: string | null; - /** The `AppLimitDefault` that was updated by this mutation. */ - appLimitDefault?: AppLimitDefault | null; - appLimitDefaultEdge?: AppLimitDefaultEdge | null; + /** The `RoleType` that was updated by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; } -export interface UpdateOrgLimitDefaultPayload { +export interface UpdateOrgPermissionDefaultPayload { clientMutationId?: string | null; - /** The `OrgLimitDefault` that was updated by this mutation. */ - orgLimitDefault?: OrgLimitDefault | null; - orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; + /** The `OrgPermissionDefault` that was updated by this mutation. */ + orgPermissionDefault?: OrgPermissionDefault | null; + orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null; } export interface UpdateDatabasePayload { clientMutationId?: string | null; @@ -13937,23 +14901,29 @@ export interface UpdateCryptoAddressesModulePayload { cryptoAddressesModule?: CryptoAddressesModule | null; cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null; } -export interface UpdateConnectedAccountPayload { - clientMutationId?: string | null; - /** The `ConnectedAccount` that was updated by this mutation. */ - connectedAccount?: ConnectedAccount | null; - connectedAccountEdge?: ConnectedAccountEdge | null; -} export interface UpdatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was updated by this mutation. */ phoneNumber?: PhoneNumber | null; phoneNumberEdge?: PhoneNumberEdge | null; } -export interface UpdateMembershipTypePayload { +export interface UpdateAppLimitDefaultPayload { clientMutationId?: string | null; - /** The `MembershipType` that was updated by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; + /** The `AppLimitDefault` that was updated by this mutation. */ + appLimitDefault?: AppLimitDefault | null; + appLimitDefaultEdge?: AppLimitDefaultEdge | null; +} +export interface UpdateOrgLimitDefaultPayload { + clientMutationId?: string | null; + /** The `OrgLimitDefault` that was updated by this mutation. */ + orgLimitDefault?: OrgLimitDefault | null; + orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; +} +export interface UpdateConnectedAccountPayload { + clientMutationId?: string | null; + /** The `ConnectedAccount` that was updated by this mutation. */ + connectedAccount?: ConnectedAccount | null; + connectedAccountEdge?: ConnectedAccountEdge | null; } export interface UpdateFieldModulePayload { clientMutationId?: string | null; @@ -13961,12 +14931,6 @@ export interface UpdateFieldModulePayload { fieldModule?: FieldModule | null; fieldModuleEdge?: FieldModuleEdge | null; } -export interface UpdateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was updated by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} export interface UpdateTableTemplateModulePayload { clientMutationId?: string | null; /** The `TableTemplateModule` that was updated by this mutation. */ @@ -13985,6 +14949,12 @@ export interface UpdateNodeTypeRegistryPayload { nodeTypeRegistry?: NodeTypeRegistry | null; nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } +export interface UpdateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was updated by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} export interface UpdateTableGrantPayload { clientMutationId?: string | null; /** The `TableGrant` that was updated by this mutation. */ @@ -14039,6 +15009,18 @@ export interface UpdateSiteMetadatumPayload { siteMetadatum?: SiteMetadatum | null; siteMetadatumEdge?: SiteMetadatumEdge | null; } +export interface UpdateRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was updated by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export interface UpdateSessionsModulePayload { + clientMutationId?: string | null; + /** The `SessionsModule` that was updated by this mutation. */ + sessionsModule?: SessionsModule | null; + sessionsModuleEdge?: SessionsModuleEdge | null; +} export interface UpdateObjectPayload { clientMutationId?: string | null; /** The `Object` that was updated by this mutation. */ @@ -14087,12 +15069,6 @@ export interface UpdateDomainPayload { domain?: Domain | null; domainEdge?: DomainEdge | null; } -export interface UpdateSessionsModulePayload { - clientMutationId?: string | null; - /** The `SessionsModule` that was updated by this mutation. */ - sessionsModule?: SessionsModule | null; - sessionsModuleEdge?: SessionsModuleEdge | null; -} export interface UpdateOrgGrantPayload { clientMutationId?: string | null; /** The `OrgGrant` that was updated by this mutation. */ @@ -14105,12 +15081,6 @@ export interface UpdateOrgMembershipDefaultPayload { orgMembershipDefault?: OrgMembershipDefault | null; orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null; } -export interface UpdateRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was updated by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} export interface UpdateAppLevelRequirementPayload { clientMutationId?: string | null; /** The `AppLevelRequirement` that was updated by this mutation. */ @@ -14129,18 +15099,6 @@ export interface UpdateAppLevelPayload { appLevel?: AppLevel | null; appLevelEdge?: AppLevelEdge | null; } -export interface UpdateEmailPayload { - clientMutationId?: string | null; - /** The `Email` that was updated by this mutation. */ - email?: Email | null; - emailEdge?: EmailEdge | null; -} -export interface UpdateDenormalizedTableFieldPayload { - clientMutationId?: string | null; - /** The `DenormalizedTableField` that was updated by this mutation. */ - denormalizedTableField?: DenormalizedTableField | null; - denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; -} export interface UpdateCryptoAuthModulePayload { clientMutationId?: string | null; /** The `CryptoAuthModule` that was updated by this mutation. */ @@ -14159,6 +15117,18 @@ export interface UpdateInvitesModulePayload { invitesModule?: InvitesModule | null; invitesModuleEdge?: InvitesModuleEdge | null; } +export interface UpdateDenormalizedTableFieldPayload { + clientMutationId?: string | null; + /** The `DenormalizedTableField` that was updated by this mutation. */ + denormalizedTableField?: DenormalizedTableField | null; + denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; +} +export interface UpdateEmailPayload { + clientMutationId?: string | null; + /** The `Email` that was updated by this mutation. */ + email?: Email | null; + emailEdge?: EmailEdge | null; +} export interface UpdateViewPayload { clientMutationId?: string | null; /** The `View` that was updated by this mutation. */ @@ -14171,6 +15141,18 @@ export interface UpdatePermissionsModulePayload { permissionsModule?: PermissionsModule | null; permissionsModuleEdge?: PermissionsModuleEdge | null; } +export interface UpdateLimitsModulePayload { + clientMutationId?: string | null; + /** The `LimitsModule` that was updated by this mutation. */ + limitsModule?: LimitsModule | null; + limitsModuleEdge?: LimitsModuleEdge | null; +} +export interface UpdateProfilesModulePayload { + clientMutationId?: string | null; + /** The `ProfilesModule` that was updated by this mutation. */ + profilesModule?: ProfilesModule | null; + profilesModuleEdge?: ProfilesModuleEdge | null; +} export interface UpdateSecureTableProvisionPayload { clientMutationId?: string | null; /** The `SecureTableProvision` that was updated by this mutation. */ @@ -14183,18 +15165,18 @@ export interface UpdateTriggerPayload { trigger?: Trigger | null; triggerEdge?: TriggerEdge | null; } -export interface UpdatePrimaryKeyConstraintPayload { - clientMutationId?: string | null; - /** The `PrimaryKeyConstraint` that was updated by this mutation. */ - primaryKeyConstraint?: PrimaryKeyConstraint | null; - primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; -} export interface UpdateUniqueConstraintPayload { clientMutationId?: string | null; /** The `UniqueConstraint` that was updated by this mutation. */ uniqueConstraint?: UniqueConstraint | null; uniqueConstraintEdge?: UniqueConstraintEdge | null; } +export interface UpdatePrimaryKeyConstraintPayload { + clientMutationId?: string | null; + /** The `PrimaryKeyConstraint` that was updated by this mutation. */ + primaryKeyConstraint?: PrimaryKeyConstraint | null; + primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; +} export interface UpdateCheckConstraintPayload { clientMutationId?: string | null; /** The `CheckConstraint` that was updated by this mutation. */ @@ -14207,6 +15189,24 @@ export interface UpdatePolicyPayload { policy?: Policy | null; policyEdge?: PolicyEdge | null; } +export interface UpdateAppMembershipPayload { + clientMutationId?: string | null; + /** The `AppMembership` that was updated by this mutation. */ + appMembership?: AppMembership | null; + appMembershipEdge?: AppMembershipEdge | null; +} +export interface UpdateOrgMembershipPayload { + clientMutationId?: string | null; + /** The `OrgMembership` that was updated by this mutation. */ + orgMembership?: OrgMembership | null; + orgMembershipEdge?: OrgMembershipEdge | null; +} +export interface UpdateSchemaPayload { + clientMutationId?: string | null; + /** The `Schema` that was updated by this mutation. */ + schema?: Schema | null; + schemaEdge?: SchemaEdge | null; +} export interface UpdateAppPayload { clientMutationId?: string | null; /** The `App` that was updated by this mutation. */ @@ -14225,35 +15225,11 @@ export interface UpdateUserPayload { user?: User | null; userEdge?: UserEdge | null; } -export interface UpdateLimitsModulePayload { - clientMutationId?: string | null; - /** The `LimitsModule` that was updated by this mutation. */ - limitsModule?: LimitsModule | null; - limitsModuleEdge?: LimitsModuleEdge | null; -} -export interface UpdateProfilesModulePayload { - clientMutationId?: string | null; - /** The `ProfilesModule` that was updated by this mutation. */ - profilesModule?: ProfilesModule | null; - profilesModuleEdge?: ProfilesModuleEdge | null; -} -export interface UpdateIndexPayload { - clientMutationId?: string | null; - /** The `Index` that was updated by this mutation. */ - index?: Index | null; - indexEdge?: IndexEdge | null; -} -export interface UpdateAppMembershipPayload { - clientMutationId?: string | null; - /** The `AppMembership` that was updated by this mutation. */ - appMembership?: AppMembership | null; - appMembershipEdge?: AppMembershipEdge | null; -} -export interface UpdateOrgMembershipPayload { +export interface UpdateHierarchyModulePayload { clientMutationId?: string | null; - /** The `OrgMembership` that was updated by this mutation. */ - orgMembership?: OrgMembership | null; - orgMembershipEdge?: OrgMembershipEdge | null; + /** The `HierarchyModule` that was updated by this mutation. */ + hierarchyModule?: HierarchyModule | null; + hierarchyModuleEdge?: HierarchyModuleEdge | null; } export interface UpdateInvitePayload { clientMutationId?: string | null; @@ -14261,17 +15237,17 @@ export interface UpdateInvitePayload { invite?: Invite | null; inviteEdge?: InviteEdge | null; } -export interface UpdateSchemaPayload { +export interface UpdateIndexPayload { clientMutationId?: string | null; - /** The `Schema` that was updated by this mutation. */ - schema?: Schema | null; - schemaEdge?: SchemaEdge | null; + /** The `Index` that was updated by this mutation. */ + index?: Index | null; + indexEdge?: IndexEdge | null; } -export interface UpdateHierarchyModulePayload { +export interface UpdateForeignKeyConstraintPayload { clientMutationId?: string | null; - /** The `HierarchyModule` that was updated by this mutation. */ - hierarchyModule?: HierarchyModule | null; - hierarchyModuleEdge?: HierarchyModuleEdge | null; + /** The `ForeignKeyConstraint` that was updated by this mutation. */ + foreignKeyConstraint?: ForeignKeyConstraint | null; + foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null; } export interface UpdateOrgInvitePayload { clientMutationId?: string | null; @@ -14279,12 +15255,6 @@ export interface UpdateOrgInvitePayload { orgInvite?: OrgInvite | null; orgInviteEdge?: OrgInviteEdge | null; } -export interface UpdateForeignKeyConstraintPayload { - clientMutationId?: string | null; - /** The `ForeignKeyConstraint` that was updated by this mutation. */ - foreignKeyConstraint?: ForeignKeyConstraint | null; - foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null; -} export interface UpdateTablePayload { clientMutationId?: string | null; /** The `Table` that was updated by this mutation. */ @@ -14303,18 +15273,18 @@ export interface UpdateUserAuthModulePayload { userAuthModule?: UserAuthModule | null; userAuthModuleEdge?: UserAuthModuleEdge | null; } -export interface UpdateFieldPayload { - clientMutationId?: string | null; - /** The `Field` that was updated by this mutation. */ - field?: Field | null; - fieldEdge?: FieldEdge | null; -} export interface UpdateRelationProvisionPayload { clientMutationId?: string | null; /** The `RelationProvision` that was updated by this mutation. */ relationProvision?: RelationProvision | null; relationProvisionEdge?: RelationProvisionEdge | null; } +export interface UpdateFieldPayload { + clientMutationId?: string | null; + /** The `Field` that was updated by this mutation. */ + field?: Field | null; + fieldEdge?: FieldEdge | null; +} export interface UpdateMembershipsModulePayload { clientMutationId?: string | null; /** The `MembershipsModule` that was updated by this mutation. */ @@ -14345,24 +15315,12 @@ export interface DeleteOrgMemberPayload { orgMember?: OrgMember | null; orgMemberEdge?: OrgMemberEdge | null; } -export interface DeleteSiteThemePayload { - clientMutationId?: string | null; - /** The `SiteTheme` that was deleted by this mutation. */ - siteTheme?: SiteTheme | null; - siteThemeEdge?: SiteThemeEdge | null; -} export interface DeleteRefPayload { clientMutationId?: string | null; /** The `Ref` that was deleted by this mutation. */ ref?: Ref | null; refEdge?: RefEdge | null; } -export interface DeleteStorePayload { - clientMutationId?: string | null; - /** The `Store` that was deleted by this mutation. */ - store?: Store | null; - storeEdge?: StoreEdge | null; -} export interface DeleteEncryptedSecretsModulePayload { clientMutationId?: string | null; /** The `EncryptedSecretsModule` that was deleted by this mutation. */ @@ -14387,6 +15345,24 @@ export interface DeleteUuidModulePayload { uuidModule?: UuidModule | null; uuidModuleEdge?: UuidModuleEdge | null; } +export interface DeleteSiteThemePayload { + clientMutationId?: string | null; + /** The `SiteTheme` that was deleted by this mutation. */ + siteTheme?: SiteTheme | null; + siteThemeEdge?: SiteThemeEdge | null; +} +export interface DeleteStorePayload { + clientMutationId?: string | null; + /** The `Store` that was deleted by this mutation. */ + store?: Store | null; + storeEdge?: StoreEdge | null; +} +export interface DeleteViewRulePayload { + clientMutationId?: string | null; + /** The `ViewRule` that was deleted by this mutation. */ + viewRule?: ViewRule | null; + viewRuleEdge?: ViewRuleEdge | null; +} export interface DeleteAppPermissionDefaultPayload { clientMutationId?: string | null; /** The `AppPermissionDefault` that was deleted by this mutation. */ @@ -14417,12 +15393,6 @@ export interface DeleteTriggerFunctionPayload { triggerFunction?: TriggerFunction | null; triggerFunctionEdge?: TriggerFunctionEdge | null; } -export interface DeleteViewRulePayload { - clientMutationId?: string | null; - /** The `ViewRule` that was deleted by this mutation. */ - viewRule?: ViewRule | null; - viewRuleEdge?: ViewRuleEdge | null; -} export interface DeleteAppAdminGrantPayload { clientMutationId?: string | null; /** The `AppAdminGrant` that was deleted by this mutation. */ @@ -14435,18 +15405,6 @@ export interface DeleteAppOwnerGrantPayload { appOwnerGrant?: AppOwnerGrant | null; appOwnerGrantEdge?: AppOwnerGrantEdge | null; } -export interface DeleteRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was deleted by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export interface DeleteOrgPermissionDefaultPayload { - clientMutationId?: string | null; - /** The `OrgPermissionDefault` that was deleted by this mutation. */ - orgPermissionDefault?: OrgPermissionDefault | null; - orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null; -} export interface DeleteDefaultPrivilegePayload { clientMutationId?: string | null; /** The `DefaultPrivilege` that was deleted by this mutation. */ @@ -14507,17 +15465,17 @@ export interface DeleteCryptoAddressPayload { cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } -export interface DeleteAppLimitDefaultPayload { +export interface DeleteRoleTypePayload { clientMutationId?: string | null; - /** The `AppLimitDefault` that was deleted by this mutation. */ - appLimitDefault?: AppLimitDefault | null; - appLimitDefaultEdge?: AppLimitDefaultEdge | null; + /** The `RoleType` that was deleted by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; } -export interface DeleteOrgLimitDefaultPayload { +export interface DeleteOrgPermissionDefaultPayload { clientMutationId?: string | null; - /** The `OrgLimitDefault` that was deleted by this mutation. */ - orgLimitDefault?: OrgLimitDefault | null; - orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; + /** The `OrgPermissionDefault` that was deleted by this mutation. */ + orgPermissionDefault?: OrgPermissionDefault | null; + orgPermissionDefaultEdge?: OrgPermissionDefaultEdge | null; } export interface DeleteDatabasePayload { clientMutationId?: string | null; @@ -14531,23 +15489,29 @@ export interface DeleteCryptoAddressesModulePayload { cryptoAddressesModule?: CryptoAddressesModule | null; cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null; } -export interface DeleteConnectedAccountPayload { - clientMutationId?: string | null; - /** The `ConnectedAccount` that was deleted by this mutation. */ - connectedAccount?: ConnectedAccount | null; - connectedAccountEdge?: ConnectedAccountEdge | null; -} export interface DeletePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was deleted by this mutation. */ phoneNumber?: PhoneNumber | null; phoneNumberEdge?: PhoneNumberEdge | null; } -export interface DeleteMembershipTypePayload { +export interface DeleteAppLimitDefaultPayload { clientMutationId?: string | null; - /** The `MembershipType` that was deleted by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; + /** The `AppLimitDefault` that was deleted by this mutation. */ + appLimitDefault?: AppLimitDefault | null; + appLimitDefaultEdge?: AppLimitDefaultEdge | null; +} +export interface DeleteOrgLimitDefaultPayload { + clientMutationId?: string | null; + /** The `OrgLimitDefault` that was deleted by this mutation. */ + orgLimitDefault?: OrgLimitDefault | null; + orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; +} +export interface DeleteConnectedAccountPayload { + clientMutationId?: string | null; + /** The `ConnectedAccount` that was deleted by this mutation. */ + connectedAccount?: ConnectedAccount | null; + connectedAccountEdge?: ConnectedAccountEdge | null; } export interface DeleteFieldModulePayload { clientMutationId?: string | null; @@ -14555,12 +15519,6 @@ export interface DeleteFieldModulePayload { fieldModule?: FieldModule | null; fieldModuleEdge?: FieldModuleEdge | null; } -export interface DeleteTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was deleted by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} export interface DeleteTableTemplateModulePayload { clientMutationId?: string | null; /** The `TableTemplateModule` that was deleted by this mutation. */ @@ -14579,6 +15537,12 @@ export interface DeleteNodeTypeRegistryPayload { nodeTypeRegistry?: NodeTypeRegistry | null; nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } +export interface DeleteMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was deleted by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} export interface DeleteTableGrantPayload { clientMutationId?: string | null; /** The `TableGrant` that was deleted by this mutation. */ @@ -14633,6 +15597,18 @@ export interface DeleteSiteMetadatumPayload { siteMetadatum?: SiteMetadatum | null; siteMetadatumEdge?: SiteMetadatumEdge | null; } +export interface DeleteRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was deleted by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export interface DeleteSessionsModulePayload { + clientMutationId?: string | null; + /** The `SessionsModule` that was deleted by this mutation. */ + sessionsModule?: SessionsModule | null; + sessionsModuleEdge?: SessionsModuleEdge | null; +} export interface DeleteObjectPayload { clientMutationId?: string | null; /** The `Object` that was deleted by this mutation. */ @@ -14681,12 +15657,6 @@ export interface DeleteDomainPayload { domain?: Domain | null; domainEdge?: DomainEdge | null; } -export interface DeleteSessionsModulePayload { - clientMutationId?: string | null; - /** The `SessionsModule` that was deleted by this mutation. */ - sessionsModule?: SessionsModule | null; - sessionsModuleEdge?: SessionsModuleEdge | null; -} export interface DeleteOrgGrantPayload { clientMutationId?: string | null; /** The `OrgGrant` that was deleted by this mutation. */ @@ -14699,12 +15669,6 @@ export interface DeleteOrgMembershipDefaultPayload { orgMembershipDefault?: OrgMembershipDefault | null; orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null; } -export interface DeleteRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was deleted by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} export interface DeleteAppLevelRequirementPayload { clientMutationId?: string | null; /** The `AppLevelRequirement` that was deleted by this mutation. */ @@ -14723,18 +15687,6 @@ export interface DeleteAppLevelPayload { appLevel?: AppLevel | null; appLevelEdge?: AppLevelEdge | null; } -export interface DeleteEmailPayload { - clientMutationId?: string | null; - /** The `Email` that was deleted by this mutation. */ - email?: Email | null; - emailEdge?: EmailEdge | null; -} -export interface DeleteDenormalizedTableFieldPayload { - clientMutationId?: string | null; - /** The `DenormalizedTableField` that was deleted by this mutation. */ - denormalizedTableField?: DenormalizedTableField | null; - denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; -} export interface DeleteCryptoAuthModulePayload { clientMutationId?: string | null; /** The `CryptoAuthModule` that was deleted by this mutation. */ @@ -14753,6 +15705,18 @@ export interface DeleteInvitesModulePayload { invitesModule?: InvitesModule | null; invitesModuleEdge?: InvitesModuleEdge | null; } +export interface DeleteDenormalizedTableFieldPayload { + clientMutationId?: string | null; + /** The `DenormalizedTableField` that was deleted by this mutation. */ + denormalizedTableField?: DenormalizedTableField | null; + denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; +} +export interface DeleteEmailPayload { + clientMutationId?: string | null; + /** The `Email` that was deleted by this mutation. */ + email?: Email | null; + emailEdge?: EmailEdge | null; +} export interface DeleteViewPayload { clientMutationId?: string | null; /** The `View` that was deleted by this mutation. */ @@ -14765,6 +15729,18 @@ export interface DeletePermissionsModulePayload { permissionsModule?: PermissionsModule | null; permissionsModuleEdge?: PermissionsModuleEdge | null; } +export interface DeleteLimitsModulePayload { + clientMutationId?: string | null; + /** The `LimitsModule` that was deleted by this mutation. */ + limitsModule?: LimitsModule | null; + limitsModuleEdge?: LimitsModuleEdge | null; +} +export interface DeleteProfilesModulePayload { + clientMutationId?: string | null; + /** The `ProfilesModule` that was deleted by this mutation. */ + profilesModule?: ProfilesModule | null; + profilesModuleEdge?: ProfilesModuleEdge | null; +} export interface DeleteSecureTableProvisionPayload { clientMutationId?: string | null; /** The `SecureTableProvision` that was deleted by this mutation. */ @@ -14777,18 +15753,18 @@ export interface DeleteTriggerPayload { trigger?: Trigger | null; triggerEdge?: TriggerEdge | null; } -export interface DeletePrimaryKeyConstraintPayload { - clientMutationId?: string | null; - /** The `PrimaryKeyConstraint` that was deleted by this mutation. */ - primaryKeyConstraint?: PrimaryKeyConstraint | null; - primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; -} export interface DeleteUniqueConstraintPayload { clientMutationId?: string | null; /** The `UniqueConstraint` that was deleted by this mutation. */ uniqueConstraint?: UniqueConstraint | null; uniqueConstraintEdge?: UniqueConstraintEdge | null; } +export interface DeletePrimaryKeyConstraintPayload { + clientMutationId?: string | null; + /** The `PrimaryKeyConstraint` that was deleted by this mutation. */ + primaryKeyConstraint?: PrimaryKeyConstraint | null; + primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; +} export interface DeleteCheckConstraintPayload { clientMutationId?: string | null; /** The `CheckConstraint` that was deleted by this mutation. */ @@ -14801,6 +15777,24 @@ export interface DeletePolicyPayload { policy?: Policy | null; policyEdge?: PolicyEdge | null; } +export interface DeleteAppMembershipPayload { + clientMutationId?: string | null; + /** The `AppMembership` that was deleted by this mutation. */ + appMembership?: AppMembership | null; + appMembershipEdge?: AppMembershipEdge | null; +} +export interface DeleteOrgMembershipPayload { + clientMutationId?: string | null; + /** The `OrgMembership` that was deleted by this mutation. */ + orgMembership?: OrgMembership | null; + orgMembershipEdge?: OrgMembershipEdge | null; +} +export interface DeleteSchemaPayload { + clientMutationId?: string | null; + /** The `Schema` that was deleted by this mutation. */ + schema?: Schema | null; + schemaEdge?: SchemaEdge | null; +} export interface DeleteAppPayload { clientMutationId?: string | null; /** The `App` that was deleted by this mutation. */ @@ -14819,35 +15813,11 @@ export interface DeleteUserPayload { user?: User | null; userEdge?: UserEdge | null; } -export interface DeleteLimitsModulePayload { - clientMutationId?: string | null; - /** The `LimitsModule` that was deleted by this mutation. */ - limitsModule?: LimitsModule | null; - limitsModuleEdge?: LimitsModuleEdge | null; -} -export interface DeleteProfilesModulePayload { - clientMutationId?: string | null; - /** The `ProfilesModule` that was deleted by this mutation. */ - profilesModule?: ProfilesModule | null; - profilesModuleEdge?: ProfilesModuleEdge | null; -} -export interface DeleteIndexPayload { - clientMutationId?: string | null; - /** The `Index` that was deleted by this mutation. */ - index?: Index | null; - indexEdge?: IndexEdge | null; -} -export interface DeleteAppMembershipPayload { - clientMutationId?: string | null; - /** The `AppMembership` that was deleted by this mutation. */ - appMembership?: AppMembership | null; - appMembershipEdge?: AppMembershipEdge | null; -} -export interface DeleteOrgMembershipPayload { +export interface DeleteHierarchyModulePayload { clientMutationId?: string | null; - /** The `OrgMembership` that was deleted by this mutation. */ - orgMembership?: OrgMembership | null; - orgMembershipEdge?: OrgMembershipEdge | null; + /** The `HierarchyModule` that was deleted by this mutation. */ + hierarchyModule?: HierarchyModule | null; + hierarchyModuleEdge?: HierarchyModuleEdge | null; } export interface DeleteInvitePayload { clientMutationId?: string | null; @@ -14855,17 +15825,17 @@ export interface DeleteInvitePayload { invite?: Invite | null; inviteEdge?: InviteEdge | null; } -export interface DeleteSchemaPayload { +export interface DeleteIndexPayload { clientMutationId?: string | null; - /** The `Schema` that was deleted by this mutation. */ - schema?: Schema | null; - schemaEdge?: SchemaEdge | null; + /** The `Index` that was deleted by this mutation. */ + index?: Index | null; + indexEdge?: IndexEdge | null; } -export interface DeleteHierarchyModulePayload { +export interface DeleteForeignKeyConstraintPayload { clientMutationId?: string | null; - /** The `HierarchyModule` that was deleted by this mutation. */ - hierarchyModule?: HierarchyModule | null; - hierarchyModuleEdge?: HierarchyModuleEdge | null; + /** The `ForeignKeyConstraint` that was deleted by this mutation. */ + foreignKeyConstraint?: ForeignKeyConstraint | null; + foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null; } export interface DeleteOrgInvitePayload { clientMutationId?: string | null; @@ -14873,12 +15843,6 @@ export interface DeleteOrgInvitePayload { orgInvite?: OrgInvite | null; orgInviteEdge?: OrgInviteEdge | null; } -export interface DeleteForeignKeyConstraintPayload { - clientMutationId?: string | null; - /** The `ForeignKeyConstraint` that was deleted by this mutation. */ - foreignKeyConstraint?: ForeignKeyConstraint | null; - foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null; -} export interface DeleteTablePayload { clientMutationId?: string | null; /** The `Table` that was deleted by this mutation. */ @@ -14897,18 +15861,18 @@ export interface DeleteUserAuthModulePayload { userAuthModule?: UserAuthModule | null; userAuthModuleEdge?: UserAuthModuleEdge | null; } -export interface DeleteFieldPayload { - clientMutationId?: string | null; - /** The `Field` that was deleted by this mutation. */ - field?: Field | null; - fieldEdge?: FieldEdge | null; -} export interface DeleteRelationProvisionPayload { clientMutationId?: string | null; /** The `RelationProvision` that was deleted by this mutation. */ relationProvision?: RelationProvision | null; relationProvisionEdge?: RelationProvisionEdge | null; } +export interface DeleteFieldPayload { + clientMutationId?: string | null; + /** The `Field` that was deleted by this mutation. */ + field?: Field | null; + fieldEdge?: FieldEdge | null; +} export interface DeleteMembershipsModulePayload { clientMutationId?: string | null; /** The `MembershipsModule` that was deleted by this mutation. */ @@ -14992,23 +15956,11 @@ export interface OrgMemberEdge { /** The `OrgMember` at the end of the edge. */ node?: OrgMember | null; } -/** A `SiteTheme` edge in the connection. */ -export interface SiteThemeEdge { - cursor?: string | null; - /** The `SiteTheme` at the end of the edge. */ - node?: SiteTheme | null; -} /** A `Ref` edge in the connection. */ export interface RefEdge { cursor?: string | null; - /** The `Ref` at the end of the edge. */ - node?: Ref | null; -} -/** A `Store` edge in the connection. */ -export interface StoreEdge { - cursor?: string | null; - /** The `Store` at the end of the edge. */ - node?: Store | null; + /** The `Ref` at the end of the edge. */ + node?: Ref | null; } /** A `EncryptedSecretsModule` edge in the connection. */ export interface EncryptedSecretsModuleEdge { @@ -15034,6 +15986,24 @@ export interface UuidModuleEdge { /** The `UuidModule` at the end of the edge. */ node?: UuidModule | null; } +/** A `SiteTheme` edge in the connection. */ +export interface SiteThemeEdge { + cursor?: string | null; + /** The `SiteTheme` at the end of the edge. */ + node?: SiteTheme | null; +} +/** A `Store` edge in the connection. */ +export interface StoreEdge { + cursor?: string | null; + /** The `Store` at the end of the edge. */ + node?: Store | null; +} +/** A `ViewRule` edge in the connection. */ +export interface ViewRuleEdge { + cursor?: string | null; + /** The `ViewRule` at the end of the edge. */ + node?: ViewRule | null; +} /** A `AppPermissionDefault` edge in the connection. */ export interface AppPermissionDefaultEdge { cursor?: string | null; @@ -15064,12 +16034,6 @@ export interface TriggerFunctionEdge { /** The `TriggerFunction` at the end of the edge. */ node?: TriggerFunction | null; } -/** A `ViewRule` edge in the connection. */ -export interface ViewRuleEdge { - cursor?: string | null; - /** The `ViewRule` at the end of the edge. */ - node?: ViewRule | null; -} /** A `AppAdminGrant` edge in the connection. */ export interface AppAdminGrantEdge { cursor?: string | null; @@ -15082,18 +16046,6 @@ export interface AppOwnerGrantEdge { /** The `AppOwnerGrant` at the end of the edge. */ node?: AppOwnerGrant | null; } -/** A `RoleType` edge in the connection. */ -export interface RoleTypeEdge { - cursor?: string | null; - /** The `RoleType` at the end of the edge. */ - node?: RoleType | null; -} -/** A `OrgPermissionDefault` edge in the connection. */ -export interface OrgPermissionDefaultEdge { - cursor?: string | null; - /** The `OrgPermissionDefault` at the end of the edge. */ - node?: OrgPermissionDefault | null; -} /** A `DefaultPrivilege` edge in the connection. */ export interface DefaultPrivilegeEdge { cursor?: string | null; @@ -15154,17 +16106,17 @@ export interface CryptoAddressEdge { /** The `CryptoAddress` at the end of the edge. */ node?: CryptoAddress | null; } -/** A `AppLimitDefault` edge in the connection. */ -export interface AppLimitDefaultEdge { +/** A `RoleType` edge in the connection. */ +export interface RoleTypeEdge { cursor?: string | null; - /** The `AppLimitDefault` at the end of the edge. */ - node?: AppLimitDefault | null; + /** The `RoleType` at the end of the edge. */ + node?: RoleType | null; } -/** A `OrgLimitDefault` edge in the connection. */ -export interface OrgLimitDefaultEdge { +/** A `OrgPermissionDefault` edge in the connection. */ +export interface OrgPermissionDefaultEdge { cursor?: string | null; - /** The `OrgLimitDefault` at the end of the edge. */ - node?: OrgLimitDefault | null; + /** The `OrgPermissionDefault` at the end of the edge. */ + node?: OrgPermissionDefault | null; } /** A `Database` edge in the connection. */ export interface DatabaseEdge { @@ -15178,23 +16130,29 @@ export interface CryptoAddressesModuleEdge { /** The `CryptoAddressesModule` at the end of the edge. */ node?: CryptoAddressesModule | null; } -/** A `ConnectedAccount` edge in the connection. */ -export interface ConnectedAccountEdge { - cursor?: string | null; - /** The `ConnectedAccount` at the end of the edge. */ - node?: ConnectedAccount | null; -} /** A `PhoneNumber` edge in the connection. */ export interface PhoneNumberEdge { cursor?: string | null; /** The `PhoneNumber` at the end of the edge. */ node?: PhoneNumber | null; } -/** A `MembershipType` edge in the connection. */ -export interface MembershipTypeEdge { +/** A `AppLimitDefault` edge in the connection. */ +export interface AppLimitDefaultEdge { cursor?: string | null; - /** The `MembershipType` at the end of the edge. */ - node?: MembershipType | null; + /** The `AppLimitDefault` at the end of the edge. */ + node?: AppLimitDefault | null; +} +/** A `OrgLimitDefault` edge in the connection. */ +export interface OrgLimitDefaultEdge { + cursor?: string | null; + /** The `OrgLimitDefault` at the end of the edge. */ + node?: OrgLimitDefault | null; +} +/** A `ConnectedAccount` edge in the connection. */ +export interface ConnectedAccountEdge { + cursor?: string | null; + /** The `ConnectedAccount` at the end of the edge. */ + node?: ConnectedAccount | null; } /** A `FieldModule` edge in the connection. */ export interface FieldModuleEdge { @@ -15202,12 +16160,6 @@ export interface FieldModuleEdge { /** The `FieldModule` at the end of the edge. */ node?: FieldModule | null; } -/** A `TableModule` edge in the connection. */ -export interface TableModuleEdge { - cursor?: string | null; - /** The `TableModule` at the end of the edge. */ - node?: TableModule | null; -} /** A `TableTemplateModule` edge in the connection. */ export interface TableTemplateModuleEdge { cursor?: string | null; @@ -15226,6 +16178,12 @@ export interface NodeTypeRegistryEdge { /** The `NodeTypeRegistry` at the end of the edge. */ node?: NodeTypeRegistry | null; } +/** A `MembershipType` edge in the connection. */ +export interface MembershipTypeEdge { + cursor?: string | null; + /** The `MembershipType` at the end of the edge. */ + node?: MembershipType | null; +} /** A `TableGrant` edge in the connection. */ export interface TableGrantEdge { cursor?: string | null; @@ -15268,6 +16226,18 @@ export interface SiteMetadatumEdge { /** The `SiteMetadatum` at the end of the edge. */ node?: SiteMetadatum | null; } +/** A `RlsModule` edge in the connection. */ +export interface RlsModuleEdge { + cursor?: string | null; + /** The `RlsModule` at the end of the edge. */ + node?: RlsModule | null; +} +/** A `SessionsModule` edge in the connection. */ +export interface SessionsModuleEdge { + cursor?: string | null; + /** The `SessionsModule` at the end of the edge. */ + node?: SessionsModule | null; +} /** A `FullTextSearch` edge in the connection. */ export interface FullTextSearchEdge { cursor?: string | null; @@ -15310,12 +16280,6 @@ export interface DomainEdge { /** The `Domain` at the end of the edge. */ node?: Domain | null; } -/** A `SessionsModule` edge in the connection. */ -export interface SessionsModuleEdge { - cursor?: string | null; - /** The `SessionsModule` at the end of the edge. */ - node?: SessionsModule | null; -} /** A `OrgGrant` edge in the connection. */ export interface OrgGrantEdge { cursor?: string | null; @@ -15328,12 +16292,6 @@ export interface OrgMembershipDefaultEdge { /** The `OrgMembershipDefault` at the end of the edge. */ node?: OrgMembershipDefault | null; } -/** A `RlsModule` edge in the connection. */ -export interface RlsModuleEdge { - cursor?: string | null; - /** The `RlsModule` at the end of the edge. */ - node?: RlsModule | null; -} /** A `AuditLog` edge in the connection. */ export interface AuditLogEdge { cursor?: string | null; @@ -15346,18 +16304,6 @@ export interface AppLevelEdge { /** The `AppLevel` at the end of the edge. */ node?: AppLevel | null; } -/** A `Email` edge in the connection. */ -export interface EmailEdge { - cursor?: string | null; - /** The `Email` at the end of the edge. */ - node?: Email | null; -} -/** A `DenormalizedTableField` edge in the connection. */ -export interface DenormalizedTableFieldEdge { - cursor?: string | null; - /** The `DenormalizedTableField` at the end of the edge. */ - node?: DenormalizedTableField | null; -} /** A `SqlMigration` edge in the connection. */ export interface SqlMigrationEdge { cursor?: string | null; @@ -15382,6 +16328,18 @@ export interface InvitesModuleEdge { /** The `InvitesModule` at the end of the edge. */ node?: InvitesModule | null; } +/** A `DenormalizedTableField` edge in the connection. */ +export interface DenormalizedTableFieldEdge { + cursor?: string | null; + /** The `DenormalizedTableField` at the end of the edge. */ + node?: DenormalizedTableField | null; +} +/** A `Email` edge in the connection. */ +export interface EmailEdge { + cursor?: string | null; + /** The `Email` at the end of the edge. */ + node?: Email | null; +} /** A `View` edge in the connection. */ export interface ViewEdge { cursor?: string | null; @@ -15394,36 +16352,42 @@ export interface PermissionsModuleEdge { /** The `PermissionsModule` at the end of the edge. */ node?: PermissionsModule | null; } +/** A `LimitsModule` edge in the connection. */ +export interface LimitsModuleEdge { + cursor?: string | null; + /** The `LimitsModule` at the end of the edge. */ + node?: LimitsModule | null; +} +/** A `ProfilesModule` edge in the connection. */ +export interface ProfilesModuleEdge { + cursor?: string | null; + /** The `ProfilesModule` at the end of the edge. */ + node?: ProfilesModule | null; +} /** A `SecureTableProvision` edge in the connection. */ export interface SecureTableProvisionEdge { cursor?: string | null; /** The `SecureTableProvision` at the end of the edge. */ node?: SecureTableProvision | null; } -/** A `AstMigration` edge in the connection. */ -export interface AstMigrationEdge { - cursor?: string | null; - /** The `AstMigration` at the end of the edge. */ - node?: AstMigration | null; -} /** A `Trigger` edge in the connection. */ export interface TriggerEdge { cursor?: string | null; /** The `Trigger` at the end of the edge. */ node?: Trigger | null; } -/** A `PrimaryKeyConstraint` edge in the connection. */ -export interface PrimaryKeyConstraintEdge { - cursor?: string | null; - /** The `PrimaryKeyConstraint` at the end of the edge. */ - node?: PrimaryKeyConstraint | null; -} /** A `UniqueConstraint` edge in the connection. */ export interface UniqueConstraintEdge { cursor?: string | null; /** The `UniqueConstraint` at the end of the edge. */ node?: UniqueConstraint | null; } +/** A `PrimaryKeyConstraint` edge in the connection. */ +export interface PrimaryKeyConstraintEdge { + cursor?: string | null; + /** The `PrimaryKeyConstraint` at the end of the edge. */ + node?: PrimaryKeyConstraint | null; +} /** A `CheckConstraint` edge in the connection. */ export interface CheckConstraintEdge { cursor?: string | null; @@ -15436,6 +16400,30 @@ export interface PolicyEdge { /** The `Policy` at the end of the edge. */ node?: Policy | null; } +/** A `AstMigration` edge in the connection. */ +export interface AstMigrationEdge { + cursor?: string | null; + /** The `AstMigration` at the end of the edge. */ + node?: AstMigration | null; +} +/** A `AppMembership` edge in the connection. */ +export interface AppMembershipEdge { + cursor?: string | null; + /** The `AppMembership` at the end of the edge. */ + node?: AppMembership | null; +} +/** A `OrgMembership` edge in the connection. */ +export interface OrgMembershipEdge { + cursor?: string | null; + /** The `OrgMembership` at the end of the edge. */ + node?: OrgMembership | null; +} +/** A `Schema` edge in the connection. */ +export interface SchemaEdge { + cursor?: string | null; + /** The `Schema` at the end of the edge. */ + node?: Schema | null; +} /** A `App` edge in the connection. */ export interface AppEdge { cursor?: string | null; @@ -15454,35 +16442,11 @@ export interface UserEdge { /** The `User` at the end of the edge. */ node?: User | null; } -/** A `LimitsModule` edge in the connection. */ -export interface LimitsModuleEdge { - cursor?: string | null; - /** The `LimitsModule` at the end of the edge. */ - node?: LimitsModule | null; -} -/** A `ProfilesModule` edge in the connection. */ -export interface ProfilesModuleEdge { - cursor?: string | null; - /** The `ProfilesModule` at the end of the edge. */ - node?: ProfilesModule | null; -} -/** A `Index` edge in the connection. */ -export interface IndexEdge { - cursor?: string | null; - /** The `Index` at the end of the edge. */ - node?: Index | null; -} -/** A `AppMembership` edge in the connection. */ -export interface AppMembershipEdge { - cursor?: string | null; - /** The `AppMembership` at the end of the edge. */ - node?: AppMembership | null; -} -/** A `OrgMembership` edge in the connection. */ -export interface OrgMembershipEdge { +/** A `HierarchyModule` edge in the connection. */ +export interface HierarchyModuleEdge { cursor?: string | null; - /** The `OrgMembership` at the end of the edge. */ - node?: OrgMembership | null; + /** The `HierarchyModule` at the end of the edge. */ + node?: HierarchyModule | null; } /** A `Invite` edge in the connection. */ export interface InviteEdge { @@ -15490,17 +16454,17 @@ export interface InviteEdge { /** The `Invite` at the end of the edge. */ node?: Invite | null; } -/** A `Schema` edge in the connection. */ -export interface SchemaEdge { +/** A `Index` edge in the connection. */ +export interface IndexEdge { cursor?: string | null; - /** The `Schema` at the end of the edge. */ - node?: Schema | null; + /** The `Index` at the end of the edge. */ + node?: Index | null; } -/** A `HierarchyModule` edge in the connection. */ -export interface HierarchyModuleEdge { +/** A `ForeignKeyConstraint` edge in the connection. */ +export interface ForeignKeyConstraintEdge { cursor?: string | null; - /** The `HierarchyModule` at the end of the edge. */ - node?: HierarchyModule | null; + /** The `ForeignKeyConstraint` at the end of the edge. */ + node?: ForeignKeyConstraint | null; } /** A `OrgInvite` edge in the connection. */ export interface OrgInviteEdge { @@ -15508,12 +16472,6 @@ export interface OrgInviteEdge { /** The `OrgInvite` at the end of the edge. */ node?: OrgInvite | null; } -/** A `ForeignKeyConstraint` edge in the connection. */ -export interface ForeignKeyConstraintEdge { - cursor?: string | null; - /** The `ForeignKeyConstraint` at the end of the edge. */ - node?: ForeignKeyConstraint | null; -} /** A `Table` edge in the connection. */ export interface TableEdge { cursor?: string | null; @@ -15532,18 +16490,18 @@ export interface UserAuthModuleEdge { /** The `UserAuthModule` at the end of the edge. */ node?: UserAuthModule | null; } -/** A `Field` edge in the connection. */ -export interface FieldEdge { - cursor?: string | null; - /** The `Field` at the end of the edge. */ - node?: Field | null; -} /** A `RelationProvision` edge in the connection. */ export interface RelationProvisionEdge { cursor?: string | null; /** The `RelationProvision` at the end of the edge. */ node?: RelationProvision | null; } +/** A `Field` edge in the connection. */ +export interface FieldEdge { + cursor?: string | null; + /** The `Field` at the end of the edge. */ + node?: Field | null; +} /** A `MembershipsModule` edge in the connection. */ export interface MembershipsModuleEdge { cursor?: string | null; @@ -15573,10 +16531,24 @@ export interface BootstrapUserRecord { outIsOwner?: boolean | null; outIsSudo?: boolean | null; outApiKey?: string | null; + /** TRGM similarity when searching `outEmail`. Returns null when no trgm search filter is active. */ + outEmailTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outUsername`. Returns null when no trgm search filter is active. */ + outUsernameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outDisplayName`. Returns null when no trgm search filter is active. */ + outDisplayNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ProvisionDatabaseWithUserRecord { outDatabaseId?: string | null; outApiKey?: string | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SignInOneTimeTokenRecord { id?: string | null; @@ -15585,6 +16557,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ExtendTokenExpiresRecord { id?: string | null; @@ -15598,6 +16574,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SignUpRecord { id?: string | null; @@ -15606,6 +16586,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state */ export interface Session { @@ -15634,6 +16618,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Information about a table field/column */ export interface MetaField { diff --git a/sdk/constructive-react/src/public/types.ts b/sdk/constructive-react/src/public/types.ts index 432fc6f8d..c2d619eef 100644 --- a/sdk/constructive-react/src/public/types.ts +++ b/sdk/constructive-react/src/public/types.ts @@ -28,6 +28,8 @@ export interface AppPermission { bitnum: number | null; bitstr: string | null; description: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface OrgPermission { id: string | null; @@ -35,6 +37,8 @@ export interface OrgPermission { bitnum: number | null; bitstr: string | null; description: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface Object { hashUuid: string | null; @@ -55,6 +59,8 @@ export interface AppLevelRequirement { priority: number | null; createdAt: string | null; updatedAt: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface Database { id: string | null; @@ -65,6 +71,10 @@ export interface Database { hash: string | null; createdAt: string | null; updatedAt: string | null; + schemaHashTrgmSimilarity: number | null; + nameTrgmSimilarity: number | null; + labelTrgmSimilarity: number | null; + searchScore: number | null; } export interface Schema { id: string | null; @@ -81,6 +91,12 @@ export interface Schema { isPublic: boolean | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + schemaNameTrgmSimilarity: number | null; + labelTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface Table { id: string | null; @@ -102,6 +118,13 @@ export interface Table { inheritsId: string | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + labelTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + pluralNameTrgmSimilarity: number | null; + singularNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface CheckConstraint { id: string | null; @@ -118,6 +141,10 @@ export interface CheckConstraint { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + typeTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface Field { id: string | null; @@ -144,6 +171,13 @@ export interface Field { scope: number | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + labelTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + defaultValueTrgmSimilarity: number | null; + regexpTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface ForeignKeyConstraint { id: string | null; @@ -164,6 +198,13 @@ export interface ForeignKeyConstraint { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + typeTrgmSimilarity: number | null; + deleteActionTrgmSimilarity: number | null; + updateActionTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface FullTextSearch { id: string | null; @@ -187,6 +228,8 @@ export interface Index { indexParams: unknown | null; whereClause: unknown | null; isUnique: boolean | null; + options: unknown | null; + opClasses: string[] | null; smartTags: unknown | null; category: ObjectCategory | null; module: string | null; @@ -194,6 +237,10 @@ export interface Index { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + accessMethodTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface Policy { id: string | null; @@ -213,6 +260,12 @@ export interface Policy { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + granteeNameTrgmSimilarity: number | null; + privilegeTrgmSimilarity: number | null; + policyTypeTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface PrimaryKeyConstraint { id: string | null; @@ -228,6 +281,10 @@ export interface PrimaryKeyConstraint { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + typeTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface TableGrant { id: string | null; @@ -239,6 +296,9 @@ export interface TableGrant { isGrant: boolean | null; createdAt: string | null; updatedAt: string | null; + privilegeTrgmSimilarity: number | null; + granteeNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface Trigger { id: string | null; @@ -254,6 +314,11 @@ export interface Trigger { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + eventTrgmSimilarity: number | null; + functionNameTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface UniqueConstraint { id: string | null; @@ -270,6 +335,11 @@ export interface UniqueConstraint { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + typeTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface View { id: string | null; @@ -288,6 +358,11 @@ export interface View { module: string | null; scope: number | null; tags: string[] | null; + nameTrgmSimilarity: number | null; + viewTypeTrgmSimilarity: number | null; + filterTypeTrgmSimilarity: number | null; + moduleTrgmSimilarity: number | null; + searchScore: number | null; } export interface ViewTable { id: string | null; @@ -303,6 +378,9 @@ export interface ViewGrant { privilege: string | null; withGrantOption: boolean | null; isGrant: boolean | null; + granteeNameTrgmSimilarity: number | null; + privilegeTrgmSimilarity: number | null; + searchScore: number | null; } export interface ViewRule { id: string | null; @@ -311,17 +389,10 @@ export interface ViewRule { name: string | null; event: string | null; action: string | null; -} -export interface TableModule { - id: string | null; - databaseId: string | null; - schemaId: string | null; - tableId: string | null; - tableName: string | null; - nodeType: string | null; - useRls: boolean | null; - data: unknown | null; - fields: string[] | null; + nameTrgmSimilarity: number | null; + eventTrgmSimilarity: number | null; + actionTrgmSimilarity: number | null; + searchScore: number | null; } export interface TableTemplateModule { id: string | null; @@ -333,6 +404,9 @@ export interface TableTemplateModule { tableName: string | null; nodeType: string | null; data: unknown | null; + tableNameTrgmSimilarity: number | null; + nodeTypeTrgmSimilarity: number | null; + searchScore: number | null; } export interface SecureTableProvision { id: string | null; @@ -343,6 +417,7 @@ export interface SecureTableProvision { nodeType: string | null; useRls: boolean | null; nodeData: unknown | null; + fields: unknown | null; grantRoles: string[] | null; grantPrivileges: unknown | null; policyType: string | null; @@ -352,6 +427,12 @@ export interface SecureTableProvision { policyName: string | null; policyData: unknown | null; outFields: string[] | null; + tableNameTrgmSimilarity: number | null; + nodeTypeTrgmSimilarity: number | null; + policyTypeTrgmSimilarity: number | null; + policyRoleTrgmSimilarity: number | null; + policyNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface RelationProvision { id: string | null; @@ -382,6 +463,17 @@ export interface RelationProvision { outJunctionTableId: string | null; outSourceFieldId: string | null; outTargetFieldId: string | null; + relationTypeTrgmSimilarity: number | null; + fieldNameTrgmSimilarity: number | null; + deleteActionTrgmSimilarity: number | null; + junctionTableNameTrgmSimilarity: number | null; + sourceFieldNameTrgmSimilarity: number | null; + targetFieldNameTrgmSimilarity: number | null; + nodeTypeTrgmSimilarity: number | null; + policyTypeTrgmSimilarity: number | null; + policyRoleTrgmSimilarity: number | null; + policyNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface SchemaGrant { id: string | null; @@ -390,6 +482,8 @@ export interface SchemaGrant { granteeName: string | null; createdAt: string | null; updatedAt: string | null; + granteeNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface DefaultPrivilege { id: string | null; @@ -399,6 +493,10 @@ export interface DefaultPrivilege { privilege: string | null; granteeName: string | null; isGrant: boolean | null; + objectTypeTrgmSimilarity: number | null; + privilegeTrgmSimilarity: number | null; + granteeNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface ApiSchema { id: string | null; @@ -412,6 +510,8 @@ export interface ApiModule { apiId: string | null; name: string | null; data: unknown | null; + nameTrgmSimilarity: number | null; + searchScore: number | null; } export interface Domain { id: string | null; @@ -428,6 +528,9 @@ export interface SiteMetadatum { title: string | null; description: string | null; ogImage: ConstructiveInternalTypeImage | null; + titleTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface SiteModule { id: string | null; @@ -435,6 +538,8 @@ export interface SiteModule { siteId: string | null; name: string | null; data: unknown | null; + nameTrgmSimilarity: number | null; + searchScore: number | null; } export interface SiteTheme { id: string | null; @@ -449,6 +554,9 @@ export interface TriggerFunction { code: string | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + codeTrgmSimilarity: number | null; + searchScore: number | null; } export interface Api { id: string | null; @@ -458,6 +566,11 @@ export interface Api { roleName: string | null; anonRole: string | null; isPublic: boolean | null; + nameTrgmSimilarity: number | null; + dbnameTrgmSimilarity: number | null; + roleNameTrgmSimilarity: number | null; + anonRoleTrgmSimilarity: number | null; + searchScore: number | null; } export interface Site { id: string | null; @@ -469,6 +582,10 @@ export interface Site { appleTouchIcon: ConstructiveInternalTypeImage | null; logo: ConstructiveInternalTypeImage | null; dbname: string | null; + titleTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + dbnameTrgmSimilarity: number | null; + searchScore: number | null; } export interface App { id: string | null; @@ -480,6 +597,10 @@ export interface App { appStoreId: string | null; appIdPrefix: string | null; playStoreLink: ConstructiveInternalTypeUrl | null; + nameTrgmSimilarity: number | null; + appStoreIdTrgmSimilarity: number | null; + appIdPrefixTrgmSimilarity: number | null; + searchScore: number | null; } export interface ConnectedAccountsModule { id: string | null; @@ -489,6 +610,8 @@ export interface ConnectedAccountsModule { tableId: string | null; ownerTableId: string | null; tableName: string | null; + tableNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface CryptoAddressesModule { id: string | null; @@ -499,6 +622,9 @@ export interface CryptoAddressesModule { ownerTableId: string | null; tableName: string | null; cryptoNetwork: string | null; + tableNameTrgmSimilarity: number | null; + cryptoNetworkTrgmSimilarity: number | null; + searchScore: number | null; } export interface CryptoAuthModule { id: string | null; @@ -515,6 +641,13 @@ export interface CryptoAuthModule { signInRecordFailure: string | null; signUpWithKey: string | null; signInWithChallenge: string | null; + userFieldTrgmSimilarity: number | null; + cryptoNetworkTrgmSimilarity: number | null; + signInRequestChallengeTrgmSimilarity: number | null; + signInRecordFailureTrgmSimilarity: number | null; + signUpWithKeyTrgmSimilarity: number | null; + signInWithChallengeTrgmSimilarity: number | null; + searchScore: number | null; } export interface DefaultIdsModule { id: string | null; @@ -533,6 +666,8 @@ export interface DenormalizedTableField { updateDefaults: boolean | null; funcName: string | null; funcOrder: number | null; + funcNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface EmailsModule { id: string | null; @@ -542,6 +677,8 @@ export interface EmailsModule { tableId: string | null; ownerTableId: string | null; tableName: string | null; + tableNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface EncryptedSecretsModule { id: string | null; @@ -549,6 +686,8 @@ export interface EncryptedSecretsModule { schemaId: string | null; tableId: string | null; tableName: string | null; + tableNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface FieldModule { id: string | null; @@ -560,6 +699,8 @@ export interface FieldModule { data: unknown | null; triggers: string[] | null; functions: string[] | null; + nodeTypeTrgmSimilarity: number | null; + searchScore: number | null; } export interface InvitesModule { id: string | null; @@ -576,6 +717,11 @@ export interface InvitesModule { prefix: string | null; membershipType: number | null; entityTableId: string | null; + invitesTableNameTrgmSimilarity: number | null; + claimedInvitesTableNameTrgmSimilarity: number | null; + submitInviteCodeFunctionTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + searchScore: number | null; } export interface LevelsModule { id: string | null; @@ -604,6 +750,22 @@ export interface LevelsModule { membershipType: number | null; entityTableId: string | null; actorTableId: string | null; + stepsTableNameTrgmSimilarity: number | null; + achievementsTableNameTrgmSimilarity: number | null; + levelsTableNameTrgmSimilarity: number | null; + levelRequirementsTableNameTrgmSimilarity: number | null; + completedStepTrgmSimilarity: number | null; + incompletedStepTrgmSimilarity: number | null; + tgAchievementTrgmSimilarity: number | null; + tgAchievementToggleTrgmSimilarity: number | null; + tgAchievementToggleBooleanTrgmSimilarity: number | null; + tgAchievementBooleanTrgmSimilarity: number | null; + upsertAchievementTrgmSimilarity: number | null; + tgUpdateAchievementsTrgmSimilarity: number | null; + stepsRequiredTrgmSimilarity: number | null; + levelAchievedTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + searchScore: number | null; } export interface LimitsModule { id: string | null; @@ -624,6 +786,16 @@ export interface LimitsModule { membershipType: number | null; entityTableId: string | null; actorTableId: string | null; + tableNameTrgmSimilarity: number | null; + defaultTableNameTrgmSimilarity: number | null; + limitIncrementFunctionTrgmSimilarity: number | null; + limitDecrementFunctionTrgmSimilarity: number | null; + limitIncrementTriggerTrgmSimilarity: number | null; + limitDecrementTriggerTrgmSimilarity: number | null; + limitUpdateTriggerTrgmSimilarity: number | null; + limitCheckFunctionTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + searchScore: number | null; } export interface MembershipTypesModule { id: string | null; @@ -631,6 +803,8 @@ export interface MembershipTypesModule { schemaId: string | null; tableId: string | null; tableName: string | null; + tableNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface MembershipsModule { id: string | null; @@ -664,6 +838,19 @@ export interface MembershipsModule { entityIdsByMask: string | null; entityIdsByPerm: string | null; entityIdsFunction: string | null; + membershipsTableNameTrgmSimilarity: number | null; + membersTableNameTrgmSimilarity: number | null; + membershipDefaultsTableNameTrgmSimilarity: number | null; + grantsTableNameTrgmSimilarity: number | null; + adminGrantsTableNameTrgmSimilarity: number | null; + ownerGrantsTableNameTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + actorMaskCheckTrgmSimilarity: number | null; + actorPermCheckTrgmSimilarity: number | null; + entityIdsByMaskTrgmSimilarity: number | null; + entityIdsByPermTrgmSimilarity: number | null; + entityIdsFunctionTrgmSimilarity: number | null; + searchScore: number | null; } export interface PermissionsModule { id: string | null; @@ -683,6 +870,14 @@ export interface PermissionsModule { getMask: string | null; getByMask: string | null; getMaskByName: string | null; + tableNameTrgmSimilarity: number | null; + defaultTableNameTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + getPaddedMaskTrgmSimilarity: number | null; + getMaskTrgmSimilarity: number | null; + getByMaskTrgmSimilarity: number | null; + getMaskByNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface PhoneNumbersModule { id: string | null; @@ -692,6 +887,8 @@ export interface PhoneNumbersModule { tableId: string | null; ownerTableId: string | null; tableName: string | null; + tableNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface ProfilesModule { id: string | null; @@ -712,20 +909,12 @@ export interface ProfilesModule { permissionsTableId: string | null; membershipsTableId: string | null; prefix: string | null; -} -export interface RlsModule { - id: string | null; - databaseId: string | null; - apiId: string | null; - schemaId: string | null; - privateSchemaId: string | null; - sessionCredentialsTableId: string | null; - sessionsTableId: string | null; - usersTableId: string | null; - authenticate: string | null; - authenticateStrict: string | null; - currentRole: string | null; - currentRoleId: string | null; + tableNameTrgmSimilarity: number | null; + profilePermissionsTableNameTrgmSimilarity: number | null; + profileGrantsTableNameTrgmSimilarity: number | null; + profileDefinitionGrantsTableNameTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + searchScore: number | null; } export interface SecretsModule { id: string | null; @@ -733,6 +922,8 @@ export interface SecretsModule { schemaId: string | null; tableId: string | null; tableName: string | null; + tableNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface SessionsModule { id: string | null; @@ -746,6 +937,10 @@ export interface SessionsModule { sessionsTable: string | null; sessionCredentialsTable: string | null; authSettingsTable: string | null; + sessionsTableTrgmSimilarity: number | null; + sessionCredentialsTableTrgmSimilarity: number | null; + authSettingsTableTrgmSimilarity: number | null; + searchScore: number | null; } export interface UserAuthModule { id: string | null; @@ -774,6 +969,23 @@ export interface UserAuthModule { signInOneTimeTokenFunction: string | null; oneTimeTokenFunction: string | null; extendTokenExpires: string | null; + auditsTableNameTrgmSimilarity: number | null; + signInFunctionTrgmSimilarity: number | null; + signUpFunctionTrgmSimilarity: number | null; + signOutFunctionTrgmSimilarity: number | null; + setPasswordFunctionTrgmSimilarity: number | null; + resetPasswordFunctionTrgmSimilarity: number | null; + forgotPasswordFunctionTrgmSimilarity: number | null; + sendVerificationEmailFunctionTrgmSimilarity: number | null; + verifyEmailFunctionTrgmSimilarity: number | null; + verifyPasswordFunctionTrgmSimilarity: number | null; + checkPasswordFunctionTrgmSimilarity: number | null; + sendAccountDeletionEmailFunctionTrgmSimilarity: number | null; + deleteAccountFunctionTrgmSimilarity: number | null; + signInOneTimeTokenFunctionTrgmSimilarity: number | null; + oneTimeTokenFunctionTrgmSimilarity: number | null; + extendTokenExpiresTrgmSimilarity: number | null; + searchScore: number | null; } export interface UsersModule { id: string | null; @@ -783,6 +995,9 @@ export interface UsersModule { tableName: string | null; typeTableId: string | null; typeTableName: string | null; + tableNameTrgmSimilarity: number | null; + typeTableNameTrgmSimilarity: number | null; + searchScore: number | null; } export interface UuidModule { id: string | null; @@ -790,6 +1005,9 @@ export interface UuidModule { schemaId: string | null; uuidFunction: string | null; uuidSeed: string | null; + uuidFunctionTrgmSimilarity: number | null; + uuidSeedTrgmSimilarity: number | null; + searchScore: number | null; } export interface DatabaseProvisionModule { id: string | null; @@ -806,6 +1024,12 @@ export interface DatabaseProvisionModule { createdAt: string | null; updatedAt: string | null; completedAt: string | null; + databaseNameTrgmSimilarity: number | null; + subdomainTrgmSimilarity: number | null; + domainTrgmSimilarity: number | null; + statusTrgmSimilarity: number | null; + errorMessageTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppAdminGrant { id: string | null; @@ -893,6 +1117,8 @@ export interface OrgChartEdge { parentId: string | null; positionTitle: string | null; positionLevel: number | null; + positionTitleTrgmSimilarity: number | null; + searchScore: number | null; } export interface OrgChartEdgeGrant { id: string | null; @@ -904,6 +1130,8 @@ export interface OrgChartEdgeGrant { positionTitle: string | null; positionLevel: number | null; createdAt: string | null; + positionTitleTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppLimit { id: string | null; @@ -949,6 +1177,8 @@ export interface Invite { expiresAt: string | null; createdAt: string | null; updatedAt: string | null; + inviteTokenTrgmSimilarity: number | null; + searchScore: number | null; } export interface ClaimedInvite { id: string | null; @@ -973,6 +1203,8 @@ export interface OrgInvite { createdAt: string | null; updatedAt: string | null; entityId: string | null; + inviteTokenTrgmSimilarity: number | null; + searchScore: number | null; } export interface OrgClaimedInvite { id: string | null; @@ -989,6 +1221,8 @@ export interface Ref { databaseId: string | null; storeId: string | null; commitId: string | null; + nameTrgmSimilarity: number | null; + searchScore: number | null; } export interface Store { id: string | null; @@ -996,11 +1230,24 @@ export interface Store { databaseId: string | null; hash: string | null; createdAt: string | null; + nameTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppPermissionDefault { id: string | null; permissions: string | null; } +export interface CryptoAddress { + id: string | null; + ownerId: string | null; + address: string | null; + isVerified: boolean | null; + isPrimary: boolean | null; + createdAt: string | null; + updatedAt: string | null; + addressTrgmSimilarity: number | null; + searchScore: number | null; +} export interface RoleType { id: number | null; name: string | null; @@ -1010,14 +1257,18 @@ export interface OrgPermissionDefault { permissions: string | null; entityId: string | null; } -export interface CryptoAddress { +export interface PhoneNumber { id: string | null; ownerId: string | null; - address: string | null; + cc: string | null; + number: string | null; isVerified: boolean | null; isPrimary: boolean | null; createdAt: string | null; updatedAt: string | null; + ccTrgmSimilarity: number | null; + numberTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppLimitDefault { id: string | null; @@ -1038,22 +1289,9 @@ export interface ConnectedAccount { isVerified: boolean | null; createdAt: string | null; updatedAt: string | null; -} -export interface PhoneNumber { - id: string | null; - ownerId: string | null; - cc: string | null; - number: string | null; - isVerified: boolean | null; - isPrimary: boolean | null; - createdAt: string | null; - updatedAt: string | null; -} -export interface MembershipType { - id: number | null; - name: string | null; - description: string | null; - prefix: string | null; + serviceTrgmSimilarity: number | null; + identifierTrgmSimilarity: number | null; + searchScore: number | null; } export interface NodeTypeRegistry { name: string | null; @@ -1065,6 +1303,21 @@ export interface NodeTypeRegistry { tags: string[] | null; createdAt: string | null; updatedAt: string | null; + nameTrgmSimilarity: number | null; + slugTrgmSimilarity: number | null; + categoryTrgmSimilarity: number | null; + displayNameTrgmSimilarity: number | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; +} +export interface MembershipType { + id: number | null; + name: string | null; + description: string | null; + prefix: string | null; + descriptionTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppMembershipDefault { id: string | null; @@ -1075,6 +1328,24 @@ export interface AppMembershipDefault { isApproved: boolean | null; isVerified: boolean | null; } +export interface RlsModule { + id: string | null; + databaseId: string | null; + schemaId: string | null; + privateSchemaId: string | null; + sessionCredentialsTableId: string | null; + sessionsTableId: string | null; + usersTableId: string | null; + authenticate: string | null; + authenticateStrict: string | null; + currentRole: string | null; + currentRoleId: string | null; + authenticateTrgmSimilarity: number | null; + authenticateStrictTrgmSimilarity: number | null; + currentRoleTrgmSimilarity: number | null; + currentRoleIdTrgmSimilarity: number | null; + searchScore: number | null; +} export interface Commit { id: string | null; message: string | null; @@ -1085,6 +1356,8 @@ export interface Commit { committerId: string | null; treeId: string | null; date: string | null; + messageTrgmSimilarity: number | null; + searchScore: number | null; } export interface OrgMembershipDefault { id: string | null; @@ -1106,6 +1379,8 @@ export interface AuditLog { ipAddress: string | null; success: boolean | null; createdAt: string | null; + userAgentTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppLevel { id: string | null; @@ -1115,15 +1390,8 @@ export interface AppLevel { ownerId: string | null; createdAt: string | null; updatedAt: string | null; -} -export interface Email { - id: string | null; - ownerId: string | null; - email: ConstructiveInternalTypeEmail | null; - isVerified: boolean | null; - isPrimary: boolean | null; - createdAt: string | null; - updatedAt: string | null; + descriptionTrgmSimilarity: number | null; + searchScore: number | null; } export interface SqlMigration { id: number | null; @@ -1139,6 +1407,22 @@ export interface SqlMigration { action: string | null; actionId: string | null; actorId: string | null; + nameTrgmSimilarity: number | null; + deployTrgmSimilarity: number | null; + contentTrgmSimilarity: number | null; + revertTrgmSimilarity: number | null; + verifyTrgmSimilarity: number | null; + actionTrgmSimilarity: number | null; + searchScore: number | null; +} +export interface Email { + id: string | null; + ownerId: string | null; + email: ConstructiveInternalTypeEmail | null; + isVerified: boolean | null; + isPrimary: boolean | null; + createdAt: string | null; + updatedAt: string | null; } export interface AstMigration { id: number | null; @@ -1154,17 +1438,8 @@ export interface AstMigration { action: string | null; actionId: string | null; actorId: string | null; -} -export interface User { - id: string | null; - username: string | null; - displayName: string | null; - profilePicture: ConstructiveInternalTypeImage | null; - searchTsv: string | null; - type: number | null; - createdAt: string | null; - updatedAt: string | null; - searchTsvRank: number | null; + actionTrgmSimilarity: number | null; + searchScore: number | null; } export interface AppMembership { id: string | null; @@ -1184,6 +1459,19 @@ export interface AppMembership { actorId: string | null; profileId: string | null; } +export interface User { + id: string | null; + username: string | null; + displayName: string | null; + profilePicture: ConstructiveInternalTypeImage | null; + searchTsv: string | null; + type: number | null; + createdAt: string | null; + updatedAt: string | null; + searchTsvRank: number | null; + displayNameTrgmSimilarity: number | null; + searchScore: number | null; +} export interface HierarchyModule { id: string | null; databaseId: string | null; @@ -1205,6 +1493,17 @@ export interface HierarchyModule { getManagersFunction: string | null; isManagerOfFunction: string | null; createdAt: string | null; + chartEdgesTableNameTrgmSimilarity: number | null; + hierarchySprtTableNameTrgmSimilarity: number | null; + chartEdgeGrantsTableNameTrgmSimilarity: number | null; + prefixTrgmSimilarity: number | null; + privateSchemaNameTrgmSimilarity: number | null; + sprtTableNameTrgmSimilarity: number | null; + rebuildHierarchyFunctionTrgmSimilarity: number | null; + getSubordinatesFunctionTrgmSimilarity: number | null; + getManagersFunctionTrgmSimilarity: number | null; + isManagerOfFunctionTrgmSimilarity: number | null; + searchScore: number | null; } export interface StringFilter { isNull?: boolean; @@ -1363,6 +1662,13 @@ export interface InternetAddressFilter { export interface FullTextFilter { matches?: string; } +export interface VectorFilter { + isNull?: boolean; + equalTo?: number[]; + notEqualTo?: number[]; + distinctFrom?: number[]; + notDistinctFrom?: number[]; +} export interface StringListFilter { isNull?: boolean; equalTo?: string[]; diff --git a/sdk/constructive-sdk/schemas/admin.graphql b/sdk/constructive-sdk/schemas/admin.graphql index 5fb1bc7da..e5cb1d098 100644 --- a/sdk/constructive-sdk/schemas/admin.graphql +++ b/sdk/constructive-sdk/schemas/admin.graphql @@ -121,15 +121,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMemberCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMemberFilter + where: OrgMemberFilter """The method to use when ordering `OrgMember`.""" orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] @@ -155,15 +150,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppPermissionDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppPermissionDefaultFilter + where: AppPermissionDefaultFilter """The method to use when ordering `AppPermissionDefault`.""" orderBy: [AppPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] @@ -189,15 +179,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgPermissionDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgPermissionDefaultFilter + where: OrgPermissionDefaultFilter """The method to use when ordering `OrgPermissionDefault`.""" orderBy: [OrgPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] @@ -223,15 +208,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppAdminGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppAdminGrantFilter + where: AppAdminGrantFilter """The method to use when ordering `AppAdminGrant`.""" orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -257,15 +237,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppOwnerGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppOwnerGrantFilter + where: AppOwnerGrantFilter """The method to use when ordering `AppOwnerGrant`.""" orderBy: [AppOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -291,15 +266,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgAdminGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgAdminGrantFilter + where: OrgAdminGrantFilter """The method to use when ordering `OrgAdminGrant`.""" orderBy: [OrgAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -325,15 +295,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgOwnerGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgOwnerGrantFilter + where: OrgOwnerGrantFilter """The method to use when ordering `OrgOwnerGrant`.""" orderBy: [OrgOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -359,15 +324,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLimitDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLimitDefaultFilter + where: AppLimitDefaultFilter """The method to use when ordering `AppLimitDefault`.""" orderBy: [AppLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] @@ -393,22 +353,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgLimitDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgLimitDefaultFilter + where: OrgLimitDefaultFilter """The method to use when ordering `OrgLimitDefault`.""" orderBy: [OrgLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] ): OrgLimitDefaultConnection - """Reads and enables pagination through a set of `MembershipType`.""" - membershipTypes( + """Reads and enables pagination through a set of `OrgChartEdgeGrant`.""" + orgChartEdgeGrants( """Only read the first `n` values of the set.""" first: Int @@ -427,22 +382,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: MembershipTypeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: MembershipTypeFilter + where: OrgChartEdgeGrantFilter - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!] = [PRIMARY_KEY_ASC] - ): MembershipTypeConnection + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantConnection - """Reads and enables pagination through a set of `OrgChartEdgeGrant`.""" - orgChartEdgeGrants( + """Reads and enables pagination through a set of `MembershipType`.""" + membershipTypes( """Only read the first `n` values of the set.""" first: Int @@ -461,19 +411,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeGrantFilter + where: MembershipTypeFilter - """The method to use when ordering `OrgChartEdgeGrant`.""" - orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgChartEdgeGrantConnection + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipTypeConnection """Reads and enables pagination through a set of `AppPermission`.""" appPermissions( @@ -495,15 +440,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppPermissionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppPermissionFilter + where: AppPermissionFilter """The method to use when ordering `AppPermission`.""" orderBy: [AppPermissionOrderBy!] = [PRIMARY_KEY_ASC] @@ -529,15 +469,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgPermissionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgPermissionFilter + where: OrgPermissionFilter """The method to use when ordering `OrgPermission`.""" orderBy: [OrgPermissionOrderBy!] = [PRIMARY_KEY_ASC] @@ -563,15 +498,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLimitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLimitFilter + where: AppLimitFilter """The method to use when ordering `AppLimit`.""" orderBy: [AppLimitOrderBy!] = [PRIMARY_KEY_ASC] @@ -597,15 +527,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppAchievementCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppAchievementFilter + where: AppAchievementFilter """The method to use when ordering `AppAchievement`.""" orderBy: [AppAchievementOrderBy!] = [PRIMARY_KEY_ASC] @@ -631,15 +556,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppStepCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppStepFilter + where: AppStepFilter """The method to use when ordering `AppStep`.""" orderBy: [AppStepOrderBy!] = [PRIMARY_KEY_ASC] @@ -665,15 +585,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ClaimedInviteFilter + where: ClaimedInviteFilter """The method to use when ordering `ClaimedInvite`.""" orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -699,15 +614,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppGrantFilter + where: AppGrantFilter """The method to use when ordering `AppGrant`.""" orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -733,15 +643,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppMembershipDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppMembershipDefaultFilter + where: AppMembershipDefaultFilter """The method to use when ordering `AppMembershipDefault`.""" orderBy: [AppMembershipDefaultOrderBy!] = [PRIMARY_KEY_ASC] @@ -767,15 +672,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgLimitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgLimitFilter + where: OrgLimitFilter """The method to use when ordering `OrgLimit`.""" orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] @@ -801,15 +701,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgClaimedInviteFilter + where: OrgClaimedInviteFilter """The method to use when ordering `OrgClaimedInvite`.""" orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -835,15 +730,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgGrantFilter + where: OrgGrantFilter """The method to use when ordering `OrgGrant`.""" orderBy: [OrgGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -869,15 +759,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeFilter + where: OrgChartEdgeFilter """The method to use when ordering `OrgChartEdge`.""" orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] @@ -903,15 +788,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMembershipDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMembershipDefaultFilter + where: OrgMembershipDefaultFilter """The method to use when ordering `OrgMembershipDefault`.""" orderBy: [OrgMembershipDefaultOrderBy!] = [PRIMARY_KEY_ASC] @@ -937,22 +817,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLevelRequirementCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLevelRequirementFilter + where: AppLevelRequirementFilter """The method to use when ordering `AppLevelRequirement`.""" orderBy: [AppLevelRequirementOrderBy!] = [PRIMARY_KEY_ASC] ): AppLevelRequirementConnection - """Reads and enables pagination through a set of `Invite`.""" - invites( + """Reads and enables pagination through a set of `AppMembership`.""" + appMemberships( """Only read the first `n` values of the set.""" first: Int @@ -971,22 +846,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: InviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: InviteFilter + where: AppMembershipFilter - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] - ): InviteConnection + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): AppMembershipConnection - """Reads and enables pagination through a set of `AppLevel`.""" - appLevels( + """Reads and enables pagination through a set of `OrgMembership`.""" + orgMemberships( """Only read the first `n` values of the set.""" first: Int @@ -1005,22 +875,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLevelCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLevelFilter + where: OrgMembershipFilter - """The method to use when ordering `AppLevel`.""" - orderBy: [AppLevelOrderBy!] = [PRIMARY_KEY_ASC] - ): AppLevelConnection + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMembershipConnection - """Reads and enables pagination through a set of `AppMembership`.""" - appMemberships( + """Reads and enables pagination through a set of `Invite`.""" + invites( """Only read the first `n` values of the set.""" first: Int @@ -1039,22 +904,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppMembershipCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppMembershipFilter + where: InviteFilter - """The method to use when ordering `AppMembership`.""" - orderBy: [AppMembershipOrderBy!] = [PRIMARY_KEY_ASC] - ): AppMembershipConnection + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] + ): InviteConnection - """Reads and enables pagination through a set of `OrgMembership`.""" - orgMemberships( + """Reads and enables pagination through a set of `AppLevel`.""" + appLevels( """Only read the first `n` values of the set.""" first: Int @@ -1073,19 +933,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMembershipCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMembershipFilter + where: AppLevelFilter - """The method to use when ordering `OrgMembership`.""" - orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgMembershipConnection + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLevelConnection """Reads and enables pagination through a set of `OrgInvite`.""" orgInvites( @@ -1107,15 +962,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgInviteFilter + where: OrgInviteFilter """The method to use when ordering `OrgInvite`.""" orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -1257,6 +1107,16 @@ 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.""" @@ -1306,6 +1166,16 @@ 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.""" @@ -1356,6 +1226,16 @@ 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 } """ @@ -1418,24 +1298,6 @@ type OrgMemberEdge { node: OrgMember } -""" -A condition to be used against `OrgMember` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgMemberCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isAdmin` field.""" - isAdmin: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - """ A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ """ @@ -1599,18 +1461,6 @@ type AppPermissionDefaultEdge { node: AppPermissionDefault } -""" -A condition to be used against `AppPermissionDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input AppPermissionDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString -} - """ A filter to be used against `AppPermissionDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -1723,21 +1573,6 @@ type OrgPermissionDefaultEdge { node: OrgPermissionDefault } -""" -A condition to be used against `OrgPermissionDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input OrgPermissionDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - """ A filter to be used against `OrgPermissionDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -1810,30 +1645,6 @@ type AppAdminGrantEdge { node: AppAdminGrant } -""" -A condition to be used against `AppAdminGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppAdminGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ """ @@ -1963,30 +1774,6 @@ type AppOwnerGrantEdge { node: AppOwnerGrant } -""" -A condition to be used against `AppOwnerGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppOwnerGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ """ @@ -2077,33 +1864,6 @@ type OrgAdminGrantEdge { node: OrgAdminGrant } -""" -A condition to be used against `OrgAdminGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgAdminGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ """ @@ -2200,47 +1960,20 @@ type OrgOwnerGrantEdge { } """ -A condition to be used against `OrgOwnerGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ +A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ """ -input OrgOwnerGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input OrgOwnerGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ -""" -input OrgOwnerGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter """Filter by the object’s `grantorId` field.""" grantorId: UUIDFilter @@ -2319,21 +2052,6 @@ type AppLimitDefaultEdge { node: AppLimitDefault } -""" -A condition to be used against `AppLimitDefault` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppLimitDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `max` field.""" - max: Int -} - """ A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -2487,6 +2205,29 @@ 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 } """ @@ -2583,21 +2324,6 @@ type OrgLimitDefaultEdge { node: OrgLimitDefault } -""" -A condition to be used against `OrgLimitDefault` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgLimitDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `max` field.""" - max: Int -} - """ A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -2632,108 +2358,6 @@ enum OrgLimitDefaultOrderBy { NAME_DESC } -"""A connection to a list of `MembershipType` values.""" -type MembershipTypeConnection { - """A list of `MembershipType` objects.""" - nodes: [MembershipType]! - - """ - A list of edges which contains the `MembershipType` and cursor to aid in pagination. - """ - edges: [MembershipTypeEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `MembershipType` you could get from the connection.""" - totalCount: Int! -} - -""" -Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) -""" -type MembershipType { - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! - - """Human-readable name of the membership type""" - name: String! - - """Description of what this membership type represents""" - description: String! - - """ - Short prefix used to namespace tables and functions for this membership scope - """ - prefix: String! -} - -"""A `MembershipType` edge in the connection.""" -type MembershipTypeEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `MembershipType` at the end of the edge.""" - node: MembershipType -} - -""" -A condition to be used against `MembershipType` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input MembershipTypeCondition { - """Checks for equality with the object’s `id` field.""" - id: Int - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `description` field.""" - description: String - - """Checks for equality with the object’s `prefix` field.""" - prefix: String -} - -""" -A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ -""" -input MembershipTypeFilter { - """Filter by the object’s `id` field.""" - id: IntFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `description` field.""" - description: StringFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Checks for all expressions in this list.""" - and: [MembershipTypeFilter!] - - """Checks for any expressions in this list.""" - or: [MembershipTypeFilter!] - - """Negates the expression.""" - not: MembershipTypeFilter -} - -"""Methods to use when ordering `MembershipType`.""" -enum MembershipTypeOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC -} - """A connection to a list of `OrgChartEdgeGrant` values.""" type OrgChartEdgeGrantConnection { """A list of `OrgChartEdgeGrant` objects.""" @@ -2782,6 +2406,16 @@ 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.""" @@ -2793,39 +2427,6 @@ type OrgChartEdgeGrantEdge { node: OrgChartEdgeGrant } -""" -A condition to be used against `OrgChartEdgeGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgChartEdgeGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `childId` field.""" - childId: UUID - - """Checks for equality with the object’s `parentId` field.""" - parentId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `positionTitle` field.""" - positionTitle: String - - """Checks for equality with the object’s `positionLevel` field.""" - positionLevel: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime -} - """ A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ """ @@ -2865,6 +2466,17 @@ 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`.""" @@ -2882,60 +2494,116 @@ 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.""" +type MembershipTypeConnection { + """A list of `MembershipType` objects.""" + nodes: [MembershipType]! + + """ + A list of edges which contains the `MembershipType` and cursor to aid in pagination. + """ + edges: [MembershipTypeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `MembershipType` you could get from the connection.""" + totalCount: Int! } """ -A condition to be used against `AppPermission` object types. All fields are -tested for equality and combined with a logical ‘and.’ +Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) """ -input AppPermissionCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +type MembershipType { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! - """Checks for equality with the object’s `name` field.""" - name: String + """Human-readable name of the membership type""" + name: String! - """Checks for equality with the object’s `bitnum` field.""" - bitnum: Int + """Description of what this membership type represents""" + description: String! - """Checks for equality with the object’s `bitstr` field.""" - bitstr: BitString + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String! - """Checks for equality with the object’s `description` field.""" - description: 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.""" +type MembershipTypeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `MembershipType` at the end of the edge.""" + node: MembershipType } """ -A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ """ -input AppPermissionFilter { +input MembershipTypeFilter { """Filter by the object’s `id` field.""" - id: UUIDFilter + id: IntFilter """Filter by the object’s `name` field.""" name: StringFilter - """Filter by the object’s `bitnum` field.""" - bitnum: IntFilter - - """Filter by the object’s `bitstr` field.""" - bitstr: BitStringFilter - """Filter by the object’s `description` field.""" description: StringFilter + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + """Checks for all expressions in this list.""" - and: [AppPermissionFilter!] + and: [MembershipTypeFilter!] """Checks for any expressions in this list.""" - or: [AppPermissionFilter!] + or: [MembershipTypeFilter!] """Negates the expression.""" - not: AppPermissionFilter -} + not: MembershipTypeFilter -"""Methods to use when ordering `AppPermission`.""" -enum AppPermissionOrderBy { + """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`.""" +enum MembershipTypeOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC @@ -2943,29 +2611,69 @@ enum AppPermissionOrderBy { ID_DESC NAME_ASC NAME_DESC - BITNUM_ASC - BITNUM_DESC + DESCRIPTION_TRGM_SIMILARITY_ASC + DESCRIPTION_TRGM_SIMILARITY_DESC + PREFIX_TRGM_SIMILARITY_ASC + PREFIX_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """ -A condition to be used against `OrgPermission` object types. All fields are -tested for equality and combined with a logical ‘and.’ +A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ """ -input OrgPermissionCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input AppPermissionFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filter by the object’s `name` field.""" + name: StringFilter - """Checks for equality with the object’s `bitnum` field.""" - bitnum: Int + """Filter by the object’s `bitnum` field.""" + bitnum: IntFilter - """Checks for equality with the object’s `bitstr` field.""" - bitstr: BitString + """Filter by the object’s `bitstr` field.""" + bitstr: BitStringFilter - """Checks for equality with the object’s `description` field.""" - description: String + """Filter by the object’s `description` field.""" + description: StringFilter + + """Checks for all expressions in this list.""" + and: [AppPermissionFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum AppPermissionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + BITNUM_ASC + BITNUM_DESC + DESCRIPTION_TRGM_SIMILARITY_ASC + DESCRIPTION_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """ @@ -2995,6 +2703,17 @@ 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`.""" @@ -3008,6 +2727,10 @@ 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.""" @@ -3053,27 +2776,6 @@ type AppLimitEdge { node: AppLimit } -""" -A condition to be used against `AppLimit` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AppLimitCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `num` field.""" - num: Int - - """Checks for equality with the object’s `max` field.""" - max: Int -} - """ A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ """ @@ -3158,30 +2860,6 @@ type AppAchievementEdge { node: AppAchievement } -""" -A condition to be used against `AppAchievement` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppAchievementCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `count` field.""" - count: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ """ @@ -3273,29 +2951,6 @@ type AppStepEdge { node: AppStep } -""" -A condition to be used against `AppStep` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input AppStepCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `count` field.""" - count: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ """ @@ -3394,30 +3049,6 @@ type ClaimedInviteEdge { node: ClaimedInvite } -""" -A condition to be used against `ClaimedInvite` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input ClaimedInviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID - - """Checks for equality with the object’s `receiverId` field.""" - receiverId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ """ @@ -3509,33 +3140,6 @@ type AppGrantEdge { node: AppGrant } -""" -A condition to be used against `AppGrant` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AppGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ """ @@ -3631,33 +3235,6 @@ type AppMembershipDefaultEdge { node: AppMembershipDefault } -""" -A condition to be used against `AppMembershipDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input AppMembershipDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID - - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean -} - """ A filter to be used against `AppMembershipDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -3754,30 +3331,6 @@ type OrgLimitEdge { node: OrgLimit } -""" -A condition to be used against `OrgLimit` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgLimitCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `num` field.""" - num: Int - - """Checks for equality with the object’s `max` field.""" - max: Int - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - """ A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ """ @@ -3872,33 +3425,6 @@ type OrgClaimedInviteEdge { node: OrgClaimedInvite } -""" -A condition to be used against `OrgClaimedInvite` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgClaimedInviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID - - """Checks for equality with the object’s `receiverId` field.""" - receiverId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - """ A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ """ @@ -3996,36 +3522,6 @@ type OrgGrantEdge { node: OrgGrant } -""" -A condition to be used against `OrgGrant` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ """ @@ -4122,6 +3618,16 @@ 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.""" @@ -4133,36 +3639,6 @@ type OrgChartEdgeEdge { node: OrgChartEdge } -""" -A condition to be used against `OrgChartEdge` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgChartEdgeCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `childId` field.""" - childId: UUID - - """Checks for equality with the object’s `parentId` field.""" - parentId: UUID - - """Checks for equality with the object’s `positionTitle` field.""" - positionTitle: String - - """Checks for equality with the object’s `positionLevel` field.""" - positionLevel: Int -} - """ A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ """ @@ -4199,6 +3675,17 @@ 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`.""" @@ -4218,6 +3705,10 @@ 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.""" @@ -4275,43 +3766,6 @@ type OrgMembershipDefaultEdge { node: OrgMembershipDefault } -""" -A condition to be used against `OrgMembershipDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input OrgMembershipDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID - - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """ - Checks for equality with the object’s `deleteMemberCascadeGroups` field. - """ - deleteMemberCascadeGroups: Boolean - - """ - Checks for equality with the object’s `createGroupsCascadeMembers` field. - """ - createGroupsCascadeMembers: Boolean -} - """ A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -4373,37 +3827,7 @@ enum OrgMembershipDefaultOrderBy { } """ -A condition to be used against `AppLevelRequirement` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input AppLevelRequirementCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `level` field.""" - level: String - - """Checks for equality with the object’s `description` field.""" - description: String - - """Checks for equality with the object’s `requiredCount` field.""" - requiredCount: Int - - """Checks for equality with the object’s `priority` field.""" - priority: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ """ input AppLevelRequirementFilter { """Filter by the object’s `id` field.""" @@ -4438,6 +3862,17 @@ 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`.""" @@ -4457,409 +3892,440 @@ 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 `Invite` values.""" -type InviteConnection { - """A list of `Invite` objects.""" - nodes: [Invite]! +"""A connection to a list of `AppMembership` values.""" +type AppMembershipConnection { + """A list of `AppMembership` objects.""" + nodes: [AppMembership]! """ - A list of edges which contains the `Invite` and cursor to aid in pagination. + A list of edges which contains the `AppMembership` and cursor to aid in pagination. """ - edges: [InviteEdge]! + edges: [AppMembershipEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `Invite` you could get from the connection.""" + """The count of *all* `AppMembership` you could get from the connection.""" totalCount: Int! } """ -Invitation records sent to prospective members via email, with token-based redemption and expiration +Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status """ -type Invite { +type AppMembership { id: UUID! + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID - """Email address of the invited recipient""" - email: ConstructiveInternalTypeEmail + """Whether this membership has been approved by an admin""" + isApproved: Boolean! - """User ID of the member who sent this invitation""" - senderId: UUID! + """Whether this member has been banned from the entity""" + isBanned: Boolean! - """Unique random hex token used to redeem this invitation""" - inviteToken: String! + """Whether this membership is temporarily disabled""" + isDisabled: Boolean! - """Whether this invitation is still valid and can be redeemed""" - inviteValid: Boolean! + """Whether this member has been verified (e.g. email confirmation)""" + isVerified: Boolean! - """Maximum number of times this invite can be claimed; -1 means unlimited""" - inviteLimit: Int! + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean! - """Running count of how many times this invite has been claimed""" - inviteCount: Int! + """Whether the actor is the owner of this entity""" + isOwner: Boolean! - """Whether this invite can be claimed by multiple recipients""" - multiple: Boolean! + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean! - """Optional JSON payload of additional invite metadata""" - data: JSON + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString! - """Timestamp after which this invitation can no longer be redeemed""" - expiresAt: Datetime! - createdAt: Datetime - updatedAt: Datetime -} + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString! -scalar ConstructiveInternalTypeEmail + """References the user who holds this membership""" + actorId: UUID! + profileId: UUID +} -"""A `Invite` edge in the connection.""" -type InviteEdge { +"""A `AppMembership` edge in the connection.""" +type AppMembershipEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `Invite` at the end of the edge.""" - node: Invite + """The `AppMembership` at the end of the edge.""" + node: AppMembership } """ -A condition to be used against `Invite` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ """ -input InviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `email` field.""" - email: ConstructiveInternalTypeEmail - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID +input AppMembershipFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `inviteToken` field.""" - inviteToken: String + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Checks for equality with the object’s `inviteValid` field.""" - inviteValid: Boolean + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Checks for equality with the object’s `inviteLimit` field.""" - inviteLimit: Int + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter - """Checks for equality with the object’s `inviteCount` field.""" - inviteCount: Int + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter - """Checks for equality with the object’s `multiple` field.""" - multiple: Boolean + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter - """Checks for equality with the object’s `data` field.""" - data: JSON + """Filter by the object’s `isBanned` field.""" + isBanned: BooleanFilter - """Checks for equality with the object’s `expiresAt` field.""" - expiresAt: Datetime + """Filter by the object’s `isDisabled` field.""" + isDisabled: BooleanFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} + """Filter by the object’s `isActive` field.""" + isActive: BooleanFilter -""" -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 `isOwner` field.""" + isOwner: BooleanFilter - """Filter by the object’s `email` field.""" - email: ConstructiveInternalTypeEmailFilter + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter - """Filter by the object’s `senderId` field.""" - senderId: UUIDFilter + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter - """Filter by the object’s `inviteToken` field.""" - inviteToken: StringFilter + """Filter by the object’s `granted` field.""" + granted: BitStringFilter - """Filter by the object’s `inviteValid` field.""" - inviteValid: BooleanFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `inviteLimit` field.""" - inviteLimit: IntFilter + """Filter by the object’s `profileId` field.""" + profileId: UUIDFilter - """Filter by the object’s `inviteCount` field.""" - inviteCount: IntFilter + """Checks for all expressions in this list.""" + and: [AppMembershipFilter!] - """Filter by the object’s `multiple` field.""" - multiple: BooleanFilter + """Checks for any expressions in this list.""" + or: [AppMembershipFilter!] - """Filter by the object’s `expiresAt` field.""" - expiresAt: DatetimeFilter + """Negates the expression.""" + not: AppMembershipFilter +} - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter +"""Methods to use when ordering `AppMembership`.""" +enum AppMembershipOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC + CREATED_BY_ASC + CREATED_BY_DESC + UPDATED_BY_ASC + UPDATED_BY_DESC + IS_OWNER_ASC + IS_OWNER_DESC + IS_ADMIN_ASC + IS_ADMIN_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + PROFILE_ID_ASC + PROFILE_ID_DESC +} - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter +"""A connection to a list of `OrgMembership` values.""" +type OrgMembershipConnection { + """A list of `OrgMembership` objects.""" + nodes: [OrgMembership]! - """Checks for all expressions in this list.""" - and: [InviteFilter!] + """ + A list of edges which contains the `OrgMembership` and cursor to aid in pagination. + """ + edges: [OrgMembershipEdge]! - """Checks for any expressions in this list.""" - or: [InviteFilter!] + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Negates the expression.""" - not: InviteFilter + """The count of *all* `OrgMembership` you could get from the connection.""" + totalCount: Int! } """ -A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ +Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status """ -input ConstructiveInternalTypeEmailFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean +type OrgMembership { + id: UUID! + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID - """Equal to the specified value.""" - equalTo: String + """Whether this membership has been approved by an admin""" + isApproved: Boolean! - """Not equal to the specified value.""" - notEqualTo: String + """Whether this member has been banned from the entity""" + isBanned: Boolean! + + """Whether this membership is temporarily disabled""" + isDisabled: Boolean! """ - Not equal to the specified value, treating null like an ordinary value. + Computed field indicating the membership is approved, verified, not banned, and not disabled """ - distinctFrom: String + isActive: Boolean! - """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 + """Whether the actor is the owner of this entity""" + isOwner: Boolean! - """Contains the specified string (case-sensitive).""" - includes: String + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean! - """Does not contain the specified string (case-sensitive).""" - notIncludes: String + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString! - """Contains the specified string (case-insensitive).""" - includesInsensitive: ConstructiveInternalTypeEmail + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString! - """Does not contain the specified string (case-insensitive).""" - notIncludesInsensitive: ConstructiveInternalTypeEmail + """References the user who holds this membership""" + actorId: UUID! - """Starts with the specified string (case-sensitive).""" - startsWith: String + """References the entity (org or group) this membership belongs to""" + entityId: UUID! + profileId: UUID +} - """Does not start with the specified string (case-sensitive).""" - notStartsWith: String +"""A `OrgMembership` edge in the connection.""" +type OrgMembershipEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Starts with the specified string (case-insensitive).""" - startsWithInsensitive: ConstructiveInternalTypeEmail + """The `OrgMembership` at the end of the edge.""" + node: OrgMembership +} - """Does not start with the specified string (case-insensitive).""" - notStartsWithInsensitive: ConstructiveInternalTypeEmail +""" +A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ +""" +input OrgMembershipFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Ends with the specified string (case-sensitive).""" - endsWith: String + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Does not end with the specified string (case-sensitive).""" - notEndsWith: String + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Ends with the specified string (case-insensitive).""" - endsWithInsensitive: ConstructiveInternalTypeEmail + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter - """Does not end with the specified string (case-insensitive).""" - notEndsWithInsensitive: ConstructiveInternalTypeEmail + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter - """ - 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 + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter - """ - 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 + """Filter by the object’s `isBanned` field.""" + isBanned: BooleanFilter - """ - 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 + """Filter by the object’s `isDisabled` field.""" + isDisabled: BooleanFilter - """ - 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 + """Filter by the object’s `isActive` field.""" + isActive: BooleanFilter - """Equal to the specified value (case-insensitive).""" - equalToInsensitive: ConstructiveInternalTypeEmail + """Filter by the object’s `isOwner` field.""" + isOwner: BooleanFilter - """Not equal to the specified value (case-insensitive).""" - notEqualToInsensitive: ConstructiveInternalTypeEmail + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter - """ - Not equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - distinctFromInsensitive: ConstructiveInternalTypeEmail + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter - """ - Equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - notDistinctFromInsensitive: ConstructiveInternalTypeEmail + """Filter by the object’s `granted` field.""" + granted: BitStringFilter - """Included in the specified list (case-insensitive).""" - inInsensitive: [ConstructiveInternalTypeEmail!] + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Not included in the specified list (case-insensitive).""" - notInInsensitive: [ConstructiveInternalTypeEmail!] + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Less than the specified value (case-insensitive).""" - lessThanInsensitive: ConstructiveInternalTypeEmail + """Filter by the object’s `profileId` field.""" + profileId: UUIDFilter - """Less than or equal to the specified value (case-insensitive).""" - lessThanOrEqualToInsensitive: ConstructiveInternalTypeEmail + """Checks for all expressions in this list.""" + and: [OrgMembershipFilter!] - """Greater than the specified value (case-insensitive).""" - greaterThanInsensitive: ConstructiveInternalTypeEmail + """Checks for any expressions in this list.""" + or: [OrgMembershipFilter!] - """Greater than or equal to the specified value (case-insensitive).""" - greaterThanOrEqualToInsensitive: ConstructiveInternalTypeEmail + """Negates the expression.""" + not: OrgMembershipFilter } -"""Methods to use when ordering `Invite`.""" -enum InviteOrderBy { +"""Methods to use when ordering `OrgMembership`.""" +enum OrgMembershipOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC ID_ASC ID_DESC - EMAIL_ASC - EMAIL_DESC - SENDER_ID_ASC - SENDER_ID_DESC - INVITE_TOKEN_ASC - INVITE_TOKEN_DESC - INVITE_VALID_ASC - INVITE_VALID_DESC - EXPIRES_AT_ASC - EXPIRES_AT_DESC CREATED_AT_ASC CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC + CREATED_BY_ASC + CREATED_BY_DESC + UPDATED_BY_ASC + UPDATED_BY_DESC + IS_OWNER_ASC + IS_OWNER_DESC + IS_ADMIN_ASC + IS_ADMIN_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC + PROFILE_ID_ASC + PROFILE_ID_DESC } -"""A connection to a list of `AppLevel` values.""" -type AppLevelConnection { - """A list of `AppLevel` objects.""" - nodes: [AppLevel]! +"""A connection to a list of `Invite` values.""" +type InviteConnection { + """A list of `Invite` objects.""" + nodes: [Invite]! """ - A list of edges which contains the `AppLevel` and cursor to aid in pagination. + A list of edges which contains the `Invite` and cursor to aid in pagination. """ - edges: [AppLevelEdge]! + edges: [InviteEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `AppLevel` you could get from the connection.""" + """The count of *all* `Invite` you could get from the connection.""" totalCount: Int! } """ -Defines available levels that users can achieve by completing requirements +Invitation records sent to prospective members via email, with token-based redemption and expiration """ -type AppLevel { +type Invite { id: UUID! - """Unique name of the level""" - name: String! + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail - """Human-readable description of what this level represents""" - description: String + """User ID of the member who sent this invitation""" + senderId: UUID! - """Badge or icon image associated with this level""" - image: ConstructiveInternalTypeImage + """Unique random hex token used to redeem this invitation""" + inviteToken: String! - """Optional owner (actor) who created or manages this level""" - ownerId: UUID - createdAt: Datetime - updatedAt: Datetime -} + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean! -scalar ConstructiveInternalTypeImage + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int! -"""A `AppLevel` edge in the connection.""" -type AppLevelEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Running count of how many times this invite has been claimed""" + inviteCount: Int! - """The `AppLevel` at the end of the edge.""" - node: AppLevel -} + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean! -""" -A condition to be used against `AppLevel` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AppLevelCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Optional JSON payload of additional invite metadata""" + data: JSON - """Checks for equality with the object’s `name` field.""" - name: String + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime! + createdAt: Datetime + updatedAt: Datetime - """Checks for equality with the object’s `description` field.""" - description: String + """ + TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. + """ + inviteTokenTrgmSimilarity: Float - """Checks for equality with the object’s `image` field.""" - image: ConstructiveInternalTypeImage + """ + 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 equality with the object’s `ownerId` field.""" - ownerId: UUID +scalar ConstructiveInternalTypeEmail - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime +"""A `Invite` edge in the connection.""" +type InviteEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """The `Invite` at the end of the edge.""" + node: Invite } """ -A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `Invite` object types. All fields are combined with a logical ‘and.’ """ -input AppLevelFilter { +input InviteFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `email` field.""" + email: ConstructiveInternalTypeEmailFilter - """Filter by the object’s `description` field.""" - description: StringFilter + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter - """Filter by the object’s `image` field.""" - image: ConstructiveInternalTypeImageFilter + """Filter by the object’s `inviteToken` field.""" + inviteToken: StringFilter - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter + """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 @@ -4868,517 +4334,364 @@ input AppLevelFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [AppLevelFilter!] + and: [InviteFilter!] """Checks for any expressions in this list.""" - or: [AppLevelFilter!] + or: [InviteFilter!] """Negates the expression.""" - not: AppLevelFilter + 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 } """ -A filter to be used against ConstructiveInternalTypeImage 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 ConstructiveInternalTypeImageFilter { +input ConstructiveInternalTypeEmailFilter { """ Is null (if `true` is specified) or is not null (if `false` is specified). """ isNull: Boolean """Equal to the specified value.""" - equalTo: ConstructiveInternalTypeImage + equalTo: String """Not equal to the specified value.""" - notEqualTo: ConstructiveInternalTypeImage + notEqualTo: String """ Not equal to the specified value, treating null like an ordinary value. """ - distinctFrom: ConstructiveInternalTypeImage + distinctFrom: String """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: ConstructiveInternalTypeImage + notDistinctFrom: String """Included in the specified list.""" - in: [ConstructiveInternalTypeImage!] + in: [String!] """Not included in the specified list.""" - notIn: [ConstructiveInternalTypeImage!] + notIn: [String!] """Less than the specified value.""" - lessThan: ConstructiveInternalTypeImage + lessThan: String """Less than or equal to the specified value.""" - lessThanOrEqualTo: ConstructiveInternalTypeImage + lessThanOrEqualTo: String """Greater than the specified value.""" - greaterThan: ConstructiveInternalTypeImage + greaterThan: String """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: ConstructiveInternalTypeImage - - """Contains the specified JSON.""" - contains: ConstructiveInternalTypeImage - - """Contains the specified key.""" - containsKey: String - - """Contains all of the specified keys.""" - containsAllKeys: [String!] - - """Contains any of the specified keys.""" - containsAnyKeys: [String!] - - """Contained by the specified JSON.""" - containedBy: ConstructiveInternalTypeImage -} - -"""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 -} - -"""A connection to a list of `AppMembership` values.""" -type AppMembershipConnection { - """A list of `AppMembership` objects.""" - nodes: [AppMembership]! - - """ - A list of edges which contains the `AppMembership` and cursor to aid in pagination. - """ - edges: [AppMembershipEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `AppMembership` you could get from the connection.""" - totalCount: Int! -} - -""" -Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status -""" -type AppMembership { - id: UUID! - createdAt: Datetime - updatedAt: Datetime - createdBy: UUID - updatedBy: UUID - - """Whether this membership has been approved by an admin""" - isApproved: Boolean! - - """Whether this member has been banned from the entity""" - isBanned: Boolean! - - """Whether this membership is temporarily disabled""" - isDisabled: Boolean! - - """Whether this member has been verified (e.g. email confirmation)""" - isVerified: Boolean! - - """ - Computed field indicating the membership is approved, verified, not banned, and not disabled - """ - isActive: Boolean! - - """Whether the actor is the owner of this entity""" - isOwner: Boolean! - - """Whether the actor has admin privileges on this entity""" - isAdmin: Boolean! - - """ - Aggregated permission bitmask combining profile-based and directly granted permissions - """ - permissions: BitString! - - """ - Bitmask of permissions directly granted to this member (not from profiles) - """ - granted: BitString! - - """References the user who holds this membership""" - actorId: UUID! - profileId: UUID -} - -"""A `AppMembership` edge in the connection.""" -type AppMembershipEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `AppMembership` at the end of the edge.""" - node: AppMembership -} - -""" -A condition to be used against `AppMembership` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppMembershipCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID - - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean - - """Checks for equality with the object’s `isBanned` field.""" - isBanned: Boolean - - """Checks for equality with the object’s `isDisabled` field.""" - isDisabled: Boolean - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean + greaterThanOrEqualTo: String - """Checks for equality with the object’s `isActive` field.""" - isActive: Boolean + """Contains the specified string (case-sensitive).""" + includes: String - """Checks for equality with the object’s `isOwner` field.""" - isOwner: Boolean + """Does not contain the specified string (case-sensitive).""" + notIncludes: String - """Checks for equality with the object’s `isAdmin` field.""" - isAdmin: Boolean + """Contains the specified string (case-insensitive).""" + includesInsensitive: ConstructiveInternalTypeEmail - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeEmail - """Checks for equality with the object’s `granted` field.""" - granted: BitString + """Starts with the specified string (case-sensitive).""" + startsWith: String - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID + """Does not start with the specified string (case-sensitive).""" + notStartsWith: String - """Checks for equality with the object’s `profileId` field.""" - profileId: UUID -} + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeEmail -""" -A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ -""" -input AppMembershipFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter + """Ends with the specified string (case-sensitive).""" + endsWith: String - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter + """Does not end with the specified string (case-sensitive).""" + notEndsWith: String - """Filter by the object’s `createdBy` field.""" - createdBy: UUIDFilter + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `updatedBy` field.""" - updatedBy: UUIDFilter + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `isApproved` field.""" - isApproved: BooleanFilter + """ + 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 - """Filter by the object’s `isBanned` field.""" - isBanned: BooleanFilter + """ + 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 - """Filter by the object’s `isDisabled` field.""" - isDisabled: BooleanFilter + """ + 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 - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter + """ + 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 - """Filter by the object’s `isActive` field.""" - isActive: BooleanFilter + """Equal to the specified value (case-insensitive).""" + equalToInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `isOwner` field.""" - isOwner: BooleanFilter + """Not equal to the specified value (case-insensitive).""" + notEqualToInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `isAdmin` field.""" - isAdmin: BooleanFilter + """ + Not equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + distinctFromInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter + """ + Equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + notDistinctFromInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `granted` field.""" - granted: BitStringFilter + """Included in the specified list (case-insensitive).""" + inInsensitive: [ConstructiveInternalTypeEmail!] - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter + """Not included in the specified list (case-insensitive).""" + notInInsensitive: [ConstructiveInternalTypeEmail!] - """Filter by the object’s `profileId` field.""" - profileId: UUIDFilter + """Less than the specified value (case-insensitive).""" + lessThanInsensitive: ConstructiveInternalTypeEmail - """Checks for all expressions in this list.""" - and: [AppMembershipFilter!] + """Less than or equal to the specified value (case-insensitive).""" + lessThanOrEqualToInsensitive: ConstructiveInternalTypeEmail - """Checks for any expressions in this list.""" - or: [AppMembershipFilter!] + """Greater than the specified value (case-insensitive).""" + greaterThanInsensitive: ConstructiveInternalTypeEmail - """Negates the expression.""" - not: AppMembershipFilter + """Greater than or equal to the specified value (case-insensitive).""" + greaterThanOrEqualToInsensitive: ConstructiveInternalTypeEmail } -"""Methods to use when ordering `AppMembership`.""" -enum AppMembershipOrderBy { +"""Methods to use when ordering `Invite`.""" +enum InviteOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC ID_ASC ID_DESC + EMAIL_ASC + EMAIL_DESC + SENDER_ID_ASC + SENDER_ID_DESC + INVITE_TOKEN_ASC + INVITE_TOKEN_DESC + INVITE_VALID_ASC + INVITE_VALID_DESC + EXPIRES_AT_ASC + EXPIRES_AT_DESC CREATED_AT_ASC CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - CREATED_BY_ASC - CREATED_BY_DESC - UPDATED_BY_ASC - UPDATED_BY_DESC - IS_OWNER_ASC - IS_OWNER_DESC - IS_ADMIN_ASC - IS_ADMIN_DESC - ACTOR_ID_ASC - ACTOR_ID_DESC - PROFILE_ID_ASC - PROFILE_ID_DESC + INVITE_TOKEN_TRGM_SIMILARITY_ASC + INVITE_TOKEN_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } -"""A connection to a list of `OrgMembership` values.""" -type OrgMembershipConnection { - """A list of `OrgMembership` objects.""" - nodes: [OrgMembership]! +"""A connection to a list of `AppLevel` values.""" +type AppLevelConnection { + """A list of `AppLevel` objects.""" + nodes: [AppLevel]! """ - A list of edges which contains the `OrgMembership` and cursor to aid in pagination. + A list of edges which contains the `AppLevel` and cursor to aid in pagination. """ - edges: [OrgMembershipEdge]! + edges: [AppLevelEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `OrgMembership` you could get from the connection.""" + """The count of *all* `AppLevel` you could get from the connection.""" totalCount: Int! } """ -Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status +Defines available levels that users can achieve by completing requirements """ -type OrgMembership { +type AppLevel { id: UUID! - createdAt: Datetime - updatedAt: Datetime - createdBy: UUID - updatedBy: UUID - - """Whether this membership has been approved by an admin""" - isApproved: Boolean! - - """Whether this member has been banned from the entity""" - isBanned: Boolean! - """Whether this membership is temporarily disabled""" - isDisabled: Boolean! + """Unique name of the level""" + name: String! - """ - Computed field indicating the membership is approved, verified, not banned, and not disabled - """ - isActive: Boolean! + """Human-readable description of what this level represents""" + description: String - """Whether the actor is the owner of this entity""" - isOwner: Boolean! + """Badge or icon image associated with this level""" + image: ConstructiveInternalTypeImage - """Whether the actor has admin privileges on this entity""" - isAdmin: Boolean! + """Optional owner (actor) who created or manages this level""" + ownerId: UUID + createdAt: Datetime + updatedAt: Datetime """ - Aggregated permission bitmask combining profile-based and directly granted permissions + TRGM similarity when searching `description`. Returns null when no trgm search filter is active. """ - permissions: BitString! + descriptionTrgmSimilarity: Float """ - Bitmask of permissions directly granted to this member (not from profiles) + 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. """ - granted: BitString! - - """References the user who holds this membership""" - actorId: UUID! - - """References the entity (org or group) this membership belongs to""" - entityId: UUID! - profileId: UUID + searchScore: Float } -"""A `OrgMembership` edge in the connection.""" -type OrgMembershipEdge { +scalar ConstructiveInternalTypeImage + +"""A `AppLevel` edge in the connection.""" +type AppLevelEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `OrgMembership` at the end of the edge.""" - node: OrgMembership + """The `AppLevel` at the end of the edge.""" + node: AppLevel } """ -A condition to be used against `OrgMembership` object types. All fields are -tested for equality and combined with a logical ‘and.’ +A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ """ -input OrgMembershipCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID +input AppLevelFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean + """Filter by the object’s `name` field.""" + name: StringFilter - """Checks for equality with the object’s `isBanned` field.""" - isBanned: Boolean + """Filter by the object’s `description` field.""" + description: StringFilter - """Checks for equality with the object’s `isDisabled` field.""" - isDisabled: Boolean + """Filter by the object’s `image` field.""" + image: ConstructiveInternalTypeImageFilter - """Checks for equality with the object’s `isActive` field.""" - isActive: Boolean + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter - """Checks for equality with the object’s `isOwner` field.""" - isOwner: Boolean + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Checks for equality with the object’s `isAdmin` field.""" - isAdmin: Boolean + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString + """Checks for all expressions in this list.""" + and: [AppLevelFilter!] - """Checks for equality with the object’s `granted` field.""" - granted: BitString + """Checks for any expressions in this list.""" + or: [AppLevelFilter!] - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID + """Negates the expression.""" + not: AppLevelFilter - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID + """TRGM search on the `description` column.""" + trgmDescription: TrgmSearchInput - """Checks for equality with the object’s `profileId` field.""" - profileId: UUID + """ + 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 `OrgMembership` object types. All fields are combined with a logical ‘and.’ +A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ """ -input OrgMembershipFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Filter by the object’s `createdBy` field.""" - createdBy: UUIDFilter +input ConstructiveInternalTypeImageFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Filter by the object’s `updatedBy` field.""" - updatedBy: UUIDFilter + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeImage - """Filter by the object’s `isApproved` field.""" - isApproved: BooleanFilter + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeImage - """Filter by the object’s `isBanned` field.""" - isBanned: BooleanFilter + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ConstructiveInternalTypeImage - """Filter by the object’s `isDisabled` field.""" - isDisabled: BooleanFilter + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeImage - """Filter by the object’s `isActive` field.""" - isActive: BooleanFilter + """Included in the specified list.""" + in: [ConstructiveInternalTypeImage!] - """Filter by the object’s `isOwner` field.""" - isOwner: BooleanFilter + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeImage!] - """Filter by the object’s `isAdmin` field.""" - isAdmin: BooleanFilter + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeImage - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeImage - """Filter by the object’s `granted` field.""" - granted: BitStringFilter + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeImage - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeImage - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter + """Contains the specified JSON.""" + contains: ConstructiveInternalTypeImage - """Filter by the object’s `profileId` field.""" - profileId: UUIDFilter + """Contains the specified key.""" + containsKey: String - """Checks for all expressions in this list.""" - and: [OrgMembershipFilter!] + """Contains all of the specified keys.""" + containsAllKeys: [String!] - """Checks for any expressions in this list.""" - or: [OrgMembershipFilter!] + """Contains any of the specified keys.""" + containsAnyKeys: [String!] - """Negates the expression.""" - not: OrgMembershipFilter + """Contained by the specified JSON.""" + containedBy: ConstructiveInternalTypeImage } -"""Methods to use when ordering `OrgMembership`.""" -enum OrgMembershipOrderBy { +"""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 - CREATED_BY_ASC - CREATED_BY_DESC - UPDATED_BY_ASC - UPDATED_BY_DESC - IS_OWNER_ASC - IS_OWNER_DESC - IS_ADMIN_ASC - IS_ADMIN_DESC - ACTOR_ID_ASC - ACTOR_ID_DESC - ENTITY_ID_ASC - ENTITY_ID_DESC - PROFILE_ID_ASC - PROFILE_ID_DESC + DESCRIPTION_TRGM_SIMILARITY_ASC + DESCRIPTION_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """A connection to a list of `OrgInvite` values.""" @@ -5436,6 +4749,16 @@ 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.""" @@ -5447,54 +4770,6 @@ type OrgInviteEdge { node: OrgInvite } -""" -A condition to be used against `OrgInvite` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgInviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `email` field.""" - email: ConstructiveInternalTypeEmail - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID - - """Checks for equality with the object’s `receiverId` field.""" - receiverId: UUID - - """Checks for equality with the object’s `inviteToken` field.""" - inviteToken: String - - """Checks for equality with the object’s `inviteValid` field.""" - inviteValid: Boolean - - """Checks for equality with the object’s `inviteLimit` field.""" - inviteLimit: Int - - """Checks for equality with the object’s `inviteCount` field.""" - inviteCount: Int - - """Checks for equality with the object’s `multiple` field.""" - multiple: Boolean - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `expiresAt` field.""" - expiresAt: Datetime - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - """ A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ """ @@ -5546,6 +4821,17 @@ 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`.""" @@ -5571,6 +4857,10 @@ 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""" @@ -5808,14 +5098,6 @@ type Mutation { input: CreateOrgLimitDefaultInput! ): CreateOrgLimitDefaultPayload - """Creates a single `MembershipType`.""" - createMembershipType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateMembershipTypeInput! - ): CreateMembershipTypePayload - """Creates a single `OrgChartEdgeGrant`.""" createOrgChartEdgeGrant( """ @@ -5824,6 +5106,14 @@ type Mutation { input: CreateOrgChartEdgeGrantInput! ): CreateOrgChartEdgeGrantPayload + """Creates a single `MembershipType`.""" + createMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateMembershipTypeInput! + ): CreateMembershipTypePayload + """Creates a single `AppPermission`.""" createAppPermission( """ @@ -5936,22 +5226,6 @@ type Mutation { input: CreateAppLevelRequirementInput! ): CreateAppLevelRequirementPayload - """Creates a single `Invite`.""" - createInvite( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateInviteInput! - ): CreateInvitePayload - - """Creates a single `AppLevel`.""" - createAppLevel( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateAppLevelInput! - ): CreateAppLevelPayload - """Creates a single `AppMembership`.""" createAppMembership( """ @@ -5968,6 +5242,22 @@ type Mutation { input: CreateOrgMembershipInput! ): CreateOrgMembershipPayload + """Creates a single `Invite`.""" + createInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateInviteInput! + ): CreateInvitePayload + + """Creates a single `AppLevel`.""" + createAppLevel( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppLevelInput! + ): CreateAppLevelPayload + """Creates a single `OrgInvite`.""" createOrgInvite( """ @@ -6052,14 +5342,6 @@ type Mutation { input: UpdateOrgLimitDefaultInput! ): UpdateOrgLimitDefaultPayload - """Updates a single `MembershipType` using a unique key and a patch.""" - updateMembershipType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateMembershipTypeInput! - ): UpdateMembershipTypePayload - """Updates a single `OrgChartEdgeGrant` using a unique key and a patch.""" updateOrgChartEdgeGrant( """ @@ -6068,6 +5350,14 @@ type Mutation { input: UpdateOrgChartEdgeGrantInput! ): UpdateOrgChartEdgeGrantPayload + """Updates a single `MembershipType` using a unique key and a patch.""" + updateMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateMembershipTypeInput! + ): UpdateMembershipTypePayload + """Updates a single `AppPermission` using a unique key and a patch.""" updateAppPermission( """ @@ -6184,22 +5474,6 @@ type Mutation { input: UpdateAppLevelRequirementInput! ): UpdateAppLevelRequirementPayload - """Updates a single `Invite` using a unique key and a patch.""" - updateInvite( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateInviteInput! - ): UpdateInvitePayload - - """Updates a single `AppLevel` using a unique key and a patch.""" - updateAppLevel( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateAppLevelInput! - ): UpdateAppLevelPayload - """Updates a single `AppMembership` using a unique key and a patch.""" updateAppMembership( """ @@ -6216,6 +5490,22 @@ type Mutation { input: UpdateOrgMembershipInput! ): UpdateOrgMembershipPayload + """Updates a single `Invite` using a unique key and a patch.""" + updateInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateInviteInput! + ): UpdateInvitePayload + + """Updates a single `AppLevel` using a unique key and a patch.""" + updateAppLevel( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppLevelInput! + ): UpdateAppLevelPayload + """Updates a single `OrgInvite` using a unique key and a patch.""" updateOrgInvite( """ @@ -6296,14 +5586,6 @@ type Mutation { input: DeleteOrgLimitDefaultInput! ): DeleteOrgLimitDefaultPayload - """Deletes a single `MembershipType` using a unique key.""" - deleteMembershipType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteMembershipTypeInput! - ): DeleteMembershipTypePayload - """Deletes a single `OrgChartEdgeGrant` using a unique key.""" deleteOrgChartEdgeGrant( """ @@ -6312,6 +5594,14 @@ type Mutation { input: DeleteOrgChartEdgeGrantInput! ): DeleteOrgChartEdgeGrantPayload + """Deletes a single `MembershipType` using a unique key.""" + deleteMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteMembershipTypeInput! + ): DeleteMembershipTypePayload + """Deletes a single `AppPermission` using a unique key.""" deleteAppPermission( """ @@ -6424,22 +5714,6 @@ type Mutation { input: DeleteAppLevelRequirementInput! ): DeleteAppLevelRequirementPayload - """Deletes a single `Invite` using a unique key.""" - deleteInvite( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteInviteInput! - ): DeleteInvitePayload - - """Deletes a single `AppLevel` using a unique key.""" - deleteAppLevel( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteAppLevelInput! - ): DeleteAppLevelPayload - """Deletes a single `AppMembership` using a unique key.""" deleteAppMembership( """ @@ -6456,6 +5730,22 @@ type Mutation { input: DeleteOrgMembershipInput! ): DeleteOrgMembershipPayload + """Deletes a single `Invite` using a unique key.""" + deleteInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteInviteInput! + ): DeleteInvitePayload + + """Deletes a single `AppLevel` using a unique key.""" + deleteAppLevel( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppLevelInput! + ): DeleteAppLevelPayload + """Deletes a single `OrgInvite` using a unique key.""" deleteOrgInvite( """ @@ -6947,60 +6237,6 @@ input OrgLimitDefaultInput { max: Int } -"""The output of our create `MembershipType` mutation.""" -type CreateMembershipTypePayload { - """ - 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 `MembershipType` that was created by this mutation.""" - membershipType: MembershipType - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `MembershipType`. May be used by Relay 1.""" - membershipTypeEdge( - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipTypeEdge -} - -"""All input for the create `MembershipType` mutation.""" -input CreateMembershipTypeInput { - """ - 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 `MembershipType` to be created by this mutation.""" - membershipType: MembershipTypeInput! -} - -"""An input for mutations affecting `MembershipType`""" -input MembershipTypeInput { - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! - - """Human-readable name of the membership type""" - name: String! - - """Description of what this membership type represents""" - description: String! - - """ - Short prefix used to namespace tables and functions for this membership scope - """ - prefix: String! -} - """The output of our create `OrgChartEdgeGrant` mutation.""" type CreateOrgChartEdgeGrantPayload { """ @@ -7065,6 +6301,60 @@ input OrgChartEdgeGrantInput { createdAt: Datetime } +"""The output of our create `MembershipType` mutation.""" +type CreateMembershipTypePayload { + """ + 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 `MembershipType` that was created by this mutation.""" + membershipType: MembershipType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge +} + +"""All input for the create `MembershipType` mutation.""" +input CreateMembershipTypeInput { + """ + 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 `MembershipType` to be created by this mutation.""" + membershipType: MembershipTypeInput! +} + +"""An input for mutations affecting `MembershipType`""" +input MembershipTypeInput { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! + + """Human-readable name of the membership type""" + name: String! + + """Description of what this membership type represents""" + description: String! + + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String! +} + """The output of our create `AppPermission` mutation.""" type CreateAppPermissionPayload { """ @@ -7774,167 +7064,44 @@ type CreateAppLevelRequirementPayload { Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our `AppLevelRequirement`. May be used by Relay 1.""" - appLevelRequirementEdge( - """The method to use when ordering `AppLevelRequirement`.""" - orderBy: [AppLevelRequirementOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppLevelRequirementEdge -} - -"""All input for the create `AppLevelRequirement` mutation.""" -input CreateAppLevelRequirementInput { - """ - 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 `AppLevelRequirement` to be created by this mutation.""" - appLevelRequirement: AppLevelRequirementInput! -} - -"""An input for mutations affecting `AppLevelRequirement`""" -input AppLevelRequirementInput { - id: UUID - - """Name identifier of the requirement (matches step names)""" - name: String! - - """Name of the level this requirement belongs to""" - level: String! - - """Human-readable description of what this requirement entails""" - description: String - - """Number of steps needed to satisfy this requirement""" - requiredCount: Int - - """Display ordering priority; lower values appear first""" - priority: Int - createdAt: Datetime - updatedAt: Datetime -} - -"""The output of our create `Invite` mutation.""" -type CreateInvitePayload { - """ - 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 `Invite` that was created by this mutation.""" - invite: Invite - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Invite`. May be used by Relay 1.""" - inviteEdge( - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] - ): InviteEdge -} - -"""All input for the create `Invite` mutation.""" -input CreateInviteInput { - """ - 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 `Invite` to be created by this mutation.""" - invite: InviteInput! -} - -"""An input for mutations affecting `Invite`""" -input InviteInput { - id: UUID - - """Email address of the invited recipient""" - email: ConstructiveInternalTypeEmail - - """User ID of the member who sent this invitation""" - senderId: UUID - - """Unique random hex token used to redeem this invitation""" - inviteToken: String - - """Whether this invitation is still valid and can be redeemed""" - inviteValid: Boolean - - """Maximum number of times this invite can be claimed; -1 means unlimited""" - inviteLimit: Int - - """Running count of how many times this invite has been claimed""" - inviteCount: Int - - """Whether this invite can be claimed by multiple recipients""" - multiple: Boolean - - """Optional JSON payload of additional invite metadata""" - data: JSON - - """Timestamp after which this invitation can no longer be redeemed""" - expiresAt: Datetime - createdAt: Datetime - updatedAt: Datetime -} - -"""The output of our create `AppLevel` mutation.""" -type CreateAppLevelPayload { - """ - 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 `AppLevel` that was created by this mutation.""" - appLevel: AppLevel - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `AppLevel`. May be used by Relay 1.""" - appLevelEdge( - """The method to use when ordering `AppLevel`.""" - orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppLevelEdge + + """An edge for our `AppLevelRequirement`. May be used by Relay 1.""" + appLevelRequirementEdge( + """The method to use when ordering `AppLevelRequirement`.""" + orderBy: [AppLevelRequirementOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelRequirementEdge } -"""All input for the create `AppLevel` mutation.""" -input CreateAppLevelInput { +"""All input for the create `AppLevelRequirement` mutation.""" +input CreateAppLevelRequirementInput { """ 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 `AppLevel` to be created by this mutation.""" - appLevel: AppLevelInput! + """The `AppLevelRequirement` to be created by this mutation.""" + appLevelRequirement: AppLevelRequirementInput! } -"""An input for mutations affecting `AppLevel`""" -input AppLevelInput { +"""An input for mutations affecting `AppLevelRequirement`""" +input AppLevelRequirementInput { id: UUID - """Unique name of the level""" + """Name identifier of the requirement (matches step names)""" name: String! - """Human-readable description of what this level represents""" + """Name of the level this requirement belongs to""" + level: String! + + """Human-readable description of what this requirement entails""" description: String - """Badge or icon image associated with this level""" - image: ConstructiveInternalTypeImage + """Number of steps needed to satisfy this requirement""" + requiredCount: Int - """Optional owner (actor) who created or manages this level""" - ownerId: UUID + """Display ordering priority; lower values appear first""" + priority: Int createdAt: Datetime updatedAt: Datetime } @@ -8101,6 +7268,129 @@ input OrgMembershipInput { profileId: UUID } +"""The output of our create `Invite` mutation.""" +type CreateInvitePayload { + """ + 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 `Invite` that was created by this mutation.""" + invite: Invite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge +} + +"""All input for the create `Invite` mutation.""" +input CreateInviteInput { + """ + 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 `Invite` to be created by this mutation.""" + invite: InviteInput! +} + +"""An input for mutations affecting `Invite`""" +input InviteInput { + id: UUID + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int + + """Running count of how many times this invite has been claimed""" + inviteCount: Int + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AppLevel` mutation.""" +type CreateAppLevelPayload { + """ + 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 `AppLevel` that was created by this mutation.""" + appLevel: AppLevel + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLevel`. May be used by Relay 1.""" + appLevelEdge( + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelEdge +} + +"""All input for the create `AppLevel` mutation.""" +input CreateAppLevelInput { + """ + 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 `AppLevel` to be created by this mutation.""" + appLevel: AppLevelInput! +} + +"""An input for mutations affecting `AppLevel`""" +input AppLevelInput { + 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 +} + """The output of our create `OrgInvite` mutation.""" type CreateOrgInvitePayload { """ @@ -8651,136 +7941,136 @@ input OrgLimitDefaultPatch { max: Int } -"""The output of our update `MembershipType` mutation.""" -type UpdateMembershipTypePayload { +"""The output of our update `OrgChartEdgeGrant` mutation.""" +type UpdateOrgChartEdgeGrantPayload { """ 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 `MembershipType` that was updated by this mutation.""" - membershipType: MembershipType + """The `OrgChartEdgeGrant` that was updated by this mutation.""" + orgChartEdgeGrant: OrgChartEdgeGrant """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `MembershipType`. May be used by Relay 1.""" - membershipTypeEdge( - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipTypeEdge + """An edge for our `OrgChartEdgeGrant`. May be used by Relay 1.""" + orgChartEdgeGrantEdge( + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantEdge } -"""All input for the `updateMembershipType` mutation.""" -input UpdateMembershipTypeInput { +"""All input for the `updateOrgChartEdgeGrant` mutation.""" +input UpdateOrgChartEdgeGrantInput { """ 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! """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! - - """ - An object where the defined keys will be set on the `MembershipType` being updated. + An object where the defined keys will be set on the `OrgChartEdgeGrant` being updated. """ - membershipTypePatch: MembershipTypePatch! + orgChartEdgeGrantPatch: OrgChartEdgeGrantPatch! } """ -Represents an update to a `MembershipType`. Fields that are set will be updated. +Represents an update to a `OrgChartEdgeGrant`. Fields that are set will be updated. """ -input MembershipTypePatch { - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int +input OrgChartEdgeGrantPatch { + id: UUID - """Human-readable name of the membership type""" - name: String + """Organization this grant applies to""" + entityId: UUID - """Description of what this membership type represents""" - description: String + """User ID of the subordinate being placed in the hierarchy""" + childId: UUID - """ - Short prefix used to namespace tables and functions for this membership scope - """ - prefix: String + """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 + + """TRUE to add/update the edge, FALSE to remove it""" + isGrant: Boolean + + """Job title or role name being assigned in this grant""" + positionTitle: String + + """Numeric seniority level being assigned in this grant""" + positionLevel: Int + + """Timestamp when this grant or revocation was recorded""" + createdAt: Datetime } -"""The output of our update `OrgChartEdgeGrant` mutation.""" -type UpdateOrgChartEdgeGrantPayload { +"""The output of our update `MembershipType` mutation.""" +type UpdateMembershipTypePayload { """ 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 `OrgChartEdgeGrant` that was updated by this mutation.""" - orgChartEdgeGrant: OrgChartEdgeGrant + """The `MembershipType` that was updated by this mutation.""" + membershipType: MembershipType """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgChartEdgeGrant`. May be used by Relay 1.""" - orgChartEdgeGrantEdge( - """The method to use when ordering `OrgChartEdgeGrant`.""" - orderBy: [OrgChartEdgeGrantOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgChartEdgeGrantEdge + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge } -"""All input for the `updateOrgChartEdgeGrant` mutation.""" -input UpdateOrgChartEdgeGrantInput { +"""All input for the `updateMembershipType` mutation.""" +input UpdateMembershipTypeInput { """ 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 `OrgChartEdgeGrant` being updated. + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! + + """ + An object where the defined keys will be set on the `MembershipType` being updated. """ - orgChartEdgeGrantPatch: OrgChartEdgeGrantPatch! + membershipTypePatch: MembershipTypePatch! } """ -Represents an update to a `OrgChartEdgeGrant`. Fields that are set will be updated. +Represents an update to a `MembershipType`. Fields that are set will be updated. """ -input OrgChartEdgeGrantPatch { - id: UUID - - """Organization this grant applies to""" - entityId: UUID - - """User ID of the subordinate being placed in the hierarchy""" - childId: UUID - - """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 - - """TRUE to add/update the edge, FALSE to remove it""" - isGrant: Boolean +input MembershipTypePatch { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int - """Job title or role name being assigned in this grant""" - positionTitle: String + """Human-readable name of the membership type""" + name: String - """Numeric seniority level being assigned in this grant""" - positionLevel: Int + """Description of what this membership type represents""" + description: String - """Timestamp when this grant or revocation was recorded""" - createdAt: Datetime + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String } """The output of our update `AppPermission` mutation.""" @@ -9604,31 +8894,31 @@ input AppLevelRequirementPatch { updatedAt: Datetime } -"""The output of our update `Invite` mutation.""" -type UpdateInvitePayload { +"""The output of our update `AppMembership` mutation.""" +type UpdateAppMembershipPayload { """ 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 `Invite` that was updated by this mutation.""" - invite: Invite + """The `AppMembership` that was updated by this mutation.""" + appMembership: AppMembership """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Invite`. May be used by Relay 1.""" - inviteEdge( - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] - ): InviteEdge + """An edge for our `AppMembership`. May be used by Relay 1.""" + appMembershipEdge( + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipEdge } -"""All input for the `updateInvite` mutation.""" -input UpdateInviteInput { +"""All input for the `updateAppMembership` mutation.""" +input UpdateAppMembershipInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -9637,72 +8927,84 @@ input UpdateInviteInput { id: UUID! """ - An object where the defined keys will be set on the `Invite` being updated. + An object where the defined keys will be set on the `AppMembership` being updated. """ - invitePatch: InvitePatch! + appMembershipPatch: AppMembershipPatch! } """ -Represents an update to a `Invite`. Fields that are set will be updated. +Represents an update to a `AppMembership`. Fields that are set will be updated. """ -input InvitePatch { +input AppMembershipPatch { id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID - """Email address of the invited recipient""" - email: ConstructiveInternalTypeEmail + """Whether this membership has been approved by an admin""" + isApproved: Boolean - """User ID of the member who sent this invitation""" - senderId: UUID + """Whether this member has been banned from the entity""" + isBanned: Boolean - """Unique random hex token used to redeem this invitation""" - inviteToken: String + """Whether this membership is temporarily disabled""" + isDisabled: Boolean - """Whether this invitation is still valid and can be redeemed""" - inviteValid: Boolean + """Whether this member has been verified (e.g. email confirmation)""" + isVerified: Boolean - """Maximum number of times this invite can be claimed; -1 means unlimited""" - inviteLimit: Int + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean - """Running count of how many times this invite has been claimed""" - inviteCount: Int + """Whether the actor is the owner of this entity""" + isOwner: Boolean - """Whether this invite can be claimed by multiple recipients""" - multiple: Boolean + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean - """Optional JSON payload of additional invite metadata""" - data: JSON + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString - """Timestamp after which this invitation can no longer be redeemed""" - expiresAt: Datetime - createdAt: Datetime - updatedAt: Datetime + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString + + """References the user who holds this membership""" + actorId: UUID + profileId: UUID } -"""The output of our update `AppLevel` mutation.""" -type UpdateAppLevelPayload { +"""The output of our update `OrgMembership` mutation.""" +type UpdateOrgMembershipPayload { """ 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 `AppLevel` that was updated by this mutation.""" - appLevel: AppLevel + """The `OrgMembership` that was updated by this mutation.""" + orgMembership: OrgMembership """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppLevel`. May be used by Relay 1.""" - appLevelEdge( - """The method to use when ordering `AppLevel`.""" - orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppLevelEdge + """An edge for our `OrgMembership`. May be used by Relay 1.""" + orgMembershipEdge( + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipEdge } -"""All input for the `updateAppLevel` mutation.""" -input UpdateAppLevelInput { +"""All input for the `updateOrgMembership` mutation.""" +input UpdateOrgMembershipInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -9711,63 +9013,84 @@ input UpdateAppLevelInput { id: UUID! """ - An object where the defined keys will be set on the `AppLevel` being updated. + An object where the defined keys will be set on the `OrgMembership` being updated. """ - appLevelPatch: AppLevelPatch! + orgMembershipPatch: OrgMembershipPatch! } """ -Represents an update to a `AppLevel`. Fields that are set will be updated. +Represents an update to a `OrgMembership`. Fields that are set will be updated. """ -input AppLevelPatch { +input OrgMembershipPatch { id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID - """Unique name of the level""" - name: String + """Whether this membership has been approved by an admin""" + isApproved: Boolean - """Human-readable description of what this level represents""" - description: String + """Whether this member has been banned from the entity""" + isBanned: Boolean - """Badge or icon image associated with this level""" - image: ConstructiveInternalTypeImage + """Whether this membership is temporarily disabled""" + isDisabled: Boolean - """Optional owner (actor) who created or manages this level""" - ownerId: UUID - createdAt: Datetime - updatedAt: Datetime + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean - """Upload for Badge or icon image associated with this level""" - imageUpload: Upload -} + """Whether the actor is the owner of this entity""" + isOwner: Boolean -"""The `Upload` scalar type represents a file upload.""" -scalar Upload + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean + + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString -"""The output of our update `AppMembership` mutation.""" -type UpdateAppMembershipPayload { + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString + + """References the user who holds this membership""" + actorId: UUID + + """References the entity (org or group) this membership belongs to""" + entityId: UUID + profileId: UUID +} + +"""The output of our update `Invite` mutation.""" +type UpdateInvitePayload { """ 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 `AppMembership` that was updated by this mutation.""" - appMembership: AppMembership + """The `Invite` that was updated by this mutation.""" + invite: Invite """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppMembership`. May be used by Relay 1.""" - appMembershipEdge( - """The method to use when ordering `AppMembership`.""" - orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppMembershipEdge + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge } -"""All input for the `updateAppMembership` mutation.""" -input UpdateAppMembershipInput { +"""All input for the `updateInvite` mutation.""" +input UpdateInviteInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -9776,84 +9099,72 @@ input UpdateAppMembershipInput { id: UUID! """ - An object where the defined keys will be set on the `AppMembership` being updated. + An object where the defined keys will be set on the `Invite` being updated. """ - appMembershipPatch: AppMembershipPatch! + invitePatch: InvitePatch! } """ -Represents an update to a `AppMembership`. Fields that are set will be updated. +Represents an update to a `Invite`. Fields that are set will be updated. """ -input AppMembershipPatch { +input InvitePatch { id: UUID - createdAt: Datetime - updatedAt: Datetime - createdBy: UUID - updatedBy: UUID - - """Whether this membership has been approved by an admin""" - isApproved: Boolean - """Whether this member has been banned from the entity""" - isBanned: Boolean - - """Whether this membership is temporarily disabled""" - isDisabled: Boolean + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail - """Whether this member has been verified (e.g. email confirmation)""" - isVerified: Boolean + """User ID of the member who sent this invitation""" + senderId: UUID - """ - Computed field indicating the membership is approved, verified, not banned, and not disabled - """ - isActive: Boolean + """Unique random hex token used to redeem this invitation""" + inviteToken: String - """Whether the actor is the owner of this entity""" - isOwner: Boolean + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean - """Whether the actor has admin privileges on this entity""" - isAdmin: Boolean + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int - """ - Aggregated permission bitmask combining profile-based and directly granted permissions - """ - permissions: BitString + """Running count of how many times this invite has been claimed""" + inviteCount: Int - """ - Bitmask of permissions directly granted to this member (not from profiles) - """ - granted: BitString + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean - """References the user who holds this membership""" - actorId: UUID - profileId: UUID + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime } -"""The output of our update `OrgMembership` mutation.""" -type UpdateOrgMembershipPayload { +"""The output of our update `AppLevel` mutation.""" +type UpdateAppLevelPayload { """ 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 `OrgMembership` that was updated by this mutation.""" - orgMembership: OrgMembership + """The `AppLevel` that was updated by this mutation.""" + appLevel: AppLevel """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgMembership`. May be used by Relay 1.""" - orgMembershipEdge( - """The method to use when ordering `OrgMembership`.""" - orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgMembershipEdge + """An edge for our `AppLevel`. May be used by Relay 1.""" + appLevelEdge( + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelEdge } -"""All input for the `updateOrgMembership` mutation.""" -input UpdateOrgMembershipInput { +"""All input for the `updateAppLevel` mutation.""" +input UpdateAppLevelInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -9862,59 +9173,38 @@ input UpdateOrgMembershipInput { id: UUID! """ - An object where the defined keys will be set on the `OrgMembership` being updated. + An object where the defined keys will be set on the `AppLevel` being updated. """ - orgMembershipPatch: OrgMembershipPatch! + appLevelPatch: AppLevelPatch! } """ -Represents an update to a `OrgMembership`. Fields that are set will be updated. +Represents an update to a `AppLevel`. Fields that are set will be updated. """ -input OrgMembershipPatch { +input AppLevelPatch { id: UUID - createdAt: Datetime - updatedAt: Datetime - createdBy: UUID - updatedBy: UUID - - """Whether this membership has been approved by an admin""" - isApproved: Boolean - - """Whether this member has been banned from the entity""" - isBanned: Boolean - - """Whether this membership is temporarily disabled""" - isDisabled: Boolean - - """ - Computed field indicating the membership is approved, verified, not banned, and not disabled - """ - isActive: Boolean - - """Whether the actor is the owner of this entity""" - isOwner: Boolean - """Whether the actor has admin privileges on this entity""" - isAdmin: Boolean + """Unique name of the level""" + name: String - """ - Aggregated permission bitmask combining profile-based and directly granted permissions - """ - permissions: BitString + """Human-readable description of what this level represents""" + description: String - """ - Bitmask of permissions directly granted to this member (not from profiles) - """ - granted: BitString + """Badge or icon image associated with this level""" + image: ConstructiveInternalTypeImage - """References the user who holds this membership""" - actorId: UUID + """Optional owner (actor) who created or manages this level""" + ownerId: UUID + createdAt: Datetime + updatedAt: Datetime - """References the entity (org or group) this membership belongs to""" - entityId: UUID - profileId: UUID + """Upload for Badge or icon image associated with this level""" + imageUpload: Upload } +"""The `Upload` scalar type represents a file upload.""" +scalar Upload + """The output of our update `OrgInvite` mutation.""" type UpdateOrgInvitePayload { """ @@ -10290,74 +9580,74 @@ input DeleteOrgLimitDefaultInput { id: UUID! } -"""The output of our delete `MembershipType` mutation.""" -type DeleteMembershipTypePayload { +"""The output of our delete `OrgChartEdgeGrant` mutation.""" +type DeleteOrgChartEdgeGrantPayload { """ 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 `MembershipType` that was deleted by this mutation.""" - membershipType: MembershipType + """The `OrgChartEdgeGrant` that was deleted by this mutation.""" + orgChartEdgeGrant: OrgChartEdgeGrant """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `MembershipType`. May be used by Relay 1.""" - membershipTypeEdge( - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipTypeEdge + """An edge for our `OrgChartEdgeGrant`. May be used by Relay 1.""" + orgChartEdgeGrantEdge( + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantEdge } -"""All input for the `deleteMembershipType` mutation.""" -input DeleteMembershipTypeInput { +"""All input for the `deleteOrgChartEdgeGrant` mutation.""" +input DeleteOrgChartEdgeGrantInput { """ 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 - - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! + id: UUID! } -"""The output of our delete `OrgChartEdgeGrant` mutation.""" -type DeleteOrgChartEdgeGrantPayload { +"""The output of our delete `MembershipType` mutation.""" +type DeleteMembershipTypePayload { """ 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 `OrgChartEdgeGrant` that was deleted by this mutation.""" - orgChartEdgeGrant: OrgChartEdgeGrant + """The `MembershipType` that was deleted by this mutation.""" + membershipType: MembershipType """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgChartEdgeGrant`. May be used by Relay 1.""" - orgChartEdgeGrantEdge( - """The method to use when ordering `OrgChartEdgeGrant`.""" - orderBy: [OrgChartEdgeGrantOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgChartEdgeGrantEdge + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge } -"""All input for the `deleteOrgChartEdgeGrant` mutation.""" -input DeleteOrgChartEdgeGrantInput { +"""All input for the `deleteMembershipType` mutation.""" +input DeleteMembershipTypeInput { """ 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! + + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! } """The output of our delete `AppPermission` mutation.""" @@ -10822,31 +10112,31 @@ input DeleteAppLevelRequirementInput { id: UUID! } -"""The output of our delete `Invite` mutation.""" -type DeleteInvitePayload { +"""The output of our delete `AppMembership` mutation.""" +type DeleteAppMembershipPayload { """ 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 `Invite` that was deleted by this mutation.""" - invite: Invite + """The `AppMembership` that was deleted by this mutation.""" + appMembership: AppMembership """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Invite`. May be used by Relay 1.""" - inviteEdge( - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] - ): InviteEdge + """An edge for our `AppMembership`. May be used by Relay 1.""" + appMembershipEdge( + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipEdge } -"""All input for the `deleteInvite` mutation.""" -input DeleteInviteInput { +"""All input for the `deleteAppMembership` mutation.""" +input DeleteAppMembershipInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -10855,31 +10145,31 @@ input DeleteInviteInput { id: UUID! } -"""The output of our delete `AppLevel` mutation.""" -type DeleteAppLevelPayload { +"""The output of our delete `OrgMembership` mutation.""" +type DeleteOrgMembershipPayload { """ 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 `AppLevel` that was deleted by this mutation.""" - appLevel: AppLevel + """The `OrgMembership` that was deleted by this mutation.""" + orgMembership: OrgMembership """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppLevel`. May be used by Relay 1.""" - appLevelEdge( - """The method to use when ordering `AppLevel`.""" - orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppLevelEdge + """An edge for our `OrgMembership`. May be used by Relay 1.""" + orgMembershipEdge( + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipEdge } -"""All input for the `deleteAppLevel` mutation.""" -input DeleteAppLevelInput { +"""All input for the `deleteOrgMembership` mutation.""" +input DeleteOrgMembershipInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -10888,31 +10178,31 @@ input DeleteAppLevelInput { id: UUID! } -"""The output of our delete `AppMembership` mutation.""" -type DeleteAppMembershipPayload { +"""The output of our delete `Invite` mutation.""" +type DeleteInvitePayload { """ 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 `AppMembership` that was deleted by this mutation.""" - appMembership: AppMembership + """The `Invite` that was deleted by this mutation.""" + invite: Invite """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppMembership`. May be used by Relay 1.""" - appMembershipEdge( - """The method to use when ordering `AppMembership`.""" - orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppMembershipEdge + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge } -"""All input for the `deleteAppMembership` mutation.""" -input DeleteAppMembershipInput { +"""All input for the `deleteInvite` mutation.""" +input DeleteInviteInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -10921,31 +10211,31 @@ input DeleteAppMembershipInput { id: UUID! } -"""The output of our delete `OrgMembership` mutation.""" -type DeleteOrgMembershipPayload { +"""The output of our delete `AppLevel` mutation.""" +type DeleteAppLevelPayload { """ 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 `OrgMembership` that was deleted by this mutation.""" - orgMembership: OrgMembership + """The `AppLevel` that was deleted by this mutation.""" + appLevel: AppLevel """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgMembership`. May be used by Relay 1.""" - orgMembershipEdge( - """The method to use when ordering `OrgMembership`.""" - orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgMembershipEdge + """An edge for our `AppLevel`. May be used by Relay 1.""" + appLevelEdge( + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelEdge } -"""All input for the `deleteOrgMembership` mutation.""" -input DeleteOrgMembershipInput { +"""All input for the `deleteAppLevel` mutation.""" +input DeleteAppLevelInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. diff --git a/sdk/constructive-sdk/schemas/auth.graphql b/sdk/constructive-sdk/schemas/auth.graphql index 6aa212662..6384885bf 100644 --- a/sdk/constructive-sdk/schemas/auth.graphql +++ b/sdk/constructive-sdk/schemas/auth.graphql @@ -5,8 +5,8 @@ type Query { currentUserId: UUID currentUser: User - """Reads and enables pagination through a set of `RoleType`.""" - roleTypes( + """Reads and enables pagination through a set of `CryptoAddress`.""" + cryptoAddresses( """Only read the first `n` values of the set.""" first: Int @@ -25,22 +25,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RoleTypeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: RoleTypeFilter + where: CryptoAddressFilter - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!] = [PRIMARY_KEY_ASC] - ): RoleTypeConnection + """The method to use when ordering `CryptoAddress`.""" + orderBy: [CryptoAddressOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAddressConnection - """Reads and enables pagination through a set of `CryptoAddress`.""" - cryptoAddresses( + """Reads and enables pagination through a set of `RoleType`.""" + roleTypes( """Only read the first `n` values of the set.""" first: Int @@ -59,19 +54,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CryptoAddressCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CryptoAddressFilter + where: RoleTypeFilter - """The method to use when ordering `CryptoAddress`.""" - orderBy: [CryptoAddressOrderBy!] = [PRIMARY_KEY_ASC] - ): CryptoAddressConnection + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!] = [PRIMARY_KEY_ASC] + ): RoleTypeConnection """Reads and enables pagination through a set of `PhoneNumber`.""" phoneNumbers( @@ -93,15 +83,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PhoneNumberCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PhoneNumberFilter + where: PhoneNumberFilter """The method to use when ordering `PhoneNumber`.""" orderBy: [PhoneNumberOrderBy!] = [PRIMARY_KEY_ASC] @@ -127,15 +112,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ConnectedAccountCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ConnectedAccountFilter + where: ConnectedAccountFilter """The method to use when ordering `ConnectedAccount`.""" orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] @@ -161,15 +141,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AuditLogCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AuditLogFilter + where: AuditLogFilter """The method to use when ordering `AuditLog`.""" orderBy: [AuditLogOrderBy!] = [PRIMARY_KEY_ASC] @@ -195,15 +170,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: EmailCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: EmailFilter + where: EmailFilter """The method to use when ordering `Email`.""" orderBy: [EmailOrderBy!] = [PRIMARY_KEY_ASC] @@ -229,15 +199,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UserCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UserFilter + where: UserFilter """The method to use when ordering `User`.""" orderBy: [UserOrderBy!] = [PRIMARY_KEY_ASC] @@ -267,13 +232,23 @@ type User { createdAt: Datetime updatedAt: Datetime + """Reads a single `RoleType` that is related to this `User`.""" + roleType: RoleType + """ - Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. + TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. """ searchTsvRank: Float - """Reads a single `RoleType` that is related to this `User`.""" - roleType: RoleType + """ + TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. + """ + 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. + """ + searchScore: Float } scalar ConstructiveInternalTypeImage @@ -295,30 +270,64 @@ type RoleType { name: String! } -"""A connection to a list of `RoleType` values.""" -type RoleTypeConnection { - """A list of `RoleType` objects.""" - nodes: [RoleType]! +"""A connection to a list of `CryptoAddress` values.""" +type CryptoAddressConnection { + """A list of `CryptoAddress` objects.""" + nodes: [CryptoAddress]! """ - A list of edges which contains the `RoleType` and cursor to aid in pagination. + A list of edges which contains the `CryptoAddress` and cursor to aid in pagination. """ - edges: [RoleTypeEdge]! + edges: [CryptoAddressEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `RoleType` you could get from the connection.""" + """The count of *all* `CryptoAddress` you could get from the connection.""" totalCount: Int! } -"""A `RoleType` edge in the connection.""" -type RoleTypeEdge { +""" +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 `RoleType` at the end of the edge.""" - node: RoleType + """The `CryptoAddress` at the end of the edge.""" + node: CryptoAddress } """A location in a connection that can be used for resuming pagination.""" @@ -340,77 +349,94 @@ type PageInfo { } """ -A condition to be used against `RoleType` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ """ -input RoleTypeCondition { - """Checks for equality with the object’s `id` field.""" - id: Int +input CryptoAddressFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `name` field.""" - name: String -} + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter -""" -A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ -""" -input RoleTypeFilter { - """Filter by the object’s `id` field.""" - id: IntFilter + """Filter by the object’s `address` field.""" + address: StringFilter - """Filter by the object’s `name` field.""" - name: 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: [RoleTypeFilter!] + and: [CryptoAddressFilter!] """Checks for any expressions in this list.""" - or: [RoleTypeFilter!] + or: [CryptoAddressFilter!] """Negates the expression.""" - not: RoleTypeFilter + 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 } """ -A filter to be used against Int fields. All fields are combined with a logical ‘and.’ +A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ """ -input IntFilter { +input UUIDFilter { """ Is null (if `true` is specified) or is not null (if `false` is specified). """ isNull: Boolean """Equal to the specified value.""" - equalTo: Int + equalTo: UUID """Not equal to the specified value.""" - notEqualTo: Int + notEqualTo: UUID """ Not equal to the specified value, treating null like an ordinary value. """ - distinctFrom: Int + distinctFrom: UUID """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: Int + notDistinctFrom: UUID """Included in the specified list.""" - in: [Int!] + in: [UUID!] """Not included in the specified list.""" - notIn: [Int!] + notIn: [UUID!] """Less than the specified value.""" - lessThan: Int + lessThan: UUID """Less than or equal to the specified value.""" - lessThanOrEqualTo: Int + lessThanOrEqualTo: UUID """Greater than the specified value.""" - greaterThan: Int + greaterThan: UUID """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: Int + greaterThanOrEqualTo: UUID } """ @@ -543,114 +569,136 @@ input StringFilter { """Greater than or equal to the specified value (case-insensitive).""" greaterThanOrEqualToInsensitive: String -} - -"""Methods to use when ordering `RoleType`.""" -enum RoleTypeOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - NAME_ASC - NAME_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. + Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. """ - edges: [CryptoAddressEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + similarTo: TrgmSearchInput - """The count of *all* `CryptoAddress` you could get from the connection.""" - totalCount: Int! + """ + Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. + """ + wordSimilarTo: TrgmSearchInput } """ -Cryptocurrency wallet addresses owned by users, with network-specific validation and verification +Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. """ -type CryptoAddress { - id: UUID! - ownerId: UUID! +input TrgmSearchInput { + """The text to fuzzy-match against. Typos and misspellings are tolerated.""" + value: String! """ - The cryptocurrency wallet address, validated against network-specific patterns + Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. """ - 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 + threshold: Float } """ -A condition to be used against `CryptoAddress` object types. All fields are -tested for equality and combined with a logical ‘and.’ +A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ """ -input CryptoAddressCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input BooleanFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID + """Equal to the specified value.""" + equalTo: Boolean - """Checks for equality with the object’s `address` field.""" - address: String + """Not equal to the specified value.""" + notEqualTo: Boolean - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: Boolean - """Checks for equality with the object’s `isPrimary` field.""" - isPrimary: Boolean + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Boolean - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Included in the specified list.""" + in: [Boolean!] - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} + """Not included in the specified list.""" + notIn: [Boolean!] -""" -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 + """Less than the specified value.""" + lessThan: Boolean - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Boolean - """Filter by the object’s `address` field.""" - address: StringFilter + """Greater than the specified value.""" + greaterThan: Boolean - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Boolean +} - """Filter by the object’s `isPrimary` field.""" - isPrimary: BooleanFilter +""" +A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ +""" +input DatetimeFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: Datetime + + """Not equal to the specified value.""" + notEqualTo: Datetime + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: Datetime + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Datetime + + """Included in the specified list.""" + in: [Datetime!] + + """Not included in the specified list.""" + notIn: [Datetime!] + + """Less than the specified value.""" + lessThan: Datetime + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Datetime + + """Greater than the specified value.""" + greaterThan: Datetime + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Datetime +} + +""" +A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ +""" +input UserFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `username` field.""" + username: StringFilter + + """Filter by the object’s `displayName` field.""" + displayName: StringFilter + + """Filter by the object’s `profilePicture` field.""" + profilePicture: ConstructiveInternalTypeImageFilter + + """Filter by the object’s `searchTsv` field.""" + searchTsv: FullTextFilter + + """Filter by the object’s `type` field.""" + type: IntFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -659,139 +707,182 @@ input CryptoAddressFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [CryptoAddressFilter!] + and: [UserFilter!] """Checks for any expressions in this list.""" - or: [CryptoAddressFilter!] + or: [UserFilter!] """Negates the expression.""" - not: CryptoAddressFilter + not: UserFilter + + """Filter by the object’s `roleType` relation.""" + roleType: RoleTypeFilter + + """TSV search on the `search_tsv` column.""" + tsvSearchTsv: String + + """TRGM search on the `display_name` column.""" + trgmDisplayName: 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 UUID fields. All fields are combined with a logical ‘and.’ +A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ """ -input UUIDFilter { +input ConstructiveInternalTypeImageFilter { """ Is null (if `true` is specified) or is not null (if `false` is specified). """ isNull: Boolean """Equal to the specified value.""" - equalTo: UUID + equalTo: ConstructiveInternalTypeImage """Not equal to the specified value.""" - notEqualTo: UUID + notEqualTo: ConstructiveInternalTypeImage """ Not equal to the specified value, treating null like an ordinary value. """ - distinctFrom: UUID + distinctFrom: ConstructiveInternalTypeImage """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: UUID + notDistinctFrom: ConstructiveInternalTypeImage """Included in the specified list.""" - in: [UUID!] + in: [ConstructiveInternalTypeImage!] """Not included in the specified list.""" - notIn: [UUID!] + notIn: [ConstructiveInternalTypeImage!] """Less than the specified value.""" - lessThan: UUID + lessThan: ConstructiveInternalTypeImage """Less than or equal to the specified value.""" - lessThanOrEqualTo: UUID + lessThanOrEqualTo: ConstructiveInternalTypeImage """Greater than the specified value.""" - greaterThan: UUID + greaterThan: ConstructiveInternalTypeImage """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: UUID + greaterThanOrEqualTo: ConstructiveInternalTypeImage + + """Contains the specified JSON.""" + contains: ConstructiveInternalTypeImage + + """Contains the specified key.""" + containsKey: String + + """Contains all of the specified keys.""" + containsAllKeys: [String!] + + """Contains any of the specified keys.""" + containsAnyKeys: [String!] + + """Contained by the specified JSON.""" + containedBy: ConstructiveInternalTypeImage } """ -A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ +A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ """ -input BooleanFilter { +input FullTextFilter { """ Is null (if `true` is specified) or is not null (if `false` is specified). """ isNull: Boolean """Equal to the specified value.""" - equalTo: Boolean + equalTo: FullText """Not equal to the specified value.""" - notEqualTo: Boolean + notEqualTo: FullText """ Not equal to the specified value, treating null like an ordinary value. """ - distinctFrom: Boolean + distinctFrom: FullText """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: Boolean + notDistinctFrom: FullText """Included in the specified list.""" - in: [Boolean!] + in: [FullText!] """Not included in the specified list.""" - notIn: [Boolean!] - - """Less than the specified value.""" - lessThan: Boolean - - """Less than or equal to the specified value.""" - lessThanOrEqualTo: Boolean - - """Greater than the specified value.""" - greaterThan: Boolean + notIn: [FullText!] - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: Boolean + """Performs a full text search on the field.""" + matches: String } """ -A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ +A filter to be used against Int fields. All fields are combined with a logical ‘and.’ """ -input DatetimeFilter { +input IntFilter { """ Is null (if `true` is specified) or is not null (if `false` is specified). """ isNull: Boolean """Equal to the specified value.""" - equalTo: Datetime + equalTo: Int """Not equal to the specified value.""" - notEqualTo: Datetime + notEqualTo: Int """ Not equal to the specified value, treating null like an ordinary value. """ - distinctFrom: Datetime + distinctFrom: Int """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: Datetime + notDistinctFrom: Int """Included in the specified list.""" - in: [Datetime!] + in: [Int!] """Not included in the specified list.""" - notIn: [Datetime!] + notIn: [Int!] """Less than the specified value.""" - lessThan: Datetime + lessThan: Int """Less than or equal to the specified value.""" - lessThanOrEqualTo: Datetime + lessThanOrEqualTo: Int """Greater than the specified value.""" - greaterThan: Datetime + greaterThan: Int """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: Datetime + greaterThanOrEqualTo: Int +} + +""" +A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ +""" +input RoleTypeFilter { + """Filter by the object’s `id` field.""" + id: IntFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Checks for all expressions in this list.""" + and: [RoleTypeFilter!] + + """Checks for any expressions in this list.""" + or: [RoleTypeFilter!] + + """Negates the expression.""" + not: RoleTypeFilter } """Methods to use when ordering `CryptoAddress`.""" @@ -807,6 +898,47 @@ enum CryptoAddressOrderBy { 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.""" + nodes: [RoleType]! + + """ + A list of edges which contains the `RoleType` and cursor to aid in pagination. + """ + edges: [RoleTypeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `RoleType` you could get from the connection.""" + totalCount: Int! +} + +"""A `RoleType` edge in the connection.""" +type RoleTypeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `RoleType` at the end of the edge.""" + node: RoleType +} + +"""Methods to use when ordering `RoleType`.""" +enum RoleTypeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC } """A connection to a list of `PhoneNumber` values.""" @@ -849,6 +981,21 @@ type PhoneNumber { """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.""" @@ -860,36 +1007,6 @@ type PhoneNumberEdge { node: PhoneNumber } -""" -A condition to be used against `PhoneNumber` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input PhoneNumberCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `cc` field.""" - cc: String - - """Checks for equality with the object’s `number` field.""" - number: String - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean - - """Checks for equality with the object’s `isPrimary` field.""" - isPrimary: Boolean - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ """ @@ -926,6 +1043,23 @@ input 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`.""" @@ -941,6 +1075,12 @@ enum PhoneNumberOrderBy { 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.""" @@ -985,50 +1125,35 @@ type ConnectedAccount { """Reads a single `User` that is related to this `ConnectedAccount`.""" owner: User -} -""" -Represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). -""" -scalar JSON + """ + TRGM similarity when searching `service`. Returns null when no trgm search filter is active. + """ + serviceTrgmSimilarity: Float -"""A `ConnectedAccount` edge in the connection.""" -type ConnectedAccountEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """ + TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. + """ + identifierTrgmSimilarity: Float - """The `ConnectedAccount` at the end of the edge.""" - node: ConnectedAccount + """ + 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 condition to be used against `ConnectedAccount` object types. All fields are -tested for equality and combined with a logical ‘and.’ +Represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). """ -input ConnectedAccountCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `service` field.""" - service: String - - """Checks for equality with the object’s `identifier` field.""" - identifier: String - - """Checks for equality with the object’s `details` field.""" - details: JSON - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean +scalar JSON - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime +"""A `ConnectedAccount` edge in the connection.""" +type ConnectedAccountEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """The `ConnectedAccount` at the end of the edge.""" + node: ConnectedAccount } """ @@ -1067,6 +1192,23 @@ input 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 } """ @@ -1141,6 +1283,12 @@ enum ConnectedAccountOrderBy { 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.""" @@ -1191,6 +1339,16 @@ type AuditLog { """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 @@ -1204,36 +1362,6 @@ type AuditLogEdge { node: AuditLog } -""" -A condition to be used against `AuditLog` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AuditLogCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `event` field.""" - event: String - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `origin` field.""" - origin: ConstructiveInternalTypeOrigin - - """Checks for equality with the object’s `userAgent` field.""" - userAgent: String - - """Checks for equality with the object’s `ipAddress` field.""" - ipAddress: InternetAddress - - """Checks for equality with the object’s `success` field.""" - success: Boolean - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime -} - """ A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ """ @@ -1270,6 +1398,20 @@ input 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 } """ @@ -1470,6 +1612,10 @@ enum AuditLogOrderBy { 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 `Email` values.""" @@ -1520,32 +1666,6 @@ type EmailEdge { node: Email } -""" -A condition to be used against `Email` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input EmailCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `email` field.""" - email: ConstructiveInternalTypeEmail - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean - - """Checks for equality with the object’s `isPrimary` field.""" - isPrimary: Boolean - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ """ @@ -1579,6 +1699,9 @@ input EmailFilter { """Negates the expression.""" not: EmailFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter } """ @@ -1754,168 +1877,6 @@ type UserEdge { node: User } -""" -A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input UserCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `username` field.""" - username: String - - """Checks for equality with the object’s `displayName` field.""" - displayName: String - - """Checks for equality with the object’s `profilePicture` field.""" - profilePicture: ConstructiveInternalTypeImage - - """Checks for equality with the object’s `searchTsv` field.""" - searchTsv: FullText - - """Checks for equality with the object’s `type` field.""" - type: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """ - Full-text search on the `search_tsv` tsvector column using `websearch_to_tsquery`. - """ - fullTextSearchTsv: String -} - -""" -A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ -""" -input UserFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `username` field.""" - username: StringFilter - - """Filter by the object’s `displayName` field.""" - displayName: StringFilter - - """Filter by the object’s `profilePicture` field.""" - profilePicture: ConstructiveInternalTypeImageFilter - - """Filter by the object’s `searchTsv` field.""" - searchTsv: FullTextFilter - - """Filter by the object’s `type` field.""" - type: IntFilter - - """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: [UserFilter!] - - """Checks for any expressions in this list.""" - or: [UserFilter!] - - """Negates the expression.""" - not: UserFilter -} - -""" -A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ -""" -input ConstructiveInternalTypeImageFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: ConstructiveInternalTypeImage - - """Not equal to the specified value.""" - notEqualTo: ConstructiveInternalTypeImage - - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: ConstructiveInternalTypeImage - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: ConstructiveInternalTypeImage - - """Included in the specified list.""" - in: [ConstructiveInternalTypeImage!] - - """Not included in the specified list.""" - notIn: [ConstructiveInternalTypeImage!] - - """Less than the specified value.""" - lessThan: ConstructiveInternalTypeImage - - """Less than or equal to the specified value.""" - lessThanOrEqualTo: ConstructiveInternalTypeImage - - """Greater than the specified value.""" - greaterThan: ConstructiveInternalTypeImage - - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: ConstructiveInternalTypeImage - - """Contains the specified JSON.""" - contains: ConstructiveInternalTypeImage - - """Contains the specified key.""" - containsKey: String - - """Contains all of the specified keys.""" - containsAllKeys: [String!] - - """Contains any of the specified keys.""" - containsAnyKeys: [String!] - - """Contained by the specified JSON.""" - containedBy: ConstructiveInternalTypeImage -} - -""" -A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ -""" -input FullTextFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: FullText - - """Not equal to the specified value.""" - notEqualTo: FullText - - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: FullText - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: FullText - - """Included in the specified list.""" - in: [FullText!] - - """Not included in the specified list.""" - notIn: [FullText!] - - """Performs a full text search on the field.""" - matches: String -} - """Methods to use when ordering `User`.""" enum UserOrderBy { NATURAL @@ -1933,6 +1894,10 @@ enum UserOrderBy { UPDATED_AT_DESC SEARCH_TSV_RANK_ASC SEARCH_TSV_RANK_DESC + DISPLAY_NAME_TRGM_SIMILARITY_ASC + DISPLAY_NAME_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """Root meta schema type""" @@ -2182,14 +2147,6 @@ type Mutation { input: VerifyTotpInput! ): VerifyTotpPayload - """Creates a single `RoleType`.""" - createRoleType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateRoleTypeInput! - ): CreateRoleTypePayload - """Creates a single `CryptoAddress`.""" createCryptoAddress( """ @@ -2198,6 +2155,14 @@ type Mutation { input: CreateCryptoAddressInput! ): CreateCryptoAddressPayload + """Creates a single `RoleType`.""" + createRoleType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateRoleTypeInput! + ): CreateRoleTypePayload + """Creates a single `PhoneNumber`.""" createPhoneNumber( """ @@ -2238,14 +2203,6 @@ type Mutation { input: CreateUserInput! ): CreateUserPayload - """Updates a single `RoleType` using a unique key and a patch.""" - updateRoleType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateRoleTypeInput! - ): UpdateRoleTypePayload - """Updates a single `CryptoAddress` using a unique key and a patch.""" updateCryptoAddress( """ @@ -2254,6 +2211,14 @@ type Mutation { input: UpdateCryptoAddressInput! ): UpdateCryptoAddressPayload + """Updates a single `RoleType` using a unique key and a patch.""" + updateRoleType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateRoleTypeInput! + ): UpdateRoleTypePayload + """Updates a single `PhoneNumber` using a unique key and a patch.""" updatePhoneNumber( """ @@ -2294,21 +2259,21 @@ type Mutation { input: UpdateUserInput! ): UpdateUserPayload - """Deletes a single `RoleType` using a unique key.""" - deleteRoleType( + """Deletes a single `CryptoAddress` using a unique key.""" + deleteCryptoAddress( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteRoleTypeInput! - ): DeleteRoleTypePayload + input: DeleteCryptoAddressInput! + ): DeleteCryptoAddressPayload - """Deletes a single `CryptoAddress` using a unique key.""" - deleteCryptoAddress( + """Deletes a single `RoleType` using a unique key.""" + deleteRoleType( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteCryptoAddressInput! - ): DeleteCryptoAddressPayload + input: DeleteRoleTypeInput! + ): DeleteRoleTypePayload """Deletes a single `PhoneNumber` using a unique key.""" deletePhoneNumber( @@ -2549,6 +2514,16 @@ 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.""" @@ -2584,6 +2559,16 @@ 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.""" @@ -2622,6 +2607,16 @@ 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.""" @@ -2840,82 +2835,61 @@ type Session { csrfSecret: String createdAt: Datetime updatedAt: Datetime -} -"""All input for the `verifyPassword` mutation.""" -input VerifyPasswordInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. """ - clientMutationId: String - password: String! -} + uagentTrgmSimilarity: Float -"""The output of our `verifyTotp` mutation.""" -type VerifyTotpPayload { """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. """ - clientMutationId: String - result: Session + fingerprintModeTrgmSimilarity: Float """ - Our root query field type. Allows us to run any query from our mutation payload. + TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. """ - query: Query + 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 `verifyTotp` mutation.""" -input VerifyTotpInput { +"""All input for the `verifyPassword` mutation.""" +input VerifyPasswordInput { """ 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 - totpValue: String! + password: String! } -"""The output of our create `RoleType` mutation.""" -type CreateRoleTypePayload { +"""The output of our `verifyTotp` mutation.""" +type VerifyTotpPayload { """ 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 `RoleType` that was created by this mutation.""" - roleType: RoleType + result: Session """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our `RoleType`. May be used by Relay 1.""" - roleTypeEdge( - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): RoleTypeEdge } -"""All input for the create `RoleType` mutation.""" -input CreateRoleTypeInput { +"""All input for the `verifyTotp` mutation.""" +input VerifyTotpInput { """ 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 `RoleType` to be created by this mutation.""" - roleType: RoleTypeInput! -} - -"""An input for mutations affecting `RoleType`""" -input RoleTypeInput { - id: Int! - name: String! + totpValue: String! } """The output of our create `CryptoAddress` mutation.""" @@ -2972,6 +2946,47 @@ input CryptoAddressInput { updatedAt: Datetime } +"""The output of our create `RoleType` mutation.""" +type CreateRoleTypePayload { + """ + 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 `RoleType` that was created by this mutation.""" + roleType: RoleType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge +} + +"""All input for the create `RoleType` mutation.""" +input CreateRoleTypeInput { + """ + 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 `RoleType` to be created by this mutation.""" + roleType: RoleTypeInput! +} + +"""An input for mutations affecting `RoleType`""" +input RoleTypeInput { + id: Int! + name: String! +} + """The output of our create `PhoneNumber` mutation.""" type CreatePhoneNumberPayload { """ @@ -3244,52 +3259,6 @@ input UserInput { updatedAt: Datetime } -"""The output of our update `RoleType` mutation.""" -type UpdateRoleTypePayload { - """ - 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 `RoleType` that was updated by this mutation.""" - roleType: RoleType - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RoleType`. May be used by Relay 1.""" - roleTypeEdge( - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): RoleTypeEdge -} - -"""All input for the `updateRoleType` mutation.""" -input UpdateRoleTypeInput { - """ - 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: Int! - - """ - An object where the defined keys will be set on the `RoleType` being updated. - """ - roleTypePatch: RoleTypePatch! -} - -""" -Represents an update to a `RoleType`. Fields that are set will be updated. -""" -input RoleTypePatch { - id: Int - name: String -} - """The output of our update `CryptoAddress` mutation.""" type UpdateCryptoAddressPayload { """ @@ -3349,6 +3318,52 @@ input CryptoAddressPatch { updatedAt: Datetime } +"""The output of our update `RoleType` mutation.""" +type UpdateRoleTypePayload { + """ + 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 `RoleType` that was updated by this mutation.""" + roleType: RoleType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge +} + +"""All input for the `updateRoleType` mutation.""" +input UpdateRoleTypeInput { + """ + 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: Int! + + """ + An object where the defined keys will be set on the `RoleType` being updated. + """ + roleTypePatch: RoleTypePatch! +} + +""" +Represents an update to a `RoleType`. Fields that are set will be updated. +""" +input RoleTypePatch { + id: Int + name: String +} + """The output of our update `PhoneNumber` mutation.""" type UpdatePhoneNumberPayload { """ @@ -3650,70 +3665,70 @@ input UserPatch { """The `Upload` scalar type represents a file upload.""" scalar Upload -"""The output of our delete `RoleType` mutation.""" -type DeleteRoleTypePayload { +"""The output of our delete `CryptoAddress` mutation.""" +type DeleteCryptoAddressPayload { """ 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 `RoleType` that was deleted by this mutation.""" - roleType: RoleType + """The `CryptoAddress` that was deleted by this mutation.""" + cryptoAddress: CryptoAddress """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `RoleType`. May be used by Relay 1.""" - roleTypeEdge( - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): RoleTypeEdge + """An edge for our `CryptoAddress`. May be used by Relay 1.""" + cryptoAddressEdge( + """The method to use when ordering `CryptoAddress`.""" + orderBy: [CryptoAddressOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAddressEdge } -"""All input for the `deleteRoleType` mutation.""" -input DeleteRoleTypeInput { +"""All input for the `deleteCryptoAddress` mutation.""" +input DeleteCryptoAddressInput { """ 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: Int! + id: UUID! } -"""The output of our delete `CryptoAddress` mutation.""" -type DeleteCryptoAddressPayload { +"""The output of our delete `RoleType` mutation.""" +type DeleteRoleTypePayload { """ 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 `CryptoAddress` that was deleted by this mutation.""" - cryptoAddress: CryptoAddress + """The `RoleType` that was deleted by this mutation.""" + roleType: RoleType """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `CryptoAddress`. May be used by Relay 1.""" - cryptoAddressEdge( - """The method to use when ordering `CryptoAddress`.""" - orderBy: [CryptoAddressOrderBy!]! = [PRIMARY_KEY_ASC] - ): CryptoAddressEdge + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge } -"""All input for the `deleteCryptoAddress` mutation.""" -input DeleteCryptoAddressInput { +"""All input for the `deleteRoleType` mutation.""" +input DeleteRoleTypeInput { """ 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! + id: Int! } """The output of our delete `PhoneNumber` mutation.""" diff --git a/sdk/constructive-sdk/schemas/objects.graphql b/sdk/constructive-sdk/schemas/objects.graphql index d4da1d2eb..5d5efa69b 100644 --- a/sdk/constructive-sdk/schemas/objects.graphql +++ b/sdk/constructive-sdk/schemas/objects.graphql @@ -79,15 +79,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RefCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: RefFilter + where: RefFilter """The method to use when ordering `Ref`.""" orderBy: [RefOrderBy!] = [PRIMARY_KEY_ASC] @@ -113,15 +108,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: StoreCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: StoreFilter + where: StoreFilter """The method to use when ordering `Store`.""" orderBy: [StoreOrderBy!] = [PRIMARY_KEY_ASC] @@ -147,15 +137,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CommitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CommitFilter + where: CommitFilter """The method to use when ordering `Commit`.""" orderBy: [CommitOrderBy!] = [PRIMARY_KEY_ASC] @@ -181,15 +166,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ObjectCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ObjectFilter + where: ObjectFilter """The method to use when ordering `Object`.""" orderBy: [ObjectOrderBy!] = [PRIMARY_KEY_ASC] @@ -333,6 +313,16 @@ 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.""" @@ -344,26 +334,6 @@ type RefEdge { node: Ref } -""" -A condition to be used against `Ref` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input RefCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `storeId` field.""" - storeId: UUID - - """Checks for equality with the object’s `commitId` field.""" - commitId: UUID -} - """ A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ """ @@ -391,6 +361,17 @@ 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 } """ @@ -565,6 +546,29 @@ 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`.""" @@ -578,6 +582,10 @@ 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.""" @@ -611,6 +619,16 @@ 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.""" @@ -622,26 +640,6 @@ type StoreEdge { node: Store } -""" -A condition to be used against `Store` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input StoreCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `hash` field.""" - hash: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime -} - """ A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ """ @@ -669,6 +667,17 @@ 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 } """ @@ -722,6 +731,10 @@ 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.""" @@ -765,6 +778,16 @@ 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.""" @@ -776,38 +799,6 @@ type CommitEdge { node: Commit } -""" -A condition to be used against `Commit` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input CommitCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `message` field.""" - message: String - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `storeId` field.""" - storeId: UUID - - """Checks for equality with the object’s `parentIds` field.""" - parentIds: [UUID] - - """Checks for equality with the object’s `authorId` field.""" - authorId: UUID - - """Checks for equality with the object’s `committerId` field.""" - committerId: UUID - - """Checks for equality with the object’s `treeId` field.""" - treeId: UUID - - """Checks for equality with the object’s `date` field.""" - date: Datetime -} - """ A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ """ @@ -847,6 +838,17 @@ 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 } """ @@ -921,32 +923,10 @@ enum CommitOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC -} - -""" -A condition to be used against `Object` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input ObjectCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `kids` field.""" - kids: [UUID] - - """Checks for equality with the object’s `ktree` field.""" - ktree: [String] - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `frzn` field.""" - frzn: Boolean - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + MESSAGE_TRGM_SIMILARITY_ASC + MESSAGE_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """ diff --git a/sdk/constructive-sdk/schemas/private.graphql b/sdk/constructive-sdk/schemas/private.graphql new file mode 100644 index 000000000..f98fbaf3e --- /dev/null +++ b/sdk/constructive-sdk/schemas/private.graphql @@ -0,0 +1,44789 @@ +"""The root query type which gives access points into the data universe.""" +type Query { + currentUserId: UUID + currentIpAddress: InternetAddress + currentUserAgent: String + appPermissionsGetPaddedMask(mask: BitString): BitString + orgPermissionsGetPaddedMask(mask: BitString): BitString + stepsAchieved(vlevel: String, vroleId: UUID): Boolean + revParse(dbId: UUID, storeId: UUID, refname: String): UUID + orgIsManagerOf(pEntityId: UUID, pManagerId: UUID, pUserId: UUID, pMaxDepth: Int): Boolean + + """Reads and enables pagination through a set of `OrgGetManagersRecord`.""" + orgGetManagers( + pEntityId: UUID + pUserId: UUID + pMaxDepth: Int + + """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 + ): OrgGetManagersConnection + + """ + Reads and enables pagination through a set of `OrgGetSubordinatesRecord`. + """ + orgGetSubordinates( + pEntityId: UUID + pUserId: UUID + pMaxDepth: Int + + """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 + ): OrgGetSubordinatesConnection + + """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 + appPermissionsGetMask(ids: [UUID]): BitString + orgPermissionsGetMask(ids: [UUID]): BitString + appPermissionsGetMaskByNames(names: [String]): BitString + orgPermissionsGetMaskByNames(names: [String]): BitString + + """Reads and enables pagination through a set of `AppPermission`.""" + appPermissionsGetByMask( + mask: BitString + + """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 + ): AppPermissionConnection + + """Reads and enables pagination through a set of `OrgPermission`.""" + orgPermissionsGetByMask( + mask: BitString + + """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 + ): OrgPermissionConnection + + """Reads and enables pagination through a set of `Object`.""" + getAllObjectsFromRoot( + 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 + ): ObjectConnection + getNodeAtPath(databaseId: UUID, id: UUID, path: [String]): Object + + """Reads and enables pagination through a set of `Object`.""" + getPathObjectsFromRoot( + databaseId: UUID + id: UUID + path: [String] + + """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 + ): ObjectConnection + getObjectAtPath(dbId: UUID, storeId: UUID, path: [String], refname: String): Object + + """Reads and enables pagination through a set of `AppLevelRequirement`.""" + stepsRequired( + vlevel: String + vroleId: 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 + ): AppLevelRequirementConnection + currentUser: User + + """Reads and enables pagination through a set of `DefaultIdsModule`.""" + defaultIdsModules( + """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: DefaultIdsModuleFilter + + """The method to use when ordering `DefaultIdsModule`.""" + orderBy: [DefaultIdsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultIdsModuleConnection + + """Reads and enables pagination through a set of `ViewTable`.""" + viewTables( + """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: ViewTableFilter + + """The method to use when ordering `ViewTable`.""" + orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewTableConnection + + """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 `OrgMember`.""" + orgMembers( + """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: OrgMemberFilter + + """The method to use when ordering `OrgMember`.""" + orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMemberConnection + + """Reads and enables pagination through a set of `Ref`.""" + refs( + """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: RefFilter + + """The method to use when ordering `Ref`.""" + orderBy: [RefOrderBy!] = [PRIMARY_KEY_ASC] + ): RefConnection + + """ + Reads and enables pagination through a set of `EncryptedSecretsModule`. + """ + encryptedSecretsModules( + """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: EncryptedSecretsModuleFilter + + """The method to use when ordering `EncryptedSecretsModule`.""" + orderBy: [EncryptedSecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): EncryptedSecretsModuleConnection + + """Reads and enables pagination through a set of `MembershipTypesModule`.""" + membershipTypesModules( + """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: MembershipTypesModuleFilter + + """The method to use when ordering `MembershipTypesModule`.""" + orderBy: [MembershipTypesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipTypesModuleConnection + + """Reads and enables pagination through a set of `SecretsModule`.""" + secretsModules( + """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: SecretsModuleFilter + + """The method to use when ordering `SecretsModule`.""" + 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.""" + 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: StoreFilter + + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!] = [PRIMARY_KEY_ASC] + ): StoreConnection + + """Reads and enables pagination through a set of `ViewRule`.""" + viewRules( + """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: ViewRuleFilter + + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewRuleConnection + + """Reads and enables pagination through a set of `AppPermissionDefault`.""" + appPermissionDefaults( + """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: AppPermissionDefaultFilter + + """The method to use when ordering `AppPermissionDefault`.""" + orderBy: [AppPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): AppPermissionDefaultConnection + + """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 `SiteModule`.""" + siteModules( + """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: SiteModuleFilter + + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteModuleConnection + + """Reads and enables pagination through a set of `SchemaGrant`.""" + schemaGrants( + """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: SchemaGrantFilter + + """The method to use when ordering `SchemaGrant`.""" + orderBy: [SchemaGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): SchemaGrantConnection + + """Reads and enables pagination through a set of `TriggerFunction`.""" + triggerFunctions( + """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: TriggerFunctionFilter + + """The method to use when ordering `TriggerFunction`.""" + orderBy: [TriggerFunctionOrderBy!] = [PRIMARY_KEY_ASC] + ): TriggerFunctionConnection + + """Reads and enables pagination through a set of `AppAdminGrant`.""" + appAdminGrants( + """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: AppAdminGrantFilter + + """The method to use when ordering `AppAdminGrant`.""" + orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppAdminGrantConnection + + """Reads and enables pagination through a set of `AppOwnerGrant`.""" + appOwnerGrants( + """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 `DefaultPrivilege`.""" + defaultPrivileges( + """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: DefaultPrivilegeFilter + + """The method to use when ordering `DefaultPrivilege`.""" + orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultPrivilegeConnection + + """Reads and enables pagination through a set of `ViewGrant`.""" + viewGrants( + """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: ViewGrantFilter + + """The method to use when ordering `ViewGrant`.""" + orderBy: [ViewGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewGrantConnection + + """Reads and enables pagination through a set of `Api`.""" + apis( + """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: ApiFilter + + """The method to use when ordering `Api`.""" + orderBy: [ApiOrderBy!] = [PRIMARY_KEY_ASC] + ): ApiConnection + + """ + Reads and enables pagination through a set of `ConnectedAccountsModule`. + """ + connectedAccountsModules( + """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: ConnectedAccountsModuleFilter + + """The method to use when ordering `ConnectedAccountsModule`.""" + orderBy: [ConnectedAccountsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ConnectedAccountsModuleConnection + + """Reads and enables pagination through a set of `EmailsModule`.""" + emailsModules( + """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: EmailsModuleFilter + + """The method to use when ordering `EmailsModule`.""" + orderBy: [EmailsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): EmailsModuleConnection + + """Reads and enables pagination through a set of `PhoneNumbersModule`.""" + phoneNumbersModules( + """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: PhoneNumbersModuleFilter + + """The method to use when ordering `PhoneNumbersModule`.""" + orderBy: [PhoneNumbersModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): PhoneNumbersModuleConnection + + """Reads and enables pagination through a set of `UsersModule`.""" + usersModules( + """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: UsersModuleFilter + + """The method to use when ordering `UsersModule`.""" + orderBy: [UsersModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): UsersModuleConnection + + """Reads and enables pagination through a set of `OrgAdminGrant`.""" + orgAdminGrants( + """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 `OrgOwnerGrant`.""" + orgOwnerGrants( + """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 `CryptoAddress`.""" + cryptoAddresses( + """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 `RoleType`.""" + roleTypes( + """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: RoleTypeFilter + + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!] = [PRIMARY_KEY_ASC] + ): RoleTypeConnection + + """Reads and enables pagination through a set of `OrgPermissionDefault`.""" + orgPermissionDefaults( + """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 `Database`.""" + databases( + """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: DatabaseFilter + + """The method to use when ordering `Database`.""" + orderBy: [DatabaseOrderBy!] = [PRIMARY_KEY_ASC] + ): DatabaseConnection + + """Reads and enables pagination through a set of `CryptoAddressesModule`.""" + cryptoAddressesModules( + """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: CryptoAddressesModuleFilter + + """The method to use when ordering `CryptoAddressesModule`.""" + orderBy: [CryptoAddressesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAddressesModuleConnection + + """Reads and enables pagination through a set of `PhoneNumber`.""" + phoneNumbers( + """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 `AppLimitDefault`.""" + appLimitDefaults( + """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: AppLimitDefaultFilter + + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLimitDefaultConnection + + """Reads and enables pagination through a set of `OrgLimitDefault`.""" + orgLimitDefaults( + """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: OrgLimitDefaultFilter + + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultConnection + + """Reads and enables pagination through a set of `ConnectedAccount`.""" + connectedAccounts( + """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 `FieldModule`.""" + fieldModules( + """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: FieldModuleFilter + + """The method to use when ordering `FieldModule`.""" + orderBy: [FieldModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): FieldModuleConnection + + """Reads and enables pagination through a set of `TableTemplateModule`.""" + tableTemplateModules( + """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: TableTemplateModuleFilter + + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): TableTemplateModuleConnection + + """Reads and enables pagination through a set of `OrgChartEdgeGrant`.""" + orgChartEdgeGrants( + """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: OrgChartEdgeGrantFilter + + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantConnection + + """Reads and enables pagination through a set of `NodeTypeRegistry`.""" + nodeTypeRegistries( + """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: NodeTypeRegistryFilter + + """The method to use when ordering `NodeTypeRegistry`.""" + orderBy: [NodeTypeRegistryOrderBy!] = [PRIMARY_KEY_ASC] + ): NodeTypeRegistryConnection + + """Reads and enables pagination through a set of `MembershipType`.""" + membershipTypes( + """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: MembershipTypeFilter + + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipTypeConnection + + """Reads and enables pagination through a set of `TableGrant`.""" + tableGrants( + """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: TableGrantFilter + + """The method to use when ordering `TableGrant`.""" + orderBy: [TableGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): TableGrantConnection + + """Reads and enables pagination through a set of `AppPermission`.""" + appPermissions( + """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: AppPermissionFilter + + """The method to use when ordering `AppPermission`.""" + orderBy: [AppPermissionOrderBy!] = [PRIMARY_KEY_ASC] + ): AppPermissionConnection + + """Reads and enables pagination through a set of `OrgPermission`.""" + orgPermissions( + """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: OrgPermissionFilter + + """The method to use when ordering `OrgPermission`.""" + orderBy: [OrgPermissionOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgPermissionConnection + + """Reads and enables pagination through a set of `AppLimit`.""" + appLimits( + """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: AppLimitFilter + + """The method to use when ordering `AppLimit`.""" + orderBy: [AppLimitOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLimitConnection + + """Reads and enables pagination through a set of `AppAchievement`.""" + appAchievements( + """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: AppAchievementFilter + + """The method to use when ordering `AppAchievement`.""" + orderBy: [AppAchievementOrderBy!] = [PRIMARY_KEY_ASC] + ): AppAchievementConnection + + """Reads and enables pagination through a set of `AppStep`.""" + appSteps( + """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: AppStepFilter + + """The method to use when ordering `AppStep`.""" + orderBy: [AppStepOrderBy!] = [PRIMARY_KEY_ASC] + ): AppStepConnection + + """Reads and enables pagination through a set of `ClaimedInvite`.""" + claimedInvites( + """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 `AppMembershipDefault`.""" + appMembershipDefaults( + """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: AppMembershipDefaultFilter + + """The method to use when ordering `AppMembershipDefault`.""" + orderBy: [AppMembershipDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): AppMembershipDefaultConnection + + """Reads and enables pagination through a set of `SiteMetadatum`.""" + siteMetadata( + """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: SiteMetadatumFilter + + """The method to use when ordering `SiteMetadatum`.""" + orderBy: [SiteMetadatumOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteMetadatumConnection + + """Reads and enables pagination through a set of `RlsModule`.""" + rlsModules( + """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: RlsModuleFilter + + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): RlsModuleConnection + + """Reads and enables pagination through a set of `SessionsModule`.""" + sessionsModules( + """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: SessionsModuleFilter + + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SessionsModuleConnection + + """Reads and enables pagination through a set of `Object`.""" + objects( + """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: ObjectFilter + + """The method to use when ordering `Object`.""" + orderBy: [ObjectOrderBy!] = [PRIMARY_KEY_ASC] + ): ObjectConnection + + """Reads and enables pagination through a set of `FullTextSearch`.""" + fullTextSearches( + """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: FullTextSearchFilter + + """The method to use when ordering `FullTextSearch`.""" + orderBy: [FullTextSearchOrderBy!] = [PRIMARY_KEY_ASC] + ): FullTextSearchConnection + + """Reads and enables pagination through a set of `Commit`.""" + commits( + """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: CommitFilter + + """The method to use when ordering `Commit`.""" + orderBy: [CommitOrderBy!] = [PRIMARY_KEY_ASC] + ): CommitConnection + + """Reads and enables pagination through a set of `OrgLimit`.""" + orgLimits( + """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: OrgLimitFilter + + """The method to use when ordering `OrgLimit`.""" + orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgLimitConnection + + """Reads and enables pagination through a set of `AppGrant`.""" + appGrants( + """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 `OrgClaimedInvite`.""" + orgClaimedInvites( + """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 `OrgChartEdge`.""" + orgChartEdges( + """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: OrgChartEdgeFilter + + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeConnection + + """Reads and enables pagination through a set of `Domain`.""" + domains( + """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: DomainFilter + + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] + ): DomainConnection + + """Reads and enables pagination through a set of `OrgGrant`.""" + orgGrants( + """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 `OrgMembershipDefault`.""" + orgMembershipDefaults( + """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: OrgMembershipDefaultFilter + + """The method to use when ordering `OrgMembershipDefault`.""" + orderBy: [OrgMembershipDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMembershipDefaultConnection + + """Reads and enables pagination through a set of `AppLevelRequirement`.""" + appLevelRequirements( + """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: AppLevelRequirementFilter + + """The method to use when ordering `AppLevelRequirement`.""" + orderBy: [AppLevelRequirementOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLevelRequirementConnection + + """Reads and enables pagination through a set of `AuditLog`.""" + auditLogs( + """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 + + """Reads and enables pagination through a set of `AppLevel`.""" + appLevels( + """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: AppLevelFilter + + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLevelConnection + + """Reads and enables pagination through a set of `SqlMigration`.""" + sqlMigrations( + """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: SqlMigrationFilter + + """The method to use when ordering `SqlMigration`.""" + orderBy: [SqlMigrationOrderBy!] = [NATURAL] + ): SqlMigrationConnection + + """Reads and enables pagination through a set of `CryptoAuthModule`.""" + cryptoAuthModules( + """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: CryptoAuthModuleFilter + + """The method to use when ordering `CryptoAuthModule`.""" + orderBy: [CryptoAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAuthModuleConnection + + """ + Reads and enables pagination through a set of `DatabaseProvisionModule`. + """ + databaseProvisionModules( + """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: DatabaseProvisionModuleFilter + + """The method to use when ordering `DatabaseProvisionModule`.""" + orderBy: [DatabaseProvisionModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): DatabaseProvisionModuleConnection + + """Reads and enables pagination through a set of `InvitesModule`.""" + invitesModules( + """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: InvitesModuleFilter + + """The method to use when ordering `InvitesModule`.""" + orderBy: [InvitesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): InvitesModuleConnection + + """ + Reads and enables pagination through a set of `DenormalizedTableField`. + """ + denormalizedTableFields( + """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: DenormalizedTableFieldFilter + + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!] = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldConnection + + """Reads and enables pagination through a set of `Email`.""" + emails( + """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 `View`.""" + views( + """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: ViewFilter + + """The method to use when ordering `View`.""" + orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewConnection + + """Reads and enables pagination through a set of `PermissionsModule`.""" + permissionsModules( + """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: PermissionsModuleFilter + + """The method to use when ordering `PermissionsModule`.""" + orderBy: [PermissionsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): PermissionsModuleConnection + + """Reads and enables pagination through a set of `LimitsModule`.""" + limitsModules( + """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: LimitsModuleFilter + + """The method to use when ordering `LimitsModule`.""" + orderBy: [LimitsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): LimitsModuleConnection + + """Reads and enables pagination through a set of `ProfilesModule`.""" + profilesModules( + """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: ProfilesModuleFilter + + """The method to use when ordering `ProfilesModule`.""" + 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 `Trigger`.""" + triggers( + """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: TriggerFilter + + """The method to use when ordering `Trigger`.""" + orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] + ): TriggerConnection + + """Reads and enables pagination through a set of `UniqueConstraint`.""" + uniqueConstraints( + """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: UniqueConstraintFilter + + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): UniqueConstraintConnection + + """Reads and enables pagination through a set of `PrimaryKeyConstraint`.""" + primaryKeyConstraints( + """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: PrimaryKeyConstraintFilter + + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintConnection + + """Reads and enables pagination through a set of `CheckConstraint`.""" + checkConstraints( + """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: CheckConstraintFilter + + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): CheckConstraintConnection + + """Reads and enables pagination through a set of `Policy`.""" + policies( + """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: PolicyFilter + + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!] = [PRIMARY_KEY_ASC] + ): PolicyConnection + + """Reads and enables pagination through a set of `AstMigration`.""" + astMigrations( + """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: AstMigrationFilter + + """The method to use when ordering `AstMigration`.""" + orderBy: [AstMigrationOrderBy!] = [NATURAL] + ): AstMigrationConnection + + """Reads and enables pagination through a set of `AppMembership`.""" + appMemberships( + """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: AppMembershipFilter + + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): AppMembershipConnection + + """Reads and enables pagination through a set of `OrgMembership`.""" + orgMemberships( + """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: OrgMembershipFilter + + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMembershipConnection + + """Reads and enables pagination through a set of `Schema`.""" + schemas( + """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: SchemaFilter + + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!] = [PRIMARY_KEY_ASC] + ): SchemaConnection + + """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 `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 `User`.""" + users( + """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: UserFilter + + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!] = [PRIMARY_KEY_ASC] + ): UserConnection + + """Reads and enables pagination through a set of `HierarchyModule`.""" + hierarchyModules( + """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: HierarchyModuleFilter + + """The method to use when ordering `HierarchyModule`.""" + orderBy: [HierarchyModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): HierarchyModuleConnection + + """Reads and enables pagination through a set of `Invite`.""" + invites( + """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 `Index`.""" + indices( + """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: IndexFilter + + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] + ): IndexConnection + + """Reads and enables pagination through a set of `ForeignKeyConstraint`.""" + foreignKeyConstraints( + """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: ForeignKeyConstraintFilter + + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintConnection + + """Reads and enables pagination through a set of `OrgInvite`.""" + orgInvites( + """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 `Table`.""" + tables( + """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: TableFilter + + """The method to use when ordering `Table`.""" + orderBy: [TableOrderBy!] = [PRIMARY_KEY_ASC] + ): TableConnection + + """Reads and enables pagination through a set of `LevelsModule`.""" + levelsModules( + """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: LevelsModuleFilter + + """The method to use when ordering `LevelsModule`.""" + orderBy: [LevelsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): LevelsModuleConnection + + """Reads and enables pagination through a set of `UserAuthModule`.""" + userAuthModules( + """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: UserAuthModuleFilter + + """The method to use when ordering `UserAuthModule`.""" + orderBy: [UserAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): UserAuthModuleConnection + + """Reads and enables pagination through a set of `RelationProvision`.""" + relationProvisions( + """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: RelationProvisionFilter + + """The method to use when ordering `RelationProvision`.""" + orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): RelationProvisionConnection + + """Reads and enables pagination through a set of `Field`.""" + fields( + """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: FieldFilter + + """The method to use when ordering `Field`.""" + orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] + ): FieldConnection + + """Reads and enables pagination through a set of `MembershipsModule`.""" + membershipsModules( + """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: MembershipsModuleFilter + + """The method to use when ordering `MembershipsModule`.""" + orderBy: [MembershipsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipsModuleConnection + + """ + Metadata about the database schema, including tables, fields, indexes, and constraints. Useful for code generation tools. + """ + _meta: MetaSchema +} + +""" +A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122). +""" +scalar UUID + +"""An IPv4 or IPv6 host address, and optionally its subnet.""" +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 list of edges which contains the `OrgGetManagersRecord` and cursor to aid in pagination. + """ + edges: [OrgGetManagersEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `OrgGetManagersRecord` you could get from the connection. + """ + totalCount: Int! +} + +type OrgGetManagersRecord { + userId: UUID + depth: Int +} + +"""A `OrgGetManagersRecord` edge in the connection.""" +type OrgGetManagersEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgGetManagersRecord` at the end of the edge.""" + node: OrgGetManagersRecord +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""A connection to a list of `OrgGetSubordinatesRecord` values.""" +type OrgGetSubordinatesConnection { + """A list of `OrgGetSubordinatesRecord` objects.""" + nodes: [OrgGetSubordinatesRecord]! + + """ + A list of edges which contains the `OrgGetSubordinatesRecord` and cursor to aid in pagination. + """ + edges: [OrgGetSubordinatesEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `OrgGetSubordinatesRecord` you could get from the connection. + """ + totalCount: Int! +} + +type OrgGetSubordinatesRecord { + userId: UUID + depth: Int +} + +"""A `OrgGetSubordinatesRecord` edge in the connection.""" +type OrgGetSubordinatesEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgGetSubordinatesRecord` at the end of the edge.""" + node: OrgGetSubordinatesRecord +} + +"""A connection to a list of `GetAllRecord` values.""" +type GetAllConnection { + """A list of `GetAllRecord` objects.""" + nodes: [GetAllRecord]! + + """ + A list of edges which contains the `GetAllRecord` and cursor to aid in pagination. + """ + edges: [GetAllEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `GetAllRecord` you could get from the connection.""" + totalCount: Int! +} + +type GetAllRecord { + path: [String] + data: JSON +} + +""" +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 `GetAllRecord` at the end of the edge.""" + node: GetAllRecord +} + +"""A connection to a list of `AppPermission` values.""" +type AppPermissionConnection { + """A list of `AppPermission` objects.""" + nodes: [AppPermission]! + + """ + A list of edges which contains the `AppPermission` and cursor to aid in pagination. + """ + edges: [AppPermissionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppPermission` you could get from the connection.""" + totalCount: Int! +} + +""" +Defines available permissions as named bits within a bitmask, used by the RBAC system for access control +""" +type AppPermission { + id: UUID! + + """Human-readable permission name (e.g. read, write, manage)""" + name: String + + """ + Position of this permission in the bitmask (1-indexed), must be unique per permission set + """ + bitnum: Int + + """ + Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations + """ + bitstr: BitString! + + """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.""" +type AppPermissionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppPermission` at the end of the edge.""" + node: AppPermission +} + +"""A connection to a list of `OrgPermission` values.""" +type OrgPermissionConnection { + """A list of `OrgPermission` objects.""" + nodes: [OrgPermission]! + + """ + A list of edges which contains the `OrgPermission` and cursor to aid in pagination. + """ + edges: [OrgPermissionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgPermission` you could get from the connection.""" + totalCount: Int! +} + +""" +Defines available permissions as named bits within a bitmask, used by the RBAC system for access control +""" +type OrgPermission { + id: UUID! + + """Human-readable permission name (e.g. read, write, manage)""" + name: String + + """ + Position of this permission in the bitmask (1-indexed), must be unique per permission set + """ + bitnum: Int + + """ + Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations + """ + bitstr: BitString! + + """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.""" +type OrgPermissionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgPermission` at the end of the edge.""" + node: OrgPermission +} + +"""A connection to a list of `Object` values.""" +type ObjectConnection { + """A list of `Object` objects.""" + nodes: [Object]! + + """ + A list of edges which contains the `Object` and cursor to aid in pagination. + """ + edges: [ObjectEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Object` you could get from the connection.""" + totalCount: Int! +} + +type Object { + hashUuid: UUID + id: UUID! + databaseId: UUID! + kids: [UUID] + ktree: [String] + data: JSON + frzn: Boolean + createdAt: Datetime +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) and, if it has a timezone, [RFC +3339](https://datatracker.ietf.org/doc/html/rfc3339) standards. Input values +that do not conform to both ISO 8601 and RFC 3339 may be coerced, which may lead +to unexpected results. +""" +scalar Datetime + +"""A `Object` edge in the connection.""" +type ObjectEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Object` at the end of the edge.""" + node: Object +} + +"""A connection to a list of `AppLevelRequirement` values.""" +type AppLevelRequirementConnection { + """A list of `AppLevelRequirement` objects.""" + nodes: [AppLevelRequirement]! + + """ + A list of edges which contains the `AppLevelRequirement` and cursor to aid in pagination. + """ + edges: [AppLevelRequirementEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `AppLevelRequirement` you could get from the connection. + """ + totalCount: Int! +} + +"""Defines the specific requirements that must be met to achieve a level""" +type AppLevelRequirement { + id: UUID! + + """Name identifier of the requirement (matches step names)""" + name: String! + + """Name of the level this requirement belongs to""" + level: String! + + """Human-readable description of what this requirement entails""" + description: String + + """Number of steps needed to satisfy this requirement""" + requiredCount: Int! + + """Display ordering priority; lower values appear first""" + 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.""" +type AppLevelRequirementEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppLevelRequirement` at the end of the edge.""" + node: AppLevelRequirement +} + +type User { + id: UUID! + username: String + displayName: String + profilePicture: ConstructiveInternalTypeImage + searchTsv: FullText + type: Int! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `RoleType` that is related to this `User`.""" + roleType: RoleType + + """Reads and enables pagination through a set of `Database`.""" + ownedDatabases( + """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: DatabaseFilter + + """The method to use when ordering `Database`.""" + orderBy: [DatabaseOrderBy!] = [PRIMARY_KEY_ASC] + ): DatabaseConnection! + + """Reads a single `AppMembership` that is related to this `User`.""" + appMembershipByActorId: AppMembership + + """Reads and enables pagination through a set of `AppAdminGrant`.""" + appAdminGrantsByGrantorId( + """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: AppAdminGrantFilter + + """The method to use when ordering `AppAdminGrant`.""" + orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppAdminGrantConnection! + + """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`.""" + 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 + + """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: OrgMembershipFilter + + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMembershipConnection! + + """Reads and enables pagination through a set of `OrgMembership`.""" + orgMembershipsByEntityId( + """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: OrgMembershipFilter + + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMembershipConnection! + + """Reads a single `OrgMembershipDefault` that is related to this `User`.""" + orgMembershipDefaultByEntityId: OrgMembershipDefault + + """Reads and enables pagination through a set of `OrgMember`.""" + orgMembersByActorId( + """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: OrgMemberFilter + + """The method to use when ordering `OrgMember`.""" + orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMemberConnection! + + """Reads and enables pagination through a set of `OrgMember`.""" + orgMembersByEntityId( + """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: OrgMemberFilter + + """The method to use when ordering `OrgMember`.""" + orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMemberConnection! + + """Reads and enables pagination through a set of `OrgAdminGrant`.""" + orgAdminGrantsByEntityId( + """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`.""" + orgAdminGrantsByGrantorId( + """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 `OrgOwnerGrant`.""" + orgOwnerGrantsByEntityId( + """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`.""" + orgOwnerGrantsByGrantorId( + """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 `OrgGrant`.""" + orgGrantsByEntityId( + """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`.""" + orgGrantsByGrantorId( + """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 `OrgChartEdge`.""" + parentOrgChartEdges( + """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: OrgChartEdgeFilter + + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeConnection! + + """Reads and enables pagination through a set of `OrgChartEdge`.""" + orgChartEdgesByEntityId( + """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: OrgChartEdgeFilter + + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeConnection! + + """Reads and enables pagination through a set of `OrgChartEdge`.""" + childOrgChartEdges( + """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: OrgChartEdgeFilter + + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeConnection! + + """Reads and enables pagination through a set of `OrgChartEdgeGrant`.""" + parentOrgChartEdgeGrants( + """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: OrgChartEdgeGrantFilter + + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantConnection! + + """Reads and enables pagination through a set of `OrgChartEdgeGrant`.""" + orgChartEdgeGrantsByEntityId( + """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: OrgChartEdgeGrantFilter + + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantConnection! + + """Reads and enables pagination through a set of `OrgChartEdgeGrant`.""" + orgChartEdgeGrantsByGrantorId( + """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: OrgChartEdgeGrantFilter + + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantConnection! + + """Reads and enables pagination through a set of `OrgChartEdgeGrant`.""" + childOrgChartEdgeGrants( + """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: OrgChartEdgeGrantFilter + + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantConnection! + + """Reads and enables pagination through a set of `AppLimit`.""" + appLimitsByActorId( + """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: AppLimitFilter + + """The method to use when ordering `AppLimit`.""" + orderBy: [AppLimitOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLimitConnection! + + """Reads and enables pagination through a set of `OrgLimit`.""" + orgLimitsByActorId( + """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: OrgLimitFilter + + """The method to use when ordering `OrgLimit`.""" + orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgLimitConnection! + + """Reads and enables pagination through a set of `OrgLimit`.""" + orgLimitsByEntityId( + """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: OrgLimitFilter + + """The method to use when ordering `OrgLimit`.""" + orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgLimitConnection! + + """Reads and enables pagination through a set of `AppStep`.""" + appStepsByActorId( + """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: AppStepFilter + + """The method to use when ordering `AppStep`.""" + orderBy: [AppStepOrderBy!] = [PRIMARY_KEY_ASC] + ): AppStepConnection! + + """Reads and enables pagination through a set of `AppAchievement`.""" + appAchievementsByActorId( + """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: AppAchievementFilter + + """The method to use when ordering `AppAchievement`.""" + orderBy: [AppAchievementOrderBy!] = [PRIMARY_KEY_ASC] + ): AppAchievementConnection! + + """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`.""" + orgInvitesBySenderId( + """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 `OrgClaimedInvite`.""" + orgClaimedInvitesByReceiverId( + """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`.""" + orgClaimedInvitesBySenderId( + """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! + + """ + TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. + """ + searchTsvRank: Float + + """ + TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. + """ + 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. + """ + searchScore: Float +} + +scalar ConstructiveInternalTypeImage + +"""A full-text search tsvector value represented as a string.""" +scalar FullText + +type RoleType { + id: Int! + name: String! +} + +"""A connection to a list of `Database` values.""" +type DatabaseConnection { + """A list of `Database` objects.""" + nodes: [Database]! + + """ + A list of edges which contains the `Database` and cursor to aid in pagination. + """ + edges: [DatabaseEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Database` you could get from the connection.""" + totalCount: Int! +} + +type Database { + id: UUID! + ownerId: UUID + schemaHash: String + name: String + label: String + hash: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `Database`.""" + owner: User + + """Reads and enables pagination through a set of `Schema`.""" + schemas( + """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: SchemaFilter + + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!] = [PRIMARY_KEY_ASC] + ): SchemaConnection! + + """Reads and enables pagination through a set of `Table`.""" + tables( + """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: TableFilter + + """The method to use when ordering `Table`.""" + orderBy: [TableOrderBy!] = [PRIMARY_KEY_ASC] + ): TableConnection! + + """Reads and enables pagination through a set of `CheckConstraint`.""" + checkConstraints( + """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: CheckConstraintFilter + + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): CheckConstraintConnection! + + """Reads and enables pagination through a set of `Field`.""" + fields( + """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: FieldFilter + + """The method to use when ordering `Field`.""" + orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] + ): FieldConnection! + + """Reads and enables pagination through a set of `ForeignKeyConstraint`.""" + foreignKeyConstraints( + """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: ForeignKeyConstraintFilter + + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintConnection! + + """Reads and enables pagination through a set of `FullTextSearch`.""" + fullTextSearches( + """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: FullTextSearchFilter + + """The method to use when ordering `FullTextSearch`.""" + orderBy: [FullTextSearchOrderBy!] = [PRIMARY_KEY_ASC] + ): FullTextSearchConnection! + + """Reads and enables pagination through a set of `Index`.""" + indices( + """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: IndexFilter + + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] + ): IndexConnection! + + """Reads and enables pagination through a set of `Policy`.""" + policies( + """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: PolicyFilter + + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!] = [PRIMARY_KEY_ASC] + ): PolicyConnection! + + """Reads and enables pagination through a set of `PrimaryKeyConstraint`.""" + primaryKeyConstraints( + """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: PrimaryKeyConstraintFilter + + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintConnection! + + """Reads and enables pagination through a set of `SchemaGrant`.""" + schemaGrants( + """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: SchemaGrantFilter + + """The method to use when ordering `SchemaGrant`.""" + orderBy: [SchemaGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): SchemaGrantConnection! + + """Reads and enables pagination through a set of `TableGrant`.""" + tableGrants( + """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: TableGrantFilter + + """The method to use when ordering `TableGrant`.""" + orderBy: [TableGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): TableGrantConnection! + + """Reads and enables pagination through a set of `TriggerFunction`.""" + triggerFunctions( + """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: TriggerFunctionFilter + + """The method to use when ordering `TriggerFunction`.""" + orderBy: [TriggerFunctionOrderBy!] = [PRIMARY_KEY_ASC] + ): TriggerFunctionConnection! + + """Reads and enables pagination through a set of `Trigger`.""" + triggers( + """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: TriggerFilter + + """The method to use when ordering `Trigger`.""" + orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] + ): TriggerConnection! + + """Reads and enables pagination through a set of `UniqueConstraint`.""" + uniqueConstraints( + """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: UniqueConstraintFilter + + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): UniqueConstraintConnection! + + """Reads and enables pagination through a set of `View`.""" + views( + """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: ViewFilter + + """The method to use when ordering `View`.""" + orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewConnection! + + """Reads and enables pagination through a set of `ViewGrant`.""" + viewGrants( + """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: ViewGrantFilter + + """The method to use when ordering `ViewGrant`.""" + orderBy: [ViewGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewGrantConnection! + + """Reads and enables pagination through a set of `ViewRule`.""" + viewRules( + """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: ViewRuleFilter + + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewRuleConnection! + + """Reads and enables pagination through a set of `DefaultPrivilege`.""" + defaultPrivileges( + """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: DefaultPrivilegeFilter + + """The method to use when ordering `DefaultPrivilege`.""" + orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultPrivilegeConnection! + + """Reads and enables pagination through a set of `Api`.""" + apis( + """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: ApiFilter + + """The method to use when ordering `Api`.""" + orderBy: [ApiOrderBy!] = [PRIMARY_KEY_ASC] + ): ApiConnection! + + """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 + + """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: DomainFilter + + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] + ): DomainConnection! + + """Reads and enables pagination through a set of `SiteMetadatum`.""" + siteMetadata( + """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: SiteMetadatumFilter + + """The method to use when ordering `SiteMetadatum`.""" + orderBy: [SiteMetadatumOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteMetadatumConnection! + + """Reads and enables pagination through a set of `SiteModule`.""" + siteModules( + """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: SiteModuleFilter + + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteModuleConnection! + + """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 `ConnectedAccountsModule`. + """ + connectedAccountsModules( + """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: ConnectedAccountsModuleFilter + + """The method to use when ordering `ConnectedAccountsModule`.""" + orderBy: [ConnectedAccountsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ConnectedAccountsModuleConnection! + + """Reads and enables pagination through a set of `CryptoAddressesModule`.""" + cryptoAddressesModules( + """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: CryptoAddressesModuleFilter + + """The method to use when ordering `CryptoAddressesModule`.""" + orderBy: [CryptoAddressesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAddressesModuleConnection! + + """Reads and enables pagination through a set of `CryptoAuthModule`.""" + cryptoAuthModules( + """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: CryptoAuthModuleFilter + + """The method to use when ordering `CryptoAuthModule`.""" + orderBy: [CryptoAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAuthModuleConnection! + + """Reads and enables pagination through a set of `DefaultIdsModule`.""" + defaultIdsModules( + """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: DefaultIdsModuleFilter + + """The method to use when ordering `DefaultIdsModule`.""" + orderBy: [DefaultIdsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultIdsModuleConnection! + + """ + Reads and enables pagination through a set of `DenormalizedTableField`. + """ + denormalizedTableFields( + """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: DenormalizedTableFieldFilter + + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!] = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldConnection! + + """Reads and enables pagination through a set of `EmailsModule`.""" + emailsModules( + """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: EmailsModuleFilter + + """The method to use when ordering `EmailsModule`.""" + orderBy: [EmailsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): EmailsModuleConnection! + + """ + Reads and enables pagination through a set of `EncryptedSecretsModule`. + """ + encryptedSecretsModules( + """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: EncryptedSecretsModuleFilter + + """The method to use when ordering `EncryptedSecretsModule`.""" + orderBy: [EncryptedSecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): EncryptedSecretsModuleConnection! + + """Reads and enables pagination through a set of `FieldModule`.""" + fieldModules( + """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: FieldModuleFilter + + """The method to use when ordering `FieldModule`.""" + orderBy: [FieldModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): FieldModuleConnection! + + """Reads and enables pagination through a set of `InvitesModule`.""" + invitesModules( + """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: InvitesModuleFilter + + """The method to use when ordering `InvitesModule`.""" + orderBy: [InvitesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): InvitesModuleConnection! + + """Reads and enables pagination through a set of `LevelsModule`.""" + levelsModules( + """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: LevelsModuleFilter + + """The method to use when ordering `LevelsModule`.""" + orderBy: [LevelsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): LevelsModuleConnection! + + """Reads and enables pagination through a set of `LimitsModule`.""" + limitsModules( + """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: LimitsModuleFilter + + """The method to use when ordering `LimitsModule`.""" + orderBy: [LimitsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): LimitsModuleConnection! + + """Reads and enables pagination through a set of `MembershipTypesModule`.""" + membershipTypesModules( + """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: MembershipTypesModuleFilter + + """The method to use when ordering `MembershipTypesModule`.""" + orderBy: [MembershipTypesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipTypesModuleConnection! + + """Reads and enables pagination through a set of `MembershipsModule`.""" + membershipsModules( + """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: MembershipsModuleFilter + + """The method to use when ordering `MembershipsModule`.""" + orderBy: [MembershipsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipsModuleConnection! + + """Reads and enables pagination through a set of `PermissionsModule`.""" + permissionsModules( + """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: PermissionsModuleFilter + + """The method to use when ordering `PermissionsModule`.""" + orderBy: [PermissionsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): PermissionsModuleConnection! + + """Reads and enables pagination through a set of `PhoneNumbersModule`.""" + phoneNumbersModules( + """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: PhoneNumbersModuleFilter + + """The method to use when ordering `PhoneNumbersModule`.""" + orderBy: [PhoneNumbersModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): PhoneNumbersModuleConnection! + + """Reads and enables pagination through a set of `ProfilesModule`.""" + profilesModules( + """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: ProfilesModuleFilter + + """The method to use when ordering `ProfilesModule`.""" + orderBy: [ProfilesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ProfilesModuleConnection! + + """Reads a single `RlsModule` that is related to this `Database`.""" + rlsModule: RlsModule + + """Reads and enables pagination through a set of `SecretsModule`.""" + secretsModules( + """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: SecretsModuleFilter + + """The method to use when ordering `SecretsModule`.""" + orderBy: [SecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SecretsModuleConnection! + + """Reads and enables pagination through a set of `SessionsModule`.""" + sessionsModules( + """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: SessionsModuleFilter + + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SessionsModuleConnection! + + """Reads and enables pagination through a set of `UserAuthModule`.""" + userAuthModules( + """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: UserAuthModuleFilter + + """The method to use when ordering `UserAuthModule`.""" + orderBy: [UserAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): UserAuthModuleConnection! + + """Reads and enables pagination through a set of `UsersModule`.""" + usersModules( + """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: UsersModuleFilter + + """The method to use when ordering `UsersModule`.""" + orderBy: [UsersModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): UsersModuleConnection! + + """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 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 + + """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: TableTemplateModuleFilter + + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): TableTemplateModuleConnection! + + """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 `RelationProvision`.""" + relationProvisions( + """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: RelationProvisionFilter + + """The method to use when ordering `RelationProvision`.""" + orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): RelationProvisionConnection! + + """ + Reads and enables pagination through a set of `DatabaseProvisionModule`. + """ + databaseProvisionModules( + """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: DatabaseProvisionModuleFilter + + """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.""" +type SchemaConnection { + """A list of `Schema` objects.""" + nodes: [Schema]! + + """ + A list of edges which contains the `Schema` and cursor to aid in pagination. + """ + edges: [SchemaEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Schema` you could get from the connection.""" + totalCount: Int! +} + +type Schema { + id: UUID! + databaseId: UUID! + name: String! + schemaName: String! + label: String + description: String + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + isPublic: Boolean! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Schema`.""" + database: Database + + """Reads and enables pagination through a set of `Table`.""" + tables( + """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: TableFilter + + """The method to use when ordering `Table`.""" + orderBy: [TableOrderBy!] = [PRIMARY_KEY_ASC] + ): TableConnection! + + """Reads and enables pagination through a set of `SchemaGrant`.""" + schemaGrants( + """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: SchemaGrantFilter + + """The method to use when ordering `SchemaGrant`.""" + orderBy: [SchemaGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): SchemaGrantConnection! + + """Reads and enables pagination through a set of `View`.""" + views( + """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: ViewFilter + + """The method to use when ordering `View`.""" + orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewConnection! + + """Reads and enables pagination through a set of `DefaultPrivilege`.""" + defaultPrivileges( + """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: DefaultPrivilegeFilter + + """The method to use when ordering `DefaultPrivilege`.""" + orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultPrivilegeConnection! + + """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 `TableTemplateModule`.""" + tableTemplateModulesByPrivateSchemaId( + """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: TableTemplateModuleFilter + + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): TableTemplateModuleConnection! + + """Reads and enables pagination through a set of `TableTemplateModule`.""" + tableTemplateModules( + """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: TableTemplateModuleFilter + + """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 { + CORE + MODULE + APP +} + +"""A connection to a list of `Table` values.""" +type TableConnection { + """A list of `Table` objects.""" + nodes: [Table]! + + """ + A list of edges which contains the `Table` and cursor to aid in pagination. + """ + edges: [TableEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Table` you could get from the connection.""" + totalCount: Int! +} + +type Table { + id: UUID! + databaseId: UUID! + schemaId: UUID! + name: String! + label: String + description: String + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + useRls: Boolean! + timestamps: Boolean! + peoplestamps: Boolean! + pluralName: String + singularName: String + tags: [String]! + inheritsId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Table`.""" + database: Database + + """Reads a single `Schema` that is related to this `Table`.""" + schema: Schema + + """Reads a single `Table` that is related to this `Table`.""" + inherits: Table + + """Reads and enables pagination through a set of `CheckConstraint`.""" + checkConstraints( + """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: CheckConstraintFilter + + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): CheckConstraintConnection! + + """Reads and enables pagination through a set of `Field`.""" + fields( + """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: FieldFilter + + """The method to use when ordering `Field`.""" + orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] + ): FieldConnection! + + """Reads and enables pagination through a set of `ForeignKeyConstraint`.""" + foreignKeyConstraints( + """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: ForeignKeyConstraintFilter + + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintConnection! + + """Reads and enables pagination through a set of `FullTextSearch`.""" + fullTextSearches( + """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: FullTextSearchFilter + + """The method to use when ordering `FullTextSearch`.""" + orderBy: [FullTextSearchOrderBy!] = [PRIMARY_KEY_ASC] + ): FullTextSearchConnection! + + """Reads and enables pagination through a set of `Index`.""" + indices( + """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: IndexFilter + + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] + ): IndexConnection! + + """Reads and enables pagination through a set of `Policy`.""" + policies( + """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: PolicyFilter + + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!] = [PRIMARY_KEY_ASC] + ): PolicyConnection! + + """Reads and enables pagination through a set of `PrimaryKeyConstraint`.""" + primaryKeyConstraints( + """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: PrimaryKeyConstraintFilter + + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintConnection! + + """Reads and enables pagination through a set of `TableGrant`.""" + tableGrants( + """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: TableGrantFilter + + """The method to use when ordering `TableGrant`.""" + orderBy: [TableGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): TableGrantConnection! + + """Reads and enables pagination through a set of `Trigger`.""" + triggers( + """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: TriggerFilter + + """The method to use when ordering `Trigger`.""" + orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] + ): TriggerConnection! + + """Reads and enables pagination through a set of `UniqueConstraint`.""" + uniqueConstraints( + """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: UniqueConstraintFilter + + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): UniqueConstraintConnection! + + """Reads and enables pagination through a set of `View`.""" + views( + """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: ViewFilter + + """The method to use when ordering `View`.""" + orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewConnection! + + """Reads and enables pagination through a set of `ViewTable`.""" + viewTables( + """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: ViewTableFilter + + """The method to use when ordering `ViewTable`.""" + orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewTableConnection! + + """Reads and enables pagination through a set of `TableTemplateModule`.""" + tableTemplateModulesByOwnerTableId( + """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: TableTemplateModuleFilter + + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): TableTemplateModuleConnection! + + """Reads and enables pagination through a set of `TableTemplateModule`.""" + tableTemplateModules( + """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: TableTemplateModuleFilter + + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): TableTemplateModuleConnection! + + """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 `RelationProvision`.""" + relationProvisionsBySourceTableId( + """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: RelationProvisionFilter + + """The method to use when ordering `RelationProvision`.""" + orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): RelationProvisionConnection! + + """Reads and enables pagination through a set of `RelationProvision`.""" + relationProvisionsByTargetTableId( + """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: RelationProvisionFilter + + """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.""" +type CheckConstraintConnection { + """A list of `CheckConstraint` objects.""" + nodes: [CheckConstraint]! + + """ + A list of edges which contains the `CheckConstraint` and cursor to aid in pagination. + """ + edges: [CheckConstraintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `CheckConstraint` you could get from the connection. + """ + totalCount: Int! +} + +type CheckConstraint { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + type: String + fieldIds: [UUID]! + expr: JSON + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `CheckConstraint`.""" + database: Database + + """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.""" +type CheckConstraintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `CheckConstraint` at the end of the edge.""" + node: CheckConstraint +} + +""" +A filter to be used against `CheckConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input CheckConstraintFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `type` field.""" + type: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `expr` field.""" + expr: JSONFilter + + """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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [CheckConstraintFilter!] + + """Checks for any expressions in this list.""" + or: [CheckConstraintFilter!] + + """Negates the expression.""" + not: CheckConstraintFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ +""" +input UUIDFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: UUID + + """Not equal to the specified value.""" + notEqualTo: UUID + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: UUID + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: UUID + + """Included in the specified list.""" + in: [UUID!] + + """Not included in the specified list.""" + notIn: [UUID!] + + """Less than the specified value.""" + lessThan: UUID + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: UUID + + """Greater than the specified value.""" + greaterThan: UUID + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: UUID +} + +""" +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 + + """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 UUID List fields. All fields are combined with a logical ‘and.’ +""" +input UUIDListFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: [UUID] + + """Not equal to the specified value.""" + notEqualTo: [UUID] + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: [UUID] + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: [UUID] + + """Less than the specified value.""" + lessThan: [UUID] + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: [UUID] + + """Greater than the specified value.""" + greaterThan: [UUID] + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: [UUID] + + """Contains the specified list of values.""" + contains: [UUID] + + """Contained by the specified list of values.""" + containedBy: [UUID] + + """Overlaps the specified list of values.""" + overlaps: [UUID] + + """Any array item is equal to the specified value.""" + anyEqualTo: UUID + + """Any array item is not equal to the specified value.""" + anyNotEqualTo: UUID + + """Any array item is less than the specified value.""" + anyLessThan: UUID + + """Any array item is less than or equal to the specified value.""" + anyLessThanOrEqualTo: UUID + + """Any array item is greater than the specified value.""" + anyGreaterThan: UUID + + """Any array item is greater than or equal to the specified value.""" + anyGreaterThanOrEqualTo: UUID +} + +""" +A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ +""" +input JSONFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: JSON + + """Not equal to the specified value.""" + notEqualTo: JSON + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: JSON + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: JSON + + """Included in the specified list.""" + in: [JSON!] + + """Not included in the specified list.""" + notIn: [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 JSON.""" + contains: JSON + + """Contains the specified key.""" + containsKey: String + + """Contains all of the specified keys.""" + containsAllKeys: [String!] + + """Contains any of the specified keys.""" + containsAnyKeys: [String!] + + """Contained by the specified JSON.""" + containedBy: JSON +} + +""" +A filter to be used against ObjectCategory fields. All fields are combined with a logical ‘and.’ +""" +input ObjectCategoryFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: ObjectCategory + + """Not equal to the specified value.""" + notEqualTo: ObjectCategory + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ObjectCategory + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ObjectCategory + + """Included in the specified list.""" + in: [ObjectCategory!] + + """Not included in the specified list.""" + notIn: [ObjectCategory!] + + """Less than the specified value.""" + lessThan: ObjectCategory + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ObjectCategory + + """Greater than the specified value.""" + greaterThan: ObjectCategory + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ObjectCategory +} + +""" +A filter to be used against Int fields. All fields are combined with a logical ‘and.’ +""" +input IntFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: Int + + """Not equal to the specified value.""" + notEqualTo: Int + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: Int + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Int + + """Included in the specified list.""" + in: [Int!] + + """Not included in the specified list.""" + notIn: [Int!] + + """Less than the specified value.""" + lessThan: Int + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Int + + """Greater than the specified value.""" + greaterThan: Int + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Int +} + +""" +A filter to be used against String List fields. All fields are combined with a logical ‘and.’ +""" +input StringListFilter { + """ + 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] + + """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 list of values.""" + contains: [String] + + """Contained by the specified list of values.""" + containedBy: [String] + + """Overlaps the specified list of values.""" + overlaps: [String] + + """Any array item is equal to the specified value.""" + anyEqualTo: String + + """Any array item is not equal to the specified value.""" + anyNotEqualTo: String + + """Any array item is less than the specified value.""" + anyLessThan: String + + """Any array item is less than or equal to the specified value.""" + anyLessThanOrEqualTo: String + + """Any array item is greater than the specified value.""" + anyGreaterThan: String + + """Any array item is greater than or equal to the specified value.""" + anyGreaterThanOrEqualTo: String +} + +""" +A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ +""" +input DatetimeFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: Datetime + + """Not equal to the specified value.""" + notEqualTo: Datetime + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: Datetime + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Datetime + + """Included in the specified list.""" + in: [Datetime!] + + """Not included in the specified list.""" + notIn: [Datetime!] + + """Less than the specified value.""" + lessThan: Datetime + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Datetime + + """Greater than the specified value.""" + greaterThan: Datetime + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Datetime +} + +""" +A filter to be used against `Database` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `schemaHash` field.""" + schemaHash: StringFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `label` field.""" + label: StringFilter + + """Filter by the object’s `hash` field.""" + hash: 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: [DatabaseFilter!] + + """Checks for any expressions in this list.""" + or: [DatabaseFilter!] + + """Negates the expression.""" + not: DatabaseFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter + + """A related `owner` exists.""" + ownerExists: Boolean + + """Filter by the object’s `schemas` relation.""" + schemas: DatabaseToManySchemaFilter + + """`schemas` exist.""" + schemasExist: Boolean + + """Filter by the object’s `tables` relation.""" + tables: DatabaseToManyTableFilter + + """`tables` exist.""" + tablesExist: Boolean + + """Filter by the object’s `checkConstraints` relation.""" + checkConstraints: DatabaseToManyCheckConstraintFilter + + """`checkConstraints` exist.""" + checkConstraintsExist: Boolean + + """Filter by the object’s `fields` relation.""" + fields: DatabaseToManyFieldFilter + + """`fields` exist.""" + fieldsExist: Boolean + + """Filter by the object’s `foreignKeyConstraints` relation.""" + foreignKeyConstraints: DatabaseToManyForeignKeyConstraintFilter + + """`foreignKeyConstraints` exist.""" + foreignKeyConstraintsExist: Boolean + + """Filter by the object’s `fullTextSearches` relation.""" + fullTextSearches: DatabaseToManyFullTextSearchFilter + + """`fullTextSearches` exist.""" + fullTextSearchesExist: Boolean + + """Filter by the object’s `indices` relation.""" + indices: DatabaseToManyIndexFilter + + """`indices` exist.""" + indicesExist: Boolean + + """Filter by the object’s `policies` relation.""" + policies: DatabaseToManyPolicyFilter + + """`policies` exist.""" + policiesExist: Boolean + + """Filter by the object’s `primaryKeyConstraints` relation.""" + primaryKeyConstraints: DatabaseToManyPrimaryKeyConstraintFilter + + """`primaryKeyConstraints` exist.""" + primaryKeyConstraintsExist: Boolean + + """Filter by the object’s `schemaGrants` relation.""" + schemaGrants: DatabaseToManySchemaGrantFilter + + """`schemaGrants` exist.""" + schemaGrantsExist: Boolean + + """Filter by the object’s `tableGrants` relation.""" + tableGrants: DatabaseToManyTableGrantFilter + + """`tableGrants` exist.""" + tableGrantsExist: Boolean + + """Filter by the object’s `triggerFunctions` relation.""" + triggerFunctions: DatabaseToManyTriggerFunctionFilter + + """`triggerFunctions` exist.""" + triggerFunctionsExist: Boolean + + """Filter by the object’s `triggers` relation.""" + triggers: DatabaseToManyTriggerFilter + + """`triggers` exist.""" + triggersExist: Boolean + + """Filter by the object’s `uniqueConstraints` relation.""" + uniqueConstraints: DatabaseToManyUniqueConstraintFilter + + """`uniqueConstraints` exist.""" + uniqueConstraintsExist: Boolean + + """Filter by the object’s `views` relation.""" + views: DatabaseToManyViewFilter + + """`views` exist.""" + viewsExist: Boolean + + """Filter by the object’s `viewGrants` relation.""" + viewGrants: DatabaseToManyViewGrantFilter + + """`viewGrants` exist.""" + viewGrantsExist: Boolean + + """Filter by the object’s `viewRules` relation.""" + viewRules: DatabaseToManyViewRuleFilter + + """`viewRules` exist.""" + viewRulesExist: Boolean + + """Filter by the object’s `defaultPrivileges` relation.""" + defaultPrivileges: DatabaseToManyDefaultPrivilegeFilter + + """`defaultPrivileges` exist.""" + defaultPrivilegesExist: Boolean + + """Filter by the object’s `apis` relation.""" + apis: DatabaseToManyApiFilter + + """`apis` exist.""" + apisExist: Boolean + + """Filter by the object’s `apiModules` relation.""" + apiModules: DatabaseToManyApiModuleFilter + + """`apiModules` exist.""" + apiModulesExist: Boolean + + """Filter by the object’s `apiSchemas` relation.""" + apiSchemas: DatabaseToManyApiSchemaFilter + + """`apiSchemas` exist.""" + apiSchemasExist: Boolean + + """Filter by the object’s `sites` relation.""" + sites: DatabaseToManySiteFilter + + """`sites` exist.""" + sitesExist: Boolean + + """Filter by the object’s `apps` relation.""" + apps: DatabaseToManyAppFilter + + """`apps` exist.""" + appsExist: Boolean + + """Filter by the object’s `domains` relation.""" + domains: DatabaseToManyDomainFilter + + """`domains` exist.""" + domainsExist: Boolean + + """Filter by the object’s `siteMetadata` relation.""" + siteMetadata: DatabaseToManySiteMetadatumFilter + + """`siteMetadata` exist.""" + siteMetadataExist: Boolean + + """Filter by the object’s `siteModules` relation.""" + siteModules: DatabaseToManySiteModuleFilter + + """`siteModules` exist.""" + siteModulesExist: Boolean + + """Filter by the object’s `siteThemes` relation.""" + siteThemes: DatabaseToManySiteThemeFilter + + """`siteThemes` exist.""" + siteThemesExist: Boolean + + """Filter by the object’s `connectedAccountsModules` relation.""" + connectedAccountsModules: DatabaseToManyConnectedAccountsModuleFilter + + """`connectedAccountsModules` exist.""" + connectedAccountsModulesExist: Boolean + + """Filter by the object’s `cryptoAddressesModules` relation.""" + cryptoAddressesModules: DatabaseToManyCryptoAddressesModuleFilter + + """`cryptoAddressesModules` exist.""" + cryptoAddressesModulesExist: Boolean + + """Filter by the object’s `cryptoAuthModules` relation.""" + cryptoAuthModules: DatabaseToManyCryptoAuthModuleFilter + + """`cryptoAuthModules` exist.""" + cryptoAuthModulesExist: Boolean + + """Filter by the object’s `defaultIdsModules` relation.""" + defaultIdsModules: DatabaseToManyDefaultIdsModuleFilter + + """`defaultIdsModules` exist.""" + defaultIdsModulesExist: Boolean + + """Filter by the object’s `denormalizedTableFields` relation.""" + denormalizedTableFields: DatabaseToManyDenormalizedTableFieldFilter + + """`denormalizedTableFields` exist.""" + denormalizedTableFieldsExist: Boolean + + """Filter by the object’s `emailsModules` relation.""" + emailsModules: DatabaseToManyEmailsModuleFilter + + """`emailsModules` exist.""" + emailsModulesExist: Boolean + + """Filter by the object’s `encryptedSecretsModules` relation.""" + encryptedSecretsModules: DatabaseToManyEncryptedSecretsModuleFilter + + """`encryptedSecretsModules` exist.""" + encryptedSecretsModulesExist: Boolean + + """Filter by the object’s `fieldModules` relation.""" + fieldModules: DatabaseToManyFieldModuleFilter + + """`fieldModules` exist.""" + fieldModulesExist: Boolean + + """Filter by the object’s `invitesModules` relation.""" + invitesModules: DatabaseToManyInvitesModuleFilter + + """`invitesModules` exist.""" + invitesModulesExist: Boolean + + """Filter by the object’s `levelsModules` relation.""" + levelsModules: DatabaseToManyLevelsModuleFilter + + """`levelsModules` exist.""" + levelsModulesExist: Boolean + + """Filter by the object’s `limitsModules` relation.""" + limitsModules: DatabaseToManyLimitsModuleFilter + + """`limitsModules` exist.""" + limitsModulesExist: Boolean + + """Filter by the object’s `membershipTypesModules` relation.""" + membershipTypesModules: DatabaseToManyMembershipTypesModuleFilter + + """`membershipTypesModules` exist.""" + membershipTypesModulesExist: Boolean + + """Filter by the object’s `membershipsModules` relation.""" + membershipsModules: DatabaseToManyMembershipsModuleFilter + + """`membershipsModules` exist.""" + membershipsModulesExist: Boolean + + """Filter by the object’s `permissionsModules` relation.""" + permissionsModules: DatabaseToManyPermissionsModuleFilter + + """`permissionsModules` exist.""" + permissionsModulesExist: Boolean + + """Filter by the object’s `phoneNumbersModules` relation.""" + phoneNumbersModules: DatabaseToManyPhoneNumbersModuleFilter + + """`phoneNumbersModules` exist.""" + phoneNumbersModulesExist: Boolean + + """Filter by the object’s `profilesModules` relation.""" + profilesModules: DatabaseToManyProfilesModuleFilter + + """`profilesModules` exist.""" + profilesModulesExist: Boolean + + """Filter by the object’s `rlsModule` relation.""" + rlsModule: RlsModuleFilter + + """A related `rlsModule` exists.""" + rlsModuleExists: Boolean + + """Filter by the object’s `secretsModules` relation.""" + secretsModules: DatabaseToManySecretsModuleFilter + + """`secretsModules` exist.""" + secretsModulesExist: Boolean + + """Filter by the object’s `sessionsModules` relation.""" + sessionsModules: DatabaseToManySessionsModuleFilter + + """`sessionsModules` exist.""" + sessionsModulesExist: Boolean + + """Filter by the object’s `userAuthModules` relation.""" + userAuthModules: DatabaseToManyUserAuthModuleFilter + + """`userAuthModules` exist.""" + userAuthModulesExist: Boolean + + """Filter by the object’s `usersModules` relation.""" + usersModules: DatabaseToManyUsersModuleFilter + + """`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 + + """A related `hierarchyModule` exists.""" + hierarchyModuleExists: Boolean + + """Filter by the object’s `tableTemplateModules` relation.""" + tableTemplateModules: DatabaseToManyTableTemplateModuleFilter + + """`tableTemplateModules` exist.""" + tableTemplateModulesExist: Boolean + + """Filter by the object’s `secureTableProvisions` relation.""" + secureTableProvisions: DatabaseToManySecureTableProvisionFilter + + """`secureTableProvisions` exist.""" + secureTableProvisionsExist: Boolean + + """Filter by the object’s `relationProvisions` relation.""" + relationProvisions: DatabaseToManyRelationProvisionFilter + + """`relationProvisions` exist.""" + relationProvisionsExist: 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 +} + +""" +A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ +""" +input UserFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `username` field.""" + username: StringFilter + + """Filter by the object’s `displayName` field.""" + displayName: StringFilter + + """Filter by the object’s `profilePicture` field.""" + profilePicture: ConstructiveInternalTypeImageFilter + + """Filter by the object’s `searchTsv` field.""" + searchTsv: FullTextFilter + + """Filter by the object’s `type` field.""" + type: IntFilter + + """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: [UserFilter!] + + """Checks for any expressions in this list.""" + or: [UserFilter!] + + """Negates the expression.""" + not: UserFilter + + """Filter by the object’s `roleType` relation.""" + roleType: RoleTypeFilter + + """Filter by the object’s `ownedDatabases` relation.""" + ownedDatabases: UserToManyDatabaseFilter + + """`ownedDatabases` exist.""" + ownedDatabasesExist: Boolean + + """Filter by the object’s `appMembershipByActorId` relation.""" + appMembershipByActorId: AppMembershipFilter + + """A related `appMembershipByActorId` exists.""" + appMembershipByActorIdExists: Boolean + + """Filter by the object’s `appAdminGrantsByGrantorId` relation.""" + appAdminGrantsByGrantorId: UserToManyAppAdminGrantFilter + + """`appAdminGrantsByGrantorId` exist.""" + appAdminGrantsByGrantorIdExist: Boolean + + """Filter by the object’s `appOwnerGrantsByGrantorId` relation.""" + appOwnerGrantsByGrantorId: UserToManyAppOwnerGrantFilter + + """`appOwnerGrantsByGrantorId` exist.""" + appOwnerGrantsByGrantorIdExist: Boolean + + """Filter by the object’s `appGrantsByGrantorId` relation.""" + appGrantsByGrantorId: UserToManyAppGrantFilter + + """`appGrantsByGrantorId` exist.""" + appGrantsByGrantorIdExist: Boolean + + """Filter by the object’s `orgMembershipsByActorId` relation.""" + orgMembershipsByActorId: UserToManyOrgMembershipFilter + + """`orgMembershipsByActorId` exist.""" + orgMembershipsByActorIdExist: Boolean + + """Filter by the object’s `orgMembershipsByEntityId` relation.""" + orgMembershipsByEntityId: UserToManyOrgMembershipFilter + + """`orgMembershipsByEntityId` exist.""" + orgMembershipsByEntityIdExist: Boolean + + """Filter by the object’s `orgMembershipDefaultByEntityId` relation.""" + orgMembershipDefaultByEntityId: OrgMembershipDefaultFilter + + """A related `orgMembershipDefaultByEntityId` exists.""" + orgMembershipDefaultByEntityIdExists: Boolean + + """Filter by the object’s `orgMembersByActorId` relation.""" + orgMembersByActorId: UserToManyOrgMemberFilter + + """`orgMembersByActorId` exist.""" + orgMembersByActorIdExist: Boolean + + """Filter by the object’s `orgMembersByEntityId` relation.""" + orgMembersByEntityId: UserToManyOrgMemberFilter + + """`orgMembersByEntityId` exist.""" + orgMembersByEntityIdExist: Boolean + + """Filter by the object’s `orgAdminGrantsByEntityId` relation.""" + orgAdminGrantsByEntityId: UserToManyOrgAdminGrantFilter + + """`orgAdminGrantsByEntityId` exist.""" + orgAdminGrantsByEntityIdExist: Boolean + + """Filter by the object’s `orgAdminGrantsByGrantorId` relation.""" + orgAdminGrantsByGrantorId: UserToManyOrgAdminGrantFilter + + """`orgAdminGrantsByGrantorId` exist.""" + orgAdminGrantsByGrantorIdExist: Boolean + + """Filter by the object’s `orgOwnerGrantsByEntityId` relation.""" + orgOwnerGrantsByEntityId: UserToManyOrgOwnerGrantFilter + + """`orgOwnerGrantsByEntityId` exist.""" + orgOwnerGrantsByEntityIdExist: Boolean + + """Filter by the object’s `orgOwnerGrantsByGrantorId` relation.""" + orgOwnerGrantsByGrantorId: UserToManyOrgOwnerGrantFilter + + """`orgOwnerGrantsByGrantorId` exist.""" + orgOwnerGrantsByGrantorIdExist: Boolean + + """Filter by the object’s `orgGrantsByEntityId` relation.""" + orgGrantsByEntityId: UserToManyOrgGrantFilter + + """`orgGrantsByEntityId` exist.""" + orgGrantsByEntityIdExist: Boolean + + """Filter by the object’s `orgGrantsByGrantorId` relation.""" + orgGrantsByGrantorId: UserToManyOrgGrantFilter + + """`orgGrantsByGrantorId` exist.""" + orgGrantsByGrantorIdExist: Boolean + + """Filter by the object’s `parentOrgChartEdges` relation.""" + parentOrgChartEdges: UserToManyOrgChartEdgeFilter + + """`parentOrgChartEdges` exist.""" + parentOrgChartEdgesExist: Boolean + + """Filter by the object’s `orgChartEdgesByEntityId` relation.""" + orgChartEdgesByEntityId: UserToManyOrgChartEdgeFilter + + """`orgChartEdgesByEntityId` exist.""" + orgChartEdgesByEntityIdExist: Boolean + + """Filter by the object’s `childOrgChartEdges` relation.""" + childOrgChartEdges: UserToManyOrgChartEdgeFilter + + """`childOrgChartEdges` exist.""" + childOrgChartEdgesExist: Boolean + + """Filter by the object’s `parentOrgChartEdgeGrants` relation.""" + parentOrgChartEdgeGrants: UserToManyOrgChartEdgeGrantFilter + + """`parentOrgChartEdgeGrants` exist.""" + parentOrgChartEdgeGrantsExist: Boolean + + """Filter by the object’s `orgChartEdgeGrantsByEntityId` relation.""" + orgChartEdgeGrantsByEntityId: UserToManyOrgChartEdgeGrantFilter + + """`orgChartEdgeGrantsByEntityId` exist.""" + orgChartEdgeGrantsByEntityIdExist: Boolean + + """Filter by the object’s `orgChartEdgeGrantsByGrantorId` relation.""" + orgChartEdgeGrantsByGrantorId: UserToManyOrgChartEdgeGrantFilter + + """`orgChartEdgeGrantsByGrantorId` exist.""" + orgChartEdgeGrantsByGrantorIdExist: Boolean + + """Filter by the object’s `childOrgChartEdgeGrants` relation.""" + childOrgChartEdgeGrants: UserToManyOrgChartEdgeGrantFilter + + """`childOrgChartEdgeGrants` exist.""" + childOrgChartEdgeGrantsExist: Boolean + + """Filter by the object’s `appLimitsByActorId` relation.""" + appLimitsByActorId: UserToManyAppLimitFilter + + """`appLimitsByActorId` exist.""" + appLimitsByActorIdExist: Boolean + + """Filter by the object’s `orgLimitsByActorId` relation.""" + orgLimitsByActorId: UserToManyOrgLimitFilter + + """`orgLimitsByActorId` exist.""" + orgLimitsByActorIdExist: Boolean + + """Filter by the object’s `orgLimitsByEntityId` relation.""" + orgLimitsByEntityId: UserToManyOrgLimitFilter + + """`orgLimitsByEntityId` exist.""" + orgLimitsByEntityIdExist: Boolean + + """Filter by the object’s `appStepsByActorId` relation.""" + appStepsByActorId: UserToManyAppStepFilter + + """`appStepsByActorId` exist.""" + appStepsByActorIdExist: Boolean + + """Filter by the object’s `appAchievementsByActorId` relation.""" + appAchievementsByActorId: UserToManyAppAchievementFilter + + """`appAchievementsByActorId` exist.""" + appAchievementsByActorIdExist: Boolean + + """Filter by the object’s `invitesBySenderId` relation.""" + invitesBySenderId: UserToManyInviteFilter + + """`invitesBySenderId` exist.""" + invitesBySenderIdExist: Boolean + + """Filter by the object’s `claimedInvitesByReceiverId` relation.""" + claimedInvitesByReceiverId: UserToManyClaimedInviteFilter + + """`claimedInvitesByReceiverId` exist.""" + claimedInvitesByReceiverIdExist: Boolean + + """Filter by the object’s `claimedInvitesBySenderId` relation.""" + claimedInvitesBySenderId: UserToManyClaimedInviteFilter + + """`claimedInvitesBySenderId` exist.""" + claimedInvitesBySenderIdExist: Boolean + + """Filter by the object’s `orgInvitesByEntityId` relation.""" + orgInvitesByEntityId: UserToManyOrgInviteFilter + + """`orgInvitesByEntityId` exist.""" + orgInvitesByEntityIdExist: Boolean + + """Filter by the object’s `orgInvitesBySenderId` relation.""" + orgInvitesBySenderId: UserToManyOrgInviteFilter + + """`orgInvitesBySenderId` exist.""" + orgInvitesBySenderIdExist: Boolean + + """Filter by the object’s `orgClaimedInvitesByReceiverId` relation.""" + orgClaimedInvitesByReceiverId: UserToManyOrgClaimedInviteFilter + + """`orgClaimedInvitesByReceiverId` exist.""" + orgClaimedInvitesByReceiverIdExist: Boolean + + """Filter by the object’s `orgClaimedInvitesBySenderId` relation.""" + orgClaimedInvitesBySenderId: UserToManyOrgClaimedInviteFilter + + """`orgClaimedInvitesBySenderId` exist.""" + orgClaimedInvitesBySenderIdExist: Boolean + + """TSV search on the `search_tsv` column.""" + tsvSearchTsv: String + + """TRGM search on the `display_name` column.""" + trgmDisplayName: 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 ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeImageFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeImage + + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeImage + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ConstructiveInternalTypeImage + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeImage + + """Included in the specified list.""" + in: [ConstructiveInternalTypeImage!] + + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeImage!] + + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeImage + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeImage + + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeImage + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeImage + + """Contains the specified JSON.""" + contains: ConstructiveInternalTypeImage + + """Contains the specified key.""" + containsKey: String + + """Contains all of the specified keys.""" + containsAllKeys: [String!] + + """Contains any of the specified keys.""" + containsAnyKeys: [String!] + + """Contained by the specified JSON.""" + containedBy: ConstructiveInternalTypeImage +} + +""" +A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ +""" +input FullTextFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: FullText + + """Not equal to the specified value.""" + notEqualTo: FullText + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: FullText + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: FullText + + """Included in the specified list.""" + in: [FullText!] + + """Not included in the specified list.""" + notIn: [FullText!] + + """Performs a full text search on the field.""" + matches: String +} + +""" +A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ +""" +input RoleTypeFilter { + """Filter by the object’s `id` field.""" + id: IntFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Checks for all expressions in this list.""" + and: [RoleTypeFilter!] + + """Checks for any expressions in this list.""" + or: [RoleTypeFilter!] + + """Negates the expression.""" + not: RoleTypeFilter +} + +""" +A filter to be used against many `Database` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyDatabaseFilter { + """Filters to entities where at least one related entity matches.""" + some: DatabaseFilter + + """Filters to entities where every related entity matches.""" + every: DatabaseFilter + + """Filters to entities where no related entity matches.""" + none: DatabaseFilter +} + +""" +A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ +""" +input AppMembershipFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter + + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter + + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter + + """Filter by the object’s `isBanned` field.""" + isBanned: BooleanFilter + + """Filter by the object’s `isDisabled` field.""" + isDisabled: BooleanFilter + + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter + + """Filter by the object’s `isActive` field.""" + isActive: BooleanFilter + + """Filter by the object’s `isOwner` field.""" + isOwner: BooleanFilter + + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Filter by the object’s `granted` field.""" + granted: BitStringFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `profileId` field.""" + profileId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [AppMembershipFilter!] + + """Checks for any expressions in this list.""" + or: [AppMembershipFilter!] + + """Negates the expression.""" + not: AppMembershipFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter +} + +""" +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 + + """Equal to the specified value.""" + equalTo: Boolean + + """Not equal to the specified value.""" + notEqualTo: Boolean + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: Boolean + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Boolean + + """Included in the specified list.""" + in: [Boolean!] + + """Not included in the specified list.""" + notIn: [Boolean!] + + """Less than the specified value.""" + lessThan: Boolean + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Boolean + + """Greater than the specified value.""" + greaterThan: Boolean + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Boolean +} + +""" +A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ +""" +input BitStringFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: BitString + + """Not equal to the specified value.""" + notEqualTo: BitString + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: BitString + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: BitString + + """Included in the specified list.""" + in: [BitString!] + + """Not included in the specified list.""" + notIn: [BitString!] + + """Less than the specified value.""" + lessThan: BitString + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: BitString + + """Greater than the specified value.""" + greaterThan: BitString + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: BitString +} + +""" +A filter to be used against many `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppAdminGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: AppAdminGrantFilter + + """Filters to entities where every related entity matches.""" + every: AppAdminGrantFilter + + """Filters to entities where no related entity matches.""" + none: AppAdminGrantFilter +} + +""" +A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ +""" +input AppAdminGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: 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: [AppAdminGrantFilter!] + + """Checks for any expressions in this list.""" + or: [AppAdminGrantFilter!] + + """Negates the expression.""" + not: AppAdminGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean +} + +""" +A filter to be used against many `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppOwnerGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: AppOwnerGrantFilter + + """Filters to entities where every related entity matches.""" + every: AppOwnerGrantFilter + + """Filters to entities where no related entity matches.""" + none: AppOwnerGrantFilter +} + +""" +A filter to be used against `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ +""" +input AppOwnerGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: 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: [AppOwnerGrantFilter!] + + """Checks for any expressions in this list.""" + or: [AppOwnerGrantFilter!] + + """Negates the expression.""" + not: AppOwnerGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean +} + +""" +A filter to be used against many `AppGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: AppGrantFilter + + """Filters to entities where every related entity matches.""" + every: AppGrantFilter + + """Filters to entities where no related entity matches.""" + none: AppGrantFilter +} + +""" +A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ +""" +input AppGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: 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: [AppGrantFilter!] + + """Checks for any expressions in this list.""" + or: [AppGrantFilter!] + + """Negates the expression.""" + not: AppGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean +} + +""" +A filter to be used against many `OrgMembership` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgMembershipFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgMembershipFilter + + """Filters to entities where every related entity matches.""" + every: OrgMembershipFilter + + """Filters to entities where no related entity matches.""" + none: OrgMembershipFilter +} + +""" +A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ +""" +input OrgMembershipFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter + + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter + + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter + + """Filter by the object’s `isBanned` field.""" + isBanned: BooleanFilter + + """Filter by the object’s `isDisabled` field.""" + isDisabled: BooleanFilter + + """Filter by the object’s `isActive` field.""" + isActive: BooleanFilter + + """Filter by the object’s `isOwner` field.""" + isOwner: BooleanFilter + + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Filter by the object’s `granted` field.""" + granted: BitStringFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `profileId` field.""" + profileId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [OrgMembershipFilter!] + + """Checks for any expressions in this list.""" + or: [OrgMembershipFilter!] + + """Negates the expression.""" + not: OrgMembershipFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter +} + +""" +A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ +""" +input OrgMembershipDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter + + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter + + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `deleteMemberCascadeGroups` field.""" + deleteMemberCascadeGroups: BooleanFilter + + """Filter by the object’s `createGroupsCascadeMembers` field.""" + createGroupsCascadeMembers: BooleanFilter + + """Checks for all expressions in this list.""" + and: [OrgMembershipDefaultFilter!] + + """Checks for any expressions in this list.""" + or: [OrgMembershipDefaultFilter!] + + """Negates the expression.""" + not: OrgMembershipDefaultFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter +} + +""" +A filter to be used against many `OrgMember` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgMemberFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgMemberFilter + + """Filters to entities where every related entity matches.""" + every: OrgMemberFilter + + """Filters to entities where no related entity matches.""" + none: OrgMemberFilter +} + +""" +A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ +""" +input OrgMemberFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [OrgMemberFilter!] + + """Checks for any expressions in this list.""" + or: [OrgMemberFilter!] + + """Negates the expression.""" + not: OrgMemberFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter +} + +""" +A filter to be used against many `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgAdminGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgAdminGrantFilter + + """Filters to entities where every related entity matches.""" + every: OrgAdminGrantFilter + + """Filters to entities where no related entity matches.""" + none: OrgAdminGrantFilter +} + +""" +A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ +""" +input OrgAdminGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: 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: [OrgAdminGrantFilter!] + + """Checks for any expressions in this list.""" + or: [OrgAdminGrantFilter!] + + """Negates the expression.""" + not: OrgAdminGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean +} + +""" +A filter to be used against many `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgOwnerGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgOwnerGrantFilter + + """Filters to entities where every related entity matches.""" + every: OrgOwnerGrantFilter + + """Filters to entities where no related entity matches.""" + none: OrgOwnerGrantFilter +} + +""" +A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ +""" +input OrgOwnerGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: 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: [OrgOwnerGrantFilter!] + + """Checks for any expressions in this list.""" + or: [OrgOwnerGrantFilter!] + + """Negates the expression.""" + not: OrgOwnerGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean +} + +""" +A filter to be used against many `OrgGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgGrantFilter + + """Filters to entities where every related entity matches.""" + every: OrgGrantFilter + + """Filters to entities where no related entity matches.""" + none: OrgGrantFilter +} + +""" +A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ +""" +input OrgGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: 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: [OrgGrantFilter!] + + """Checks for any expressions in this list.""" + or: [OrgGrantFilter!] + + """Negates the expression.""" + not: OrgGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean +} + +""" +A filter to be used against many `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgChartEdgeFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgChartEdgeFilter + + """Filters to entities where every related entity matches.""" + every: OrgChartEdgeFilter + + """Filters to entities where no related entity matches.""" + none: OrgChartEdgeFilter +} + +""" +A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ +""" +input OrgChartEdgeFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `childId` field.""" + childId: UUIDFilter + + """Filter by the object’s `parentId` field.""" + parentId: UUIDFilter + + """Filter by the object’s `positionTitle` field.""" + positionTitle: StringFilter + + """Filter by the object’s `positionLevel` field.""" + positionLevel: IntFilter + + """Checks for all expressions in this list.""" + and: [OrgChartEdgeFilter!] + + """Checks for any expressions in this list.""" + or: [OrgChartEdgeFilter!] + + """Negates the expression.""" + not: OrgChartEdgeFilter + + """Filter by the object’s `child` relation.""" + child: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `parent` relation.""" + parent: UserFilter + + """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 +} + +""" +A filter to be used against many `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgChartEdgeGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgChartEdgeGrantFilter + + """Filters to entities where every related entity matches.""" + every: OrgChartEdgeGrantFilter + + """Filters to entities where no related entity matches.""" + none: OrgChartEdgeGrantFilter +} + +""" +A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ +""" +input OrgChartEdgeGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `childId` field.""" + childId: UUIDFilter + + """Filter by the object’s `parentId` field.""" + parentId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `positionTitle` field.""" + positionTitle: StringFilter + + """Filter by the object’s `positionLevel` field.""" + positionLevel: IntFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [OrgChartEdgeGrantFilter!] + + """Checks for any expressions in this list.""" + or: [OrgChartEdgeGrantFilter!] + + """Negates the expression.""" + not: OrgChartEdgeGrantFilter + + """Filter by the object’s `child` relation.""" + child: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """Filter by the object’s `parent` relation.""" + parent: UserFilter + + """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 +} + +""" +A filter to be used against many `AppLimit` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppLimitFilter { + """Filters to entities where at least one related entity matches.""" + some: AppLimitFilter + + """Filters to entities where every related entity matches.""" + every: AppLimitFilter + + """Filters to entities where no related entity matches.""" + none: AppLimitFilter +} + +""" +A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ +""" +input AppLimitFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `num` field.""" + num: IntFilter + + """Filter by the object’s `max` field.""" + max: IntFilter + + """Checks for all expressions in this list.""" + and: [AppLimitFilter!] + + """Checks for any expressions in this list.""" + or: [AppLimitFilter!] + + """Negates the expression.""" + not: AppLimitFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter +} + +""" +A filter to be used against many `OrgLimit` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgLimitFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgLimitFilter + + """Filters to entities where every related entity matches.""" + every: OrgLimitFilter + + """Filters to entities where no related entity matches.""" + none: OrgLimitFilter +} + +""" +A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ +""" +input OrgLimitFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `num` field.""" + num: IntFilter + + """Filter by the object’s `max` field.""" + max: IntFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [OrgLimitFilter!] + + """Checks for any expressions in this list.""" + or: [OrgLimitFilter!] + + """Negates the expression.""" + not: OrgLimitFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter +} + +""" +A filter to be used against many `AppStep` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppStepFilter { + """Filters to entities where at least one related entity matches.""" + some: AppStepFilter + + """Filters to entities where every related entity matches.""" + every: AppStepFilter + + """Filters to entities where no related entity matches.""" + none: AppStepFilter +} + +""" +A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ +""" +input AppStepFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `count` field.""" + count: IntFilter + + """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: [AppStepFilter!] + + """Checks for any expressions in this list.""" + or: [AppStepFilter!] + + """Negates the expression.""" + not: AppStepFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter +} + +""" +A filter to be used against many `AppAchievement` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppAchievementFilter { + """Filters to entities where at least one related entity matches.""" + some: AppAchievementFilter + + """Filters to entities where every related entity matches.""" + every: AppAchievementFilter + + """Filters to entities where no related entity matches.""" + none: AppAchievementFilter +} + +""" +A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ +""" +input AppAchievementFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `count` field.""" + count: IntFilter + + """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: [AppAchievementFilter!] + + """Checks for any expressions in this list.""" + or: [AppAchievementFilter!] + + """Negates the expression.""" + not: AppAchievementFilter + + """Filter by the object’s `actor` relation.""" + actor: 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 + + """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 +} + +""" +A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeEmailFilter { + """ + 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: ConstructiveInternalTypeEmail + + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeEmail + + """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: ConstructiveInternalTypeEmail + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeEmail + + """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: ConstructiveInternalTypeEmail + + """Does not end with the specified string (case-insensitive).""" + 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. + """ + 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: 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: ConstructiveInternalTypeEmail + + """Equal to the specified value (case-insensitive).""" + equalToInsensitive: ConstructiveInternalTypeEmail + + """Not equal to the specified value (case-insensitive).""" + notEqualToInsensitive: ConstructiveInternalTypeEmail + + """ + Not equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + distinctFromInsensitive: ConstructiveInternalTypeEmail + + """ + Equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + notDistinctFromInsensitive: ConstructiveInternalTypeEmail + + """Included in the specified list (case-insensitive).""" + inInsensitive: [ConstructiveInternalTypeEmail!] + + """Not included in the specified list (case-insensitive).""" + notInInsensitive: [ConstructiveInternalTypeEmail!] + + """Less than the specified value (case-insensitive).""" + lessThanInsensitive: ConstructiveInternalTypeEmail + + """Less than or equal to the specified value (case-insensitive).""" + lessThanOrEqualToInsensitive: ConstructiveInternalTypeEmail + + """Greater than the specified value (case-insensitive).""" + greaterThanInsensitive: ConstructiveInternalTypeEmail + + """Greater than or equal to the specified value (case-insensitive).""" + greaterThanOrEqualToInsensitive: ConstructiveInternalTypeEmail +} + +scalar ConstructiveInternalTypeEmail + +""" +A filter to be used against many `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyClaimedInviteFilter { + """Filters to entities where at least one related entity matches.""" + some: ClaimedInviteFilter + + """Filters to entities where every related entity matches.""" + every: ClaimedInviteFilter + + """Filters to entities where no related entity matches.""" + none: ClaimedInviteFilter +} + +""" +A filter to be used against `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ +""" +input ClaimedInviteFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter + + """Filter by the object’s `receiverId` field.""" + receiverId: 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: [ClaimedInviteFilter!] + + """Checks for any expressions in this list.""" + or: [ClaimedInviteFilter!] + + """Negates the expression.""" + not: ClaimedInviteFilter + + """Filter by the object’s `receiver` relation.""" + receiver: UserFilter + + """A related `receiver` exists.""" + receiverExists: Boolean + + """Filter by the object’s `sender` relation.""" + sender: UserFilter + + """A related `sender` exists.""" + senderExists: Boolean +} + +""" +A filter to be used against many `OrgInvite` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgInviteFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgInviteFilter + + """Filters to entities where every related entity matches.""" + every: OrgInviteFilter + + """Filters to entities where no related entity matches.""" + none: OrgInviteFilter +} + +""" +A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ +""" +input OrgInviteFilter { + """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 `receiverId` field.""" + receiverId: 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 + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [OrgInviteFilter!] + + """Checks for any expressions in this list.""" + or: [OrgInviteFilter!] + + """Negates the expression.""" + not: OrgInviteFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `receiver` relation.""" + receiver: UserFilter + + """A related `receiver` exists.""" + receiverExists: Boolean + + """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 +} + +""" +A filter to be used against many `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgClaimedInviteFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgClaimedInviteFilter + + """Filters to entities where every related entity matches.""" + every: OrgClaimedInviteFilter + + """Filters to entities where no related entity matches.""" + none: OrgClaimedInviteFilter +} + +""" +A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ +""" +input OrgClaimedInviteFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter + + """Filter by the object’s `receiverId` field.""" + receiverId: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [OrgClaimedInviteFilter!] + + """Checks for any expressions in this list.""" + or: [OrgClaimedInviteFilter!] + + """Negates the expression.""" + not: OrgClaimedInviteFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `receiver` relation.""" + receiver: UserFilter + + """A related `receiver` exists.""" + receiverExists: Boolean + + """Filter by the object’s `sender` relation.""" + sender: UserFilter + + """A related `sender` exists.""" + senderExists: Boolean +} + +""" +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 `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 + + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput + + """TRGM search on the `schema_name` column.""" + trgmSchemaName: 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 + + """ + 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 `Table` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyTableFilter { + """Filters to entities where at least one related entity matches.""" + some: TableFilter + + """Filters to entities where every related entity matches.""" + every: TableFilter + + """Filters to entities where no related entity matches.""" + none: TableFilter +} + +""" +A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ +""" +input TableFilter { + """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 `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 `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 `useRls` field.""" + useRls: BooleanFilter + + """Filter by the object’s `timestamps` field.""" + timestamps: BooleanFilter + + """Filter by the object’s `peoplestamps` field.""" + peoplestamps: BooleanFilter + + """Filter by the object’s `pluralName` field.""" + pluralName: StringFilter + + """Filter by the object’s `singularName` field.""" + singularName: StringFilter + + """Filter by the object’s `tags` field.""" + tags: StringListFilter + + """Filter by the object’s `inheritsId` field.""" + inheritsId: 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: [TableFilter!] + + """Checks for any expressions in this list.""" + or: [TableFilter!] + + """Negates the expression.""" + not: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `inherits` relation.""" + inherits: TableFilter + + """A related `inherits` exists.""" + inheritsExists: Boolean + + """Filter by the object’s `checkConstraints` relation.""" + checkConstraints: TableToManyCheckConstraintFilter + + """`checkConstraints` exist.""" + checkConstraintsExist: Boolean + + """Filter by the object’s `fields` relation.""" + fields: TableToManyFieldFilter + + """`fields` exist.""" + fieldsExist: Boolean + + """Filter by the object’s `foreignKeyConstraints` relation.""" + foreignKeyConstraints: TableToManyForeignKeyConstraintFilter + + """`foreignKeyConstraints` exist.""" + foreignKeyConstraintsExist: Boolean + + """Filter by the object’s `fullTextSearches` relation.""" + fullTextSearches: TableToManyFullTextSearchFilter + + """`fullTextSearches` exist.""" + fullTextSearchesExist: Boolean + + """Filter by the object’s `indices` relation.""" + indices: TableToManyIndexFilter + + """`indices` exist.""" + indicesExist: Boolean + + """Filter by the object’s `policies` relation.""" + policies: TableToManyPolicyFilter + + """`policies` exist.""" + policiesExist: Boolean + + """Filter by the object’s `primaryKeyConstraints` relation.""" + primaryKeyConstraints: TableToManyPrimaryKeyConstraintFilter + + """`primaryKeyConstraints` exist.""" + primaryKeyConstraintsExist: Boolean + + """Filter by the object’s `tableGrants` relation.""" + tableGrants: TableToManyTableGrantFilter + + """`tableGrants` exist.""" + tableGrantsExist: Boolean + + """Filter by the object’s `triggers` relation.""" + triggers: TableToManyTriggerFilter + + """`triggers` exist.""" + triggersExist: Boolean + + """Filter by the object’s `uniqueConstraints` relation.""" + uniqueConstraints: TableToManyUniqueConstraintFilter + + """`uniqueConstraints` exist.""" + uniqueConstraintsExist: Boolean + + """Filter by the object’s `views` relation.""" + views: TableToManyViewFilter + + """`views` exist.""" + viewsExist: Boolean + + """Filter by the object’s `viewTables` relation.""" + viewTables: TableToManyViewTableFilter + + """`viewTables` exist.""" + viewTablesExist: Boolean + + """Filter by the object’s `tableTemplateModulesByOwnerTableId` relation.""" + tableTemplateModulesByOwnerTableId: TableToManyTableTemplateModuleFilter + + """`tableTemplateModulesByOwnerTableId` exist.""" + tableTemplateModulesByOwnerTableIdExist: Boolean + + """Filter by the object’s `tableTemplateModules` relation.""" + tableTemplateModules: TableToManyTableTemplateModuleFilter + + """`tableTemplateModules` exist.""" + tableTemplateModulesExist: Boolean + + """Filter by the object’s `secureTableProvisions` relation.""" + secureTableProvisions: TableToManySecureTableProvisionFilter + + """`secureTableProvisions` exist.""" + secureTableProvisionsExist: Boolean + + """Filter by the object’s `relationProvisionsBySourceTableId` relation.""" + relationProvisionsBySourceTableId: TableToManyRelationProvisionFilter + + """`relationProvisionsBySourceTableId` exist.""" + relationProvisionsBySourceTableIdExist: Boolean + + """Filter by the object’s `relationProvisionsByTargetTableId` relation.""" + relationProvisionsByTargetTableId: TableToManyRelationProvisionFilter + + """`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 +} + +""" +A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyCheckConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: CheckConstraintFilter + + """Filters to entities where every related entity matches.""" + every: CheckConstraintFilter + + """Filters to entities where no related entity matches.""" + none: CheckConstraintFilter +} + +""" +A filter to be used against many `Field` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyFieldFilter { + """Filters to entities where at least one related entity matches.""" + some: FieldFilter + + """Filters to entities where every related entity matches.""" + every: FieldFilter + + """Filters to entities where no related entity matches.""" + none: FieldFilter +} + +""" +A filter to be used against `Field` object types. All fields are combined with a logical ‘and.’ +""" +input FieldFilter { + """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 `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 `smartTags` field.""" + smartTags: JSONFilter + + """Filter by the object’s `isRequired` field.""" + isRequired: BooleanFilter + + """Filter by the object’s `defaultValue` field.""" + defaultValue: StringFilter + + """Filter by the object’s `defaultValueAst` field.""" + defaultValueAst: JSONFilter + + """Filter by the object’s `isHidden` field.""" + isHidden: BooleanFilter + + """Filter by the object’s `type` field.""" + type: StringFilter + + """Filter by the object’s `fieldOrder` field.""" + fieldOrder: IntFilter + + """Filter by the object’s `regexp` field.""" + regexp: StringFilter + + """Filter by the object’s `chk` field.""" + chk: JSONFilter + + """Filter by the object’s `chkExpr` field.""" + chkExpr: JSONFilter + + """Filter by the object’s `min` field.""" + min: FloatFilter + + """Filter by the object’s `max` field.""" + max: FloatFilter + + """Filter by the object’s `tags` field.""" + tags: StringListFilter + + """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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [FieldFilter!] + + """Checks for any expressions in this list.""" + or: [FieldFilter!] + + """Negates the expression.""" + not: FieldFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against Float fields. All fields are combined with a logical ‘and.’ +""" +input FloatFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: Float + + """Not equal to the specified value.""" + notEqualTo: Float + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: Float + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Float + + """Included in the specified list.""" + in: [Float!] + + """Not included in the specified list.""" + notIn: [Float!] + + """Less than the specified value.""" + lessThan: Float + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Float + + """Greater than the specified value.""" + greaterThan: Float + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Float +} + +""" +A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyForeignKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: ForeignKeyConstraintFilter + + """Filters to entities where every related entity matches.""" + every: ForeignKeyConstraintFilter + + """Filters to entities where no related entity matches.""" + none: ForeignKeyConstraintFilter +} + +""" +A filter to be used against `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input ForeignKeyConstraintFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter + + """Filter by the object’s `type` field.""" + type: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `refTableId` field.""" + refTableId: UUIDFilter + + """Filter by the object’s `refFieldIds` field.""" + refFieldIds: UUIDListFilter + + """Filter by the object’s `deleteAction` field.""" + deleteAction: StringFilter + + """Filter by the object’s `updateAction` field.""" + updateAction: StringFilter + + """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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [ForeignKeyConstraintFilter!] + + """Checks for any expressions in this list.""" + or: [ForeignKeyConstraintFilter!] + + """Negates the expression.""" + not: ForeignKeyConstraintFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `refTable` relation.""" + refTable: TableFilter + + """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 +} + +""" +A filter to be used against many `FullTextSearch` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyFullTextSearchFilter { + """Filters to entities where at least one related entity matches.""" + some: FullTextSearchFilter + + """Filters to entities where every related entity matches.""" + every: FullTextSearchFilter + + """Filters to entities where no related entity matches.""" + none: FullTextSearchFilter +} + +""" +A filter to be used against `FullTextSearch` object types. All fields are combined with a logical ‘and.’ +""" +input FullTextSearchFilter { + """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 `fieldId` field.""" + fieldId: UUIDFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `weights` field.""" + weights: StringListFilter + + """Filter by the object’s `langs` field.""" + langs: StringListFilter + + """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: [FullTextSearchFilter!] + + """Checks for any expressions in this list.""" + or: [FullTextSearchFilter!] + + """Negates the expression.""" + not: FullTextSearchFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `table` relation.""" + table: TableFilter +} + +""" +A filter to be used against many `Index` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyIndexFilter { + """Filters to entities where at least one related entity matches.""" + some: IndexFilter + + """Filters to entities where every related entity matches.""" + every: IndexFilter + + """Filters to entities where no related entity matches.""" + none: IndexFilter +} + +""" +A filter to be used against `Index` object types. All fields are combined with a logical ‘and.’ +""" +input IndexFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `includeFieldIds` field.""" + includeFieldIds: UUIDListFilter + + """Filter by the object’s `accessMethod` field.""" + accessMethod: StringFilter + + """Filter by the object’s `indexParams` field.""" + indexParams: JSONFilter + + """Filter by the object’s `whereClause` field.""" + whereClause: JSONFilter + + """Filter by the object’s `isUnique` field.""" + isUnique: BooleanFilter + + """Filter by the object’s `options` field.""" + options: JSONFilter + + """Filter by the object’s `opClasses` field.""" + opClasses: 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 + + """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: [IndexFilter!] + + """Checks for any expressions in this list.""" + or: [IndexFilter!] + + """Negates the expression.""" + not: IndexFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `Policy` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyPolicyFilter { + """Filters to entities where at least one related entity matches.""" + some: PolicyFilter + + """Filters to entities where every related entity matches.""" + every: PolicyFilter + + """Filters to entities where no related entity matches.""" + none: PolicyFilter +} + +""" +A filter to be used against `Policy` object types. All fields are combined with a logical ‘and.’ +""" +input PolicyFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter + + """Filter by the object’s `privilege` field.""" + privilege: StringFilter + + """Filter by the object’s `permissive` field.""" + permissive: BooleanFilter + + """Filter by the object’s `disabled` field.""" + disabled: BooleanFilter + + """Filter by the object’s `policyType` field.""" + policyType: StringFilter + + """Filter by the object’s `data` field.""" + data: JSONFilter + + """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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [PolicyFilter!] + + """Checks for any expressions in this list.""" + or: [PolicyFilter!] + + """Negates the expression.""" + not: PolicyFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyPrimaryKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: PrimaryKeyConstraintFilter + + """Filters to entities where every related entity matches.""" + every: PrimaryKeyConstraintFilter + + """Filters to entities where no related entity matches.""" + none: PrimaryKeyConstraintFilter +} + +""" +A filter to be used against `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input PrimaryKeyConstraintFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `type` field.""" + type: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [PrimaryKeyConstraintFilter!] + + """Checks for any expressions in this list.""" + or: [PrimaryKeyConstraintFilter!] + + """Negates the expression.""" + not: PrimaryKeyConstraintFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `TableGrant` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyTableGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: TableGrantFilter + + """Filters to entities where every related entity matches.""" + every: TableGrantFilter + + """Filters to entities where no related entity matches.""" + none: TableGrantFilter +} + +""" +A filter to be used against `TableGrant` object types. All fields are combined with a logical ‘and.’ +""" +input TableGrantFilter { + """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 `privilege` field.""" + privilege: StringFilter + + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: 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: [TableGrantFilter!] + + """Checks for any expressions in this list.""" + or: [TableGrantFilter!] + + """Negates the expression.""" + not: TableGrantFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyTriggerFilter { + """Filters to entities where at least one related entity matches.""" + some: TriggerFilter + + """Filters to entities where every related entity matches.""" + every: TriggerFilter + + """Filters to entities where no related entity matches.""" + none: TriggerFilter +} + +""" +A filter to be used against `Trigger` object types. All fields are combined with a logical ‘and.’ +""" +input TriggerFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `event` field.""" + event: StringFilter + + """Filter by the object’s `functionName` field.""" + functionName: 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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [TriggerFilter!] + + """Checks for any expressions in this list.""" + or: [TriggerFilter!] + + """Negates the expression.""" + not: TriggerFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyUniqueConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: UniqueConstraintFilter + + """Filters to entities where every related entity matches.""" + every: UniqueConstraintFilter + + """Filters to entities where no related entity matches.""" + none: UniqueConstraintFilter +} + +""" +A filter to be used against `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input UniqueConstraintFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter + + """Filter by the object’s `type` field.""" + type: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [UniqueConstraintFilter!] + + """Checks for any expressions in this list.""" + or: [UniqueConstraintFilter!] + + """Negates the expression.""" + not: UniqueConstraintFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyViewFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewFilter + + """Filters to entities where every related entity matches.""" + every: ViewFilter + + """Filters to entities where no related entity matches.""" + none: ViewFilter +} + +""" +A filter to be used against `View` object types. All fields are combined with a logical ‘and.’ +""" +input ViewFilter { + """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 `name` field.""" + name: StringFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `viewType` field.""" + viewType: StringFilter + + """Filter by the object’s `data` field.""" + data: JSONFilter + + """Filter by the object’s `filterType` field.""" + filterType: StringFilter + + """Filter by the object’s `filterData` field.""" + filterData: JSONFilter + + """Filter by the object’s `securityInvoker` field.""" + securityInvoker: BooleanFilter + + """Filter by the object’s `isReadOnly` field.""" + isReadOnly: BooleanFilter + + """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: [ViewFilter!] + + """Checks for any expressions in this list.""" + or: [ViewFilter!] + + """Negates the expression.""" + not: ViewFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `table` relation.""" + table: TableFilter + + """A related `table` exists.""" + tableExists: Boolean + + """Filter by the object’s `viewTables` relation.""" + viewTables: ViewToManyViewTableFilter + + """`viewTables` exist.""" + viewTablesExist: Boolean + + """Filter by the object’s `viewGrants` relation.""" + viewGrants: ViewToManyViewGrantFilter + + """`viewGrants` exist.""" + viewGrantsExist: Boolean + + """Filter by the object’s `viewRules` relation.""" + viewRules: ViewToManyViewRuleFilter + + """`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 +} + +""" +A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ +""" +input ViewToManyViewTableFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewTableFilter + + """Filters to entities where every related entity matches.""" + every: ViewTableFilter + + """Filters to entities where no related entity matches.""" + none: ViewTableFilter +} + +""" +A filter to be used against `ViewTable` object types. All fields are combined with a logical ‘and.’ +""" +input ViewTableFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `viewId` field.""" + viewId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `joinOrder` field.""" + joinOrder: IntFilter + + """Checks for all expressions in this list.""" + and: [ViewTableFilter!] + + """Checks for any expressions in this list.""" + or: [ViewTableFilter!] + + """Negates the expression.""" + not: ViewTableFilter + + """Filter by the object’s `table` relation.""" + table: TableFilter + + """Filter by the object’s `view` relation.""" + view: ViewFilter +} + +""" +A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ +""" +input ViewToManyViewGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewGrantFilter + + """Filters to entities where every related entity matches.""" + every: ViewGrantFilter + + """Filters to entities where no related entity matches.""" + none: ViewGrantFilter +} + +""" +A filter to be used against `ViewGrant` object types. All fields are combined with a logical ‘and.’ +""" +input ViewGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `viewId` field.""" + viewId: UUIDFilter + + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter + + """Filter by the object’s `privilege` field.""" + privilege: StringFilter + + """Filter by the object’s `withGrantOption` field.""" + withGrantOption: BooleanFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Checks for all expressions in this list.""" + and: [ViewGrantFilter!] + + """Checks for any expressions in this list.""" + or: [ViewGrantFilter!] + + """Negates the expression.""" + not: ViewGrantFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `ViewRule` object types. All fields are combined with a logical ‘and.’ +""" +input ViewToManyViewRuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewRuleFilter + + """Filters to entities where every related entity matches.""" + every: ViewRuleFilter + + """Filters to entities where no related entity matches.""" + none: ViewRuleFilter +} + +""" +A filter to be used against `ViewRule` object types. All fields are combined with a logical ‘and.’ +""" +input ViewRuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `viewId` field.""" + viewId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `event` field.""" + event: StringFilter + + """Filter by the object’s `action` field.""" + action: StringFilter + + """Checks for all expressions in this list.""" + and: [ViewRuleFilter!] + + """Checks for any expressions in this list.""" + or: [ViewRuleFilter!] + + """Negates the expression.""" + not: ViewRuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyViewTableFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewTableFilter + + """Filters to entities where every related entity matches.""" + every: ViewTableFilter + + """Filters to entities where no related entity matches.""" + none: ViewTableFilter +} + +""" +A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyTableTemplateModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: TableTemplateModuleFilter + + """Filters to entities where every related entity matches.""" + every: TableTemplateModuleFilter + + """Filters to entities where no related entity matches.""" + none: TableTemplateModuleFilter +} + +""" +A filter to be used against `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input TableTemplateModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter + + """Filter by the object’s `data` field.""" + data: JSONFilter + + """Checks for all expressions in this list.""" + and: [TableTemplateModuleFilter!] + + """Checks for any expressions in this list.""" + or: [TableTemplateModuleFilter!] + + """Negates the expression.""" + not: TableTemplateModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManySecureTableProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: SecureTableProvisionFilter + + """Filters to entities where every related entity matches.""" + every: SecureTableProvisionFilter + + """Filters to entities where no related entity matches.""" + none: SecureTableProvisionFilter +} + +""" +A filter to be used against `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ +""" +input SecureTableProvisionFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter + + """Filter by the object’s `useRls` field.""" + useRls: BooleanFilter + + """Filter by the object’s `nodeData` field.""" + nodeData: JSONFilter + + """Filter by the object’s `fields` field.""" + fields: JSONFilter + + """Filter by the object’s `grantRoles` field.""" + grantRoles: StringListFilter + + """Filter by the object’s `grantPrivileges` field.""" + grantPrivileges: JSONFilter + + """Filter by the object’s `policyType` field.""" + policyType: StringFilter + + """Filter by the object’s `policyPrivileges` field.""" + policyPrivileges: StringListFilter + + """Filter by the object’s `policyRole` field.""" + policyRole: StringFilter + + """Filter by the object’s `policyPermissive` field.""" + policyPermissive: BooleanFilter + + """Filter by the object’s `policyName` field.""" + policyName: StringFilter + + """Filter by the object’s `policyData` field.""" + policyData: JSONFilter + + """Filter by the object’s `outFields` field.""" + outFields: UUIDListFilter + + """Checks for all expressions in this list.""" + and: [SecureTableProvisionFilter!] + + """Checks for any expressions in this list.""" + or: [SecureTableProvisionFilter!] + + """Negates the expression.""" + not: SecureTableProvisionFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 + + """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 +} + +""" +A filter to be used against many `RelationProvision` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyRelationProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: RelationProvisionFilter + + """Filters to entities where every related entity matches.""" + every: RelationProvisionFilter + + """Filters to entities where no related entity matches.""" + none: RelationProvisionFilter +} + +""" +A filter to be used against `RelationProvision` object types. All fields are combined with a logical ‘and.’ +""" +input RelationProvisionFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `relationType` field.""" + relationType: StringFilter + + """Filter by the object’s `sourceTableId` field.""" + sourceTableId: UUIDFilter + + """Filter by the object’s `targetTableId` field.""" + targetTableId: UUIDFilter + + """Filter by the object’s `fieldName` field.""" + fieldName: StringFilter + + """Filter by the object’s `deleteAction` field.""" + deleteAction: StringFilter + + """Filter by the object’s `isRequired` field.""" + isRequired: BooleanFilter + + """Filter by the object’s `junctionTableId` field.""" + junctionTableId: UUIDFilter + + """Filter by the object’s `junctionTableName` field.""" + junctionTableName: StringFilter + + """Filter by the object’s `junctionSchemaId` field.""" + junctionSchemaId: UUIDFilter + + """Filter by the object’s `sourceFieldName` field.""" + sourceFieldName: StringFilter + + """Filter by the object’s `targetFieldName` field.""" + targetFieldName: StringFilter + + """Filter by the object’s `useCompositeKey` field.""" + useCompositeKey: BooleanFilter + + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter + + """Filter by the object’s `nodeData` field.""" + nodeData: JSONFilter + + """Filter by the object’s `grantRoles` field.""" + grantRoles: StringListFilter + + """Filter by the object’s `grantPrivileges` field.""" + grantPrivileges: JSONFilter + + """Filter by the object’s `policyType` field.""" + policyType: StringFilter + + """Filter by the object’s `policyPrivileges` field.""" + policyPrivileges: StringListFilter + + """Filter by the object’s `policyRole` field.""" + policyRole: StringFilter + + """Filter by the object’s `policyPermissive` field.""" + policyPermissive: BooleanFilter + + """Filter by the object’s `policyName` field.""" + policyName: StringFilter + + """Filter by the object’s `policyData` field.""" + policyData: JSONFilter + + """Filter by the object’s `outFieldId` field.""" + outFieldId: UUIDFilter + + """Filter by the object’s `outJunctionTableId` field.""" + outJunctionTableId: UUIDFilter + + """Filter by the object’s `outSourceFieldId` field.""" + outSourceFieldId: UUIDFilter + + """Filter by the object’s `outTargetFieldId` field.""" + outTargetFieldId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [RelationProvisionFilter!] + + """Checks for any expressions in this list.""" + or: [RelationProvisionFilter!] + + """Negates the expression.""" + not: RelationProvisionFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `sourceTable` relation.""" + sourceTable: TableFilter + + """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 +} + +""" +A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManySchemaGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: SchemaGrantFilter + + """Filters to entities where every related entity matches.""" + every: SchemaGrantFilter + + """Filters to entities where no related entity matches.""" + none: SchemaGrantFilter +} + +""" +A filter to be used against `SchemaGrant` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaGrantFilter { + """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 `granteeName` field.""" + granteeName: StringFilter + + """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: [SchemaGrantFilter!] + + """Checks for any expressions in this list.""" + or: [SchemaGrantFilter!] + + """Negates the expression.""" + not: SchemaGrantFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyViewFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewFilter + + """Filters to entities where every related entity matches.""" + every: ViewFilter + + """Filters to entities where no related entity matches.""" + none: ViewFilter +} + +""" +A filter to be used against many `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyDefaultPrivilegeFilter { + """Filters to entities where at least one related entity matches.""" + some: DefaultPrivilegeFilter + + """Filters to entities where every related entity matches.""" + every: DefaultPrivilegeFilter + + """Filters to entities where no related entity matches.""" + none: DefaultPrivilegeFilter +} + +""" +A filter to be used against `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ +""" +input DefaultPrivilegeFilter { + """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 `objectType` field.""" + objectType: StringFilter + + """Filter by the object’s `privilege` field.""" + privilege: StringFilter + + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Checks for all expressions in this list.""" + and: [DefaultPrivilegeFilter!] + + """Checks for any expressions in this list.""" + or: [DefaultPrivilegeFilter!] + + """Negates the expression.""" + not: DefaultPrivilegeFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """TRGM search on the `object_type` column.""" + trgmObjectType: TrgmSearchInput + + """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 +} + +""" +A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyApiSchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiSchemaFilter + + """Filters to entities where every related entity matches.""" + every: ApiSchemaFilter + + """Filters to entities where no related entity matches.""" + none: ApiSchemaFilter +} + +""" +A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ +""" +input ApiSchemaFilter { + """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 `apiId` field.""" + apiId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [ApiSchemaFilter!] + + """Checks for any expressions in this list.""" + or: [ApiSchemaFilter!] + + """Negates the expression.""" + not: ApiSchemaFilter + + """Filter by the object’s `api` relation.""" + api: ApiFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter +} + +""" +A filter to be used against `Api` object types. All fields are combined with a logical ‘and.’ +""" +input ApiFilter { + """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 `dbname` field.""" + dbname: StringFilter + + """Filter by the object’s `roleName` field.""" + roleName: StringFilter + + """Filter by the object’s `anonRole` field.""" + anonRole: StringFilter + + """Filter by the object’s `isPublic` field.""" + isPublic: BooleanFilter + + """Checks for all expressions in this list.""" + and: [ApiFilter!] + + """Checks for any expressions in this list.""" + or: [ApiFilter!] + + """Negates the expression.""" + not: ApiFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `apiModules` relation.""" + apiModules: ApiToManyApiModuleFilter + + """`apiModules` exist.""" + apiModulesExist: Boolean + + """Filter by the object’s `apiSchemas` relation.""" + apiSchemas: ApiToManyApiSchemaFilter + + """`apiSchemas` exist.""" + apiSchemasExist: Boolean + + """Filter by the object’s `domains` relation.""" + domains: ApiToManyDomainFilter + + """`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 +} + +""" +A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ +""" +input ApiToManyApiModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiModuleFilter + + """Filters to entities where every related entity matches.""" + every: ApiModuleFilter + + """Filters to entities where no related entity matches.""" + none: ApiModuleFilter +} + +""" +A filter to be used against `ApiModule` object types. All fields are combined with a logical ‘and.’ +""" +input ApiModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `apiId` field.""" + apiId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Checks for all expressions in this list.""" + and: [ApiModuleFilter!] + + """Checks for any expressions in this list.""" + or: [ApiModuleFilter!] + + """Negates the expression.""" + not: ApiModuleFilter + + """Filter by the object’s `api` relation.""" + api: ApiFilter + + """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 +} + +""" +A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ +""" +input ApiToManyApiSchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiSchemaFilter + + """Filters to entities where every related entity matches.""" + every: ApiSchemaFilter + + """Filters to entities where no related entity matches.""" + none: ApiSchemaFilter +} + +""" +A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ +""" +input ApiToManyDomainFilter { + """Filters to entities where at least one related entity matches.""" + some: DomainFilter + + """Filters to entities where every related entity matches.""" + every: DomainFilter + + """Filters to entities where no related entity matches.""" + none: DomainFilter +} + +""" +A filter to be used against `Domain` object types. All fields are combined with a logical ‘and.’ +""" +input DomainFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `apiId` field.""" + apiId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `subdomain` field.""" + subdomain: ConstructiveInternalTypeHostnameFilter + + """Filter by the object’s `domain` field.""" + domain: ConstructiveInternalTypeHostnameFilter + + """Checks for all expressions in this list.""" + and: [DomainFilter!] + + """Checks for any expressions in this list.""" + or: [DomainFilter!] + + """Negates the expression.""" + not: DomainFilter + + """Filter by the object’s `api` relation.""" + api: ApiFilter + + """A related `api` exists.""" + apiExists: Boolean + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `site` relation.""" + site: SiteFilter + + """A related `site` exists.""" + siteExists: Boolean +} + +""" +A filter to be used against ConstructiveInternalTypeHostname fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeHostnameFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeHostname + + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeHostname + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ConstructiveInternalTypeHostname + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeHostname + + """Included in the specified list.""" + in: [ConstructiveInternalTypeHostname!] + + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeHostname!] + + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeHostname + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeHostname + + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeHostname + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeHostname + + """Contains the specified string (case-sensitive).""" + includes: ConstructiveInternalTypeHostname + + """Does not contain the specified string (case-sensitive).""" + notIncludes: ConstructiveInternalTypeHostname + + """Contains the specified string (case-insensitive).""" + includesInsensitive: ConstructiveInternalTypeHostname + + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeHostname + + """Starts with the specified string (case-sensitive).""" + startsWith: ConstructiveInternalTypeHostname + + """Does not start with the specified string (case-sensitive).""" + notStartsWith: ConstructiveInternalTypeHostname + + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeHostname + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeHostname + + """Ends with the specified string (case-sensitive).""" + endsWith: ConstructiveInternalTypeHostname + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: ConstructiveInternalTypeHostname + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: ConstructiveInternalTypeHostname + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeHostname + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: ConstructiveInternalTypeHostname + + """ + 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: ConstructiveInternalTypeHostname + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: ConstructiveInternalTypeHostname + + """ + 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: ConstructiveInternalTypeHostname + + """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 ConstructiveInternalTypeHostname + +""" +A filter to be used against `Site` object types. All fields are combined with a logical ‘and.’ +""" +input SiteFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `title` field.""" + title: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `ogImage` field.""" + ogImage: ConstructiveInternalTypeImageFilter + + """Filter by the object’s `favicon` field.""" + favicon: ConstructiveInternalTypeAttachmentFilter + + """Filter by the object’s `appleTouchIcon` field.""" + appleTouchIcon: ConstructiveInternalTypeImageFilter + + """Filter by the object’s `logo` field.""" + logo: ConstructiveInternalTypeImageFilter + + """Filter by the object’s `dbname` field.""" + dbname: StringFilter + + """Checks for all expressions in this list.""" + and: [SiteFilter!] + + """Checks for any expressions in this list.""" + or: [SiteFilter!] + + """Negates the expression.""" + not: SiteFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `app` relation.""" + app: AppFilter + + """A related `app` exists.""" + appExists: Boolean + + """Filter by the object’s `domains` relation.""" + domains: SiteToManyDomainFilter + + """`domains` exist.""" + domainsExist: Boolean + + """Filter by the object’s `siteMetadata` relation.""" + siteMetadata: SiteToManySiteMetadatumFilter + + """`siteMetadata` exist.""" + siteMetadataExist: Boolean + + """Filter by the object’s `siteModules` relation.""" + siteModules: SiteToManySiteModuleFilter + + """`siteModules` exist.""" + siteModulesExist: Boolean + + """Filter by the object’s `siteThemes` relation.""" + siteThemes: SiteToManySiteThemeFilter + + """`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 +} + +""" +A filter to be used against ConstructiveInternalTypeAttachment fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeAttachmentFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeAttachment + + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeAttachment + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ConstructiveInternalTypeAttachment + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeAttachment + + """Included in the specified list.""" + in: [ConstructiveInternalTypeAttachment!] + + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeAttachment!] + + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeAttachment + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeAttachment + + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeAttachment + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeAttachment + + """Contains the specified string (case-sensitive).""" + includes: ConstructiveInternalTypeAttachment + + """Does not contain the specified string (case-sensitive).""" + notIncludes: ConstructiveInternalTypeAttachment + + """Contains the specified string (case-insensitive).""" + includesInsensitive: ConstructiveInternalTypeAttachment + + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeAttachment + + """Starts with the specified string (case-sensitive).""" + startsWith: ConstructiveInternalTypeAttachment + + """Does not start with the specified string (case-sensitive).""" + notStartsWith: ConstructiveInternalTypeAttachment + + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeAttachment + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeAttachment + + """Ends with the specified string (case-sensitive).""" + endsWith: ConstructiveInternalTypeAttachment + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: ConstructiveInternalTypeAttachment + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: ConstructiveInternalTypeAttachment + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeAttachment + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: ConstructiveInternalTypeAttachment + + """ + 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: ConstructiveInternalTypeAttachment + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: ConstructiveInternalTypeAttachment + + """ + 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: ConstructiveInternalTypeAttachment + + """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 ConstructiveInternalTypeAttachment + +""" +A filter to be used against `App` object types. All fields are combined with a logical ‘and.’ +""" +input AppFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `appImage` field.""" + appImage: ConstructiveInternalTypeImageFilter + + """Filter by the object’s `appStoreLink` field.""" + appStoreLink: ConstructiveInternalTypeUrlFilter + + """Filter by the object’s `appStoreId` field.""" + appStoreId: StringFilter + + """Filter by the object’s `appIdPrefix` field.""" + appIdPrefix: StringFilter + + """Filter by the object’s `playStoreLink` field.""" + playStoreLink: ConstructiveInternalTypeUrlFilter + + """Checks for all expressions in this list.""" + and: [AppFilter!] + + """Checks for any expressions in this list.""" + or: [AppFilter!] + + """Negates the expression.""" + not: AppFilter + + """Filter by the object’s `site` relation.""" + site: SiteFilter + + """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 +} + +""" +A filter to be used against ConstructiveInternalTypeUrl fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeUrlFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeUrl + + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeUrl + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ConstructiveInternalTypeUrl + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeUrl + + """Included in the specified list.""" + in: [ConstructiveInternalTypeUrl!] + + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeUrl!] + + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeUrl + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeUrl + + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeUrl + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeUrl + + """Contains the specified string (case-sensitive).""" + includes: ConstructiveInternalTypeUrl + + """Does not contain the specified string (case-sensitive).""" + notIncludes: ConstructiveInternalTypeUrl + + """Contains the specified string (case-insensitive).""" + includesInsensitive: ConstructiveInternalTypeUrl + + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeUrl + + """Starts with the specified string (case-sensitive).""" + startsWith: ConstructiveInternalTypeUrl + + """Does not start with the specified string (case-sensitive).""" + notStartsWith: ConstructiveInternalTypeUrl + + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeUrl + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeUrl + + """Ends with the specified string (case-sensitive).""" + endsWith: ConstructiveInternalTypeUrl + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: ConstructiveInternalTypeUrl + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: ConstructiveInternalTypeUrl + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeUrl + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: ConstructiveInternalTypeUrl + + """ + 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: ConstructiveInternalTypeUrl + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: ConstructiveInternalTypeUrl + + """ + 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: ConstructiveInternalTypeUrl + + """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 ConstructiveInternalTypeUrl + +""" +A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManyDomainFilter { + """Filters to entities where at least one related entity matches.""" + some: DomainFilter + + """Filters to entities where every related entity matches.""" + every: DomainFilter + + """Filters to entities where no related entity matches.""" + none: DomainFilter +} + +""" +A filter to be used against many `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManySiteMetadatumFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteMetadatumFilter + + """Filters to entities where every related entity matches.""" + every: SiteMetadatumFilter + + """Filters to entities where no related entity matches.""" + none: SiteMetadatumFilter +} + +""" +A filter to be used against `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ +""" +input SiteMetadatumFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `title` field.""" + title: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `ogImage` field.""" + ogImage: ConstructiveInternalTypeImageFilter + + """Checks for all expressions in this list.""" + and: [SiteMetadatumFilter!] + + """Checks for any expressions in this list.""" + or: [SiteMetadatumFilter!] + + """Negates the expression.""" + not: SiteMetadatumFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `SiteModule` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManySiteModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteModuleFilter + + """Filters to entities where every related entity matches.""" + every: SiteModuleFilter + + """Filters to entities where no related entity matches.""" + none: SiteModuleFilter +} + +""" +A filter to be used against `SiteModule` object types. All fields are combined with a logical ‘and.’ +""" +input SiteModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Checks for all expressions in this list.""" + and: [SiteModuleFilter!] + + """Checks for any expressions in this list.""" + or: [SiteModuleFilter!] + + """Negates the expression.""" + not: SiteModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `SiteTheme` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManySiteThemeFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteThemeFilter + + """Filters to entities where every related entity matches.""" + every: SiteThemeFilter + + """Filters to entities where no related entity matches.""" + none: SiteThemeFilter +} + +""" +A filter to be used against `SiteTheme` object types. All fields are combined with a logical ‘and.’ +""" +input SiteThemeFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `theme` field.""" + theme: JSONFilter + + """Checks for all expressions in this list.""" + and: [SiteThemeFilter!] + + """Checks for any expressions in this list.""" + or: [SiteThemeFilter!] + + """Negates the expression.""" + not: SiteThemeFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `site` relation.""" + site: SiteFilter +} + +""" +A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyTableTemplateModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: TableTemplateModuleFilter + + """Filters to entities where every related entity matches.""" + every: TableTemplateModuleFilter + + """Filters to entities where no related entity matches.""" + none: TableTemplateModuleFilter +} + +""" +A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTableFilter { + """Filters to entities where at least one related entity matches.""" + some: TableFilter + + """Filters to entities where every related entity matches.""" + every: TableFilter + + """Filters to entities where no related entity matches.""" + none: TableFilter +} + +""" +A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyCheckConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: CheckConstraintFilter + + """Filters to entities where every related entity matches.""" + every: CheckConstraintFilter + + """Filters to entities where no related entity matches.""" + none: CheckConstraintFilter +} + +""" +A filter to be used against many `Field` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyFieldFilter { + """Filters to entities where at least one related entity matches.""" + some: FieldFilter + + """Filters to entities where every related entity matches.""" + every: FieldFilter + + """Filters to entities where no related entity matches.""" + none: FieldFilter +} + +""" +A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyForeignKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: ForeignKeyConstraintFilter + + """Filters to entities where every related entity matches.""" + every: ForeignKeyConstraintFilter + + """Filters to entities where no related entity matches.""" + none: ForeignKeyConstraintFilter +} + +""" +A filter to be used against many `FullTextSearch` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyFullTextSearchFilter { + """Filters to entities where at least one related entity matches.""" + some: FullTextSearchFilter + + """Filters to entities where every related entity matches.""" + every: FullTextSearchFilter + + """Filters to entities where no related entity matches.""" + none: FullTextSearchFilter +} + +""" +A filter to be used against many `Index` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyIndexFilter { + """Filters to entities where at least one related entity matches.""" + some: IndexFilter + + """Filters to entities where every related entity matches.""" + every: IndexFilter + + """Filters to entities where no related entity matches.""" + none: IndexFilter +} + +""" +A filter to be used against many `Policy` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPolicyFilter { + """Filters to entities where at least one related entity matches.""" + some: PolicyFilter + + """Filters to entities where every related entity matches.""" + every: PolicyFilter + + """Filters to entities where no related entity matches.""" + none: PolicyFilter +} + +""" +A filter to be used against many `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPrimaryKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: PrimaryKeyConstraintFilter + + """Filters to entities where every related entity matches.""" + every: PrimaryKeyConstraintFilter + + """Filters to entities where no related entity matches.""" + none: PrimaryKeyConstraintFilter +} + +""" +A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySchemaGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: SchemaGrantFilter + + """Filters to entities where every related entity matches.""" + every: SchemaGrantFilter + + """Filters to entities where no related entity matches.""" + none: SchemaGrantFilter +} + +""" +A filter to be used against many `TableGrant` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTableGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: TableGrantFilter + + """Filters to entities where every related entity matches.""" + every: TableGrantFilter + + """Filters to entities where no related entity matches.""" + none: TableGrantFilter +} + +""" +A filter to be used against many `TriggerFunction` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTriggerFunctionFilter { + """Filters to entities where at least one related entity matches.""" + some: TriggerFunctionFilter + + """Filters to entities where every related entity matches.""" + every: TriggerFunctionFilter + + """Filters to entities where no related entity matches.""" + none: TriggerFunctionFilter +} + +""" +A filter to be used against `TriggerFunction` object types. All fields are combined with a logical ‘and.’ +""" +input TriggerFunctionFilter { + """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 `code` field.""" + code: StringFilter + + """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: [TriggerFunctionFilter!] + + """Checks for any expressions in this list.""" + or: [TriggerFunctionFilter!] + + """Negates the expression.""" + not: 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 +} + +""" +A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTriggerFilter { + """Filters to entities where at least one related entity matches.""" + some: TriggerFilter + + """Filters to entities where every related entity matches.""" + every: TriggerFilter + + """Filters to entities where no related entity matches.""" + none: TriggerFilter +} + +""" +A filter to be used against many `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyUniqueConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: UniqueConstraintFilter + + """Filters to entities where every related entity matches.""" + every: UniqueConstraintFilter + + """Filters to entities where no related entity matches.""" + none: UniqueConstraintFilter +} + +""" +A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyViewFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewFilter + + """Filters to entities where every related entity matches.""" + every: ViewFilter + + """Filters to entities where no related entity matches.""" + none: ViewFilter +} + +""" +A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyViewGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewGrantFilter + + """Filters to entities where every related entity matches.""" + every: ViewGrantFilter + + """Filters to entities where no related entity matches.""" + none: ViewGrantFilter +} + +""" +A filter to be used against many `ViewRule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyViewRuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewRuleFilter + + """Filters to entities where every related entity matches.""" + every: ViewRuleFilter + + """Filters to entities where no related entity matches.""" + none: ViewRuleFilter +} + +""" +A filter to be used against many `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDefaultPrivilegeFilter { + """Filters to entities where at least one related entity matches.""" + some: DefaultPrivilegeFilter + + """Filters to entities where every related entity matches.""" + every: DefaultPrivilegeFilter + + """Filters to entities where no related entity matches.""" + none: DefaultPrivilegeFilter +} + +""" +A filter to be used against many `Api` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyApiFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiFilter + + """Filters to entities where every related entity matches.""" + every: ApiFilter + + """Filters to entities where no related entity matches.""" + none: ApiFilter +} + +""" +A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyApiModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiModuleFilter + + """Filters to entities where every related entity matches.""" + every: ApiModuleFilter + + """Filters to entities where no related entity matches.""" + none: ApiModuleFilter +} + +""" +A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyApiSchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiSchemaFilter + + """Filters to entities where every related entity matches.""" + every: ApiSchemaFilter + + """Filters to entities where no related entity matches.""" + none: ApiSchemaFilter +} + +""" +A filter to be used against many `Site` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteFilter + + """Filters to entities where every related entity matches.""" + every: SiteFilter + + """Filters to entities where no related entity matches.""" + none: SiteFilter +} + +""" +A filter to be used against many `App` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyAppFilter { + """Filters to entities where at least one related entity matches.""" + some: AppFilter + + """Filters to entities where every related entity matches.""" + every: AppFilter + + """Filters to entities where no related entity matches.""" + none: AppFilter +} + +""" +A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDomainFilter { + """Filters to entities where at least one related entity matches.""" + some: DomainFilter + + """Filters to entities where every related entity matches.""" + every: DomainFilter + + """Filters to entities where no related entity matches.""" + none: DomainFilter +} + +""" +A filter to be used against many `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteMetadatumFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteMetadatumFilter + + """Filters to entities where every related entity matches.""" + every: SiteMetadatumFilter + + """Filters to entities where no related entity matches.""" + none: SiteMetadatumFilter +} + +""" +A filter to be used against many `SiteModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteModuleFilter + + """Filters to entities where every related entity matches.""" + every: SiteModuleFilter + + """Filters to entities where no related entity matches.""" + none: SiteModuleFilter +} + +""" +A filter to be used against many `SiteTheme` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteThemeFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteThemeFilter + + """Filters to entities where every related entity matches.""" + every: SiteThemeFilter + + """Filters to entities where no related entity matches.""" + none: SiteThemeFilter +} + +""" +A filter to be used against many `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyConnectedAccountsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ConnectedAccountsModuleFilter + + """Filters to entities where every related entity matches.""" + every: ConnectedAccountsModuleFilter + + """Filters to entities where no related entity matches.""" + none: ConnectedAccountsModuleFilter +} + +""" +A filter to be used against `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ +""" +input ConnectedAccountsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [ConnectedAccountsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [ConnectedAccountsModuleFilter!] + + """Negates the expression.""" + not: ConnectedAccountsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyCryptoAddressesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: CryptoAddressesModuleFilter + + """Filters to entities where every related entity matches.""" + every: CryptoAddressesModuleFilter + + """Filters to entities where no related entity matches.""" + none: CryptoAddressesModuleFilter +} + +""" +A filter to be used against `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ +""" +input CryptoAddressesModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `cryptoNetwork` field.""" + cryptoNetwork: StringFilter + + """Checks for all expressions in this list.""" + and: [CryptoAddressesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [CryptoAddressesModuleFilter!] + + """Negates the expression.""" + not: CryptoAddressesModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyCryptoAuthModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: CryptoAuthModuleFilter + + """Filters to entities where every related entity matches.""" + every: CryptoAuthModuleFilter + + """Filters to entities where no related entity matches.""" + none: CryptoAuthModuleFilter +} + +""" +A filter to be used against `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input CryptoAuthModuleFilter { + """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 `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `secretsTableId` field.""" + secretsTableId: UUIDFilter + + """Filter by the object’s `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `addressesTableId` field.""" + addressesTableId: UUIDFilter + + """Filter by the object’s `userField` field.""" + userField: StringFilter + + """Filter by the object’s `cryptoNetwork` field.""" + cryptoNetwork: StringFilter + + """Filter by the object’s `signInRequestChallenge` field.""" + signInRequestChallenge: StringFilter + + """Filter by the object’s `signInRecordFailure` field.""" + signInRecordFailure: StringFilter + + """Filter by the object’s `signUpWithKey` field.""" + signUpWithKey: StringFilter + + """Filter by the object’s `signInWithChallenge` field.""" + signInWithChallenge: StringFilter + + """Checks for all expressions in this list.""" + and: [CryptoAuthModuleFilter!] + + """Checks for any expressions in this list.""" + or: [CryptoAuthModuleFilter!] + + """Negates the expression.""" + not: CryptoAuthModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `secretsTable` relation.""" + secretsTable: TableFilter + + """Filter by the object’s `sessionCredentialsTable` relation.""" + sessionCredentialsTable: TableFilter + + """Filter by the object’s `sessionsTable` relation.""" + sessionsTable: TableFilter + + """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 +} + +""" +A filter to be used against many `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDefaultIdsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: DefaultIdsModuleFilter + + """Filters to entities where every related entity matches.""" + every: DefaultIdsModuleFilter + + """Filters to entities where no related entity matches.""" + none: DefaultIdsModuleFilter +} + +""" +A filter to be used against `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DefaultIdsModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [DefaultIdsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [DefaultIdsModuleFilter!] + + """Negates the expression.""" + not: DefaultIdsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter +} + +""" +A filter to be used against many `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDenormalizedTableFieldFilter { + """Filters to entities where at least one related entity matches.""" + some: DenormalizedTableFieldFilter + + """Filters to entities where every related entity matches.""" + every: DenormalizedTableFieldFilter + + """Filters to entities where no related entity matches.""" + none: DenormalizedTableFieldFilter +} + +""" +A filter to be used against `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ +""" +input DenormalizedTableFieldFilter { + """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 `fieldId` field.""" + fieldId: UUIDFilter + + """Filter by the object’s `setIds` field.""" + setIds: UUIDListFilter + + """Filter by the object’s `refTableId` field.""" + refTableId: UUIDFilter + + """Filter by the object’s `refFieldId` field.""" + refFieldId: UUIDFilter + + """Filter by the object’s `refIds` field.""" + refIds: UUIDListFilter + + """Filter by the object’s `useUpdates` field.""" + useUpdates: BooleanFilter + + """Filter by the object’s `updateDefaults` field.""" + updateDefaults: BooleanFilter + + """Filter by the object’s `funcName` field.""" + funcName: StringFilter + + """Filter by the object’s `funcOrder` field.""" + funcOrder: IntFilter + + """Checks for all expressions in this list.""" + and: [DenormalizedTableFieldFilter!] + + """Checks for any expressions in this list.""" + or: [DenormalizedTableFieldFilter!] + + """Negates the expression.""" + not: DenormalizedTableFieldFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `field` relation.""" + field: FieldFilter + + """Filter by the object’s `refField` relation.""" + refField: FieldFilter + + """Filter by the object’s `refTable` relation.""" + refTable: TableFilter + + """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 +} + +""" +A filter to be used against many `EmailsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyEmailsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: EmailsModuleFilter + + """Filters to entities where every related entity matches.""" + every: EmailsModuleFilter + + """Filters to entities where no related entity matches.""" + none: EmailsModuleFilter +} + +""" +A filter to be used against `EmailsModule` object types. All fields are combined with a logical ‘and.’ +""" +input EmailsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [EmailsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [EmailsModuleFilter!] + + """Negates the expression.""" + not: EmailsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyEncryptedSecretsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: EncryptedSecretsModuleFilter + + """Filters to entities where every related entity matches.""" + every: EncryptedSecretsModuleFilter + + """Filters to entities where no related entity matches.""" + none: EncryptedSecretsModuleFilter +} + +""" +A filter to be used against `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input EncryptedSecretsModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [EncryptedSecretsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [EncryptedSecretsModuleFilter!] + + """Negates the expression.""" + not: EncryptedSecretsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `FieldModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyFieldModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: FieldModuleFilter + + """Filters to entities where every related entity matches.""" + every: FieldModuleFilter + + """Filters to entities where no related entity matches.""" + none: FieldModuleFilter +} + +""" +A filter to be used against `FieldModule` object types. All fields are combined with a logical ‘and.’ +""" +input FieldModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `fieldId` field.""" + fieldId: UUIDFilter + + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter + + """Filter by the object’s `data` field.""" + data: JSONFilter + + """Filter by the object’s `triggers` field.""" + triggers: StringListFilter + + """Filter by the object’s `functions` field.""" + functions: StringListFilter + + """Checks for all expressions in this list.""" + and: [FieldModuleFilter!] + + """Checks for any expressions in this list.""" + or: [FieldModuleFilter!] + + """Negates the expression.""" + not: FieldModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `field` relation.""" + field: FieldFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `InvitesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyInvitesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: InvitesModuleFilter + + """Filters to entities where every related entity matches.""" + every: InvitesModuleFilter + + """Filters to entities where no related entity matches.""" + none: InvitesModuleFilter +} + +""" +A filter to be used against `InvitesModule` object types. All fields are combined with a logical ‘and.’ +""" +input InvitesModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `emailsTableId` field.""" + emailsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `invitesTableId` field.""" + invitesTableId: UUIDFilter + + """Filter by the object’s `claimedInvitesTableId` field.""" + claimedInvitesTableId: UUIDFilter + + """Filter by the object’s `invitesTableName` field.""" + invitesTableName: StringFilter + + """Filter by the object’s `claimedInvitesTableName` field.""" + claimedInvitesTableName: StringFilter + + """Filter by the object’s `submitInviteCodeFunction` field.""" + submitInviteCodeFunction: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [InvitesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [InvitesModuleFilter!] + + """Negates the expression.""" + not: InvitesModuleFilter + + """Filter by the object’s `claimedInvitesTable` relation.""" + claimedInvitesTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `emailsTable` relation.""" + emailsTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `invitesTable` relation.""" + invitesTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `LevelsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyLevelsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: LevelsModuleFilter + + """Filters to entities where every related entity matches.""" + every: LevelsModuleFilter + + """Filters to entities where no related entity matches.""" + none: LevelsModuleFilter +} + +""" +A filter to be used against `LevelsModule` object types. All fields are combined with a logical ‘and.’ +""" +input LevelsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `stepsTableId` field.""" + stepsTableId: UUIDFilter + + """Filter by the object’s `stepsTableName` field.""" + stepsTableName: StringFilter + + """Filter by the object’s `achievementsTableId` field.""" + achievementsTableId: UUIDFilter + + """Filter by the object’s `achievementsTableName` field.""" + achievementsTableName: StringFilter + + """Filter by the object’s `levelsTableId` field.""" + levelsTableId: UUIDFilter + + """Filter by the object’s `levelsTableName` field.""" + levelsTableName: StringFilter + + """Filter by the object’s `levelRequirementsTableId` field.""" + levelRequirementsTableId: UUIDFilter + + """Filter by the object’s `levelRequirementsTableName` field.""" + levelRequirementsTableName: StringFilter + + """Filter by the object’s `completedStep` field.""" + completedStep: StringFilter + + """Filter by the object’s `incompletedStep` field.""" + incompletedStep: StringFilter + + """Filter by the object’s `tgAchievement` field.""" + tgAchievement: StringFilter + + """Filter by the object’s `tgAchievementToggle` field.""" + tgAchievementToggle: StringFilter + + """Filter by the object’s `tgAchievementToggleBoolean` field.""" + tgAchievementToggleBoolean: StringFilter + + """Filter by the object’s `tgAchievementBoolean` field.""" + tgAchievementBoolean: StringFilter + + """Filter by the object’s `upsertAchievement` field.""" + upsertAchievement: StringFilter + + """Filter by the object’s `tgUpdateAchievements` field.""" + tgUpdateAchievements: StringFilter + + """Filter by the object’s `stepsRequired` field.""" + stepsRequired: StringFilter + + """Filter by the object’s `levelAchieved` field.""" + levelAchieved: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [LevelsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [LevelsModuleFilter!] + + """Negates the expression.""" + not: LevelsModuleFilter + + """Filter by the object’s `achievementsTable` relation.""" + achievementsTable: TableFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `levelRequirementsTable` relation.""" + levelRequirementsTable: TableFilter + + """Filter by the object’s `levelsTable` relation.""" + levelsTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `LimitsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyLimitsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: LimitsModuleFilter + + """Filters to entities where every related entity matches.""" + every: LimitsModuleFilter + + """Filters to entities where no related entity matches.""" + none: LimitsModuleFilter +} + +""" +A filter to be used against `LimitsModule` object types. All fields are combined with a logical ‘and.’ +""" +input LimitsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `defaultTableId` field.""" + defaultTableId: UUIDFilter + + """Filter by the object’s `defaultTableName` field.""" + defaultTableName: StringFilter + + """Filter by the object’s `limitIncrementFunction` field.""" + limitIncrementFunction: StringFilter + + """Filter by the object’s `limitDecrementFunction` field.""" + limitDecrementFunction: StringFilter + + """Filter by the object’s `limitIncrementTrigger` field.""" + limitIncrementTrigger: StringFilter + + """Filter by the object’s `limitDecrementTrigger` field.""" + limitDecrementTrigger: StringFilter + + """Filter by the object’s `limitUpdateTrigger` field.""" + limitUpdateTrigger: StringFilter + + """Filter by the object’s `limitCheckFunction` field.""" + limitCheckFunction: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [LimitsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [LimitsModuleFilter!] + + """Negates the expression.""" + not: LimitsModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `defaultTable` relation.""" + defaultTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyMembershipTypesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: MembershipTypesModuleFilter + + """Filters to entities where every related entity matches.""" + every: MembershipTypesModuleFilter + + """Filters to entities where no related entity matches.""" + none: MembershipTypesModuleFilter +} + +""" +A filter to be used against `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ +""" +input MembershipTypesModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [MembershipTypesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [MembershipTypesModuleFilter!] + + """Negates the expression.""" + not: MembershipTypesModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `MembershipsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyMembershipsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: MembershipsModuleFilter + + """Filters to entities where every related entity matches.""" + every: MembershipsModuleFilter + + """Filters to entities where no related entity matches.""" + none: MembershipsModuleFilter +} + +""" +A filter to be used against `MembershipsModule` object types. All fields are combined with a logical ‘and.’ +""" +input MembershipsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `membershipsTableId` field.""" + membershipsTableId: UUIDFilter + + """Filter by the object’s `membershipsTableName` field.""" + membershipsTableName: StringFilter + + """Filter by the object’s `membersTableId` field.""" + membersTableId: UUIDFilter + + """Filter by the object’s `membersTableName` field.""" + membersTableName: StringFilter + + """Filter by the object’s `membershipDefaultsTableId` field.""" + membershipDefaultsTableId: UUIDFilter + + """Filter by the object’s `membershipDefaultsTableName` field.""" + membershipDefaultsTableName: StringFilter + + """Filter by the object’s `grantsTableId` field.""" + grantsTableId: UUIDFilter + + """Filter by the object’s `grantsTableName` field.""" + grantsTableName: StringFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Filter by the object’s `limitsTableId` field.""" + limitsTableId: UUIDFilter + + """Filter by the object’s `defaultLimitsTableId` field.""" + defaultLimitsTableId: UUIDFilter + + """Filter by the object’s `permissionsTableId` field.""" + permissionsTableId: UUIDFilter + + """Filter by the object’s `defaultPermissionsTableId` field.""" + defaultPermissionsTableId: UUIDFilter + + """Filter by the object’s `sprtTableId` field.""" + sprtTableId: UUIDFilter + + """Filter by the object’s `adminGrantsTableId` field.""" + adminGrantsTableId: UUIDFilter + + """Filter by the object’s `adminGrantsTableName` field.""" + adminGrantsTableName: StringFilter + + """Filter by the object’s `ownerGrantsTableId` field.""" + ownerGrantsTableId: UUIDFilter + + """Filter by the object’s `ownerGrantsTableName` field.""" + ownerGrantsTableName: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `entityTableOwnerId` field.""" + entityTableOwnerId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `actorMaskCheck` field.""" + actorMaskCheck: StringFilter + + """Filter by the object’s `actorPermCheck` field.""" + actorPermCheck: StringFilter + + """Filter by the object’s `entityIdsByMask` field.""" + entityIdsByMask: StringFilter + + """Filter by the object’s `entityIdsByPerm` field.""" + entityIdsByPerm: StringFilter + + """Filter by the object’s `entityIdsFunction` field.""" + entityIdsFunction: StringFilter + + """Checks for all expressions in this list.""" + and: [MembershipsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [MembershipsModuleFilter!] + + """Negates the expression.""" + not: MembershipsModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `defaultLimitsTable` relation.""" + defaultLimitsTable: TableFilter + + """Filter by the object’s `defaultPermissionsTable` relation.""" + defaultPermissionsTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `entityTableOwner` relation.""" + entityTableOwner: FieldFilter + + """A related `entityTableOwner` exists.""" + entityTableOwnerExists: Boolean + + """Filter by the object’s `grantsTable` relation.""" + grantsTable: TableFilter + + """Filter by the object’s `limitsTable` relation.""" + limitsTable: TableFilter + + """Filter by the object’s `membersTable` relation.""" + membersTable: TableFilter + + """Filter by the object’s `membershipDefaultsTable` relation.""" + membershipDefaultsTable: TableFilter + + """Filter by the object’s `membershipsTable` relation.""" + membershipsTable: TableFilter + + """Filter by the object’s `permissionsTable` relation.""" + permissionsTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `PermissionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPermissionsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: PermissionsModuleFilter + + """Filters to entities where every related entity matches.""" + every: PermissionsModuleFilter + + """Filters to entities where no related entity matches.""" + none: PermissionsModuleFilter +} + +""" +A filter to be used against `PermissionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input PermissionsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `defaultTableId` field.""" + defaultTableId: UUIDFilter + + """Filter by the object’s `defaultTableName` field.""" + defaultTableName: StringFilter + + """Filter by the object’s `bitlen` field.""" + bitlen: IntFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `getPaddedMask` field.""" + getPaddedMask: StringFilter + + """Filter by the object’s `getMask` field.""" + getMask: StringFilter + + """Filter by the object’s `getByMask` field.""" + getByMask: StringFilter + + """Filter by the object’s `getMaskByName` field.""" + getMaskByName: StringFilter + + """Checks for all expressions in this list.""" + and: [PermissionsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [PermissionsModuleFilter!] + + """Negates the expression.""" + not: PermissionsModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `defaultTable` relation.""" + defaultTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPhoneNumbersModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: PhoneNumbersModuleFilter + + """Filters to entities where every related entity matches.""" + every: PhoneNumbersModuleFilter + + """Filters to entities where no related entity matches.""" + none: PhoneNumbersModuleFilter +} + +""" +A filter to be used against `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ +""" +input PhoneNumbersModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [PhoneNumbersModuleFilter!] + + """Checks for any expressions in this list.""" + or: [PhoneNumbersModuleFilter!] + + """Negates the expression.""" + not: PhoneNumbersModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `ProfilesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyProfilesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ProfilesModuleFilter + + """Filters to entities where every related entity matches.""" + every: ProfilesModuleFilter + + """Filters to entities where no related entity matches.""" + none: ProfilesModuleFilter +} + +""" +A filter to be used against `ProfilesModule` object types. All fields are combined with a logical ‘and.’ +""" +input ProfilesModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `profilePermissionsTableId` field.""" + profilePermissionsTableId: UUIDFilter + + """Filter by the object’s `profilePermissionsTableName` field.""" + profilePermissionsTableName: StringFilter + + """Filter by the object’s `profileGrantsTableId` field.""" + profileGrantsTableId: UUIDFilter + + """Filter by the object’s `profileGrantsTableName` field.""" + profileGrantsTableName: StringFilter + + """Filter by the object’s `profileDefinitionGrantsTableId` field.""" + profileDefinitionGrantsTableId: UUIDFilter + + """Filter by the object’s `profileDefinitionGrantsTableName` field.""" + profileDefinitionGrantsTableName: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Filter by the object’s `permissionsTableId` field.""" + permissionsTableId: UUIDFilter + + """Filter by the object’s `membershipsTableId` field.""" + membershipsTableId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Checks for all expressions in this list.""" + and: [ProfilesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [ProfilesModuleFilter!] + + """Negates the expression.""" + not: ProfilesModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `membershipsTable` relation.""" + membershipsTable: TableFilter + + """Filter by the object’s `permissionsTable` relation.""" + permissionsTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `profileDefinitionGrantsTable` relation.""" + profileDefinitionGrantsTable: TableFilter + + """Filter by the object’s `profileGrantsTable` relation.""" + profileGrantsTable: TableFilter + + """Filter by the object’s `profilePermissionsTable` relation.""" + profilePermissionsTable: TableFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ +""" +input RlsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `authenticate` field.""" + authenticate: StringFilter + + """Filter by the object’s `authenticateStrict` field.""" + authenticateStrict: StringFilter + + """Filter by the object’s `currentRole` field.""" + currentRole: StringFilter + + """Filter by the object’s `currentRoleId` field.""" + currentRoleId: StringFilter + + """Checks for all expressions in this list.""" + and: [RlsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [RlsModuleFilter!] + + """Negates the expression.""" + not: RlsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `sessionCredentialsTable` relation.""" + sessionCredentialsTable: TableFilter + + """Filter by the object’s `sessionsTable` relation.""" + sessionsTable: TableFilter + + """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 +} + +""" +A filter to be used against many `SecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySecretsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SecretsModuleFilter + + """Filters to entities where every related entity matches.""" + every: SecretsModuleFilter + + """Filters to entities where no related entity matches.""" + none: SecretsModuleFilter +} + +""" +A filter to be used against `SecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input SecretsModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [SecretsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [SecretsModuleFilter!] + + """Negates the expression.""" + not: SecretsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `SessionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySessionsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SessionsModuleFilter + + """Filters to entities where every related entity matches.""" + every: SessionsModuleFilter + + """Filters to entities where no related entity matches.""" + none: SessionsModuleFilter +} + +""" +A filter to be used against `SessionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input SessionsModuleFilter { + """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 `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `authSettingsTableId` field.""" + authSettingsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `sessionsDefaultExpiration` field.""" + sessionsDefaultExpiration: IntervalFilter + + """Filter by the object’s `sessionsTable` field.""" + sessionsTable: StringFilter + + """Filter by the object’s `sessionCredentialsTable` field.""" + sessionCredentialsTable: StringFilter + + """Filter by the object’s `authSettingsTable` field.""" + authSettingsTable: StringFilter + + """Checks for all expressions in this list.""" + and: [SessionsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [SessionsModuleFilter!] + + """Negates the expression.""" + not: SessionsModuleFilter + + """ + Filter by the object’s `authSettingsTableByAuthSettingsTableId` relation. + """ + authSettingsTableByAuthSettingsTableId: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """ + Filter by the object’s `sessionCredentialsTableBySessionCredentialsTableId` relation. + """ + sessionCredentialsTableBySessionCredentialsTableId: TableFilter + + """Filter by the object’s `sessionsTableBySessionsTableId` relation.""" + sessionsTableBySessionsTableId: TableFilter + + """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 +} + +""" +A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ +""" +input IntervalFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: IntervalInput + + """Not equal to the specified value.""" + notEqualTo: IntervalInput + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: IntervalInput + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: IntervalInput + + """Included in the specified list.""" + in: [IntervalInput!] + + """Not included in the specified list.""" + notIn: [IntervalInput!] + + """Less than the specified value.""" + lessThan: IntervalInput + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: IntervalInput + + """Greater than the specified value.""" + greaterThan: IntervalInput + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: IntervalInput +} + +""" +An interval of time that has passed where the smallest distinct unit is a second. +""" +input IntervalInput { + """ + A quantity of seconds. This is the only non-integer field, as all the other + fields will dump their overflow into a smaller unit of time. Intervals don’t + have a smaller unit than seconds. + """ + seconds: Float + + """A quantity of minutes.""" + minutes: Int + + """A quantity of hours.""" + hours: Int + + """A quantity of days.""" + days: Int + + """A quantity of months.""" + months: Int + + """A quantity of years.""" + years: Int +} + +""" +A filter to be used against many `UserAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyUserAuthModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: UserAuthModuleFilter + + """Filters to entities where every related entity matches.""" + every: UserAuthModuleFilter + + """Filters to entities where no related entity matches.""" + none: UserAuthModuleFilter +} + +""" +A filter to be used against `UserAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input UserAuthModuleFilter { + """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 `emailsTableId` field.""" + emailsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `secretsTableId` field.""" + secretsTableId: UUIDFilter + + """Filter by the object’s `encryptedTableId` field.""" + encryptedTableId: UUIDFilter + + """Filter by the object’s `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `auditsTableId` field.""" + auditsTableId: UUIDFilter + + """Filter by the object’s `auditsTableName` field.""" + auditsTableName: StringFilter + + """Filter by the object’s `signInFunction` field.""" + signInFunction: StringFilter + + """Filter by the object’s `signUpFunction` field.""" + signUpFunction: StringFilter + + """Filter by the object’s `signOutFunction` field.""" + signOutFunction: StringFilter + + """Filter by the object’s `setPasswordFunction` field.""" + setPasswordFunction: StringFilter + + """Filter by the object’s `resetPasswordFunction` field.""" + resetPasswordFunction: StringFilter + + """Filter by the object’s `forgotPasswordFunction` field.""" + forgotPasswordFunction: StringFilter + + """Filter by the object’s `sendVerificationEmailFunction` field.""" + sendVerificationEmailFunction: StringFilter + + """Filter by the object’s `verifyEmailFunction` field.""" + verifyEmailFunction: StringFilter + + """Filter by the object’s `verifyPasswordFunction` field.""" + verifyPasswordFunction: StringFilter + + """Filter by the object’s `checkPasswordFunction` field.""" + checkPasswordFunction: StringFilter + + """Filter by the object’s `sendAccountDeletionEmailFunction` field.""" + sendAccountDeletionEmailFunction: StringFilter + + """Filter by the object’s `deleteAccountFunction` field.""" + deleteAccountFunction: StringFilter + + """Filter by the object’s `signInOneTimeTokenFunction` field.""" + signInOneTimeTokenFunction: StringFilter + + """Filter by the object’s `oneTimeTokenFunction` field.""" + oneTimeTokenFunction: StringFilter + + """Filter by the object’s `extendTokenExpires` field.""" + extendTokenExpires: StringFilter + + """Checks for all expressions in this list.""" + and: [UserAuthModuleFilter!] + + """Checks for any expressions in this list.""" + or: [UserAuthModuleFilter!] + + """Negates the expression.""" + not: UserAuthModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `emailsTable` relation.""" + emailsTable: TableFilter + + """Filter by the object’s `encryptedTable` relation.""" + encryptedTable: TableFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `secretsTable` relation.""" + secretsTable: TableFilter + + """Filter by the object’s `sessionCredentialsTable` relation.""" + sessionCredentialsTable: TableFilter + + """Filter by the object’s `sessionsTable` relation.""" + sessionsTable: TableFilter + + """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 +} + +""" +A filter to be used against many `UsersModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyUsersModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: UsersModuleFilter + + """Filters to entities where every related entity matches.""" + every: UsersModuleFilter + + """Filters to entities where no related entity matches.""" + none: UsersModuleFilter +} + +""" +A filter to be used against `UsersModule` object types. All fields are combined with a logical ‘and.’ +""" +input UsersModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `typeTableId` field.""" + typeTableId: UUIDFilter + + """Filter by the object’s `typeTableName` field.""" + typeTableName: StringFilter + + """Checks for all expressions in this list.""" + and: [UsersModuleFilter!] + + """Checks for any expressions in this list.""" + or: [UsersModuleFilter!] + + """Negates the expression.""" + not: UsersModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `table` relation.""" + table: TableFilter + + """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 +} + +""" +A filter to be used against `HierarchyModule` object types. All fields are combined with a logical ‘and.’ +""" +input HierarchyModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `chartEdgesTableId` field.""" + chartEdgesTableId: UUIDFilter + + """Filter by the object’s `chartEdgesTableName` field.""" + chartEdgesTableName: StringFilter + + """Filter by the object’s `hierarchySprtTableId` field.""" + hierarchySprtTableId: UUIDFilter + + """Filter by the object’s `hierarchySprtTableName` field.""" + hierarchySprtTableName: StringFilter + + """Filter by the object’s `chartEdgeGrantsTableId` field.""" + chartEdgeGrantsTableId: UUIDFilter + + """Filter by the object’s `chartEdgeGrantsTableName` field.""" + chartEdgeGrantsTableName: StringFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `privateSchemaName` field.""" + privateSchemaName: StringFilter + + """Filter by the object’s `sprtTableName` field.""" + sprtTableName: StringFilter + + """Filter by the object’s `rebuildHierarchyFunction` field.""" + rebuildHierarchyFunction: StringFilter + + """Filter by the object’s `getSubordinatesFunction` field.""" + getSubordinatesFunction: StringFilter + + """Filter by the object’s `getManagersFunction` field.""" + getManagersFunction: StringFilter + + """Filter by the object’s `isManagerOfFunction` field.""" + isManagerOfFunction: StringFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [HierarchyModuleFilter!] + + """Checks for any expressions in this list.""" + or: [HierarchyModuleFilter!] + + """Negates the expression.""" + not: HierarchyModuleFilter + + """Filter by the object’s `chartEdgeGrantsTable` relation.""" + chartEdgeGrantsTable: TableFilter + + """Filter by the object’s `chartEdgesTable` relation.""" + chartEdgesTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """Filter by the object’s `hierarchySprtTable` relation.""" + hierarchySprtTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTableTemplateModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: TableTemplateModuleFilter + + """Filters to entities where every related entity matches.""" + every: TableTemplateModuleFilter + + """Filters to entities where no related entity matches.""" + none: TableTemplateModuleFilter +} + +""" +A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySecureTableProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: SecureTableProvisionFilter + + """Filters to entities where every related entity matches.""" + every: SecureTableProvisionFilter + + """Filters to entities where no related entity matches.""" + none: SecureTableProvisionFilter +} + +""" +A filter to be used against many `RelationProvision` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyRelationProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: RelationProvisionFilter + + """Filters to entities where every related entity matches.""" + every: RelationProvisionFilter + + """Filters to entities where no related entity matches.""" + none: RelationProvisionFilter +} + +""" +A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDatabaseProvisionModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: DatabaseProvisionModuleFilter + + """Filters to entities where every related entity matches.""" + every: DatabaseProvisionModuleFilter + + """Filters to entities where no related entity matches.""" + none: DatabaseProvisionModuleFilter +} + +""" +A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseProvisionModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseName` field.""" + databaseName: StringFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `subdomain` field.""" + subdomain: StringFilter + + """Filter by the object’s `domain` field.""" + domain: StringFilter + + """Filter by the object’s `modules` field.""" + modules: StringListFilter + + """Filter by the object’s `options` field.""" + options: JSONFilter + + """Filter by the object’s `bootstrapUser` field.""" + bootstrapUser: BooleanFilter + + """Filter by the object’s `status` field.""" + status: StringFilter + + """Filter by the object’s `errorMessage` field.""" + errorMessage: StringFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """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: [DatabaseProvisionModuleFilter!] + + """Checks for any expressions in this list.""" + or: [DatabaseProvisionModuleFilter!] + + """Negates the expression.""" + not: DatabaseProvisionModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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`.""" +enum CheckConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type FieldConnection { + """A list of `Field` objects.""" + nodes: [Field]! + + """ + A list of edges which contains the `Field` and cursor to aid in pagination. + """ + edges: [FieldEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Field` you could get from the connection.""" + totalCount: Int! +} + +type Field { + 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 + + """Reads a single `Database` that is related to this `Field`.""" + database: Database + + """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.""" +type FieldEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Field` at the end of the edge.""" + node: Field +} + +"""Methods to use when ordering `Field`.""" +enum FieldOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type ForeignKeyConstraintConnection { + """A list of `ForeignKeyConstraint` objects.""" + nodes: [ForeignKeyConstraint]! + + """ + A list of edges which contains the `ForeignKeyConstraint` and cursor to aid in pagination. + """ + edges: [ForeignKeyConstraintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `ForeignKeyConstraint` you could get from the connection. + """ + totalCount: Int! +} + +type ForeignKeyConstraint { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID]! + refTableId: UUID! + refFieldIds: [UUID]! + deleteAction: String + updateAction: String + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """ + Reads a single `Database` that is related to this `ForeignKeyConstraint`. + """ + database: Database + + """Reads a single `Table` that is related to this `ForeignKeyConstraint`.""" + refTable: Table + + """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.""" +type ForeignKeyConstraintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ForeignKeyConstraint` at the end of the edge.""" + node: ForeignKeyConstraint +} + +"""Methods to use when ordering `ForeignKeyConstraint`.""" +enum ForeignKeyConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type FullTextSearchConnection { + """A list of `FullTextSearch` objects.""" + nodes: [FullTextSearch]! + + """ + A list of edges which contains the `FullTextSearch` and cursor to aid in pagination. + """ + edges: [FullTextSearchEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `FullTextSearch` you could get from the connection.""" + totalCount: Int! +} + +type FullTextSearch { + id: UUID! + databaseId: UUID! + tableId: UUID! + fieldId: UUID! + fieldIds: [UUID]! + weights: [String]! + langs: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `FullTextSearch`.""" + database: Database + + """Reads a single `Table` that is related to this `FullTextSearch`.""" + table: Table +} + +"""A `FullTextSearch` edge in the connection.""" +type FullTextSearchEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `FullTextSearch` at the end of the edge.""" + node: FullTextSearch +} + +"""Methods to use when ordering `FullTextSearch`.""" +enum FullTextSearchOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `Index` values.""" +type IndexConnection { + """A list of `Index` objects.""" + nodes: [Index]! + + """ + A list of edges which contains the `Index` and cursor to aid in pagination. + """ + edges: [IndexEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Index` you could get from the connection.""" + totalCount: Int! +} + +type Index { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String! + fieldIds: [UUID] + includeFieldIds: [UUID] + accessMethod: String! + indexParams: JSON + whereClause: JSON + isUnique: Boolean! + options: JSON + opClasses: [String] + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Index`.""" + database: Database + + """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.""" +type IndexEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Index` at the end of the edge.""" + node: Index +} + +"""Methods to use when ordering `Index`.""" +enum IndexOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type PolicyConnection { + """A list of `Policy` objects.""" + nodes: [Policy]! + + """ + A list of edges which contains the `Policy` and cursor to aid in pagination. + """ + edges: [PolicyEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Policy` you could get from the connection.""" + totalCount: Int! +} + +type Policy { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + granteeName: String + privilege: String + permissive: Boolean + disabled: Boolean + policyType: String + data: JSON + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Policy`.""" + database: Database + + """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.""" +type PolicyEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Policy` at the end of the edge.""" + node: Policy +} + +"""Methods to use when ordering `Policy`.""" +enum PolicyOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type PrimaryKeyConstraintConnection { + """A list of `PrimaryKeyConstraint` objects.""" + nodes: [PrimaryKeyConstraint]! + + """ + A list of edges which contains the `PrimaryKeyConstraint` and cursor to aid in pagination. + """ + edges: [PrimaryKeyConstraintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `PrimaryKeyConstraint` you could get from the connection. + """ + totalCount: Int! +} + +type PrimaryKeyConstraint { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + type: String + fieldIds: [UUID]! + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """ + Reads a single `Database` that is related to this `PrimaryKeyConstraint`. + """ + database: Database + + """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.""" +type PrimaryKeyConstraintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `PrimaryKeyConstraint` at the end of the edge.""" + node: PrimaryKeyConstraint +} + +"""Methods to use when ordering `PrimaryKeyConstraint`.""" +enum PrimaryKeyConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type TableGrantConnection { + """A list of `TableGrant` objects.""" + nodes: [TableGrant]! + + """ + A list of edges which contains the `TableGrant` and cursor to aid in pagination. + """ + edges: [TableGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `TableGrant` you could get from the connection.""" + totalCount: Int! +} + +type TableGrant { + id: UUID! + databaseId: UUID! + tableId: UUID! + privilege: String! + granteeName: String! + fieldIds: [UUID] + isGrant: Boolean! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `TableGrant`.""" + database: Database + + """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.""" +type TableGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `TableGrant` at the end of the edge.""" + node: TableGrant +} + +"""Methods to use when ordering `TableGrant`.""" +enum TableGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + CREATED_AT_ASC + 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.""" +type TriggerConnection { + """A list of `Trigger` objects.""" + nodes: [Trigger]! + + """ + A list of edges which contains the `Trigger` and cursor to aid in pagination. + """ + edges: [TriggerEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Trigger` you could get from the connection.""" + totalCount: Int! +} + +type Trigger { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String! + event: String + functionName: String + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Trigger`.""" + database: Database + + """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.""" +type TriggerEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Trigger` at the end of the edge.""" + node: Trigger +} + +"""Methods to use when ordering `Trigger`.""" +enum TriggerOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type UniqueConstraintConnection { + """A list of `UniqueConstraint` objects.""" + nodes: [UniqueConstraint]! + + """ + A list of edges which contains the `UniqueConstraint` and cursor to aid in pagination. + """ + edges: [UniqueConstraintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `UniqueConstraint` you could get from the connection. + """ + totalCount: Int! +} + +type UniqueConstraint { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID]! + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `UniqueConstraint`.""" + database: Database + + """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.""" +type UniqueConstraintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `UniqueConstraint` at the end of the edge.""" + node: UniqueConstraint +} + +"""Methods to use when ordering `UniqueConstraint`.""" +enum UniqueConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type ViewConnection { + """A list of `View` objects.""" + nodes: [View]! + + """ + A list of edges which contains the `View` and cursor to aid in pagination. + """ + edges: [ViewEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `View` you could get from the connection.""" + totalCount: Int! +} + +type View { + id: UUID! + databaseId: UUID! + schemaId: UUID! + name: String! + tableId: UUID + viewType: String! + data: JSON + filterType: String + filterData: JSON + securityInvoker: Boolean + isReadOnly: Boolean + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + + """Reads a single `Database` that is related to this `View`.""" + database: Database + + """Reads a single `Schema` that is related to this `View`.""" + schema: Schema + + """Reads a single `Table` that is related to this `View`.""" + table: Table + + """Reads and enables pagination through a set of `ViewTable`.""" + viewTables( + """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: ViewTableFilter + + """The method to use when ordering `ViewTable`.""" + orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewTableConnection! + + """Reads and enables pagination through a set of `ViewGrant`.""" + viewGrants( + """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: ViewGrantFilter + + """The method to use when ordering `ViewGrant`.""" + orderBy: [ViewGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewGrantConnection! + + """Reads and enables pagination through a set of `ViewRule`.""" + viewRules( + """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: ViewRuleFilter + + """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.""" +type ViewTableConnection { + """A list of `ViewTable` objects.""" + nodes: [ViewTable]! + + """ + A list of edges which contains the `ViewTable` and cursor to aid in pagination. + """ + edges: [ViewTableEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ViewTable` you could get from the connection.""" + totalCount: Int! +} + +""" +Junction table linking views to their joined tables for referential integrity +""" +type ViewTable { + id: UUID! + viewId: UUID! + tableId: UUID! + joinOrder: Int! + + """Reads a single `Table` that is related to this `ViewTable`.""" + table: Table + + """Reads a single `View` that is related to this `ViewTable`.""" + view: View +} + +"""A `ViewTable` edge in the connection.""" +type ViewTableEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ViewTable` at the end of the edge.""" + node: ViewTable +} + +"""Methods to use when ordering `ViewTable`.""" +enum ViewTableOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + VIEW_ID_ASC + VIEW_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC +} + +"""A connection to a list of `ViewGrant` values.""" +type ViewGrantConnection { + """A list of `ViewGrant` objects.""" + nodes: [ViewGrant]! + + """ + A list of edges which contains the `ViewGrant` and cursor to aid in pagination. + """ + edges: [ViewGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ViewGrant` you could get from the connection.""" + totalCount: Int! +} + +type ViewGrant { + id: UUID! + databaseId: UUID! + viewId: UUID! + granteeName: String! + privilege: String! + withGrantOption: Boolean + isGrant: Boolean! + + """Reads a single `Database` that is related to this `ViewGrant`.""" + database: Database + + """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.""" +type ViewGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ViewGrant` at the end of the edge.""" + node: ViewGrant +} + +"""Methods to use when ordering `ViewGrant`.""" +enum ViewGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + VIEW_ID_ASC + VIEW_ID_DESC + GRANTEE_NAME_ASC + GRANTEE_NAME_DESC + PRIVILEGE_ASC + 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.""" +type ViewRuleConnection { + """A list of `ViewRule` objects.""" + nodes: [ViewRule]! + + """ + A list of edges which contains the `ViewRule` and cursor to aid in pagination. + """ + edges: [ViewRuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ViewRule` you could get from the connection.""" + totalCount: Int! +} + +"""DO INSTEAD rules for views (e.g., read-only enforcement)""" +type ViewRule { + id: UUID! + databaseId: UUID! + viewId: UUID! + name: String! + + """INSERT, UPDATE, or DELETE""" + event: String! + + """NOTHING (for read-only) or custom action""" + action: String! + + """Reads a single `Database` that is related to this `ViewRule`.""" + database: Database + + """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.""" +type ViewRuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ViewRule` at the end of the edge.""" + node: ViewRule +} + +"""Methods to use when ordering `ViewRule`.""" +enum ViewRuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + VIEW_ID_ASC + 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.""" +type ViewEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `View` at the end of the edge.""" + node: View +} + +"""Methods to use when ordering `View`.""" +enum ViewOrderBy { + 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 + 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 `TableTemplateModule` values.""" +type TableTemplateModuleConnection { + """A list of `TableTemplateModule` objects.""" + nodes: [TableTemplateModule]! + + """ + A list of edges which contains the `TableTemplateModule` and cursor to aid in pagination. + """ + edges: [TableTemplateModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `TableTemplateModule` you could get from the connection. + """ + totalCount: Int! +} + +type TableTemplateModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + ownerTableId: UUID! + tableName: String! + nodeType: String! + data: JSON! + + """ + Reads a single `Database` that is related to this `TableTemplateModule`. + """ + database: Database + + """Reads a single `Table` that is related to this `TableTemplateModule`.""" + ownerTable: Table + + """Reads a single `Schema` that is related to this `TableTemplateModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `TableTemplateModule`.""" + schema: Schema + + """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.""" +type TableTemplateModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `TableTemplateModule` at the end of the edge.""" + node: TableTemplateModule +} + +"""Methods to use when ordering `TableTemplateModule`.""" +enum TableTemplateModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + PRIVATE_SCHEMA_ID_ASC + PRIVATE_SCHEMA_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + OWNER_TABLE_ID_ASC + 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.""" +type SecureTableProvisionConnection { + """A list of `SecureTableProvision` objects.""" + nodes: [SecureTableProvision]! + + """ + A list of edges which contains the `SecureTableProvision` and cursor to aid in pagination. + """ + edges: [SecureTableProvisionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `SecureTableProvision` you could get from the connection. + """ + totalCount: Int! +} + +""" +Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. +""" +type SecureTableProvision { + """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] + + """ + Reads a single `Database` that is related to this `SecureTableProvision`. + """ + database: Database + + """ + Reads a single `Schema` that is related to this `SecureTableProvision`. + """ + schema: Schema + + """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.""" +type SecureTableProvisionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SecureTableProvision` at the end of the edge.""" + node: SecureTableProvision +} + +"""Methods to use when ordering `SecureTableProvision`.""" +enum SecureTableProvisionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + 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.""" +type RelationProvisionConnection { + """A list of `RelationProvision` objects.""" + nodes: [RelationProvision]! + + """ + A list of edges which contains the `RelationProvision` and cursor to aid in pagination. + """ + edges: [RelationProvisionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `RelationProvision` you could get from the connection. + """ + totalCount: Int! +} + +""" +Provisions relational structure between tables. Supports four relation types: + - RelationBelongsTo: adds a FK field on the source table referencing the target table (child perspective: "tasks belongs to projects" -> tasks.project_id). + - RelationHasMany: adds a FK field on the target table referencing the source table (parent perspective: "projects has many tasks" -> tasks.project_id). Inverse of BelongsTo. + - RelationHasOne: adds a FK field with a unique constraint on the source table referencing the target table. Also supports shared-primary-key patterns where the FK field IS the primary key (set field_name to the existing PK field name). + - RelationManyToMany: creates a junction table with FK fields to both source and target tables, delegating table creation and security to secure_table_provision. + This is a one-and-done structural provisioner. To layer additional security onto junction tables after creation, use secure_table_provision directly. + All operations are graceful: existing fields, FK constraints, and unique constraints are reused if found. + The trigger never injects values the caller did not provide. All security config is forwarded to secure_table_provision as-is. +""" +type RelationProvision { + """Unique identifier for this relation provision row.""" + id: UUID! + + """ + The database this relation belongs to. Required. Must match the database of both source_table_id and target_table_id. + """ + databaseId: UUID! + + """ + The type of relation to create. Uses SuperCase naming matching the node_type_registry: + - RelationBelongsTo: creates a FK field on source_table referencing target_table (e.g., tasks belongs to projects -> tasks.project_id). Field name auto-derived from target table. + - RelationHasMany: creates a FK field on target_table referencing source_table (e.g., projects has many tasks -> tasks.project_id). Field name auto-derived from source table. Inverse of BelongsTo — same FK, different perspective. + - RelationHasOne: creates a FK field + unique constraint on source_table referencing target_table (e.g., user_settings has one user -> user_settings.user_id with UNIQUE). Also supports shared-primary-key patterns (e.g., user_profiles.id = users.id) by setting field_name to the existing PK field. + - RelationManyToMany: creates a junction table with FK fields to both tables (e.g., projects and tags -> project_tags table). + Each relation type uses a different subset of columns on this table. Required. + """ + relationType: String! + + """ + The source table in the relation. Required. + - RelationBelongsTo: the table that receives the FK field (e.g., tasks in "tasks belongs to projects"). + - RelationHasMany: the parent table being referenced (e.g., projects in "projects has many tasks"). The FK field is created on the target table. + - RelationHasOne: the table that receives the FK field + unique constraint (e.g., user_settings in "user_settings has one user"). + - RelationManyToMany: one of the two tables being joined (e.g., projects in "projects and tags"). The junction table will have a FK field referencing this table. + """ + sourceTableId: UUID! + + """ + The target table in the relation. Required. + - RelationBelongsTo: the table being referenced by the FK (e.g., projects in "tasks belongs to projects"). + - RelationHasMany: the table that receives the FK field (e.g., tasks in "projects has many tasks"). + - RelationHasOne: the table being referenced by the FK (e.g., users in "user_settings has one user"). + - RelationManyToMany: the other table being joined (e.g., tags in "projects and tags"). The junction table will have a FK field referencing this table. + """ + targetTableId: UUID! + + """ + FK field name for RelationBelongsTo, RelationHasOne, and RelationHasMany. + - RelationBelongsTo/RelationHasOne: if NULL, auto-derived from the target table name (e.g., target "projects" derives "project_id"). + - RelationHasMany: if NULL, auto-derived from the source table name (e.g., source "projects" derives "project_id"). + For RelationHasOne shared-primary-key patterns, set field_name to the existing PK field (e.g., "id") so the FK reuses it. + Ignored for RelationManyToMany — use source_field_name/target_field_name instead. + """ + fieldName: String + + """ + FK delete action for RelationBelongsTo, RelationHasOne, and RelationHasMany. One of: c (CASCADE), r (RESTRICT), n (SET NULL), d (SET DEFAULT), a (NO ACTION). Required — the trigger raises an error if not provided. The caller must explicitly choose the cascade behavior; there is no default. Ignored for RelationManyToMany (junction FK fields always use CASCADE). + """ + deleteAction: String + + """ + Whether the FK field is NOT NULL. Defaults to true. + - RelationBelongsTo: set to false for optional associations (e.g., tasks.assignee_id that can be NULL). + - RelationHasMany: set to false if the child can exist without a parent. + - RelationHasOne: typically true. + Ignored for RelationManyToMany (junction FK fields are always required). + """ + isRequired: 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. + - When set to a valid table UUID: the trigger skips table creation and only adds FK fields, composite key (if use_composite_key is true), and security to the existing table. + Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableId: UUID! + + """ + For RelationManyToMany: name of the junction table to create or look up. If NULL, auto-derived from source and target table names using inflection_db (e.g., "projects" + "tags" derives "project_tags"). Only used when junction_table_id is uuid_nil(). Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableName: String + + """ + For RelationManyToMany: schema for the junction table. If NULL, defaults to the source table's schema. Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionSchemaId: UUID + + """ + For RelationManyToMany: FK field name on the junction table referencing the source table. If NULL, auto-derived from the source table name using inflection_db.get_foreign_key_field_name() (e.g., source table "projects" derives "project_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + sourceFieldName: String + + """ + For RelationManyToMany: FK field name on the junction table referencing the target table. If NULL, auto-derived from the target table name using inflection_db.get_foreign_key_field_name() (e.g., target table "tags" derives "tag_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + targetFieldName: String + + """ + For RelationManyToMany: whether to create a composite primary key from the two FK fields (source + target) on the junction table. Defaults to false. + - When true: the trigger calls metaschema.pk() with ARRAY[source_field_id, target_field_id] to create a composite PK. No separate id column is created. This enforces uniqueness of the pair and is suitable for simple junction tables. + - When false: no primary key is created by the trigger. The caller should provide node_type='DataId' to create a UUID primary key, or handle the PK strategy via a separate secure_table_provision row. + use_composite_key and node_type='DataId' are mutually exclusive — using both would create two conflicting PKs. + Ignored for RelationBelongsTo/RelationHasOne. + """ + useCompositeKey: 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. + NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeType: String + + """ + For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. + Only used when node_type is set. Structure varies by node_type. Examples: + - DataId: {"field_name": "id"} (default field name is 'id') + - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true} + - DataDirectOwner: {"owner_field_name": "owner_id"} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeData: JSON! + + """ + For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. + """ + 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. + """ + 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. + Examples: AuthzEntityMembership, AuthzMembership, AuthzAllowAll, AuthzDirectOwner, AuthzOrgHierarchy. + NULL means no policy is created — the junction table will have RLS enabled but no policies (unless added separately via secure_table_provision). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyType: String + + """ + For RelationManyToMany: privileges the policy applies to, e.g. ARRAY['select','insert','delete']. Forwarded to secure_table_provision as-is. NULL means privileges are derived from the grant_privileges verbs by secure_table_provision. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPrivileges: [String] + + """ + For RelationManyToMany: database role the policy targets, e.g. 'authenticated'. Forwarded to secure_table_provision as-is. NULL means secure_table_provision falls back to the first role in grant_roles. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyRole: String + + """ + For RelationManyToMany: whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Forwarded to secure_table_provision as-is. Defaults to true. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPermissive: Boolean! + + """ + For RelationManyToMany: custom suffix for the generated policy name. Forwarded to secure_table_provision as-is. When NULL and policy_type is set, secure_table_provision auto-derives a suffix from policy_type (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, used as-is. This ensures multiple policies on the same junction table do not collide. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyName: String + + """ + For RelationManyToMany: opaque policy configuration forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Structure varies by policy_type. Examples: + - AuthzEntityMembership: {"entity_field": "entity_id", "membership_type": 2} + - AuthzDirectOwner: {"owner_field": "owner_id"} + - AuthzMembership: {"membership_type": 2} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyData: JSON! + + """ + Output column for RelationBelongsTo/RelationHasOne/RelationHasMany: the UUID of the FK field created (or found). For BelongsTo/HasOne this is on the source table; for HasMany this is on the target table. Populated by the trigger. NULL for RelationManyToMany. Callers should not set this directly. + """ + outFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the junction table created (or found). Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outJunctionTableId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the source table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outSourceFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outTargetFieldId: UUID + + """Reads a single `Database` that is related to this `RelationProvision`.""" + database: Database + + """Reads a single `Table` that is related to this `RelationProvision`.""" + sourceTable: Table + + """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.""" +type RelationProvisionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `RelationProvision` at the end of the edge.""" + node: RelationProvision +} + +"""Methods to use when ordering `RelationProvision`.""" +enum RelationProvisionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + RELATION_TYPE_ASC + RELATION_TYPE_DESC + SOURCE_TABLE_ID_ASC + 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.""" +type TableEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Table` at the end of the edge.""" + node: Table +} + +"""Methods to use when ordering `Table`.""" +enum TableOrderBy { + 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 + CREATED_AT_ASC + 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.""" +type SchemaGrantConnection { + """A list of `SchemaGrant` objects.""" + nodes: [SchemaGrant]! + + """ + A list of edges which contains the `SchemaGrant` and cursor to aid in pagination. + """ + edges: [SchemaGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SchemaGrant` you could get from the connection.""" + totalCount: Int! +} + +type SchemaGrant { + id: UUID! + databaseId: UUID! + schemaId: UUID! + granteeName: String! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `SchemaGrant`.""" + database: Database + + """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.""" +type SchemaGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SchemaGrant` at the end of the edge.""" + node: SchemaGrant +} + +"""Methods to use when ordering `SchemaGrant`.""" +enum SchemaGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + CREATED_AT_ASC + 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.""" +type DefaultPrivilegeConnection { + """A list of `DefaultPrivilege` objects.""" + nodes: [DefaultPrivilege]! + + """ + A list of edges which contains the `DefaultPrivilege` and cursor to aid in pagination. + """ + edges: [DefaultPrivilegeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `DefaultPrivilege` you could get from the connection. + """ + totalCount: Int! +} + +type DefaultPrivilege { + id: UUID! + databaseId: UUID! + schemaId: UUID! + objectType: String! + privilege: String! + granteeName: String! + isGrant: Boolean! + + """Reads a single `Database` that is related to this `DefaultPrivilege`.""" + database: Database + + """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.""" +type DefaultPrivilegeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `DefaultPrivilege` at the end of the edge.""" + node: DefaultPrivilege +} + +"""Methods to use when ordering `DefaultPrivilege`.""" +enum DefaultPrivilegeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + OBJECT_TYPE_ASC + OBJECT_TYPE_DESC + PRIVILEGE_ASC + PRIVILEGE_DESC + GRANTEE_NAME_ASC + 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 `ApiSchema` values.""" +type ApiSchemaConnection { + """A list of `ApiSchema` objects.""" + nodes: [ApiSchema]! + + """ + A list of edges which contains the `ApiSchema` and cursor to aid in pagination. + """ + edges: [ApiSchemaEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ApiSchema` you could get from the connection.""" + totalCount: Int! +} + +""" +Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API +""" +type ApiSchema { + """Unique identifier for this API-schema mapping""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """Metaschema schema being exposed through the API""" + schemaId: UUID! + + """API that exposes this schema""" + apiId: UUID! + + """Reads a single `Api` that is related to this `ApiSchema`.""" + api: Api + + """Reads a single `Database` that is related to this `ApiSchema`.""" + database: Database + + """Reads a single `Schema` that is related to this `ApiSchema`.""" + schema: Schema +} + +""" +API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings +""" +type Api { + """Unique identifier for this API""" + id: UUID! + + """Reference to the metaschema database this API serves""" + databaseId: UUID! + + """Unique name for this API within its database""" + name: String! + + """PostgreSQL database name to connect to""" + dbname: String! + + """PostgreSQL role used for authenticated requests""" + roleName: String! + + """PostgreSQL role used for anonymous/unauthenticated requests""" + anonRole: String! + + """Whether this API is publicly accessible without authentication""" + isPublic: Boolean! + + """Reads a single `Database` that is related to this `Api`.""" + database: Database + + """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 `Domain`.""" + domains( + """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: DomainFilter + + """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.""" +type ApiModuleConnection { + """A list of `ApiModule` objects.""" + nodes: [ApiModule]! + + """ + A list of edges which contains the `ApiModule` and cursor to aid in pagination. + """ + edges: [ApiModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ApiModule` you could get from the connection.""" + totalCount: Int! +} + +""" +Server-side module configuration for an API endpoint; stores module name and JSON settings used by the application server +""" +type ApiModule { + """Unique identifier for this API module record""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """API this module configuration belongs to""" + apiId: UUID! + + """Module name (e.g. auth, uploads, webhooks)""" + name: String! + + """JSON configuration data for this module""" + data: JSON! + + """Reads a single `Api` that is related to this `ApiModule`.""" + api: Api + + """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.""" +type ApiModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ApiModule` at the end of the edge.""" + node: ApiModule +} + +"""Methods to use when ordering `ApiModule`.""" +enum ApiModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + API_ID_ASC + 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`.""" +enum ApiSchemaOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + API_ID_ASC + API_ID_DESC +} + +"""A connection to a list of `Domain` values.""" +type DomainConnection { + """A list of `Domain` objects.""" + nodes: [Domain]! + + """ + A list of edges which contains the `Domain` and cursor to aid in pagination. + """ + edges: [DomainEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Domain` you could get from the connection.""" + totalCount: Int! +} + +""" +DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site +""" +type Domain { + """Unique identifier for this domain record""" + id: UUID! + + """Reference to the metaschema database this domain belongs to""" + databaseId: UUID! + + """API endpoint this domain routes to (mutually exclusive with site_id)""" + apiId: UUID + + """Site this domain routes to (mutually exclusive with api_id)""" + siteId: UUID + + """Subdomain portion of the hostname""" + subdomain: ConstructiveInternalTypeHostname + + """Root domain of the hostname""" + domain: ConstructiveInternalTypeHostname + + """Reads a single `Api` that is related to this `Domain`.""" + api: Api + + """Reads a single `Database` that is related to this `Domain`.""" + database: Database + + """Reads a single `Site` that is related to this `Domain`.""" + site: Site +} + +""" +Top-level site configuration: branding assets, title, and description for a deployed application +""" +type Site { + """Unique identifier for this site""" + id: UUID! + + """Reference to the metaschema database this site belongs to""" + databaseId: UUID! + + """Display title for the site (max 120 characters)""" + title: String + + """Short description of the site (max 120 characters)""" + description: String + + """Open Graph image used for social media link previews""" + ogImage: ConstructiveInternalTypeImage + + """Browser favicon attachment""" + favicon: ConstructiveInternalTypeAttachment + + """Apple touch icon for iOS home screen bookmarks""" + appleTouchIcon: ConstructiveInternalTypeImage + + """Primary logo image for the site""" + logo: ConstructiveInternalTypeImage + + """PostgreSQL database name this site connects to""" + dbname: String! + + """Reads a single `Database` that is related to this `Site`.""" + database: Database + + """Reads a single `App` that is related to this `Site`.""" + app: App + + """Reads and enables pagination through a set of `Domain`.""" + domains( + """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: DomainFilter + + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] + ): DomainConnection! + + """Reads and enables pagination through a set of `SiteMetadatum`.""" + siteMetadata( + """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: SiteMetadatumFilter + + """The method to use when ordering `SiteMetadatum`.""" + orderBy: [SiteMetadatumOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteMetadatumConnection! + + """Reads and enables pagination through a set of `SiteModule`.""" + siteModules( + """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: SiteModuleFilter + + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteModuleConnection! + + """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! + + """ + 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 +} + +""" +Mobile and native app configuration linked to a site, including store links and identifiers +""" +type App { + """Unique identifier for this app""" + id: UUID! + + """Reference to the metaschema database this app belongs to""" + databaseId: UUID! + + """Site this app is associated with (one app per site)""" + siteId: UUID! + + """Display name of the app""" + name: String + + """App icon or promotional image""" + appImage: ConstructiveInternalTypeImage + + """URL to the Apple App Store listing""" + appStoreLink: ConstructiveInternalTypeUrl + + """Apple App Store application identifier""" + appStoreId: String + + """ + Apple App ID prefix (Team ID) for universal links and associated domains + """ + appIdPrefix: String + + """URL to the Google Play Store listing""" + playStoreLink: ConstructiveInternalTypeUrl + + """Reads a single `Site` that is related to this `App`.""" + site: Site + + """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`.""" +enum DomainOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + API_ID_ASC + API_ID_DESC + SITE_ID_ASC + SITE_ID_DESC + SUBDOMAIN_ASC + SUBDOMAIN_DESC + DOMAIN_ASC + DOMAIN_DESC +} + +"""A connection to a list of `SiteMetadatum` values.""" +type SiteMetadatumConnection { + """A list of `SiteMetadatum` objects.""" + nodes: [SiteMetadatum]! + + """ + A list of edges which contains the `SiteMetadatum` and cursor to aid in pagination. + """ + edges: [SiteMetadatumEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SiteMetadatum` you could get from the connection.""" + totalCount: Int! +} + +""" +SEO and social sharing metadata for a site: page title, description, and Open Graph image +""" +type SiteMetadatum { + """Unique identifier for this metadata record""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """Site this metadata belongs to""" + siteId: UUID! + + """Page title for SEO (max 120 characters)""" + title: String + + """Meta description for SEO and social sharing (max 120 characters)""" + description: String + + """Open Graph image for social media previews""" + ogImage: ConstructiveInternalTypeImage + + """Reads a single `Database` that is related to this `SiteMetadatum`.""" + database: Database + + """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.""" +type SiteMetadatumEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SiteMetadatum` at the end of the edge.""" + node: SiteMetadatum +} + +"""Methods to use when ordering `SiteMetadatum`.""" +enum SiteMetadatumOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type SiteModuleConnection { + """A list of `SiteModule` objects.""" + nodes: [SiteModule]! + + """ + A list of edges which contains the `SiteModule` and cursor to aid in pagination. + """ + edges: [SiteModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SiteModule` you could get from the connection.""" + totalCount: Int! +} + +""" +Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site +""" +type SiteModule { + """Unique identifier for this site module record""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """Site this module configuration belongs to""" + siteId: UUID! + + """Module name (e.g. user_auth_module, analytics)""" + name: String! + + """JSON configuration data for this module""" + data: JSON! + + """Reads a single `Database` that is related to this `SiteModule`.""" + database: Database + + """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.""" +type SiteModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SiteModule` at the end of the edge.""" + node: SiteModule +} + +"""Methods to use when ordering `SiteModule`.""" +enum SiteModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type SiteThemeConnection { + """A list of `SiteTheme` objects.""" + nodes: [SiteTheme]! + + """ + A list of edges which contains the `SiteTheme` and cursor to aid in pagination. + """ + edges: [SiteThemeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SiteTheme` you could get from the connection.""" + totalCount: Int! +} + +""" +Theme configuration for a site; stores design tokens, colors, and typography as JSONB +""" +type SiteTheme { + """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! + + """Reads a single `Database` that is related to this `SiteTheme`.""" + database: Database + + """Reads a single `Site` that is related to this `SiteTheme`.""" + site: Site +} + +"""A `SiteTheme` edge in the connection.""" +type SiteThemeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SiteTheme` at the end of the edge.""" + node: SiteTheme +} + +"""Methods to use when ordering `SiteTheme`.""" +enum SiteThemeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SITE_ID_ASC + SITE_ID_DESC +} + +"""A `Domain` edge in the connection.""" +type DomainEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Domain` at the end of the edge.""" + node: Domain +} + +"""A `ApiSchema` edge in the connection.""" +type ApiSchemaEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ApiSchema` at the end of the edge.""" + node: ApiSchema +} + +"""A `Schema` edge in the connection.""" +type SchemaEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Schema` at the end of the edge.""" + node: Schema +} + +"""Methods to use when ordering `Schema`.""" +enum SchemaOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + NAME_ASC + NAME_DESC + SCHEMA_NAME_ASC + SCHEMA_NAME_DESC + CREATED_AT_ASC + 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.""" +type TriggerFunctionConnection { + """A list of `TriggerFunction` objects.""" + nodes: [TriggerFunction]! + + """ + A list of edges which contains the `TriggerFunction` and cursor to aid in pagination. + """ + edges: [TriggerFunctionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `TriggerFunction` you could get from the connection. + """ + totalCount: Int! +} + +type TriggerFunction { + id: UUID! + databaseId: UUID! + name: String! + code: String + createdAt: Datetime + updatedAt: Datetime + + """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.""" +type TriggerFunctionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `TriggerFunction` at the end of the edge.""" + node: TriggerFunction +} + +"""Methods to use when ordering `TriggerFunction`.""" +enum TriggerFunctionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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 `Api` values.""" +type ApiConnection { + """A list of `Api` objects.""" + nodes: [Api]! + + """ + A list of edges which contains the `Api` and cursor to aid in pagination. + """ + edges: [ApiEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Api` you could get from the connection.""" + totalCount: Int! +} + +"""A `Api` edge in the connection.""" +type ApiEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Api` at the end of the edge.""" + node: Api +} + +"""Methods to use when ordering `Api`.""" +enum ApiOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type SiteConnection { + """A list of `Site` objects.""" + nodes: [Site]! + + """ + A list of edges which contains the `Site` and cursor to aid in pagination. + """ + edges: [SiteEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Site` you could get from the connection.""" + totalCount: Int! +} + +"""A `Site` edge in the connection.""" +type SiteEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Site` at the end of the edge.""" + node: Site +} + +"""Methods to use when ordering `Site`.""" +enum SiteOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type AppConnection { + """A list of `App` objects.""" + nodes: [App]! + + """ + A list of edges which contains the `App` and cursor to aid in pagination. + """ + edges: [AppEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `App` you could get from the connection.""" + totalCount: Int! +} + +"""A `App` edge in the connection.""" +type AppEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `App` at the end of the edge.""" + node: App +} + +"""Methods to use when ordering `App`.""" +enum AppOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type ConnectedAccountsModuleConnection { + """A list of `ConnectedAccountsModule` objects.""" + nodes: [ConnectedAccountsModule]! + + """ + A list of edges which contains the `ConnectedAccountsModule` and cursor to aid in pagination. + """ + edges: [ConnectedAccountsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `ConnectedAccountsModule` you could get from the connection. + """ + totalCount: Int! +} + +type ConnectedAccountsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + ownerTableId: UUID! + tableName: String! + + """ + Reads a single `Database` that is related to this `ConnectedAccountsModule`. + """ + database: Database + + """ + Reads a single `Table` that is related to this `ConnectedAccountsModule`. + """ + ownerTable: Table + + """ + Reads a single `Schema` that is related to this `ConnectedAccountsModule`. + """ + privateSchema: Schema + + """ + Reads a single `Schema` that is related to this `ConnectedAccountsModule`. + """ + schema: Schema + + """ + 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.""" +type ConnectedAccountsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ConnectedAccountsModule` at the end of the edge.""" + node: ConnectedAccountsModule +} + +"""Methods to use when ordering `ConnectedAccountsModule`.""" +enum ConnectedAccountsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type CryptoAddressesModuleConnection { + """A list of `CryptoAddressesModule` objects.""" + nodes: [CryptoAddressesModule]! + + """ + A list of edges which contains the `CryptoAddressesModule` and cursor to aid in pagination. + """ + edges: [CryptoAddressesModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `CryptoAddressesModule` you could get from the connection. + """ + totalCount: Int! +} + +type CryptoAddressesModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + ownerTableId: UUID! + tableName: String! + cryptoNetwork: String! + + """ + Reads a single `Database` that is related to this `CryptoAddressesModule`. + """ + database: Database + + """ + Reads a single `Table` that is related to this `CryptoAddressesModule`. + """ + ownerTable: Table + + """ + Reads a single `Schema` that is related to this `CryptoAddressesModule`. + """ + privateSchema: Schema + + """ + Reads a single `Schema` that is related to this `CryptoAddressesModule`. + """ + schema: Schema + + """ + 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.""" +type CryptoAddressesModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `CryptoAddressesModule` at the end of the edge.""" + node: CryptoAddressesModule +} + +"""Methods to use when ordering `CryptoAddressesModule`.""" +enum CryptoAddressesModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type CryptoAuthModuleConnection { + """A list of `CryptoAuthModule` objects.""" + nodes: [CryptoAuthModule]! + + """ + A list of edges which contains the `CryptoAuthModule` and cursor to aid in pagination. + """ + edges: [CryptoAuthModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `CryptoAuthModule` you could get from the connection. + """ + totalCount: Int! +} + +type CryptoAuthModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + usersTableId: UUID! + secretsTableId: UUID! + sessionsTableId: UUID! + sessionCredentialsTableId: UUID! + addressesTableId: UUID! + userField: String! + cryptoNetwork: String! + signInRequestChallenge: String! + signInRecordFailure: String! + signUpWithKey: String! + signInWithChallenge: String! + + """Reads a single `Database` that is related to this `CryptoAuthModule`.""" + database: Database + + """Reads a single `Schema` that is related to this `CryptoAuthModule`.""" + schema: Schema + + """Reads a single `Table` that is related to this `CryptoAuthModule`.""" + secretsTable: Table + + """Reads a single `Table` that is related to this `CryptoAuthModule`.""" + sessionCredentialsTable: Table + + """Reads a single `Table` that is related to this `CryptoAuthModule`.""" + sessionsTable: Table + + """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.""" +type CryptoAuthModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `CryptoAuthModule` at the end of the edge.""" + node: CryptoAuthModule +} + +"""Methods to use when ordering `CryptoAuthModule`.""" +enum CryptoAuthModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type DefaultIdsModuleConnection { + """A list of `DefaultIdsModule` objects.""" + nodes: [DefaultIdsModule]! + + """ + A list of edges which contains the `DefaultIdsModule` and cursor to aid in pagination. + """ + edges: [DefaultIdsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `DefaultIdsModule` you could get from the connection. + """ + totalCount: Int! +} + +type DefaultIdsModule { + id: UUID! + databaseId: UUID! + + """Reads a single `Database` that is related to this `DefaultIdsModule`.""" + database: Database +} + +"""A `DefaultIdsModule` edge in the connection.""" +type DefaultIdsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `DefaultIdsModule` at the end of the edge.""" + node: DefaultIdsModule +} + +"""Methods to use when ordering `DefaultIdsModule`.""" +enum DefaultIdsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC +} + +"""A connection to a list of `DenormalizedTableField` values.""" +type DenormalizedTableFieldConnection { + """A list of `DenormalizedTableField` objects.""" + nodes: [DenormalizedTableField]! + + """ + A list of edges which contains the `DenormalizedTableField` and cursor to aid in pagination. + """ + edges: [DenormalizedTableFieldEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `DenormalizedTableField` you could get from the connection. + """ + totalCount: Int! +} + +type DenormalizedTableField { + id: UUID! + databaseId: UUID! + tableId: UUID! + fieldId: UUID! + setIds: [UUID] + refTableId: UUID! + refFieldId: UUID! + refIds: [UUID] + useUpdates: Boolean! + updateDefaults: Boolean! + funcName: String + funcOrder: Int! + + """ + Reads a single `Database` that is related to this `DenormalizedTableField`. + """ + database: Database + + """ + Reads a single `Field` that is related to this `DenormalizedTableField`. + """ + field: Field + + """ + Reads a single `Field` that is related to this `DenormalizedTableField`. + """ + refField: Field + + """ + Reads a single `Table` that is related to this `DenormalizedTableField`. + """ + refTable: Table + + """ + 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.""" +type DenormalizedTableFieldEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `DenormalizedTableField` at the end of the edge.""" + node: DenormalizedTableField +} + +"""Methods to use when ordering `DenormalizedTableField`.""" +enum DenormalizedTableFieldOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type EmailsModuleConnection { + """A list of `EmailsModule` objects.""" + nodes: [EmailsModule]! + + """ + A list of edges which contains the `EmailsModule` and cursor to aid in pagination. + """ + edges: [EmailsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `EmailsModule` you could get from the connection.""" + totalCount: Int! +} + +type EmailsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + ownerTableId: UUID! + tableName: String! + + """Reads a single `Database` that is related to this `EmailsModule`.""" + database: Database + + """Reads a single `Table` that is related to this `EmailsModule`.""" + ownerTable: Table + + """Reads a single `Schema` that is related to this `EmailsModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `EmailsModule`.""" + schema: Schema + + """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.""" +type EmailsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `EmailsModule` at the end of the edge.""" + node: EmailsModule +} + +"""Methods to use when ordering `EmailsModule`.""" +enum EmailsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type EncryptedSecretsModuleConnection { + """A list of `EncryptedSecretsModule` objects.""" + nodes: [EncryptedSecretsModule]! + + """ + A list of edges which contains the `EncryptedSecretsModule` and cursor to aid in pagination. + """ + edges: [EncryptedSecretsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `EncryptedSecretsModule` you could get from the connection. + """ + totalCount: Int! +} + +type EncryptedSecretsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + tableId: UUID! + tableName: String! + + """ + Reads a single `Database` that is related to this `EncryptedSecretsModule`. + """ + database: Database + + """ + Reads a single `Schema` that is related to this `EncryptedSecretsModule`. + """ + schema: Schema + + """ + 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.""" +type EncryptedSecretsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `EncryptedSecretsModule` at the end of the edge.""" + node: EncryptedSecretsModule +} + +"""Methods to use when ordering `EncryptedSecretsModule`.""" +enum EncryptedSecretsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type FieldModuleConnection { + """A list of `FieldModule` objects.""" + nodes: [FieldModule]! + + """ + A list of edges which contains the `FieldModule` and cursor to aid in pagination. + """ + edges: [FieldModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `FieldModule` you could get from the connection.""" + totalCount: Int! +} + +type FieldModule { + id: UUID! + databaseId: UUID! + privateSchemaId: UUID! + tableId: UUID! + fieldId: UUID! + nodeType: String! + data: JSON! + triggers: [String] + functions: [String] + + """Reads a single `Database` that is related to this `FieldModule`.""" + database: Database + + """Reads a single `Field` that is related to this `FieldModule`.""" + field: Field + + """Reads a single `Schema` that is related to this `FieldModule`.""" + privateSchema: Schema + + """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.""" +type FieldModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `FieldModule` at the end of the edge.""" + node: FieldModule +} + +"""Methods to use when ordering `FieldModule`.""" +enum FieldModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type InvitesModuleConnection { + """A list of `InvitesModule` objects.""" + nodes: [InvitesModule]! + + """ + A list of edges which contains the `InvitesModule` and cursor to aid in pagination. + """ + edges: [InvitesModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `InvitesModule` you could get from the connection.""" + totalCount: Int! +} + +type InvitesModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + emailsTableId: UUID! + usersTableId: UUID! + invitesTableId: UUID! + claimedInvitesTableId: UUID! + invitesTableName: String! + claimedInvitesTableName: String! + submitInviteCodeFunction: String! + prefix: String + membershipType: Int! + entityTableId: UUID + + """Reads a single `Table` that is related to this `InvitesModule`.""" + claimedInvitesTable: Table + + """Reads a single `Database` that is related to this `InvitesModule`.""" + database: Database + + """Reads a single `Table` that is related to this `InvitesModule`.""" + emailsTable: Table + + """Reads a single `Table` that is related to this `InvitesModule`.""" + entityTable: Table + + """Reads a single `Table` that is related to this `InvitesModule`.""" + invitesTable: Table + + """Reads a single `Schema` that is related to this `InvitesModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `InvitesModule`.""" + schema: Schema + + """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.""" +type InvitesModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `InvitesModule` at the end of the edge.""" + node: InvitesModule +} + +"""Methods to use when ordering `InvitesModule`.""" +enum InvitesModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type LevelsModuleConnection { + """A list of `LevelsModule` objects.""" + nodes: [LevelsModule]! + + """ + A list of edges which contains the `LevelsModule` and cursor to aid in pagination. + """ + edges: [LevelsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `LevelsModule` you could get from the connection.""" + totalCount: Int! +} + +type LevelsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + stepsTableId: UUID! + stepsTableName: String! + achievementsTableId: UUID! + achievementsTableName: String! + levelsTableId: UUID! + levelsTableName: String! + levelRequirementsTableId: UUID! + levelRequirementsTableName: String! + completedStep: String! + incompletedStep: String! + tgAchievement: String! + tgAchievementToggle: String! + tgAchievementToggleBoolean: String! + tgAchievementBoolean: String! + upsertAchievement: String! + tgUpdateAchievements: String! + stepsRequired: String! + levelAchieved: String! + prefix: String + membershipType: Int! + entityTableId: UUID + actorTableId: UUID! + + """Reads a single `Table` that is related to this `LevelsModule`.""" + achievementsTable: Table + + """Reads a single `Table` that is related to this `LevelsModule`.""" + actorTable: Table + + """Reads a single `Database` that is related to this `LevelsModule`.""" + database: Database + + """Reads a single `Table` that is related to this `LevelsModule`.""" + entityTable: Table + + """Reads a single `Table` that is related to this `LevelsModule`.""" + levelRequirementsTable: Table + + """Reads a single `Table` that is related to this `LevelsModule`.""" + levelsTable: Table + + """Reads a single `Schema` that is related to this `LevelsModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `LevelsModule`.""" + schema: Schema + + """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.""" +type LevelsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `LevelsModule` at the end of the edge.""" + node: LevelsModule +} + +"""Methods to use when ordering `LevelsModule`.""" +enum LevelsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type LimitsModuleConnection { + """A list of `LimitsModule` objects.""" + nodes: [LimitsModule]! + + """ + A list of edges which contains the `LimitsModule` and cursor to aid in pagination. + """ + edges: [LimitsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `LimitsModule` you could get from the connection.""" + totalCount: Int! +} + +type LimitsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + tableName: String! + defaultTableId: UUID! + defaultTableName: String! + limitIncrementFunction: String! + limitDecrementFunction: String! + limitIncrementTrigger: String! + limitDecrementTrigger: String! + limitUpdateTrigger: String! + limitCheckFunction: String! + prefix: String + membershipType: Int! + entityTableId: UUID + actorTableId: UUID! + + """Reads a single `Table` that is related to this `LimitsModule`.""" + actorTable: Table + + """Reads a single `Database` that is related to this `LimitsModule`.""" + database: Database + + """Reads a single `Table` that is related to this `LimitsModule`.""" + defaultTable: Table + + """Reads a single `Table` that is related to this `LimitsModule`.""" + entityTable: Table + + """Reads a single `Schema` that is related to this `LimitsModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `LimitsModule`.""" + schema: Schema + + """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.""" +type LimitsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `LimitsModule` at the end of the edge.""" + node: LimitsModule +} + +"""Methods to use when ordering `LimitsModule`.""" +enum LimitsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type MembershipTypesModuleConnection { + """A list of `MembershipTypesModule` objects.""" + nodes: [MembershipTypesModule]! + + """ + A list of edges which contains the `MembershipTypesModule` and cursor to aid in pagination. + """ + edges: [MembershipTypesModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `MembershipTypesModule` you could get from the connection. + """ + totalCount: Int! +} + +type MembershipTypesModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + tableId: UUID! + tableName: String! + + """ + Reads a single `Database` that is related to this `MembershipTypesModule`. + """ + database: Database + + """ + Reads a single `Schema` that is related to this `MembershipTypesModule`. + """ + schema: Schema + + """ + 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.""" +type MembershipTypesModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `MembershipTypesModule` at the end of the edge.""" + node: MembershipTypesModule +} + +"""Methods to use when ordering `MembershipTypesModule`.""" +enum MembershipTypesModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type MembershipsModuleConnection { + """A list of `MembershipsModule` objects.""" + nodes: [MembershipsModule]! + + """ + A list of edges which contains the `MembershipsModule` and cursor to aid in pagination. + """ + edges: [MembershipsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `MembershipsModule` you could get from the connection. + """ + totalCount: Int! +} + +type MembershipsModule { + 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 + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + actorTable: Table + + """Reads a single `Database` that is related to this `MembershipsModule`.""" + database: Database + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + defaultLimitsTable: Table + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + defaultPermissionsTable: Table + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + entityTable: Table + + """Reads a single `Field` that is related to this `MembershipsModule`.""" + entityTableOwner: Field + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + grantsTable: Table + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + limitsTable: Table + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + membersTable: Table + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + membershipDefaultsTable: Table + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + membershipsTable: Table + + """Reads a single `Table` that is related to this `MembershipsModule`.""" + permissionsTable: Table + + """Reads a single `Schema` that is related to this `MembershipsModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `MembershipsModule`.""" + schema: Schema + + """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.""" +type MembershipsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `MembershipsModule` at the end of the edge.""" + node: MembershipsModule +} + +"""Methods to use when ordering `MembershipsModule`.""" +enum MembershipsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type PermissionsModuleConnection { + """A list of `PermissionsModule` objects.""" + nodes: [PermissionsModule]! + + """ + A list of edges which contains the `PermissionsModule` and cursor to aid in pagination. + """ + edges: [PermissionsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `PermissionsModule` you could get from the connection. + """ + totalCount: Int! +} + +type PermissionsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + tableName: String! + defaultTableId: UUID! + defaultTableName: String! + bitlen: Int! + membershipType: Int! + entityTableId: UUID + actorTableId: UUID! + prefix: String + getPaddedMask: String! + getMask: String! + getByMask: String! + getMaskByName: String! + + """Reads a single `Table` that is related to this `PermissionsModule`.""" + actorTable: Table + + """Reads a single `Database` that is related to this `PermissionsModule`.""" + database: Database + + """Reads a single `Table` that is related to this `PermissionsModule`.""" + defaultTable: Table + + """Reads a single `Table` that is related to this `PermissionsModule`.""" + entityTable: Table + + """Reads a single `Schema` that is related to this `PermissionsModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `PermissionsModule`.""" + schema: Schema + + """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.""" +type PermissionsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `PermissionsModule` at the end of the edge.""" + node: PermissionsModule +} + +"""Methods to use when ordering `PermissionsModule`.""" +enum PermissionsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type PhoneNumbersModuleConnection { + """A list of `PhoneNumbersModule` objects.""" + nodes: [PhoneNumbersModule]! + + """ + A list of edges which contains the `PhoneNumbersModule` and cursor to aid in pagination. + """ + edges: [PhoneNumbersModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `PhoneNumbersModule` you could get from the connection. + """ + totalCount: Int! +} + +type PhoneNumbersModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + ownerTableId: UUID! + tableName: String! + + """ + Reads a single `Database` that is related to this `PhoneNumbersModule`. + """ + database: Database + + """Reads a single `Table` that is related to this `PhoneNumbersModule`.""" + ownerTable: Table + + """Reads a single `Schema` that is related to this `PhoneNumbersModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `PhoneNumbersModule`.""" + schema: Schema + + """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.""" +type PhoneNumbersModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `PhoneNumbersModule` at the end of the edge.""" + node: PhoneNumbersModule +} + +"""Methods to use when ordering `PhoneNumbersModule`.""" +enum PhoneNumbersModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type ProfilesModuleConnection { + """A list of `ProfilesModule` objects.""" + nodes: [ProfilesModule]! + + """ + A list of edges which contains the `ProfilesModule` and cursor to aid in pagination. + """ + edges: [ProfilesModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ProfilesModule` you could get from the connection.""" + totalCount: Int! +} + +type ProfilesModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + tableName: String! + profilePermissionsTableId: UUID! + profilePermissionsTableName: String! + profileGrantsTableId: UUID! + profileGrantsTableName: String! + profileDefinitionGrantsTableId: UUID! + profileDefinitionGrantsTableName: String! + membershipType: Int! + entityTableId: UUID + actorTableId: UUID! + permissionsTableId: UUID! + membershipsTableId: UUID! + prefix: String + + """Reads a single `Table` that is related to this `ProfilesModule`.""" + actorTable: Table + + """Reads a single `Database` that is related to this `ProfilesModule`.""" + database: Database + + """Reads a single `Table` that is related to this `ProfilesModule`.""" + entityTable: Table + + """Reads a single `Table` that is related to this `ProfilesModule`.""" + membershipsTable: Table + + """Reads a single `Table` that is related to this `ProfilesModule`.""" + permissionsTable: Table + + """Reads a single `Schema` that is related to this `ProfilesModule`.""" + privateSchema: Schema + + """Reads a single `Table` that is related to this `ProfilesModule`.""" + profileDefinitionGrantsTable: Table + + """Reads a single `Table` that is related to this `ProfilesModule`.""" + profileGrantsTable: Table + + """Reads a single `Table` that is related to this `ProfilesModule`.""" + profilePermissionsTable: Table + + """Reads a single `Schema` that is related to this `ProfilesModule`.""" + schema: Schema + + """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.""" +type ProfilesModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ProfilesModule` at the end of the edge.""" + node: ProfilesModule +} + +"""Methods to use when ordering `ProfilesModule`.""" +enum ProfilesModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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 { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + sessionCredentialsTableId: UUID! + sessionsTableId: UUID! + usersTableId: UUID! + authenticate: String! + authenticateStrict: String! + currentRole: String! + currentRoleId: String! + + """Reads a single `Database` that is related to this `RlsModule`.""" + database: Database + + """Reads a single `Schema` that is related to this `RlsModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `RlsModule`.""" + schema: Schema + + """Reads a single `Table` that is related to this `RlsModule`.""" + sessionCredentialsTable: Table + + """Reads a single `Table` that is related to this `RlsModule`.""" + sessionsTable: Table + + """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.""" +type SecretsModuleConnection { + """A list of `SecretsModule` objects.""" + nodes: [SecretsModule]! + + """ + A list of edges which contains the `SecretsModule` and cursor to aid in pagination. + """ + edges: [SecretsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SecretsModule` you could get from the connection.""" + totalCount: Int! +} + +type SecretsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + tableId: UUID! + tableName: String! + + """Reads a single `Database` that is related to this `SecretsModule`.""" + database: Database + + """Reads a single `Schema` that is related to this `SecretsModule`.""" + schema: Schema + + """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.""" +type SecretsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SecretsModule` at the end of the edge.""" + node: SecretsModule +} + +"""Methods to use when ordering `SecretsModule`.""" +enum SecretsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type SessionsModuleConnection { + """A list of `SessionsModule` objects.""" + nodes: [SessionsModule]! + + """ + A list of edges which contains the `SessionsModule` and cursor to aid in pagination. + """ + edges: [SessionsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SessionsModule` you could get from the connection.""" + totalCount: Int! +} + +type SessionsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + sessionsTableId: UUID! + sessionCredentialsTableId: UUID! + authSettingsTableId: UUID! + usersTableId: UUID! + sessionsDefaultExpiration: Interval! + sessionsTable: String! + sessionCredentialsTable: String! + authSettingsTable: String! + + """Reads a single `Table` that is related to this `SessionsModule`.""" + authSettingsTableByAuthSettingsTableId: Table + + """Reads a single `Database` that is related to this `SessionsModule`.""" + database: Database + + """Reads a single `Schema` that is related to this `SessionsModule`.""" + schema: Schema + + """Reads a single `Table` that is related to this `SessionsModule`.""" + sessionCredentialsTableBySessionCredentialsTableId: Table + + """Reads a single `Table` that is related to this `SessionsModule`.""" + sessionsTableBySessionsTableId: Table + + """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 +} + +""" +An interval of time that has passed where the smallest distinct unit is a second. +""" +type Interval { + """ + A quantity of seconds. This is the only non-integer field, as all the other + fields will dump their overflow into a smaller unit of time. Intervals don’t + have a smaller unit than seconds. + """ + seconds: Float + + """A quantity of minutes.""" + minutes: Int + + """A quantity of hours.""" + hours: Int + + """A quantity of days.""" + days: Int + + """A quantity of months.""" + months: Int + + """A quantity of years.""" + years: Int +} + +"""A `SessionsModule` edge in the connection.""" +type SessionsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SessionsModule` at the end of the edge.""" + node: SessionsModule +} + +"""Methods to use when ordering `SessionsModule`.""" +enum SessionsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type UserAuthModuleConnection { + """A list of `UserAuthModule` objects.""" + nodes: [UserAuthModule]! + + """ + A list of edges which contains the `UserAuthModule` and cursor to aid in pagination. + """ + edges: [UserAuthModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `UserAuthModule` you could get from the connection.""" + totalCount: Int! +} + +type UserAuthModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + emailsTableId: UUID! + usersTableId: UUID! + secretsTableId: UUID! + encryptedTableId: UUID! + sessionsTableId: UUID! + sessionCredentialsTableId: UUID! + auditsTableId: UUID! + auditsTableName: String! + signInFunction: String! + signUpFunction: String! + signOutFunction: String! + setPasswordFunction: String! + resetPasswordFunction: String! + forgotPasswordFunction: String! + sendVerificationEmailFunction: String! + verifyEmailFunction: String! + verifyPasswordFunction: String! + checkPasswordFunction: String! + sendAccountDeletionEmailFunction: String! + deleteAccountFunction: String! + signInOneTimeTokenFunction: String! + oneTimeTokenFunction: String! + extendTokenExpires: String! + + """Reads a single `Database` that is related to this `UserAuthModule`.""" + database: Database + + """Reads a single `Table` that is related to this `UserAuthModule`.""" + emailsTable: Table + + """Reads a single `Table` that is related to this `UserAuthModule`.""" + encryptedTable: Table + + """Reads a single `Schema` that is related to this `UserAuthModule`.""" + schema: Schema + + """Reads a single `Table` that is related to this `UserAuthModule`.""" + secretsTable: Table + + """Reads a single `Table` that is related to this `UserAuthModule`.""" + sessionCredentialsTable: Table + + """Reads a single `Table` that is related to this `UserAuthModule`.""" + sessionsTable: Table + + """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.""" +type UserAuthModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `UserAuthModule` at the end of the edge.""" + node: UserAuthModule +} + +"""Methods to use when ordering `UserAuthModule`.""" +enum UserAuthModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type UsersModuleConnection { + """A list of `UsersModule` objects.""" + nodes: [UsersModule]! + + """ + A list of edges which contains the `UsersModule` and cursor to aid in pagination. + """ + edges: [UsersModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `UsersModule` you could get from the connection.""" + totalCount: Int! +} + +type UsersModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + tableId: UUID! + tableName: String! + typeTableId: UUID! + typeTableName: String! + + """Reads a single `Database` that is related to this `UsersModule`.""" + database: Database + + """Reads a single `Schema` that is related to this `UsersModule`.""" + schema: Schema + + """Reads a single `Table` that is related to this `UsersModule`.""" + table: Table + + """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.""" +type UsersModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `UsersModule` at the end of the edge.""" + node: UsersModule +} + +"""Methods to use when ordering `UsersModule`.""" +enum UsersModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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 { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + chartEdgesTableId: UUID! + chartEdgesTableName: String! + hierarchySprtTableId: UUID! + hierarchySprtTableName: String! + chartEdgeGrantsTableId: UUID! + chartEdgeGrantsTableName: String! + entityTableId: UUID! + usersTableId: UUID! + prefix: String! + privateSchemaName: String! + sprtTableName: String! + rebuildHierarchyFunction: String! + getSubordinatesFunction: String! + getManagersFunction: String! + isManagerOfFunction: String! + createdAt: Datetime! + + """Reads a single `Table` that is related to this `HierarchyModule`.""" + chartEdgeGrantsTable: Table + + """Reads a single `Table` that is related to this `HierarchyModule`.""" + chartEdgesTable: Table + + """Reads a single `Database` that is related to this `HierarchyModule`.""" + database: Database + + """Reads a single `Table` that is related to this `HierarchyModule`.""" + entityTable: Table + + """Reads a single `Table` that is related to this `HierarchyModule`.""" + hierarchySprtTable: Table + + """Reads a single `Schema` that is related to this `HierarchyModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `HierarchyModule`.""" + schema: Schema + + """Reads a single `Table` that is related to this `HierarchyModule`.""" + usersTable: Table + + """ + TRGM similarity when searching `chartEdgesTableName`. Returns null when no trgm search filter is active. + """ + chartEdgesTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `hierarchySprtTableName`. Returns null when no trgm search filter is active. + """ + hierarchySprtTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `chartEdgeGrantsTableName`. Returns null when no trgm search filter is active. + """ + chartEdgeGrantsTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float + + """ + TRGM similarity when searching `privateSchemaName`. Returns null when no trgm search filter is active. + """ + privateSchemaNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `sprtTableName`. Returns null when no trgm search filter is active. + """ + sprtTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `rebuildHierarchyFunction`. Returns null when no trgm search filter is active. + """ + rebuildHierarchyFunctionTrgmSimilarity: Float + + """ + TRGM similarity when searching `getSubordinatesFunction`. Returns null when no trgm search filter is active. + """ + getSubordinatesFunctionTrgmSimilarity: Float + + """ + TRGM similarity when searching `getManagersFunction`. Returns null when no trgm search filter is active. + """ + getManagersFunctionTrgmSimilarity: Float + + """ + TRGM similarity when searching `isManagerOfFunction`. Returns null when no trgm search filter is active. + """ + isManagerOfFunctionTrgmSimilarity: 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 `DatabaseProvisionModule` values.""" +type DatabaseProvisionModuleConnection { + """A list of `DatabaseProvisionModule` objects.""" + nodes: [DatabaseProvisionModule]! + + """ + A list of edges which contains the `DatabaseProvisionModule` and cursor to aid in pagination. + """ + edges: [DatabaseProvisionModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `DatabaseProvisionModule` you could get from the connection. + """ + totalCount: Int! +} + +""" +Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. +""" +type DatabaseProvisionModule { + id: UUID! + + """The name for the new database""" + databaseName: String! + + """UUID of the user who owns this database""" + ownerId: UUID! + + """ + Subdomain prefix for the database. If null, auto-generated using unique_names + random chars + """ + subdomain: String + + """Base domain for the database (e.g., example.com)""" + domain: String! + + """Array of module IDs to install, or ["all"] for all modules""" + modules: [String]! + + """Additional configuration options for provisioning""" + options: JSON! + + """ + When true, copies the owner user and password hash from source database to the newly provisioned database + """ + bootstrapUser: Boolean! + + """Current status: pending, in_progress, completed, or failed""" + status: String! + errorMessage: String + + """The ID of the provisioned database (set by trigger before RLS check)""" + databaseId: UUID + createdAt: Datetime! + updatedAt: Datetime! + completedAt: Datetime + + """ + 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.""" +type DatabaseProvisionModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `DatabaseProvisionModule` at the end of the edge.""" + node: DatabaseProvisionModule +} + +"""Methods to use when ordering `DatabaseProvisionModule`.""" +enum DatabaseProvisionModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + STATUS_ASC + 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.""" +type DatabaseEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Database` at the end of the edge.""" + node: Database +} + +"""Methods to use when ordering `Database`.""" +enum DatabaseOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + SCHEMA_HASH_ASC + SCHEMA_HASH_DESC + CREATED_AT_ASC + 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 +} + +""" +Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status +""" +type AppMembership { + id: UUID! + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether this membership has been approved by an admin""" + isApproved: Boolean! + + """Whether this member has been banned from the entity""" + isBanned: Boolean! + + """Whether this membership is temporarily disabled""" + isDisabled: Boolean! + + """Whether this member has been verified (e.g. email confirmation)""" + isVerified: Boolean! + + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean! + + """Whether the actor is the owner of this entity""" + isOwner: Boolean! + + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean! + + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString! + + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString! + + """References the user who holds this membership""" + actorId: UUID! + profileId: UUID + + """Reads a single `User` that is related to this `AppMembership`.""" + actor: User +} + +"""A connection to a list of `AppAdminGrant` values.""" +type AppAdminGrantConnection { + """A list of `AppAdminGrant` objects.""" + nodes: [AppAdminGrant]! + + """ + A list of edges which contains the `AppAdminGrant` and cursor to aid in pagination. + """ + edges: [AppAdminGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppAdminGrant` you could get from the connection.""" + totalCount: Int! +} + +"""Records of admin role grants and revocations between members""" +type AppAdminGrant { + id: UUID! + + """True to grant admin, false to revoke admin""" + isGrant: Boolean! + + """The member receiving or losing the admin grant""" + actorId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `AppAdminGrant`.""" + actor: User + + """Reads a single `User` that is related to this `AppAdminGrant`.""" + grantor: User +} + +"""A `AppAdminGrant` edge in the connection.""" +type AppAdminGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppAdminGrant` at the end of the edge.""" + node: AppAdminGrant +} + +"""Methods to use when ordering `AppAdminGrant`.""" +enum AppAdminGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + GRANTOR_ID_ASC + GRANTOR_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `AppOwnerGrant` values.""" +type AppOwnerGrantConnection { + """A list of `AppOwnerGrant` objects.""" + nodes: [AppOwnerGrant]! + + """ + A list of edges which contains the `AppOwnerGrant` and cursor to aid in pagination. + """ + edges: [AppOwnerGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppOwnerGrant` you could get from the connection.""" + totalCount: Int! +} + +"""Records of ownership transfers and grants between members""" +type AppOwnerGrant { + id: UUID! + + """True to grant ownership, false to revoke ownership""" + isGrant: Boolean! + + """The member receiving or losing the ownership grant""" + actorId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `AppOwnerGrant`.""" + actor: User + + """Reads a single `User` that is related to this `AppOwnerGrant`.""" + grantor: User +} + +"""A `AppOwnerGrant` edge in the connection.""" +type AppOwnerGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppOwnerGrant` at the end of the edge.""" + node: AppOwnerGrant +} + +"""Methods to use when ordering `AppOwnerGrant`.""" +enum AppOwnerGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + GRANTOR_ID_ASC + GRANTOR_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `AppGrant` values.""" +type AppGrantConnection { + """A list of `AppGrant` objects.""" + nodes: [AppGrant]! + + """ + A list of edges which contains the `AppGrant` and cursor to aid in pagination. + """ + edges: [AppGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppGrant` you could get from the connection.""" + totalCount: Int! +} + +""" +Records of individual permission grants and revocations for members via bitmask +""" +type AppGrant { + id: UUID! + + """Bitmask of permissions being granted or revoked""" + permissions: BitString! + + """True to grant the permissions, false to revoke them""" + isGrant: Boolean! + + """The member receiving or losing the permission grant""" + actorId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `AppGrant`.""" + actor: User + + """Reads a single `User` that is related to this `AppGrant`.""" + grantor: User +} + +"""A `AppGrant` edge in the connection.""" +type AppGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppGrant` at the end of the edge.""" + node: AppGrant +} + +"""Methods to use when ordering `AppGrant`.""" +enum AppGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + GRANTOR_ID_ASC + GRANTOR_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `OrgMembership` values.""" +type OrgMembershipConnection { + """A list of `OrgMembership` objects.""" + nodes: [OrgMembership]! + + """ + A list of edges which contains the `OrgMembership` and cursor to aid in pagination. + """ + edges: [OrgMembershipEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgMembership` you could get from the connection.""" + totalCount: Int! +} + +""" +Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status +""" +type OrgMembership { + id: UUID! + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether this membership has been approved by an admin""" + isApproved: Boolean! + + """Whether this member has been banned from the entity""" + isBanned: Boolean! + + """Whether this membership is temporarily disabled""" + isDisabled: Boolean! + + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean! + + """Whether the actor is the owner of this entity""" + isOwner: Boolean! + + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean! + + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString! + + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString! + + """References the user who holds this membership""" + actorId: UUID! + + """References the entity (org or group) this membership belongs to""" + entityId: UUID! + profileId: UUID + + """Reads a single `User` that is related to this `OrgMembership`.""" + actor: User + + """Reads a single `User` that is related to this `OrgMembership`.""" + entity: User +} + +"""A `OrgMembership` edge in the connection.""" +type OrgMembershipEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgMembership` at the end of the edge.""" + node: OrgMembership +} + +"""Methods to use when ordering `OrgMembership`.""" +enum OrgMembershipOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC + CREATED_BY_ASC + CREATED_BY_DESC + UPDATED_BY_ASC + UPDATED_BY_DESC + IS_OWNER_ASC + IS_OWNER_DESC + IS_ADMIN_ASC + IS_ADMIN_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC + PROFILE_ID_ASC + PROFILE_ID_DESC +} + +""" +Default membership settings per entity, controlling initial approval and verification state for new members +""" +type OrgMembershipDefault { + id: UUID! + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether new members are automatically approved upon joining""" + isApproved: Boolean! + + """References the entity these membership defaults apply to""" + entityId: UUID! + + """ + When an org member is deleted, whether to cascade-remove their group memberships + """ + deleteMemberCascadeGroups: Boolean! + + """ + When a group is created, whether to auto-add existing org members as group members + """ + createGroupsCascadeMembers: Boolean! + + """Reads a single `User` that is related to this `OrgMembershipDefault`.""" + entity: User +} + +"""A connection to a list of `OrgMember` values.""" +type OrgMemberConnection { + """A list of `OrgMember` objects.""" + nodes: [OrgMember]! + + """ + A list of edges which contains the `OrgMember` and cursor to aid in pagination. + """ + edges: [OrgMemberEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgMember` you could get from the connection.""" + totalCount: Int! +} + +""" +Simplified view of active members in an entity, used for listing who belongs to an org or group +""" +type OrgMember { + id: UUID! + + """Whether this member has admin privileges""" + isAdmin: Boolean! + + """References the user who is a member""" + actorId: UUID! + + """References the entity (org or group) this member belongs to""" + entityId: UUID! + + """Reads a single `User` that is related to this `OrgMember`.""" + actor: User + + """Reads a single `User` that is related to this `OrgMember`.""" + entity: User +} + +"""A `OrgMember` edge in the connection.""" +type OrgMemberEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgMember` at the end of the edge.""" + node: OrgMember +} + +"""Methods to use when ordering `OrgMember`.""" +enum OrgMemberOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + IS_ADMIN_ASC + IS_ADMIN_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC +} + +"""A connection to a list of `OrgAdminGrant` values.""" +type OrgAdminGrantConnection { + """A list of `OrgAdminGrant` objects.""" + nodes: [OrgAdminGrant]! + + """ + A list of edges which contains the `OrgAdminGrant` and cursor to aid in pagination. + """ + edges: [OrgAdminGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgAdminGrant` you could get from the connection.""" + totalCount: Int! +} + +"""Records of admin role grants and revocations between members""" +type OrgAdminGrant { + id: UUID! + + """True to grant admin, false to revoke admin""" + isGrant: Boolean! + + """The member receiving or losing the admin grant""" + actorId: UUID! + + """The entity (org or group) this admin grant applies to""" + entityId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `OrgAdminGrant`.""" + actor: User + + """Reads a single `User` that is related to this `OrgAdminGrant`.""" + entity: User + + """Reads a single `User` that is related to this `OrgAdminGrant`.""" + grantor: User +} + +"""A `OrgAdminGrant` edge in the connection.""" +type OrgAdminGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgAdminGrant` at the end of the edge.""" + node: OrgAdminGrant +} + +"""Methods to use when ordering `OrgAdminGrant`.""" +enum OrgAdminGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC + GRANTOR_ID_ASC + GRANTOR_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `OrgOwnerGrant` values.""" +type OrgOwnerGrantConnection { + """A list of `OrgOwnerGrant` objects.""" + nodes: [OrgOwnerGrant]! + + """ + A list of edges which contains the `OrgOwnerGrant` and cursor to aid in pagination. + """ + edges: [OrgOwnerGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgOwnerGrant` you could get from the connection.""" + totalCount: Int! +} + +"""Records of ownership transfers and grants between members""" +type OrgOwnerGrant { + id: UUID! + + """True to grant ownership, false to revoke ownership""" + isGrant: Boolean! + + """The member receiving or losing the ownership grant""" + actorId: UUID! + + """The entity (org or group) this ownership grant applies to""" + entityId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `OrgOwnerGrant`.""" + actor: User + + """Reads a single `User` that is related to this `OrgOwnerGrant`.""" + entity: User + + """Reads a single `User` that is related to this `OrgOwnerGrant`.""" + grantor: User +} + +"""A `OrgOwnerGrant` edge in the connection.""" +type OrgOwnerGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgOwnerGrant` at the end of the edge.""" + node: OrgOwnerGrant +} + +"""Methods to use when ordering `OrgOwnerGrant`.""" +enum OrgOwnerGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC + GRANTOR_ID_ASC + GRANTOR_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `OrgGrant` values.""" +type OrgGrantConnection { + """A list of `OrgGrant` objects.""" + nodes: [OrgGrant]! + + """ + A list of edges which contains the `OrgGrant` and cursor to aid in pagination. + """ + edges: [OrgGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgGrant` you could get from the connection.""" + totalCount: Int! +} + +""" +Records of individual permission grants and revocations for members via bitmask +""" +type OrgGrant { + id: UUID! + + """Bitmask of permissions being granted or revoked""" + permissions: BitString! + + """True to grant the permissions, false to revoke them""" + isGrant: Boolean! + + """The member receiving or losing the permission grant""" + actorId: UUID! + + """The entity (org or group) this permission grant applies to""" + entityId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `OrgGrant`.""" + actor: User + + """Reads a single `User` that is related to this `OrgGrant`.""" + entity: User + + """Reads a single `User` that is related to this `OrgGrant`.""" + grantor: User +} + +"""A `OrgGrant` edge in the connection.""" +type OrgGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgGrant` at the end of the edge.""" + node: OrgGrant +} + +"""Methods to use when ordering `OrgGrant`.""" +enum OrgGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC + GRANTOR_ID_ASC + GRANTOR_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `OrgChartEdge` values.""" +type OrgChartEdgeConnection { + """A list of `OrgChartEdge` objects.""" + nodes: [OrgChartEdge]! + + """ + A list of edges which contains the `OrgChartEdge` and cursor to aid in pagination. + """ + edges: [OrgChartEdgeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgChartEdge` you could get from the connection.""" + totalCount: Int! +} + +""" +Organizational chart edges defining parent-child reporting relationships between members within an entity +""" +type OrgChartEdge { + id: UUID! + createdAt: Datetime + updatedAt: Datetime + + """Organization this hierarchy edge belongs to""" + entityId: UUID! + + """User ID of the subordinate (employee) in this reporting relationship""" + childId: UUID! + + """ + User ID of the manager; NULL indicates a top-level position with no direct report + """ + parentId: UUID + + """Job title or role name for this position in the org chart""" + positionTitle: String + + """Numeric seniority level for this position (higher = more senior)""" + positionLevel: Int + + """Reads a single `User` that is related to this `OrgChartEdge`.""" + child: User + + """Reads a single `User` that is related to this `OrgChartEdge`.""" + entity: User + + """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.""" +type OrgChartEdgeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgChartEdge` at the end of the edge.""" + node: OrgChartEdge +} + +"""Methods to use when ordering `OrgChartEdge`.""" +enum OrgChartEdgeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC + CHILD_ID_ASC + 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.""" +type OrgChartEdgeGrantConnection { + """A list of `OrgChartEdgeGrant` objects.""" + nodes: [OrgChartEdgeGrant]! + + """ + A list of edges which contains the `OrgChartEdgeGrant` and cursor to aid in pagination. + """ + edges: [OrgChartEdgeGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `OrgChartEdgeGrant` you could get from the connection. + """ + totalCount: Int! +} + +""" +Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table +""" +type OrgChartEdgeGrant { + id: UUID! + + """Organization this grant applies to""" + entityId: UUID! + + """User ID of the subordinate being placed in the hierarchy""" + childId: UUID! + + """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! + + """TRUE to add/update the edge, FALSE to remove it""" + isGrant: Boolean! + + """Job title or role name being assigned in this grant""" + positionTitle: String + + """Numeric seniority level being assigned in this grant""" + positionLevel: Int + + """Timestamp when this grant or revocation was recorded""" + createdAt: Datetime! + + """Reads a single `User` that is related to this `OrgChartEdgeGrant`.""" + child: User + + """Reads a single `User` that is related to this `OrgChartEdgeGrant`.""" + entity: User + + """Reads a single `User` that is related to this `OrgChartEdgeGrant`.""" + grantor: User + + """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.""" +type OrgChartEdgeGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgChartEdgeGrant` at the end of the edge.""" + node: OrgChartEdgeGrant +} + +"""Methods to use when ordering `OrgChartEdgeGrant`.""" +enum OrgChartEdgeGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC + CHILD_ID_ASC + CHILD_ID_DESC + PARENT_ID_ASC + 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 `AppLimit` values.""" +type AppLimitConnection { + """A list of `AppLimit` objects.""" + nodes: [AppLimit]! + + """ + A list of edges which contains the `AppLimit` and cursor to aid in pagination. + """ + edges: [AppLimitEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppLimit` you could get from the connection.""" + totalCount: Int! +} + +"""Tracks per-actor usage counts against configurable maximum limits""" +type AppLimit { + id: UUID! + + """Name identifier of the limit being tracked""" + name: String + + """User whose usage is being tracked against this limit""" + actorId: UUID! + + """Current usage count for this actor and limit""" + num: Int + + """Maximum allowed usage; NULL means use the default limit value""" + max: Int + + """Reads a single `User` that is related to this `AppLimit`.""" + actor: User +} + +"""A `AppLimit` edge in the connection.""" +type AppLimitEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppLimit` at the end of the edge.""" + node: AppLimit +} + +"""Methods to use when ordering `AppLimit`.""" +enum AppLimitOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC +} + +"""A connection to a list of `OrgLimit` values.""" +type OrgLimitConnection { + """A list of `OrgLimit` objects.""" + nodes: [OrgLimit]! + + """ + A list of edges which contains the `OrgLimit` and cursor to aid in pagination. + """ + edges: [OrgLimitEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgLimit` you could get from the connection.""" + totalCount: Int! +} + +"""Tracks per-actor usage counts against configurable maximum limits""" +type OrgLimit { + id: UUID! + + """Name identifier of the limit being tracked""" + name: String + + """User whose usage is being tracked against this limit""" + actorId: UUID! + + """Current usage count for this actor and limit""" + num: Int + + """Maximum allowed usage; NULL means use the default limit value""" + max: Int + entityId: UUID! + + """Reads a single `User` that is related to this `OrgLimit`.""" + actor: User + + """Reads a single `User` that is related to this `OrgLimit`.""" + entity: User +} + +"""A `OrgLimit` edge in the connection.""" +type OrgLimitEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgLimit` at the end of the edge.""" + node: OrgLimit +} + +"""Methods to use when ordering `OrgLimit`.""" +enum OrgLimitOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC +} + +"""A connection to a list of `AppStep` values.""" +type AppStepConnection { + """A list of `AppStep` objects.""" + nodes: [AppStep]! + + """ + A list of edges which contains the `AppStep` and cursor to aid in pagination. + """ + edges: [AppStepEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppStep` you could get from the connection.""" + totalCount: Int! +} + +""" +Log of individual user actions toward level requirements; every single step ever taken is recorded here +""" +type AppStep { + id: UUID! + actorId: UUID! + + """Name identifier of the level requirement this step fulfills""" + name: String! + + """Number of units completed in this step action""" + count: Int! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `AppStep`.""" + actor: User +} + +"""A `AppStep` edge in the connection.""" +type AppStepEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppStep` at the end of the edge.""" + node: AppStep +} + +"""Methods to use when ordering `AppStep`.""" +enum AppStepOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `AppAchievement` values.""" +type AppAchievementConnection { + """A list of `AppAchievement` objects.""" + nodes: [AppAchievement]! + + """ + A list of edges which contains the `AppAchievement` and cursor to aid in pagination. + """ + edges: [AppAchievementEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppAchievement` you could get from the connection.""" + totalCount: Int! +} + +""" +Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually +""" +type AppAchievement { + id: UUID! + actorId: UUID! + + """Name identifier of the level requirement being tracked""" + name: String! + + """Cumulative count of completed steps toward this requirement""" + count: Int! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `AppAchievement`.""" + actor: User +} + +"""A `AppAchievement` edge in the connection.""" +type AppAchievementEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppAchievement` at the end of the edge.""" + node: AppAchievement +} + +"""Methods to use when ordering `AppAchievement`.""" +enum AppAchievementOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + NAME_ASC + NAME_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.""" + nodes: [Invite]! + + """ + A list of edges which contains the `Invite` and cursor to aid in pagination. + """ + edges: [InviteEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Invite` you could get from the connection.""" + totalCount: Int! +} + +""" +Invitation records sent to prospective members via email, with token-based redemption and expiration +""" +type Invite { + id: UUID! + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID! + + """Unique random hex token used to redeem this invitation""" + inviteToken: String! + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean! + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int! + + """Running count of how many times this invite has been claimed""" + inviteCount: Int! + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean! + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime! + createdAt: Datetime + updatedAt: Datetime + + """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.""" +type InviteEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Invite` at the end of the edge.""" + node: Invite +} + +"""Methods to use when ordering `Invite`.""" +enum InviteOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + EMAIL_ASC + EMAIL_DESC + SENDER_ID_ASC + SENDER_ID_DESC + INVITE_TOKEN_ASC + INVITE_TOKEN_DESC + INVITE_VALID_ASC + INVITE_VALID_DESC + EXPIRES_AT_ASC + EXPIRES_AT_DESC + CREATED_AT_ASC + 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.""" +type ClaimedInviteConnection { + """A list of `ClaimedInvite` objects.""" + nodes: [ClaimedInvite]! + + """ + A list of edges which contains the `ClaimedInvite` and cursor to aid in pagination. + """ + edges: [ClaimedInviteEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ClaimedInvite` you could get from the connection.""" + totalCount: Int! +} + +""" +Records of successfully claimed invitations, linking senders to receivers +""" +type ClaimedInvite { + id: UUID! + + """Optional JSON payload captured at the time the invite was claimed""" + data: JSON + + """User ID of the original invitation sender""" + senderId: UUID + + """User ID of the person who claimed and redeemed the invitation""" + receiverId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `ClaimedInvite`.""" + receiver: User + + """Reads a single `User` that is related to this `ClaimedInvite`.""" + sender: User +} + +"""A `ClaimedInvite` edge in the connection.""" +type ClaimedInviteEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ClaimedInvite` at the end of the edge.""" + node: ClaimedInvite +} + +"""Methods to use when ordering `ClaimedInvite`.""" +enum ClaimedInviteOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + SENDER_ID_ASC + SENDER_ID_DESC + RECEIVER_ID_ASC + RECEIVER_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `OrgInvite` values.""" +type OrgInviteConnection { + """A list of `OrgInvite` objects.""" + nodes: [OrgInvite]! + + """ + A list of edges which contains the `OrgInvite` and cursor to aid in pagination. + """ + edges: [OrgInviteEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `OrgInvite` you could get from the connection.""" + totalCount: Int! +} + +""" +Invitation records sent to prospective members via email, with token-based redemption and expiration +""" +type OrgInvite { + id: UUID! + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID! + + """User ID of the intended recipient, if targeting a specific user""" + receiverId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String! + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean! + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int! + + """Running count of how many times this invite has been claimed""" + inviteCount: Int! + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean! + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime! + createdAt: Datetime + updatedAt: Datetime + entityId: UUID! + + """Reads a single `User` that is related to this `OrgInvite`.""" + entity: User + + """Reads a single `User` that is related to this `OrgInvite`.""" + receiver: User + + """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.""" +type OrgInviteEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgInvite` at the end of the edge.""" + node: OrgInvite +} + +"""Methods to use when ordering `OrgInvite`.""" +enum OrgInviteOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + EMAIL_ASC + EMAIL_DESC + SENDER_ID_ASC + SENDER_ID_DESC + INVITE_TOKEN_ASC + INVITE_TOKEN_DESC + INVITE_VALID_ASC + INVITE_VALID_DESC + EXPIRES_AT_ASC + EXPIRES_AT_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + 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.""" +type OrgClaimedInviteConnection { + """A list of `OrgClaimedInvite` objects.""" + nodes: [OrgClaimedInvite]! + + """ + A list of edges which contains the `OrgClaimedInvite` and cursor to aid in pagination. + """ + edges: [OrgClaimedInviteEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `OrgClaimedInvite` you could get from the connection. + """ + totalCount: Int! +} + +""" +Records of successfully claimed invitations, linking senders to receivers +""" +type OrgClaimedInvite { + id: UUID! + + """Optional JSON payload captured at the time the invite was claimed""" + data: JSON + + """User ID of the original invitation sender""" + senderId: UUID + + """User ID of the person who claimed and redeemed the invitation""" + receiverId: UUID + createdAt: Datetime + updatedAt: Datetime + entityId: UUID! + + """Reads a single `User` that is related to this `OrgClaimedInvite`.""" + entity: User + + """Reads a single `User` that is related to this `OrgClaimedInvite`.""" + receiver: User + + """Reads a single `User` that is related to this `OrgClaimedInvite`.""" + sender: User +} + +"""A `OrgClaimedInvite` edge in the connection.""" +type OrgClaimedInviteEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgClaimedInvite` at the end of the edge.""" + node: OrgClaimedInvite +} + +"""Methods to use when ordering `OrgClaimedInvite`.""" +enum OrgClaimedInviteOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + SENDER_ID_ASC + SENDER_ID_DESC + RECEIVER_ID_ASC + RECEIVER_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `Ref` values.""" +type RefConnection { + """A list of `Ref` objects.""" + nodes: [Ref]! + + """ + A list of edges which contains the `Ref` and cursor to aid in pagination. + """ + edges: [RefEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Ref` you could get from the connection.""" + totalCount: Int! +} + +"""A ref is a data structure for pointing to a commit.""" +type Ref { + """The primary unique identifier for the ref.""" + id: UUID! + + """The name of the ref or branch""" + name: String! + 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.""" +type RefEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Ref` at the end of the edge.""" + node: Ref +} + +""" +A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ +""" +input RefFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `storeId` field.""" + storeId: UUIDFilter + + """Filter by the object’s `commitId` field.""" + commitId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [RefFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum RefOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type StoreConnection { + """A list of `Store` objects.""" + nodes: [Store]! + + """ + A list of edges which contains the `Store` and cursor to aid in pagination. + """ + edges: [StoreEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Store` you could get from the connection.""" + totalCount: Int! +} + +"""A store represents an isolated object repository within a database.""" +type Store { + """The primary unique identifier for the store.""" + id: UUID! + + """The name of the store (e.g., metaschema, migrations).""" + name: String! + + """The database this store belongs to.""" + databaseId: UUID! + + """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.""" +type StoreEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Store` at the end of the edge.""" + node: Store +} + +""" +A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ +""" +input StoreFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `hash` field.""" + hash: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [StoreFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum StoreOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" +type AppPermissionDefaultConnection { + """A list of `AppPermissionDefault` objects.""" + nodes: [AppPermissionDefault]! + + """ + A list of edges which contains the `AppPermissionDefault` and cursor to aid in pagination. + """ + edges: [AppPermissionDefaultEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `AppPermissionDefault` you could get from the connection. + """ + totalCount: Int! +} + +""" +Stores the default permission bitmask assigned to new members upon joining +""" +type AppPermissionDefault { + id: UUID! + + """Default permission bitmask applied to new members""" + permissions: BitString! +} + +"""A `AppPermissionDefault` edge in the connection.""" +type AppPermissionDefaultEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppPermissionDefault` at the end of the edge.""" + node: AppPermissionDefault +} + +""" +A filter to be used against `AppPermissionDefault` object types. All fields are combined with a logical ‘and.’ +""" +input AppPermissionDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Checks for all expressions in this list.""" + and: [AppPermissionDefaultFilter!] + + """Checks for any expressions in this list.""" + or: [AppPermissionDefaultFilter!] + + """Negates the expression.""" + not: AppPermissionDefaultFilter +} + +"""Methods to use when ordering `AppPermissionDefault`.""" +enum AppPermissionDefaultOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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.""" + nodes: [RoleType]! + + """ + A list of edges which contains the `RoleType` and cursor to aid in pagination. + """ + edges: [RoleTypeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `RoleType` you could get from the connection.""" + totalCount: Int! +} + +"""A `RoleType` edge in the connection.""" +type RoleTypeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `RoleType` at the end of the edge.""" + node: RoleType +} + +"""Methods to use when ordering `RoleType`.""" +enum RoleTypeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + 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.""" + nodes: [AppLimitDefault]! + + """ + A list of edges which contains the `AppLimitDefault` and cursor to aid in pagination. + """ + edges: [AppLimitDefaultEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `AppLimitDefault` you could get from the connection. + """ + totalCount: Int! +} + +""" +Default maximum values for each named limit, applied when no per-actor override exists +""" +type AppLimitDefault { + id: UUID! + + """Name identifier of the limit this default applies to""" + name: String! + + """Default maximum usage allowed for this limit""" + max: Int +} + +"""A `AppLimitDefault` edge in the connection.""" +type AppLimitDefaultEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppLimitDefault` at the end of the edge.""" + node: AppLimitDefault +} + +""" +A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ +""" +input AppLimitDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `max` field.""" + max: IntFilter + + """Checks for all expressions in this list.""" + and: [AppLimitDefaultFilter!] + + """Checks for any expressions in this list.""" + or: [AppLimitDefaultFilter!] + + """Negates the expression.""" + not: AppLimitDefaultFilter +} + +"""Methods to use when ordering `AppLimitDefault`.""" +enum AppLimitDefaultOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC +} + +"""A connection to a list of `OrgLimitDefault` values.""" +type OrgLimitDefaultConnection { + """A list of `OrgLimitDefault` objects.""" + nodes: [OrgLimitDefault]! + + """ + A list of edges which contains the `OrgLimitDefault` and cursor to aid in pagination. + """ + edges: [OrgLimitDefaultEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `OrgLimitDefault` you could get from the connection. + """ + totalCount: Int! +} + +""" +Default maximum values for each named limit, applied when no per-actor override exists +""" +type OrgLimitDefault { + id: UUID! + + """Name identifier of the limit this default applies to""" + name: String! + + """Default maximum usage allowed for this limit""" + max: Int +} + +"""A `OrgLimitDefault` edge in the connection.""" +type OrgLimitDefaultEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgLimitDefault` at the end of the edge.""" + node: OrgLimitDefault +} + +""" +A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ +""" +input OrgLimitDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `max` field.""" + max: IntFilter + + """Checks for all expressions in this list.""" + and: [OrgLimitDefaultFilter!] + + """Checks for any expressions in this list.""" + or: [OrgLimitDefaultFilter!] + + """Negates the expression.""" + not: OrgLimitDefaultFilter +} + +"""Methods to use when ordering `OrgLimitDefault`.""" +enum OrgLimitDefaultOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_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 + + """ + TRGM similarity when searching `service`. Returns null when no trgm search filter is active. + """ + serviceTrgmSimilarity: Float + + """ + TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. + """ + identifierTrgmSimilarity: 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 `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 + + """Description of what this node type does""" + description: String + + """JSON Schema defining valid parameters for this node type""" + parameterSchema: JSON + + """ + Tags for categorization and filtering (e.g., ownership, membership, temporal, rls) + """ + 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.""" +type NodeTypeRegistryEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `NodeTypeRegistry` at the end of the edge.""" + node: NodeTypeRegistry +} + +""" +A filter to be used against `NodeTypeRegistry` object types. All fields are combined with a logical ‘and.’ +""" +input NodeTypeRegistryFilter { + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `slug` field.""" + slug: StringFilter + + """Filter by the object’s `category` field.""" + category: StringFilter + + """Filter by the object’s `displayName` field.""" + displayName: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `parameterSchema` field.""" + parameterSchema: JSONFilter + + """Filter by the object’s `tags` field.""" + tags: StringListFilter + + """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: [NodeTypeRegistryFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum NodeTypeRegistryOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + NAME_ASC + NAME_DESC + SLUG_ASC + 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.""" +type MembershipTypeConnection { + """A list of `MembershipType` objects.""" + nodes: [MembershipType]! + + """ + A list of edges which contains the `MembershipType` and cursor to aid in pagination. + """ + edges: [MembershipTypeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `MembershipType` you could get from the connection.""" + totalCount: Int! +} + +""" +Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) +""" +type MembershipType { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! + + """Human-readable name of the membership type""" + name: String! + + """Description of what this membership type represents""" + description: String! + + """ + 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.""" +type MembershipTypeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `MembershipType` at the end of the edge.""" + node: MembershipType +} + +""" +A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ +""" +input MembershipTypeFilter { + """Filter by the object’s `id` field.""" + id: IntFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Checks for all expressions in this list.""" + and: [MembershipTypeFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum MembershipTypeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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 +} + +""" +A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ +""" +input AppPermissionFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `bitnum` field.""" + bitnum: IntFilter + + """Filter by the object’s `bitstr` field.""" + bitstr: BitStringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Checks for all expressions in this list.""" + and: [AppPermissionFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum AppPermissionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + BITNUM_ASC + BITNUM_DESC + DESCRIPTION_TRGM_SIMILARITY_ASC + DESCRIPTION_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC +} + +""" +A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ +""" +input OrgPermissionFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `bitnum` field.""" + bitnum: IntFilter + + """Filter by the object’s `bitstr` field.""" + bitstr: BitStringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Checks for all expressions in this list.""" + and: [OrgPermissionFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum OrgPermissionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + 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.""" +type AppMembershipDefaultConnection { + """A list of `AppMembershipDefault` objects.""" + nodes: [AppMembershipDefault]! + + """ + A list of edges which contains the `AppMembershipDefault` and cursor to aid in pagination. + """ + edges: [AppMembershipDefaultEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `AppMembershipDefault` you could get from the connection. + """ + totalCount: Int! +} + +""" +Default membership settings per entity, controlling initial approval and verification state for new members +""" +type AppMembershipDefault { + id: UUID! + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether new members are automatically approved upon joining""" + isApproved: Boolean! + + """Whether new members are automatically verified upon joining""" + isVerified: Boolean! +} + +"""A `AppMembershipDefault` edge in the connection.""" +type AppMembershipDefaultEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppMembershipDefault` at the end of the edge.""" + node: AppMembershipDefault +} + +""" +A filter to be used against `AppMembershipDefault` object types. All fields are combined with a logical ‘and.’ +""" +input AppMembershipDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter + + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter + + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter + + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter + + """Checks for all expressions in this list.""" + and: [AppMembershipDefaultFilter!] + + """Checks for any expressions in this list.""" + or: [AppMembershipDefaultFilter!] + + """Negates the expression.""" + not: AppMembershipDefaultFilter +} + +"""Methods to use when ordering `AppMembershipDefault`.""" +enum AppMembershipDefaultOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC + CREATED_BY_ASC + CREATED_BY_DESC + UPDATED_BY_ASC + UPDATED_BY_DESC +} + +"""A connection to a list of `RlsModule` values.""" +type RlsModuleConnection { + """A list of `RlsModule` objects.""" + nodes: [RlsModule]! + + """ + A list of edges which contains the `RlsModule` and cursor to aid in pagination. + """ + edges: [RlsModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `RlsModule` you could get from the connection.""" + totalCount: Int! +} + +"""A `RlsModule` edge in the connection.""" +type RlsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `RlsModule` at the end of the edge.""" + node: RlsModule +} + +"""Methods to use when ordering `RlsModule`.""" +enum RlsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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 filter to be used against `Object` object types. All fields are combined with a logical ‘and.’ +""" +input ObjectFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `kids` field.""" + kids: UUIDListFilter + + """Filter by the object’s `ktree` field.""" + ktree: StringListFilter + + """Filter by the object’s `data` field.""" + data: JSONFilter + + """Filter by the object’s `frzn` field.""" + frzn: BooleanFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [ObjectFilter!] + + """Checks for any expressions in this list.""" + or: [ObjectFilter!] + + """Negates the expression.""" + not: ObjectFilter +} + +"""Methods to use when ordering `Object`.""" +enum ObjectOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + FRZN_ASC + FRZN_DESC +} + +"""A connection to a list of `Commit` values.""" +type CommitConnection { + """A list of `Commit` objects.""" + nodes: [Commit]! + + """ + A list of edges which contains the `Commit` and cursor to aid in pagination. + """ + edges: [CommitEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Commit` you could get from the connection.""" + totalCount: Int! +} + +"""A commit records changes to the repository.""" +type Commit { + """The primary unique identifier for the commit.""" + id: UUID! + + """The commit message""" + message: String + + """The repository identifier""" + databaseId: UUID! + storeId: UUID! + + """Parent commits""" + parentIds: [UUID] + + """The author of the commit""" + authorId: UUID + + """The committer of the commit""" + committerId: UUID + + """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.""" +type CommitEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Commit` at the end of the edge.""" + node: Commit +} + +""" +A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ +""" +input CommitFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `message` field.""" + message: StringFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `storeId` field.""" + storeId: UUIDFilter + + """Filter by the object’s `parentIds` field.""" + parentIds: UUIDListFilter + + """Filter by the object’s `authorId` field.""" + authorId: UUIDFilter + + """Filter by the object’s `committerId` field.""" + committerId: UUIDFilter + + """Filter by the object’s `treeId` field.""" + treeId: UUIDFilter + + """Filter by the object’s `date` field.""" + date: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [CommitFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum CommitOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + MESSAGE_TRGM_SIMILARITY_ASC + MESSAGE_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC +} + +"""A connection to a list of `OrgMembershipDefault` values.""" +type OrgMembershipDefaultConnection { + """A list of `OrgMembershipDefault` objects.""" + nodes: [OrgMembershipDefault]! + + """ + A list of edges which contains the `OrgMembershipDefault` and cursor to aid in pagination. + """ + edges: [OrgMembershipDefaultEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `OrgMembershipDefault` you could get from the connection. + """ + totalCount: Int! +} + +"""A `OrgMembershipDefault` edge in the connection.""" +type OrgMembershipDefaultEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgMembershipDefault` at the end of the edge.""" + node: OrgMembershipDefault +} + +"""Methods to use when ordering `OrgMembershipDefault`.""" +enum OrgMembershipDefaultOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC + CREATED_BY_ASC + CREATED_BY_DESC + UPDATED_BY_ASC + UPDATED_BY_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC +} + +""" +A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ +""" +input AppLevelRequirementFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `level` field.""" + level: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `requiredCount` field.""" + requiredCount: IntFilter + + """Filter by the object’s `priority` field.""" + priority: IntFilter + + """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: [AppLevelRequirementFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum AppLevelRequirementOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + LEVEL_ASC + LEVEL_DESC + PRIORITY_ASC + PRIORITY_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 `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.""" +type SqlMigrationConnection { + """A list of `SqlMigration` objects.""" + nodes: [SqlMigration]! + + """ + A list of edges which contains the `SqlMigration` and cursor to aid in pagination. + """ + edges: [SqlMigrationEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SqlMigration` you could get from the connection.""" + totalCount: Int! +} + +type SqlMigration { + id: Int + name: String + databaseId: UUID + deploy: String + deps: [String] + payload: JSON + content: String + revert: String + verify: String + createdAt: Datetime + 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.""" +type SqlMigrationEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SqlMigration` at the end of the edge.""" + node: SqlMigration +} + +""" +A filter to be used against `SqlMigration` object types. All fields are combined with a logical ‘and.’ +""" +input SqlMigrationFilter { + """Filter by the object’s `id` field.""" + id: IntFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `deploy` field.""" + deploy: StringFilter + + """Filter by the object’s `deps` field.""" + deps: StringListFilter + + """Filter by the object’s `content` field.""" + content: StringFilter + + """Filter by the object’s `revert` field.""" + revert: StringFilter + + """Filter by the object’s `verify` field.""" + verify: StringFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `action` field.""" + action: StringFilter + + """Filter by the object’s `actionId` field.""" + actionId: UUIDFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [SqlMigrationFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum SqlMigrationOrderBy { + NATURAL + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + DEPLOY_ASC + DEPLOY_DESC + CONTENT_ASC + CONTENT_DESC + REVERT_ASC + REVERT_DESC + VERIFY_ASC + VERIFY_DESC + CREATED_AT_ASC + CREATED_AT_DESC + ACTION_ASC + ACTION_DESC + ACTION_ID_ASC + 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 `AstMigration` values.""" +type AstMigrationConnection { + """A list of `AstMigration` objects.""" + nodes: [AstMigration]! + + """ + A list of edges which contains the `AstMigration` and cursor to aid in pagination. + """ + edges: [AstMigrationEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AstMigration` you could get from the connection.""" + totalCount: Int! +} + +type AstMigration { + id: Int + databaseId: UUID + name: String + requires: [String] + payload: JSON + deploys: String + deploy: JSON + revert: JSON + verify: JSON + createdAt: Datetime + 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.""" +type AstMigrationEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AstMigration` at the end of the edge.""" + node: AstMigration +} + +""" +A filter to be used against `AstMigration` object types. All fields are combined with a logical ‘and.’ +""" +input AstMigrationFilter { + """Filter by the object’s `id` field.""" + id: IntFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `requires` field.""" + requires: StringListFilter + + """Filter by the object’s `payload` field.""" + payload: JSONFilter + + """Filter by the object’s `deploys` field.""" + deploys: StringFilter + + """Filter by the object’s `deploy` field.""" + deploy: JSONFilter + + """Filter by the object’s `revert` field.""" + revert: JSONFilter + + """Filter by the object’s `verify` field.""" + verify: JSONFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `action` field.""" + action: StringFilter + + """Filter by the object’s `actionId` field.""" + actionId: UUIDFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [AstMigrationFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum AstMigrationOrderBy { + NATURAL + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + NAME_ASC + NAME_DESC + DEPLOYS_ASC + DEPLOYS_DESC + CREATED_AT_ASC + CREATED_AT_DESC + ACTION_ASC + ACTION_DESC + ACTION_ID_ASC + 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.""" +type AppMembershipConnection { + """A list of `AppMembership` objects.""" + nodes: [AppMembership]! + + """ + A list of edges which contains the `AppMembership` and cursor to aid in pagination. + """ + edges: [AppMembershipEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppMembership` you could get from the connection.""" + totalCount: Int! +} + +"""A `AppMembership` edge in the connection.""" +type AppMembershipEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppMembership` at the end of the edge.""" + node: AppMembership +} + +"""Methods to use when ordering `AppMembership`.""" +enum AppMembershipOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC + CREATED_BY_ASC + CREATED_BY_DESC + UPDATED_BY_ASC + UPDATED_BY_DESC + IS_OWNER_ASC + IS_OWNER_DESC + IS_ADMIN_ASC + IS_ADMIN_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + PROFILE_ID_ASC + PROFILE_ID_DESC +} + +"""A connection to a list of `User` values.""" +type UserConnection { + """A list of `User` objects.""" + nodes: [User]! + + """ + A list of edges which contains the `User` and cursor to aid in pagination. + """ + edges: [UserEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `User` you could get from the connection.""" + totalCount: Int! +} + +"""A `User` edge in the connection.""" +type UserEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `User` at the end of the edge.""" + node: User +} + +"""Methods to use when ordering `User`.""" +enum UserOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + USERNAME_ASC + USERNAME_DESC + SEARCH_TSV_ASC + SEARCH_TSV_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC + SEARCH_TSV_RANK_ASC + SEARCH_TSV_RANK_DESC + DISPLAY_NAME_TRGM_SIMILARITY_ASC + DISPLAY_NAME_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC +} + +"""A connection to a list of `HierarchyModule` values.""" +type HierarchyModuleConnection { + """A list of `HierarchyModule` objects.""" + nodes: [HierarchyModule]! + + """ + A list of edges which contains the `HierarchyModule` and cursor to aid in pagination. + """ + edges: [HierarchyModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `HierarchyModule` you could get from the connection. + """ + totalCount: Int! +} + +"""A `HierarchyModule` edge in the connection.""" +type HierarchyModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `HierarchyModule` at the end of the edge.""" + node: HierarchyModule +} + +"""Methods to use when ordering `HierarchyModule`.""" +enum HierarchyModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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""" +type MetaSchema { + tables: [MetaTable!]! +} + +"""Information about a database table""" +type MetaTable { + name: String! + schemaName: String! + fields: [MetaField!]! + indexes: [MetaIndex!]! + constraints: MetaConstraints! + foreignKeyConstraints: [MetaForeignKeyConstraint!]! + primaryKeyConstraints: [MetaPrimaryKeyConstraint!]! + uniqueConstraints: [MetaUniqueConstraint!]! + relations: MetaRelations! + inflection: MetaInflection! + query: MetaQuery! +} + +"""Information about a table field/column""" +type MetaField { + name: String! + type: MetaType! + isNotNull: Boolean! + hasDefault: Boolean! +} + +"""Information about a PostgreSQL type""" +type MetaType { + pgType: String! + gqlType: String! + isArray: Boolean! + isNotNull: Boolean + hasDefault: Boolean +} + +"""Information about a database index""" +type MetaIndex { + name: String! + isUnique: Boolean! + isPrimary: Boolean! + columns: [String!]! + fields: [MetaField!] +} + +"""Table constraints""" +type MetaConstraints { + primaryKey: MetaPrimaryKeyConstraint + unique: [MetaUniqueConstraint!]! + foreignKey: [MetaForeignKeyConstraint!]! +} + +"""Information about a primary key constraint""" +type MetaPrimaryKeyConstraint { + name: String! + fields: [MetaField!]! +} + +"""Information about a unique constraint""" +type MetaUniqueConstraint { + name: String! + fields: [MetaField!]! +} + +"""Information about a foreign key constraint""" +type MetaForeignKeyConstraint { + name: String! + fields: [MetaField!]! + referencedTable: String! + referencedFields: [String!]! + refFields: [MetaField!] + refTable: MetaRefTable +} + +"""Reference to a related table""" +type MetaRefTable { + name: String! +} + +"""Table relations""" +type MetaRelations { + belongsTo: [MetaBelongsToRelation!]! + has: [MetaHasRelation!]! + hasOne: [MetaHasRelation!]! + hasMany: [MetaHasRelation!]! + manyToMany: [MetaManyToManyRelation!]! +} + +"""A belongs-to (forward FK) relation""" +type MetaBelongsToRelation { + fieldName: String + isUnique: Boolean! + type: String + keys: [MetaField!]! + references: MetaRefTable! +} + +"""A has-one or has-many (reverse FK) relation""" +type MetaHasRelation { + fieldName: String + isUnique: Boolean! + type: String + keys: [MetaField!]! + referencedBy: MetaRefTable! +} + +"""A many-to-many relation via junction table""" +type MetaManyToManyRelation { + fieldName: String + type: String + junctionTable: MetaRefTable! + junctionLeftConstraint: MetaForeignKeyConstraint! + junctionLeftKeyAttributes: [MetaField!]! + junctionRightConstraint: MetaForeignKeyConstraint! + junctionRightKeyAttributes: [MetaField!]! + leftKeyAttributes: [MetaField!]! + rightKeyAttributes: [MetaField!]! + rightTable: MetaRefTable! +} + +"""Table inflection names""" +type MetaInflection { + tableType: String! + allRows: String! + connection: String! + edge: String! + filterType: String + orderByType: String! + conditionType: String! + patchType: String + createInputType: String! + createPayloadType: String! + updatePayloadType: String + deletePayloadType: String! +} + +"""Table query/mutation names""" +type MetaQuery { + all: String! + one: String + create: String + update: String + delete: String +} + +""" +The root mutation type which contains root level fields which mutate data. +""" +type Mutation { + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SendAccountDeletionEmailInput! + ): SendAccountDeletionEmailPayload + checkPassword( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CheckPasswordInput! + ): CheckPasswordPayload + submitInviteCode( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SubmitInviteCodeInput! + ): SubmitInviteCodePayload + submitOrgInviteCode( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: InitEmptyRepoInput! + ): InitEmptyRepoPayload + confirmDeleteAccount( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: ConfirmDeleteAccountInput! + ): ConfirmDeleteAccountPayload + setPassword( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SetPasswordInput! + ): SetPasswordPayload + verifyEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: VerifyEmailInput! + ): VerifyEmailPayload + resetPassword( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: ResetPasswordInput! + ): ResetPasswordPayload + bootstrapUser( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: BootstrapUserInput! + ): BootstrapUserPayload + 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. + """ + input: SetDataAtPathInput! + ): SetDataAtPathPayload + setPropsAndCommit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SetPropsAndCommitInput! + ): SetPropsAndCommitPayload + provisionDatabaseWithUser( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: ProvisionDatabaseWithUserInput! + ): ProvisionDatabaseWithUserPayload + signInOneTimeToken( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SignInOneTimeTokenInput! + ): SignInOneTimeTokenPayload + + "Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n" + createUserDatabase( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateUserDatabaseInput! + ): CreateUserDatabasePayload + extendTokenExpires( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: ExtendTokenExpiresInput! + ): ExtendTokenExpiresPayload + signIn( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SignInInput! + ): SignInPayload + signUp( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SignUpInput! + ): SignUpPayload + setFieldOrder( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SetFieldOrderInput! + ): SetFieldOrderPayload + oneTimeToken( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: OneTimeTokenInput! + ): OneTimeTokenPayload + insertNodeAtPath( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: InsertNodeAtPathInput! + ): InsertNodeAtPathPayload + updateNodeAtPath( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateNodeAtPathInput! + ): UpdateNodeAtPathPayload + setAndCommit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SetAndCommitInput! + ): SetAndCommitPayload + applyRls( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: ApplyRlsInput! + ): ApplyRlsPayload + 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 + verifyPassword( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: VerifyPasswordInput! + ): VerifyPasswordPayload + verifyTotp( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: VerifyTotpInput! + ): VerifyTotpPayload + + """Creates a single `DefaultIdsModule`.""" + createDefaultIdsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDefaultIdsModuleInput! + ): CreateDefaultIdsModulePayload + + """Creates a single `ViewTable`.""" + createViewTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateViewTableInput! + ): CreateViewTablePayload + + """Creates a single `ApiSchema`.""" + createApiSchema( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateApiSchemaInput! + ): CreateApiSchemaPayload + + """Creates a single `OrgMember`.""" + createOrgMember( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgMemberInput! + ): CreateOrgMemberPayload + + """Creates a single `Ref`.""" + createRef( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateRefInput! + ): CreateRefPayload + + """Creates a single `EncryptedSecretsModule`.""" + createEncryptedSecretsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateEncryptedSecretsModuleInput! + ): CreateEncryptedSecretsModulePayload + + """Creates a single `MembershipTypesModule`.""" + createMembershipTypesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateMembershipTypesModuleInput! + ): CreateMembershipTypesModulePayload + + """Creates a single `SecretsModule`.""" + createSecretsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateStoreInput! + ): CreateStorePayload + + """Creates a single `ViewRule`.""" + createViewRule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateViewRuleInput! + ): CreateViewRulePayload + + """Creates a single `AppPermissionDefault`.""" + createAppPermissionDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppPermissionDefaultInput! + ): CreateAppPermissionDefaultPayload + + """Creates a single `ApiModule`.""" + createApiModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateApiModuleInput! + ): CreateApiModulePayload + + """Creates a single `SiteModule`.""" + createSiteModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSiteModuleInput! + ): CreateSiteModulePayload + + """Creates a single `SchemaGrant`.""" + createSchemaGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSchemaGrantInput! + ): CreateSchemaGrantPayload + + """Creates a single `TriggerFunction`.""" + createTriggerFunction( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateTriggerFunctionInput! + ): CreateTriggerFunctionPayload + + """Creates a single `AppAdminGrant`.""" + createAppAdminGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppAdminGrantInput! + ): CreateAppAdminGrantPayload + + """Creates a single `AppOwnerGrant`.""" + createAppOwnerGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppOwnerGrantInput! + ): CreateAppOwnerGrantPayload + + """Creates a single `DefaultPrivilege`.""" + createDefaultPrivilege( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDefaultPrivilegeInput! + ): CreateDefaultPrivilegePayload + + """Creates a single `ViewGrant`.""" + createViewGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateViewGrantInput! + ): CreateViewGrantPayload + + """Creates a single `Api`.""" + createApi( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateApiInput! + ): CreateApiPayload + + """Creates a single `ConnectedAccountsModule`.""" + createConnectedAccountsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateConnectedAccountsModuleInput! + ): CreateConnectedAccountsModulePayload + + """Creates a single `EmailsModule`.""" + createEmailsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateEmailsModuleInput! + ): CreateEmailsModulePayload + + """Creates a single `PhoneNumbersModule`.""" + createPhoneNumbersModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePhoneNumbersModuleInput! + ): CreatePhoneNumbersModulePayload + + """Creates a single `UsersModule`.""" + createUsersModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateUsersModuleInput! + ): CreateUsersModulePayload + + """Creates a single `OrgAdminGrant`.""" + createOrgAdminGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgAdminGrantInput! + ): CreateOrgAdminGrantPayload + + """Creates a single `OrgOwnerGrant`.""" + createOrgOwnerGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgOwnerGrantInput! + ): CreateOrgOwnerGrantPayload + + """Creates a single `CryptoAddress`.""" + createCryptoAddress( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateCryptoAddressInput! + ): CreateCryptoAddressPayload + + """Creates a single `RoleType`.""" + createRoleType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateRoleTypeInput! + ): CreateRoleTypePayload + + """Creates a single `OrgPermissionDefault`.""" + createOrgPermissionDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgPermissionDefaultInput! + ): CreateOrgPermissionDefaultPayload + + """Creates a single `Database`.""" + createDatabase( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDatabaseInput! + ): CreateDatabasePayload + + """Creates a single `CryptoAddressesModule`.""" + createCryptoAddressesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateCryptoAddressesModuleInput! + ): CreateCryptoAddressesModulePayload + + """Creates a single `PhoneNumber`.""" + createPhoneNumber( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePhoneNumberInput! + ): CreatePhoneNumberPayload + + """Creates a single `AppLimitDefault`.""" + createAppLimitDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppLimitDefaultInput! + ): CreateAppLimitDefaultPayload + + """Creates a single `OrgLimitDefault`.""" + createOrgLimitDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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 `FieldModule`.""" + createFieldModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateFieldModuleInput! + ): CreateFieldModulePayload + + """Creates a single `TableTemplateModule`.""" + createTableTemplateModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateTableTemplateModuleInput! + ): CreateTableTemplateModulePayload + + """Creates a single `OrgChartEdgeGrant`.""" + createOrgChartEdgeGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgChartEdgeGrantInput! + ): CreateOrgChartEdgeGrantPayload + + """Creates a single `NodeTypeRegistry`.""" + createNodeTypeRegistry( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateNodeTypeRegistryInput! + ): CreateNodeTypeRegistryPayload + + """Creates a single `MembershipType`.""" + createMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateMembershipTypeInput! + ): CreateMembershipTypePayload + + """Creates a single `TableGrant`.""" + createTableGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateTableGrantInput! + ): CreateTableGrantPayload + + """Creates a single `AppPermission`.""" + createAppPermission( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppPermissionInput! + ): CreateAppPermissionPayload + + """Creates a single `OrgPermission`.""" + createOrgPermission( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgPermissionInput! + ): CreateOrgPermissionPayload + + """Creates a single `AppLimit`.""" + createAppLimit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppLimitInput! + ): CreateAppLimitPayload + + """Creates a single `AppAchievement`.""" + createAppAchievement( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppAchievementInput! + ): CreateAppAchievementPayload + + """Creates a single `AppStep`.""" + createAppStep( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppStepInput! + ): CreateAppStepPayload + + """Creates a single `ClaimedInvite`.""" + createClaimedInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateClaimedInviteInput! + ): CreateClaimedInvitePayload + + """Creates a single `AppMembershipDefault`.""" + createAppMembershipDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppMembershipDefaultInput! + ): CreateAppMembershipDefaultPayload + + """Creates a single `SiteMetadatum`.""" + createSiteMetadatum( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSiteMetadatumInput! + ): CreateSiteMetadatumPayload + + """Creates a single `RlsModule`.""" + createRlsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateRlsModuleInput! + ): CreateRlsModulePayload + + """Creates a single `SessionsModule`.""" + createSessionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSessionsModuleInput! + ): CreateSessionsModulePayload + + """Creates a single `Object`.""" + createObject( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateObjectInput! + ): CreateObjectPayload + + """Creates a single `FullTextSearch`.""" + createFullTextSearch( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateFullTextSearchInput! + ): CreateFullTextSearchPayload + + """Creates a single `Commit`.""" + createCommit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateCommitInput! + ): CreateCommitPayload + + """Creates a single `OrgLimit`.""" + createOrgLimit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgLimitInput! + ): CreateOrgLimitPayload + + """Creates a single `AppGrant`.""" + createAppGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppGrantInput! + ): CreateAppGrantPayload + + """Creates a single `OrgClaimedInvite`.""" + createOrgClaimedInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgClaimedInviteInput! + ): CreateOrgClaimedInvitePayload + + """Creates a single `OrgChartEdge`.""" + createOrgChartEdge( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgChartEdgeInput! + ): CreateOrgChartEdgePayload + + """Creates a single `Domain`.""" + createDomain( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDomainInput! + ): CreateDomainPayload + + """Creates a single `OrgGrant`.""" + createOrgGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgGrantInput! + ): CreateOrgGrantPayload + + """Creates a single `OrgMembershipDefault`.""" + createOrgMembershipDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgMembershipDefaultInput! + ): CreateOrgMembershipDefaultPayload + + """Creates a single `AppLevelRequirement`.""" + createAppLevelRequirement( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppLevelRequirementInput! + ): CreateAppLevelRequirementPayload + + """Creates a single `AuditLog`.""" + createAuditLog( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAuditLogInput! + ): CreateAuditLogPayload + + """Creates a single `AppLevel`.""" + createAppLevel( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppLevelInput! + ): CreateAppLevelPayload + + """Creates a single `SqlMigration`.""" + createSqlMigration( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSqlMigrationInput! + ): CreateSqlMigrationPayload + + """Creates a single `CryptoAuthModule`.""" + createCryptoAuthModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateCryptoAuthModuleInput! + ): CreateCryptoAuthModulePayload + + """Creates a single `DatabaseProvisionModule`.""" + createDatabaseProvisionModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDatabaseProvisionModuleInput! + ): CreateDatabaseProvisionModulePayload + + """Creates a single `InvitesModule`.""" + createInvitesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateInvitesModuleInput! + ): CreateInvitesModulePayload + + """Creates a single `DenormalizedTableField`.""" + createDenormalizedTableField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDenormalizedTableFieldInput! + ): CreateDenormalizedTableFieldPayload + + """Creates a single `Email`.""" + createEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateEmailInput! + ): CreateEmailPayload + + """Creates a single `View`.""" + createView( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateViewInput! + ): CreateViewPayload + + """Creates a single `PermissionsModule`.""" + createPermissionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePermissionsModuleInput! + ): CreatePermissionsModulePayload + + """Creates a single `LimitsModule`.""" + createLimitsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateLimitsModuleInput! + ): CreateLimitsModulePayload + + """Creates a single `ProfilesModule`.""" + createProfilesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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 `Trigger`.""" + createTrigger( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateTriggerInput! + ): CreateTriggerPayload + + """Creates a single `UniqueConstraint`.""" + createUniqueConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateUniqueConstraintInput! + ): CreateUniqueConstraintPayload + + """Creates a single `PrimaryKeyConstraint`.""" + createPrimaryKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePrimaryKeyConstraintInput! + ): CreatePrimaryKeyConstraintPayload + + """Creates a single `CheckConstraint`.""" + createCheckConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateCheckConstraintInput! + ): CreateCheckConstraintPayload + + """Creates a single `Policy`.""" + createPolicy( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePolicyInput! + ): CreatePolicyPayload + + """Creates a single `AstMigration`.""" + createAstMigration( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAstMigrationInput! + ): CreateAstMigrationPayload + + """Creates a single `AppMembership`.""" + createAppMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppMembershipInput! + ): CreateAppMembershipPayload + + """Creates a single `OrgMembership`.""" + createOrgMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgMembershipInput! + ): CreateOrgMembershipPayload + + """Creates a single `Schema`.""" + createSchema( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSchemaInput! + ): CreateSchemaPayload + + """Creates a single `App`.""" + createApp( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppInput! + ): CreateAppPayload + + """Creates a single `Site`.""" + createSite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSiteInput! + ): CreateSitePayload + + """Creates a single `User`.""" + createUser( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateUserInput! + ): CreateUserPayload + + """Creates a single `HierarchyModule`.""" + createHierarchyModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateHierarchyModuleInput! + ): CreateHierarchyModulePayload + + """Creates a single `Invite`.""" + createInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateInviteInput! + ): CreateInvitePayload + + """Creates a single `Index`.""" + createIndex( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateIndexInput! + ): CreateIndexPayload + + """Creates a single `ForeignKeyConstraint`.""" + createForeignKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateForeignKeyConstraintInput! + ): CreateForeignKeyConstraintPayload + + """Creates a single `OrgInvite`.""" + createOrgInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgInviteInput! + ): CreateOrgInvitePayload + + """Creates a single `Table`.""" + createTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateTableInput! + ): CreateTablePayload + + """Creates a single `LevelsModule`.""" + createLevelsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateLevelsModuleInput! + ): CreateLevelsModulePayload + + """Creates a single `UserAuthModule`.""" + createUserAuthModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateFieldInput! + ): CreateFieldPayload + + """Creates a single `MembershipsModule`.""" + createMembershipsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateMembershipsModuleInput! + ): CreateMembershipsModulePayload + + """Updates a single `DefaultIdsModule` using a unique key and a patch.""" + updateDefaultIdsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDefaultIdsModuleInput! + ): UpdateDefaultIdsModulePayload + + """Updates a single `ViewTable` using a unique key and a patch.""" + updateViewTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateViewTableInput! + ): UpdateViewTablePayload + + """Updates a single `ApiSchema` using a unique key and a patch.""" + updateApiSchema( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateApiSchemaInput! + ): UpdateApiSchemaPayload + + """Updates a single `OrgMember` using a unique key and a patch.""" + updateOrgMember( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgMemberInput! + ): UpdateOrgMemberPayload + + """Updates a single `Ref` using a unique key and a patch.""" + updateRef( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateRefInput! + ): UpdateRefPayload + + """ + Updates a single `EncryptedSecretsModule` using a unique key and a patch. + """ + updateEncryptedSecretsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateEncryptedSecretsModuleInput! + ): UpdateEncryptedSecretsModulePayload + + """ + Updates a single `MembershipTypesModule` using a unique key and a patch. + """ + updateMembershipTypesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateMembershipTypesModuleInput! + ): UpdateMembershipTypesModulePayload + + """Updates a single `SecretsModule` using a unique key and a patch.""" + updateSecretsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateStoreInput! + ): UpdateStorePayload + + """Updates a single `ViewRule` using a unique key and a patch.""" + updateViewRule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateViewRuleInput! + ): UpdateViewRulePayload + + """ + Updates a single `AppPermissionDefault` using a unique key and a patch. + """ + updateAppPermissionDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppPermissionDefaultInput! + ): UpdateAppPermissionDefaultPayload + + """Updates a single `ApiModule` using a unique key and a patch.""" + updateApiModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateApiModuleInput! + ): UpdateApiModulePayload + + """Updates a single `SiteModule` using a unique key and a patch.""" + updateSiteModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSiteModuleInput! + ): UpdateSiteModulePayload + + """Updates a single `SchemaGrant` using a unique key and a patch.""" + updateSchemaGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSchemaGrantInput! + ): UpdateSchemaGrantPayload + + """Updates a single `TriggerFunction` using a unique key and a patch.""" + updateTriggerFunction( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateTriggerFunctionInput! + ): UpdateTriggerFunctionPayload + + """Updates a single `AppAdminGrant` using a unique key and a patch.""" + updateAppAdminGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppAdminGrantInput! + ): UpdateAppAdminGrantPayload + + """Updates a single `AppOwnerGrant` using a unique key and a patch.""" + updateAppOwnerGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppOwnerGrantInput! + ): UpdateAppOwnerGrantPayload + + """Updates a single `DefaultPrivilege` using a unique key and a patch.""" + updateDefaultPrivilege( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDefaultPrivilegeInput! + ): UpdateDefaultPrivilegePayload + + """Updates a single `ViewGrant` using a unique key and a patch.""" + updateViewGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateViewGrantInput! + ): UpdateViewGrantPayload + + """Updates a single `Api` using a unique key and a patch.""" + updateApi( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateApiInput! + ): UpdateApiPayload + + """ + Updates a single `ConnectedAccountsModule` using a unique key and a patch. + """ + updateConnectedAccountsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateConnectedAccountsModuleInput! + ): UpdateConnectedAccountsModulePayload + + """Updates a single `EmailsModule` using a unique key and a patch.""" + updateEmailsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateEmailsModuleInput! + ): UpdateEmailsModulePayload + + """Updates a single `PhoneNumbersModule` using a unique key and a patch.""" + updatePhoneNumbersModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePhoneNumbersModuleInput! + ): UpdatePhoneNumbersModulePayload + + """Updates a single `UsersModule` using a unique key and a patch.""" + updateUsersModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateUsersModuleInput! + ): UpdateUsersModulePayload + + """Updates a single `OrgAdminGrant` using a unique key and a patch.""" + updateOrgAdminGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgAdminGrantInput! + ): UpdateOrgAdminGrantPayload + + """Updates a single `OrgOwnerGrant` using a unique key and a patch.""" + updateOrgOwnerGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgOwnerGrantInput! + ): UpdateOrgOwnerGrantPayload + + """Updates a single `CryptoAddress` using a unique key and a patch.""" + updateCryptoAddress( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateCryptoAddressInput! + ): UpdateCryptoAddressPayload + + """Updates a single `RoleType` using a unique key and a patch.""" + updateRoleType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateRoleTypeInput! + ): UpdateRoleTypePayload + + """ + Updates a single `OrgPermissionDefault` using a unique key and a patch. + """ + updateOrgPermissionDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgPermissionDefaultInput! + ): UpdateOrgPermissionDefaultPayload + + """Updates a single `Database` using a unique key and a patch.""" + updateDatabase( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDatabaseInput! + ): UpdateDatabasePayload + + """ + Updates a single `CryptoAddressesModule` using a unique key and a patch. + """ + updateCryptoAddressesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateCryptoAddressesModuleInput! + ): UpdateCryptoAddressesModulePayload + + """Updates a single `PhoneNumber` using a unique key and a patch.""" + updatePhoneNumber( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePhoneNumberInput! + ): UpdatePhoneNumberPayload + + """Updates a single `AppLimitDefault` using a unique key and a patch.""" + updateAppLimitDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppLimitDefaultInput! + ): UpdateAppLimitDefaultPayload + + """Updates a single `OrgLimitDefault` using a unique key and a patch.""" + updateOrgLimitDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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 `FieldModule` using a unique key and a patch.""" + updateFieldModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateFieldModuleInput! + ): UpdateFieldModulePayload + + """Updates a single `TableTemplateModule` using a unique key and a patch.""" + updateTableTemplateModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateTableTemplateModuleInput! + ): UpdateTableTemplateModulePayload + + """Updates a single `OrgChartEdgeGrant` using a unique key and a patch.""" + updateOrgChartEdgeGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgChartEdgeGrantInput! + ): UpdateOrgChartEdgeGrantPayload + + """Updates a single `NodeTypeRegistry` using a unique key and a patch.""" + updateNodeTypeRegistry( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateNodeTypeRegistryInput! + ): UpdateNodeTypeRegistryPayload + + """Updates a single `MembershipType` using a unique key and a patch.""" + updateMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateMembershipTypeInput! + ): UpdateMembershipTypePayload + + """Updates a single `TableGrant` using a unique key and a patch.""" + updateTableGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateTableGrantInput! + ): UpdateTableGrantPayload + + """Updates a single `AppPermission` using a unique key and a patch.""" + updateAppPermission( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppPermissionInput! + ): UpdateAppPermissionPayload + + """Updates a single `OrgPermission` using a unique key and a patch.""" + updateOrgPermission( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgPermissionInput! + ): UpdateOrgPermissionPayload + + """Updates a single `AppLimit` using a unique key and a patch.""" + updateAppLimit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppLimitInput! + ): UpdateAppLimitPayload + + """Updates a single `AppAchievement` using a unique key and a patch.""" + updateAppAchievement( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppAchievementInput! + ): UpdateAppAchievementPayload + + """Updates a single `AppStep` using a unique key and a patch.""" + updateAppStep( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppStepInput! + ): UpdateAppStepPayload + + """Updates a single `ClaimedInvite` using a unique key and a patch.""" + updateClaimedInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateClaimedInviteInput! + ): UpdateClaimedInvitePayload + + """ + Updates a single `AppMembershipDefault` using a unique key and a patch. + """ + updateAppMembershipDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppMembershipDefaultInput! + ): UpdateAppMembershipDefaultPayload + + """Updates a single `SiteMetadatum` using a unique key and a patch.""" + updateSiteMetadatum( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSiteMetadatumInput! + ): UpdateSiteMetadatumPayload + + """Updates a single `RlsModule` using a unique key and a patch.""" + updateRlsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateRlsModuleInput! + ): UpdateRlsModulePayload + + """Updates a single `SessionsModule` using a unique key and a patch.""" + updateSessionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSessionsModuleInput! + ): UpdateSessionsModulePayload + + """Updates a single `Object` using a unique key and a patch.""" + updateObject( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateObjectInput! + ): UpdateObjectPayload + + """Updates a single `FullTextSearch` using a unique key and a patch.""" + updateFullTextSearch( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateFullTextSearchInput! + ): UpdateFullTextSearchPayload + + """Updates a single `Commit` using a unique key and a patch.""" + updateCommit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateCommitInput! + ): UpdateCommitPayload + + """Updates a single `OrgLimit` using a unique key and a patch.""" + updateOrgLimit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgLimitInput! + ): UpdateOrgLimitPayload + + """Updates a single `AppGrant` using a unique key and a patch.""" + updateAppGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppGrantInput! + ): UpdateAppGrantPayload + + """Updates a single `OrgClaimedInvite` using a unique key and a patch.""" + updateOrgClaimedInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgClaimedInviteInput! + ): UpdateOrgClaimedInvitePayload + + """Updates a single `OrgChartEdge` using a unique key and a patch.""" + updateOrgChartEdge( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgChartEdgeInput! + ): UpdateOrgChartEdgePayload + + """Updates a single `Domain` using a unique key and a patch.""" + updateDomain( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDomainInput! + ): UpdateDomainPayload + + """Updates a single `OrgGrant` using a unique key and a patch.""" + updateOrgGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgGrantInput! + ): UpdateOrgGrantPayload + + """ + Updates a single `OrgMembershipDefault` using a unique key and a patch. + """ + updateOrgMembershipDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgMembershipDefaultInput! + ): UpdateOrgMembershipDefaultPayload + + """Updates a single `AppLevelRequirement` using a unique key and a patch.""" + updateAppLevelRequirement( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppLevelRequirementInput! + ): UpdateAppLevelRequirementPayload + + """Updates a single `AuditLog` using a unique key and a patch.""" + updateAuditLog( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAuditLogInput! + ): UpdateAuditLogPayload + + """Updates a single `AppLevel` using a unique key and a patch.""" + updateAppLevel( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppLevelInput! + ): UpdateAppLevelPayload + + """Updates a single `CryptoAuthModule` using a unique key and a patch.""" + updateCryptoAuthModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateCryptoAuthModuleInput! + ): UpdateCryptoAuthModulePayload + + """ + Updates a single `DatabaseProvisionModule` using a unique key and a patch. + """ + updateDatabaseProvisionModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDatabaseProvisionModuleInput! + ): UpdateDatabaseProvisionModulePayload + + """Updates a single `InvitesModule` using a unique key and a patch.""" + updateInvitesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateInvitesModuleInput! + ): UpdateInvitesModulePayload + + """ + Updates a single `DenormalizedTableField` using a unique key and a patch. + """ + updateDenormalizedTableField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDenormalizedTableFieldInput! + ): UpdateDenormalizedTableFieldPayload + + """Updates a single `Email` using a unique key and a patch.""" + updateEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateEmailInput! + ): UpdateEmailPayload + + """Updates a single `View` using a unique key and a patch.""" + updateView( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateViewInput! + ): UpdateViewPayload + + """Updates a single `PermissionsModule` using a unique key and a patch.""" + updatePermissionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePermissionsModuleInput! + ): UpdatePermissionsModulePayload + + """Updates a single `LimitsModule` using a unique key and a patch.""" + updateLimitsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateLimitsModuleInput! + ): UpdateLimitsModulePayload + + """Updates a single `ProfilesModule` using a unique key and a patch.""" + updateProfilesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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 `Trigger` using a unique key and a patch.""" + updateTrigger( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateTriggerInput! + ): UpdateTriggerPayload + + """Updates a single `UniqueConstraint` using a unique key and a patch.""" + updateUniqueConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateUniqueConstraintInput! + ): UpdateUniqueConstraintPayload + + """ + Updates a single `PrimaryKeyConstraint` using a unique key and a patch. + """ + updatePrimaryKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePrimaryKeyConstraintInput! + ): UpdatePrimaryKeyConstraintPayload + + """Updates a single `CheckConstraint` using a unique key and a patch.""" + updateCheckConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateCheckConstraintInput! + ): UpdateCheckConstraintPayload + + """Updates a single `Policy` using a unique key and a patch.""" + updatePolicy( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePolicyInput! + ): UpdatePolicyPayload + + """Updates a single `AppMembership` using a unique key and a patch.""" + updateAppMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppMembershipInput! + ): UpdateAppMembershipPayload + + """Updates a single `OrgMembership` using a unique key and a patch.""" + updateOrgMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgMembershipInput! + ): UpdateOrgMembershipPayload + + """Updates a single `Schema` using a unique key and a patch.""" + updateSchema( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSchemaInput! + ): UpdateSchemaPayload + + """Updates a single `App` using a unique key and a patch.""" + updateApp( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateAppInput! + ): UpdateAppPayload + + """Updates a single `Site` using a unique key and a patch.""" + updateSite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSiteInput! + ): UpdateSitePayload + + """Updates a single `User` using a unique key and a patch.""" + updateUser( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateUserInput! + ): UpdateUserPayload + + """Updates a single `HierarchyModule` using a unique key and a patch.""" + updateHierarchyModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateHierarchyModuleInput! + ): UpdateHierarchyModulePayload + + """Updates a single `Invite` using a unique key and a patch.""" + updateInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateInviteInput! + ): UpdateInvitePayload + + """Updates a single `Index` using a unique key and a patch.""" + updateIndex( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateIndexInput! + ): UpdateIndexPayload + + """ + Updates a single `ForeignKeyConstraint` using a unique key and a patch. + """ + updateForeignKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateForeignKeyConstraintInput! + ): UpdateForeignKeyConstraintPayload + + """Updates a single `OrgInvite` using a unique key and a patch.""" + updateOrgInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateOrgInviteInput! + ): UpdateOrgInvitePayload + + """Updates a single `Table` using a unique key and a patch.""" + updateTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateTableInput! + ): UpdateTablePayload + + """Updates a single `LevelsModule` using a unique key and a patch.""" + updateLevelsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateLevelsModuleInput! + ): UpdateLevelsModulePayload + + """Updates a single `UserAuthModule` using a unique key and a patch.""" + updateUserAuthModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateFieldInput! + ): UpdateFieldPayload + + """Updates a single `MembershipsModule` using a unique key and a patch.""" + updateMembershipsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateMembershipsModuleInput! + ): UpdateMembershipsModulePayload + + """Deletes a single `DefaultIdsModule` using a unique key.""" + deleteDefaultIdsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDefaultIdsModuleInput! + ): DeleteDefaultIdsModulePayload + + """Deletes a single `ViewTable` using a unique key.""" + deleteViewTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteViewTableInput! + ): DeleteViewTablePayload + + """Deletes a single `ApiSchema` using a unique key.""" + deleteApiSchema( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteApiSchemaInput! + ): DeleteApiSchemaPayload + + """Deletes a single `OrgMember` using a unique key.""" + deleteOrgMember( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgMemberInput! + ): DeleteOrgMemberPayload + + """Deletes a single `Ref` using a unique key.""" + deleteRef( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteRefInput! + ): DeleteRefPayload + + """Deletes a single `EncryptedSecretsModule` using a unique key.""" + deleteEncryptedSecretsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteEncryptedSecretsModuleInput! + ): DeleteEncryptedSecretsModulePayload + + """Deletes a single `MembershipTypesModule` using a unique key.""" + deleteMembershipTypesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteMembershipTypesModuleInput! + ): DeleteMembershipTypesModulePayload + + """Deletes a single `SecretsModule` using a unique key.""" + deleteSecretsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteStoreInput! + ): DeleteStorePayload + + """Deletes a single `ViewRule` using a unique key.""" + deleteViewRule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteViewRuleInput! + ): DeleteViewRulePayload + + """Deletes a single `AppPermissionDefault` using a unique key.""" + deleteAppPermissionDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppPermissionDefaultInput! + ): DeleteAppPermissionDefaultPayload + + """Deletes a single `ApiModule` using a unique key.""" + deleteApiModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteApiModuleInput! + ): DeleteApiModulePayload + + """Deletes a single `SiteModule` using a unique key.""" + deleteSiteModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSiteModuleInput! + ): DeleteSiteModulePayload + + """Deletes a single `SchemaGrant` using a unique key.""" + deleteSchemaGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSchemaGrantInput! + ): DeleteSchemaGrantPayload + + """Deletes a single `TriggerFunction` using a unique key.""" + deleteTriggerFunction( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteTriggerFunctionInput! + ): DeleteTriggerFunctionPayload + + """Deletes a single `AppAdminGrant` using a unique key.""" + deleteAppAdminGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppAdminGrantInput! + ): DeleteAppAdminGrantPayload + + """Deletes a single `AppOwnerGrant` using a unique key.""" + deleteAppOwnerGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppOwnerGrantInput! + ): DeleteAppOwnerGrantPayload + + """Deletes a single `DefaultPrivilege` using a unique key.""" + deleteDefaultPrivilege( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDefaultPrivilegeInput! + ): DeleteDefaultPrivilegePayload + + """Deletes a single `ViewGrant` using a unique key.""" + deleteViewGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteViewGrantInput! + ): DeleteViewGrantPayload + + """Deletes a single `Api` using a unique key.""" + deleteApi( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteApiInput! + ): DeleteApiPayload + + """Deletes a single `ConnectedAccountsModule` using a unique key.""" + deleteConnectedAccountsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteConnectedAccountsModuleInput! + ): DeleteConnectedAccountsModulePayload + + """Deletes a single `EmailsModule` using a unique key.""" + deleteEmailsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteEmailsModuleInput! + ): DeleteEmailsModulePayload + + """Deletes a single `PhoneNumbersModule` using a unique key.""" + deletePhoneNumbersModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePhoneNumbersModuleInput! + ): DeletePhoneNumbersModulePayload + + """Deletes a single `UsersModule` using a unique key.""" + deleteUsersModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteUsersModuleInput! + ): DeleteUsersModulePayload + + """Deletes a single `OrgAdminGrant` using a unique key.""" + deleteOrgAdminGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgAdminGrantInput! + ): DeleteOrgAdminGrantPayload + + """Deletes a single `OrgOwnerGrant` using a unique key.""" + deleteOrgOwnerGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgOwnerGrantInput! + ): DeleteOrgOwnerGrantPayload + + """Deletes a single `CryptoAddress` using a unique key.""" + deleteCryptoAddress( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteCryptoAddressInput! + ): DeleteCryptoAddressPayload + + """Deletes a single `RoleType` using a unique key.""" + deleteRoleType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteRoleTypeInput! + ): DeleteRoleTypePayload + + """Deletes a single `OrgPermissionDefault` using a unique key.""" + deleteOrgPermissionDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgPermissionDefaultInput! + ): DeleteOrgPermissionDefaultPayload + + """Deletes a single `Database` using a unique key.""" + deleteDatabase( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDatabaseInput! + ): DeleteDatabasePayload + + """Deletes a single `CryptoAddressesModule` using a unique key.""" + deleteCryptoAddressesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteCryptoAddressesModuleInput! + ): DeleteCryptoAddressesModulePayload + + """Deletes a single `PhoneNumber` using a unique key.""" + deletePhoneNumber( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePhoneNumberInput! + ): DeletePhoneNumberPayload + + """Deletes a single `AppLimitDefault` using a unique key.""" + deleteAppLimitDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppLimitDefaultInput! + ): DeleteAppLimitDefaultPayload + + """Deletes a single `OrgLimitDefault` using a unique key.""" + deleteOrgLimitDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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 `FieldModule` using a unique key.""" + deleteFieldModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteFieldModuleInput! + ): DeleteFieldModulePayload + + """Deletes a single `TableTemplateModule` using a unique key.""" + deleteTableTemplateModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteTableTemplateModuleInput! + ): DeleteTableTemplateModulePayload + + """Deletes a single `OrgChartEdgeGrant` using a unique key.""" + deleteOrgChartEdgeGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgChartEdgeGrantInput! + ): DeleteOrgChartEdgeGrantPayload + + """Deletes a single `NodeTypeRegistry` using a unique key.""" + deleteNodeTypeRegistry( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteNodeTypeRegistryInput! + ): DeleteNodeTypeRegistryPayload + + """Deletes a single `MembershipType` using a unique key.""" + deleteMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteMembershipTypeInput! + ): DeleteMembershipTypePayload + + """Deletes a single `TableGrant` using a unique key.""" + deleteTableGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteTableGrantInput! + ): DeleteTableGrantPayload + + """Deletes a single `AppPermission` using a unique key.""" + deleteAppPermission( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppPermissionInput! + ): DeleteAppPermissionPayload + + """Deletes a single `OrgPermission` using a unique key.""" + deleteOrgPermission( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgPermissionInput! + ): DeleteOrgPermissionPayload + + """Deletes a single `AppLimit` using a unique key.""" + deleteAppLimit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppLimitInput! + ): DeleteAppLimitPayload + + """Deletes a single `AppAchievement` using a unique key.""" + deleteAppAchievement( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppAchievementInput! + ): DeleteAppAchievementPayload + + """Deletes a single `AppStep` using a unique key.""" + deleteAppStep( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppStepInput! + ): DeleteAppStepPayload + + """Deletes a single `ClaimedInvite` using a unique key.""" + deleteClaimedInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteClaimedInviteInput! + ): DeleteClaimedInvitePayload + + """Deletes a single `AppMembershipDefault` using a unique key.""" + deleteAppMembershipDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppMembershipDefaultInput! + ): DeleteAppMembershipDefaultPayload + + """Deletes a single `SiteMetadatum` using a unique key.""" + deleteSiteMetadatum( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSiteMetadatumInput! + ): DeleteSiteMetadatumPayload + + """Deletes a single `RlsModule` using a unique key.""" + deleteRlsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteRlsModuleInput! + ): DeleteRlsModulePayload + + """Deletes a single `SessionsModule` using a unique key.""" + deleteSessionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSessionsModuleInput! + ): DeleteSessionsModulePayload + + """Deletes a single `Object` using a unique key.""" + deleteObject( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteObjectInput! + ): DeleteObjectPayload + + """Deletes a single `FullTextSearch` using a unique key.""" + deleteFullTextSearch( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteFullTextSearchInput! + ): DeleteFullTextSearchPayload + + """Deletes a single `Commit` using a unique key.""" + deleteCommit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteCommitInput! + ): DeleteCommitPayload + + """Deletes a single `OrgLimit` using a unique key.""" + deleteOrgLimit( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgLimitInput! + ): DeleteOrgLimitPayload + + """Deletes a single `AppGrant` using a unique key.""" + deleteAppGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppGrantInput! + ): DeleteAppGrantPayload + + """Deletes a single `OrgClaimedInvite` using a unique key.""" + deleteOrgClaimedInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgClaimedInviteInput! + ): DeleteOrgClaimedInvitePayload + + """Deletes a single `OrgChartEdge` using a unique key.""" + deleteOrgChartEdge( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgChartEdgeInput! + ): DeleteOrgChartEdgePayload + + """Deletes a single `Domain` using a unique key.""" + deleteDomain( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDomainInput! + ): DeleteDomainPayload + + """Deletes a single `OrgGrant` using a unique key.""" + deleteOrgGrant( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgGrantInput! + ): DeleteOrgGrantPayload + + """Deletes a single `OrgMembershipDefault` using a unique key.""" + deleteOrgMembershipDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgMembershipDefaultInput! + ): DeleteOrgMembershipDefaultPayload + + """Deletes a single `AppLevelRequirement` using a unique key.""" + deleteAppLevelRequirement( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppLevelRequirementInput! + ): DeleteAppLevelRequirementPayload + + """Deletes a single `AuditLog` using a unique key.""" + deleteAuditLog( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAuditLogInput! + ): DeleteAuditLogPayload + + """Deletes a single `AppLevel` using a unique key.""" + deleteAppLevel( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppLevelInput! + ): DeleteAppLevelPayload + + """Deletes a single `CryptoAuthModule` using a unique key.""" + deleteCryptoAuthModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteCryptoAuthModuleInput! + ): DeleteCryptoAuthModulePayload + + """Deletes a single `DatabaseProvisionModule` using a unique key.""" + deleteDatabaseProvisionModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDatabaseProvisionModuleInput! + ): DeleteDatabaseProvisionModulePayload + + """Deletes a single `InvitesModule` using a unique key.""" + deleteInvitesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteInvitesModuleInput! + ): DeleteInvitesModulePayload + + """Deletes a single `DenormalizedTableField` using a unique key.""" + deleteDenormalizedTableField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDenormalizedTableFieldInput! + ): DeleteDenormalizedTableFieldPayload + + """Deletes a single `Email` using a unique key.""" + deleteEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteEmailInput! + ): DeleteEmailPayload + + """Deletes a single `View` using a unique key.""" + deleteView( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteViewInput! + ): DeleteViewPayload + + """Deletes a single `PermissionsModule` using a unique key.""" + deletePermissionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePermissionsModuleInput! + ): DeletePermissionsModulePayload + + """Deletes a single `LimitsModule` using a unique key.""" + deleteLimitsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteLimitsModuleInput! + ): DeleteLimitsModulePayload + + """Deletes a single `ProfilesModule` using a unique key.""" + deleteProfilesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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 `Trigger` using a unique key.""" + deleteTrigger( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteTriggerInput! + ): DeleteTriggerPayload + + """Deletes a single `UniqueConstraint` using a unique key.""" + deleteUniqueConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteUniqueConstraintInput! + ): DeleteUniqueConstraintPayload + + """Deletes a single `PrimaryKeyConstraint` using a unique key.""" + deletePrimaryKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePrimaryKeyConstraintInput! + ): DeletePrimaryKeyConstraintPayload + + """Deletes a single `CheckConstraint` using a unique key.""" + deleteCheckConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteCheckConstraintInput! + ): DeleteCheckConstraintPayload + + """Deletes a single `Policy` using a unique key.""" + deletePolicy( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePolicyInput! + ): DeletePolicyPayload + + """Deletes a single `AppMembership` using a unique key.""" + deleteAppMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppMembershipInput! + ): DeleteAppMembershipPayload + + """Deletes a single `OrgMembership` using a unique key.""" + deleteOrgMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgMembershipInput! + ): DeleteOrgMembershipPayload + + """Deletes a single `Schema` using a unique key.""" + deleteSchema( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSchemaInput! + ): DeleteSchemaPayload + + """Deletes a single `App` using a unique key.""" + deleteApp( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteAppInput! + ): DeleteAppPayload + + """Deletes a single `Site` using a unique key.""" + deleteSite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSiteInput! + ): DeleteSitePayload + + """Deletes a single `User` using a unique key.""" + deleteUser( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteUserInput! + ): DeleteUserPayload + + """Deletes a single `HierarchyModule` using a unique key.""" + deleteHierarchyModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteHierarchyModuleInput! + ): DeleteHierarchyModulePayload + + """Deletes a single `Invite` using a unique key.""" + deleteInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteInviteInput! + ): DeleteInvitePayload + + """Deletes a single `Index` using a unique key.""" + deleteIndex( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteIndexInput! + ): DeleteIndexPayload + + """Deletes a single `ForeignKeyConstraint` using a unique key.""" + deleteForeignKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteForeignKeyConstraintInput! + ): DeleteForeignKeyConstraintPayload + + """Deletes a single `OrgInvite` using a unique key.""" + deleteOrgInvite( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteOrgInviteInput! + ): DeleteOrgInvitePayload + + """Deletes a single `Table` using a unique key.""" + deleteTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteTableInput! + ): DeleteTablePayload + + """Deletes a single `LevelsModule` using a unique key.""" + deleteLevelsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteLevelsModuleInput! + ): DeleteLevelsModulePayload + + """Deletes a single `UserAuthModule` using a unique key.""" + deleteUserAuthModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteFieldInput! + ): DeleteFieldPayload + + """Deletes a single `MembershipsModule` using a unique key.""" + deleteMembershipsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteMembershipsModuleInput! + ): DeleteMembershipsModulePayload +} + +"""The output of our `signOut` mutation.""" +type SignOutPayload { + """ + 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 `signOut` mutation.""" +input SignOutInput { + """ + 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 `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 `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. + """ + clientMutationId: String + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""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 + password: String +} + +"""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. + """ + 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 `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. + """ + clientMutationId: String + token: String +} + +"""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. + """ + query: Query +} + +"""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 + token: String +} + +"""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 + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""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 + databaseId: UUID + id: UUID +} + +"""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 + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""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 + dbId: UUID + storeId: UUID +} + +"""The output of our `confirmDeleteAccount` mutation.""" +type ConfirmDeleteAccountPayload { + """ + 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 `confirmDeleteAccount` mutation.""" +input ConfirmDeleteAccountInput { + """ + 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 + userId: UUID + token: String +} + +"""The output of our `setPassword` mutation.""" +type SetPasswordPayload { + """ + 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 `setPassword` mutation.""" +input SetPasswordInput { + """ + 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 + currentPassword: String + newPassword: String +} + +"""The output of our `verifyEmail` mutation.""" +type VerifyEmailPayload { + """ + 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 `verifyEmail` mutation.""" +input VerifyEmailInput { + """ + 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 + emailId: UUID + token: String +} + +"""The output of our `resetPassword` mutation.""" +type ResetPasswordPayload { + """ + 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 `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 + roleId: UUID + resetToken: String + newPassword: String +} + +"""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 + + """ + TRGM similarity when searching `outEmail`. Returns null when no trgm search filter is active. + """ + outEmailTrgmSimilarity: Float + + """ + 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. + """ + outDisplayNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. + """ + outApiKeyTrgmSimilarity: 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 `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 `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. + """ + query: Query +} + +"""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 + dbId: UUID + root: UUID + path: [String] +} + +"""The output of our `setDataAtPath` mutation.""" +type SetDataAtPathPayload { + """ + 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. + """ + query: Query +} + +"""All input for the `setDataAtPath` mutation.""" +input SetDataAtPathInput { + """ + 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] + data: JSON +} + +"""The output of our `setPropsAndCommit` mutation.""" +type SetPropsAndCommitPayload { + """ + 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. + """ + query: Query +} + +"""All input for the `setPropsAndCommit` mutation.""" +input SetPropsAndCommitInput { + """ + 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 + refname: String + path: [String] + data: JSON +} + +"""The output of our `provisionDatabaseWithUser` mutation.""" +type ProvisionDatabaseWithUserPayload { + """ + 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] + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +type ProvisionDatabaseWithUserRecord { + outDatabaseId: UUID + outApiKey: String + + """ + TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. + """ + outApiKeyTrgmSimilarity: 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 `provisionDatabaseWithUser` mutation.""" +input ProvisionDatabaseWithUserInput { + """ + 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 + pDatabaseName: String + pDomain: String + pSubdomain: String + pModules: [String] + pOptions: JSON +} + +"""The output of our `signInOneTimeToken` mutation.""" +type SignInOneTimeTokenPayload { + """ + 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: SignInOneTimeTokenRecord + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +type SignInOneTimeTokenRecord { + id: UUID + userId: UUID + accessToken: String + 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.""" +input SignInOneTimeTokenInput { + """ + 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 + credentialKind: String +} + +"""The output of our `createUserDatabase` mutation.""" +type CreateUserDatabasePayload { + """ + 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. + """ + query: Query +} + +"""All input for the `createUserDatabase` mutation.""" +input CreateUserDatabaseInput { + """ + 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 + databaseName: String + ownerId: UUID + includeInvites: Boolean + includeGroups: Boolean + includeLevels: Boolean + bitlen: Int + tokensExpiration: IntervalInput +} + +"""The output of our `extendTokenExpires` mutation.""" +type ExtendTokenExpiresPayload { + """ + 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: [ExtendTokenExpiresRecord] + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +type ExtendTokenExpiresRecord { + id: UUID + sessionId: UUID + expiresAt: Datetime +} + +"""All input for the `extendTokenExpires` mutation.""" +input ExtendTokenExpiresInput { + """ + 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 + amount: IntervalInput +} + +"""The output of our `signIn` mutation.""" +type SignInPayload { + """ + 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: SignInRecord + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +type SignInRecord { + id: UUID + userId: UUID + accessToken: String + 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.""" +input SignInInput { + """ + 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 + email: String + password: String + rememberMe: Boolean + credentialKind: String + csrfToken: String +} + +"""The output of our `signUp` mutation.""" +type SignUpPayload { + """ + 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: SignUpRecord + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +type SignUpRecord { + id: UUID + userId: UUID + accessToken: String + 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.""" +input SignUpInput { + """ + 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 + email: String + password: String + rememberMe: Boolean + credentialKind: String + csrfToken: String +} + +"""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 `oneTimeToken` mutation.""" +type OneTimeTokenPayload { + """ + 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: String + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""All input for the `oneTimeToken` mutation.""" +input OneTimeTokenInput { + """ + 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 + email: String + password: String + origin: ConstructiveInternalTypeOrigin + rememberMe: Boolean +} + +"""The output of our `insertNodeAtPath` mutation.""" +type InsertNodeAtPathPayload { + """ + 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. + """ + query: Query +} + +"""All input for the `insertNodeAtPath` mutation.""" +input InsertNodeAtPathInput { + """ + 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] + data: JSON + kids: [UUID] + ktree: [String] +} + +"""The output of our `updateNodeAtPath` mutation.""" +type UpdateNodeAtPathPayload { + """ + 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. + """ + query: Query +} + +"""All input for the `updateNodeAtPath` mutation.""" +input UpdateNodeAtPathInput { + """ + 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] + data: JSON + kids: [UUID] + ktree: [String] +} + +"""The output of our `setAndCommit` mutation.""" +type SetAndCommitPayload { + """ + 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. + """ + query: Query +} + +"""All input for the `setAndCommit` mutation.""" +input SetAndCommitInput { + """ + 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 + refname: String + path: [String] + data: JSON + kids: [UUID] + ktree: [String] +} + +"""The output of our `applyRls` mutation.""" +type ApplyRlsPayload { + """ + 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 `applyRls` mutation.""" +input ApplyRlsInput { + """ + 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 + tableId: UUID + grants: JSON + policyType: String + vars: JSON + fieldIds: [UUID] + permissive: Boolean + name: String +} + +"""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 + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""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. + """ + clientMutationId: String + email: ConstructiveInternalTypeEmail +} + +"""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. + """ + query: Query +} + +"""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. + """ + clientMutationId: String + email: ConstructiveInternalTypeEmail +} + +"""The output of our `verifyPassword` mutation.""" +type VerifyPasswordPayload { + """ + 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: Session + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +""" +Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state +""" +type Session { + id: UUID! + + """References the authenticated user; NULL for anonymous sessions""" + userId: UUID + + """Whether this is an anonymous session (no authenticated user)""" + isAnonymous: Boolean! + + """When this session expires and can no longer be used for authentication""" + expiresAt: Datetime! + + """ + When this session was explicitly revoked (soft delete); NULL means active + """ + revokedAt: Datetime + + """ + The origin (protocol + host) from which the session was created, used for fingerprint validation + """ + origin: ConstructiveInternalTypeOrigin + + """ + IP address from which the session was created, used for strict fingerprint validation + """ + ip: InternetAddress + + """ + User-Agent string from the client, used for strict fingerprint validation + """ + uagent: String + + """ + Session validation mode: strict (origin+ip+uagent), lax (origin only), or none (no validation) + """ + fingerprintMode: String! + + """Timestamp of last password re-verification for step-up authentication""" + lastPasswordVerified: Datetime + + """Timestamp of last MFA verification for step-up authentication""" + lastMfaVerified: Datetime + + """ + Secret used to generate and validate CSRF tokens for cookie-based sessions + """ + 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.""" +input VerifyPasswordInput { + """ + 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! +} + +"""The output of our `verifyTotp` mutation.""" +type VerifyTotpPayload { + """ + 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: Session + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""All input for the `verifyTotp` mutation.""" +input VerifyTotpInput { + """ + 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 + totpValue: String! +} + +"""The output of our create `DefaultIdsModule` mutation.""" +type CreateDefaultIdsModulePayload { + """ + 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 `DefaultIdsModule` that was created by this mutation.""" + defaultIdsModule: DefaultIdsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DefaultIdsModule`. May be used by Relay 1.""" + defaultIdsModuleEdge( + """The method to use when ordering `DefaultIdsModule`.""" + orderBy: [DefaultIdsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): DefaultIdsModuleEdge +} + +"""All input for the create `DefaultIdsModule` mutation.""" +input CreateDefaultIdsModuleInput { + """ + 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 `DefaultIdsModule` to be created by this mutation.""" + defaultIdsModule: DefaultIdsModuleInput! +} + +"""An input for mutations affecting `DefaultIdsModule`""" +input DefaultIdsModuleInput { + id: UUID + databaseId: UUID! +} + +"""The output of our create `ViewTable` mutation.""" +type CreateViewTablePayload { + """ + 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 `ViewTable` that was created by this mutation.""" + viewTable: ViewTable + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewTable`. May be used by Relay 1.""" + viewTableEdge( + """The method to use when ordering `ViewTable`.""" + orderBy: [ViewTableOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewTableEdge +} + +"""All input for the create `ViewTable` mutation.""" +input CreateViewTableInput { + """ + 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 `ViewTable` to be created by this mutation.""" + viewTable: ViewTableInput! +} + +"""An input for mutations affecting `ViewTable`""" +input ViewTableInput { + id: UUID + viewId: UUID! + tableId: UUID! + joinOrder: Int +} + +"""The output of our create `ApiSchema` mutation.""" +type CreateApiSchemaPayload { + """ + 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 `ApiSchema` that was created by this mutation.""" + apiSchema: ApiSchema + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ApiSchema`. May be used by Relay 1.""" + apiSchemaEdge( + """The method to use when ordering `ApiSchema`.""" + orderBy: [ApiSchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiSchemaEdge +} + +"""All input for the create `ApiSchema` mutation.""" +input CreateApiSchemaInput { + """ + 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 `ApiSchema` to be created by this mutation.""" + apiSchema: ApiSchemaInput! +} + +"""An input for mutations affecting `ApiSchema`""" +input ApiSchemaInput { + """Unique identifier for this API-schema mapping""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID! + + """Metaschema schema being exposed through the API""" + schemaId: UUID! + + """API that exposes this schema""" + apiId: UUID! +} + +"""The output of our create `OrgMember` mutation.""" +type CreateOrgMemberPayload { + """ + 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 `OrgMember` that was created by this mutation.""" + orgMember: OrgMember + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMember`. May be used by Relay 1.""" + orgMemberEdge( + """The method to use when ordering `OrgMember`.""" + orderBy: [OrgMemberOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMemberEdge +} + +"""All input for the create `OrgMember` mutation.""" +input CreateOrgMemberInput { + """ + 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 `OrgMember` to be created by this mutation.""" + orgMember: OrgMemberInput! +} + +"""An input for mutations affecting `OrgMember`""" +input OrgMemberInput { + id: UUID + + """Whether this member has admin privileges""" + isAdmin: Boolean + + """References the user who is a member""" + actorId: UUID! + + """References the entity (org or group) this member belongs to""" + entityId: UUID! +} + +"""The output of our create `Ref` mutation.""" +type CreateRefPayload { + """ + 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 `Ref` that was created by this mutation.""" + ref: Ref + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Ref`. May be used by Relay 1.""" + refEdge( + """The method to use when ordering `Ref`.""" + orderBy: [RefOrderBy!]! = [PRIMARY_KEY_ASC] + ): RefEdge +} + +"""All input for the create `Ref` mutation.""" +input CreateRefInput { + """ + 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 `Ref` to be created by this mutation.""" + ref: RefInput! +} + +"""An input for mutations affecting `Ref`""" +input RefInput { + """The primary unique identifier for the ref.""" + id: UUID + + """The name of the ref or branch""" + name: String! + databaseId: UUID! + storeId: UUID! + commitId: UUID +} + +"""The output of our create `EncryptedSecretsModule` mutation.""" +type CreateEncryptedSecretsModulePayload { + """ + 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 `EncryptedSecretsModule` that was created by this mutation.""" + encryptedSecretsModule: EncryptedSecretsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EncryptedSecretsModule`. May be used by Relay 1.""" + encryptedSecretsModuleEdge( + """The method to use when ordering `EncryptedSecretsModule`.""" + orderBy: [EncryptedSecretsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): EncryptedSecretsModuleEdge +} + +"""All input for the create `EncryptedSecretsModule` mutation.""" +input CreateEncryptedSecretsModuleInput { + """ + 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 `EncryptedSecretsModule` to be created by this mutation.""" + encryptedSecretsModule: EncryptedSecretsModuleInput! +} + +"""An input for mutations affecting `EncryptedSecretsModule`""" +input EncryptedSecretsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + tableId: UUID + tableName: String +} + +"""The output of our create `MembershipTypesModule` mutation.""" +type CreateMembershipTypesModulePayload { + """ + 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 `MembershipTypesModule` that was created by this mutation.""" + membershipTypesModule: MembershipTypesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipTypesModule`. May be used by Relay 1.""" + membershipTypesModuleEdge( + """The method to use when ordering `MembershipTypesModule`.""" + orderBy: [MembershipTypesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypesModuleEdge +} + +"""All input for the create `MembershipTypesModule` mutation.""" +input CreateMembershipTypesModuleInput { + """ + 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 `MembershipTypesModule` to be created by this mutation.""" + membershipTypesModule: MembershipTypesModuleInput! +} + +"""An input for mutations affecting `MembershipTypesModule`""" +input MembershipTypesModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + tableId: UUID + tableName: String +} + +"""The output of our create `SecretsModule` mutation.""" +type CreateSecretsModulePayload { + """ + 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 `SecretsModule` that was created by this mutation.""" + secretsModule: SecretsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SecretsModule`. May be used by Relay 1.""" + secretsModuleEdge( + """The method to use when ordering `SecretsModule`.""" + orderBy: [SecretsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SecretsModuleEdge +} + +"""All input for the create `SecretsModule` mutation.""" +input CreateSecretsModuleInput { + """ + 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 `SecretsModule` to be created by this mutation.""" + secretsModule: SecretsModuleInput! +} + +"""An input for mutations affecting `SecretsModule`""" +input SecretsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + tableId: UUID + 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 { + """ + 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 `Store` that was created by this mutation.""" + store: Store + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Store`. May be used by Relay 1.""" + storeEdge( + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] + ): StoreEdge +} + +"""All input for the create `Store` mutation.""" +input CreateStoreInput { + """ + 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 `Store` to be created by this mutation.""" + store: StoreInput! +} + +"""An input for mutations affecting `Store`""" +input StoreInput { + """The primary unique identifier for the store.""" + id: UUID + + """The name of the store (e.g., metaschema, migrations).""" + name: String! + + """The database this store belongs to.""" + databaseId: UUID! + + """The current head tree_id for this store.""" + hash: UUID + createdAt: Datetime +} + +"""The output of our create `ViewRule` mutation.""" +type CreateViewRulePayload { + """ + 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 `ViewRule` that was created by this mutation.""" + viewRule: ViewRule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewRule`. May be used by Relay 1.""" + viewRuleEdge( + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewRuleEdge +} + +"""All input for the create `ViewRule` mutation.""" +input CreateViewRuleInput { + """ + 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 `ViewRule` to be created by this mutation.""" + viewRule: ViewRuleInput! +} + +"""An input for mutations affecting `ViewRule`""" +input ViewRuleInput { + id: UUID + databaseId: UUID + viewId: UUID! + name: String! + + """INSERT, UPDATE, or DELETE""" + event: String! + + """NOTHING (for read-only) or custom action""" + action: String +} + +"""The output of our create `AppPermissionDefault` mutation.""" +type CreateAppPermissionDefaultPayload { + """ + 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 `AppPermissionDefault` that was created by this mutation.""" + appPermissionDefault: AppPermissionDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppPermissionDefault`. May be used by Relay 1.""" + appPermissionDefaultEdge( + """The method to use when ordering `AppPermissionDefault`.""" + orderBy: [AppPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppPermissionDefaultEdge +} + +"""All input for the create `AppPermissionDefault` mutation.""" +input CreateAppPermissionDefaultInput { + """ + 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 `AppPermissionDefault` to be created by this mutation.""" + appPermissionDefault: AppPermissionDefaultInput! +} + +"""An input for mutations affecting `AppPermissionDefault`""" +input AppPermissionDefaultInput { + id: UUID + + """Default permission bitmask applied to new members""" + permissions: BitString +} + +"""The output of our create `ApiModule` mutation.""" +type CreateApiModulePayload { + """ + 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 `ApiModule` that was created by this mutation.""" + apiModule: ApiModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ApiModule`. May be used by Relay 1.""" + apiModuleEdge( + """The method to use when ordering `ApiModule`.""" + orderBy: [ApiModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiModuleEdge +} + +"""All input for the create `ApiModule` mutation.""" +input CreateApiModuleInput { + """ + 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 `ApiModule` to be created by this mutation.""" + apiModule: ApiModuleInput! +} + +"""An input for mutations affecting `ApiModule`""" +input ApiModuleInput { + """Unique identifier for this API module record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID! + + """API this module configuration belongs to""" + apiId: UUID! + + """Module name (e.g. auth, uploads, webhooks)""" + name: String! + + """JSON configuration data for this module""" + data: JSON! +} + +"""The output of our create `SiteModule` mutation.""" +type CreateSiteModulePayload { + """ + 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 `SiteModule` that was created by this mutation.""" + siteModule: SiteModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteModule`. May be used by Relay 1.""" + siteModuleEdge( + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteModuleEdge +} + +"""All input for the create `SiteModule` mutation.""" +input CreateSiteModuleInput { + """ + 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 `SiteModule` to be created by this mutation.""" + siteModule: SiteModuleInput! +} + +"""An input for mutations affecting `SiteModule`""" +input SiteModuleInput { + """Unique identifier for this site module record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID! + + """Site this module configuration belongs to""" + siteId: UUID! + + """Module name (e.g. user_auth_module, analytics)""" + name: String! + + """JSON configuration data for this module""" + data: JSON! +} + +"""The output of our create `SchemaGrant` mutation.""" +type CreateSchemaGrantPayload { + """ + 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 `SchemaGrant` that was created by this mutation.""" + schemaGrant: SchemaGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SchemaGrant`. May be used by Relay 1.""" + schemaGrantEdge( + """The method to use when ordering `SchemaGrant`.""" + orderBy: [SchemaGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaGrantEdge +} + +"""All input for the create `SchemaGrant` mutation.""" +input CreateSchemaGrantInput { + """ + 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 `SchemaGrant` to be created by this mutation.""" + schemaGrant: SchemaGrantInput! +} + +"""An input for mutations affecting `SchemaGrant`""" +input SchemaGrantInput { + id: UUID + databaseId: UUID + schemaId: UUID! + granteeName: String! + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `TriggerFunction` mutation.""" +type CreateTriggerFunctionPayload { + """ + 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 `TriggerFunction` that was created by this mutation.""" + triggerFunction: TriggerFunction + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TriggerFunction`. May be used by Relay 1.""" + triggerFunctionEdge( + """The method to use when ordering `TriggerFunction`.""" + orderBy: [TriggerFunctionOrderBy!]! = [PRIMARY_KEY_ASC] + ): TriggerFunctionEdge +} + +"""All input for the create `TriggerFunction` mutation.""" +input CreateTriggerFunctionInput { + """ + 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 `TriggerFunction` to be created by this mutation.""" + triggerFunction: TriggerFunctionInput! +} + +"""An input for mutations affecting `TriggerFunction`""" +input TriggerFunctionInput { + id: UUID + databaseId: UUID! + name: String! + code: String + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AppAdminGrant` mutation.""" +type CreateAppAdminGrantPayload { + """ + 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 `AppAdminGrant` that was created by this mutation.""" + appAdminGrant: AppAdminGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppAdminGrant`. May be used by Relay 1.""" + appAdminGrantEdge( + """The method to use when ordering `AppAdminGrant`.""" + orderBy: [AppAdminGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppAdminGrantEdge +} + +"""All input for the create `AppAdminGrant` mutation.""" +input CreateAppAdminGrantInput { + """ + 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 `AppAdminGrant` to be created by this mutation.""" + appAdminGrant: AppAdminGrantInput! +} + +"""An input for mutations affecting `AppAdminGrant`""" +input AppAdminGrantInput { + id: UUID + + """True to grant admin, false to revoke admin""" + isGrant: Boolean + + """The member receiving or losing the admin grant""" + actorId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AppOwnerGrant` mutation.""" +type CreateAppOwnerGrantPayload { + """ + 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 `AppOwnerGrant` that was created by this mutation.""" + appOwnerGrant: AppOwnerGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppOwnerGrant`. May be used by Relay 1.""" + appOwnerGrantEdge( + """The method to use when ordering `AppOwnerGrant`.""" + orderBy: [AppOwnerGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppOwnerGrantEdge +} + +"""All input for the create `AppOwnerGrant` mutation.""" +input CreateAppOwnerGrantInput { + """ + 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 `AppOwnerGrant` to be created by this mutation.""" + appOwnerGrant: AppOwnerGrantInput! +} + +"""An input for mutations affecting `AppOwnerGrant`""" +input AppOwnerGrantInput { + id: UUID + + """True to grant ownership, false to revoke ownership""" + isGrant: Boolean + + """The member receiving or losing the ownership grant""" + actorId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `DefaultPrivilege` mutation.""" +type CreateDefaultPrivilegePayload { + """ + 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 `DefaultPrivilege` that was created by this mutation.""" + defaultPrivilege: DefaultPrivilege + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DefaultPrivilege`. May be used by Relay 1.""" + defaultPrivilegeEdge( + """The method to use when ordering `DefaultPrivilege`.""" + orderBy: [DefaultPrivilegeOrderBy!]! = [PRIMARY_KEY_ASC] + ): DefaultPrivilegeEdge +} + +"""All input for the create `DefaultPrivilege` mutation.""" +input CreateDefaultPrivilegeInput { + """ + 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 `DefaultPrivilege` to be created by this mutation.""" + defaultPrivilege: DefaultPrivilegeInput! +} + +"""An input for mutations affecting `DefaultPrivilege`""" +input DefaultPrivilegeInput { + id: UUID + databaseId: UUID + schemaId: UUID! + objectType: String! + privilege: String! + granteeName: String! + isGrant: Boolean +} + +"""The output of our create `ViewGrant` mutation.""" +type CreateViewGrantPayload { + """ + 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 `ViewGrant` that was created by this mutation.""" + viewGrant: ViewGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewGrant`. May be used by Relay 1.""" + viewGrantEdge( + """The method to use when ordering `ViewGrant`.""" + orderBy: [ViewGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewGrantEdge +} + +"""All input for the create `ViewGrant` mutation.""" +input CreateViewGrantInput { + """ + 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 `ViewGrant` to be created by this mutation.""" + viewGrant: ViewGrantInput! +} + +"""An input for mutations affecting `ViewGrant`""" +input ViewGrantInput { + id: UUID + databaseId: UUID + viewId: UUID! + granteeName: String! + privilege: String! + withGrantOption: Boolean + isGrant: Boolean +} + +"""The output of our create `Api` mutation.""" +type CreateApiPayload { + """ + 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 `Api` that was created by this mutation.""" + api: Api + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Api`. May be used by Relay 1.""" + apiEdge( + """The method to use when ordering `Api`.""" + orderBy: [ApiOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiEdge +} + +"""All input for the create `Api` mutation.""" +input CreateApiInput { + """ + 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 `Api` to be created by this mutation.""" + api: ApiInput! +} + +"""An input for mutations affecting `Api`""" +input ApiInput { + """Unique identifier for this API""" + id: UUID + + """Reference to the metaschema database this API serves""" + databaseId: UUID! + + """Unique name for this API within its database""" + name: String! + + """PostgreSQL database name to connect to""" + dbname: String + + """PostgreSQL role used for authenticated requests""" + roleName: String + + """PostgreSQL role used for anonymous/unauthenticated requests""" + anonRole: String + + """Whether this API is publicly accessible without authentication""" + isPublic: Boolean +} + +"""The output of our create `ConnectedAccountsModule` mutation.""" +type CreateConnectedAccountsModulePayload { + """ + 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 `ConnectedAccountsModule` that was created by this mutation.""" + connectedAccountsModule: ConnectedAccountsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ConnectedAccountsModule`. May be used by Relay 1.""" + connectedAccountsModuleEdge( + """The method to use when ordering `ConnectedAccountsModule`.""" + orderBy: [ConnectedAccountsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ConnectedAccountsModuleEdge +} + +"""All input for the create `ConnectedAccountsModule` mutation.""" +input CreateConnectedAccountsModuleInput { + """ + 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 `ConnectedAccountsModule` to be created by this mutation.""" + connectedAccountsModule: ConnectedAccountsModuleInput! +} + +"""An input for mutations affecting `ConnectedAccountsModule`""" +input ConnectedAccountsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String! +} + +"""The output of our create `EmailsModule` mutation.""" +type CreateEmailsModulePayload { + """ + 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 `EmailsModule` that was created by this mutation.""" + emailsModule: EmailsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EmailsModule`. May be used by Relay 1.""" + emailsModuleEdge( + """The method to use when ordering `EmailsModule`.""" + orderBy: [EmailsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailsModuleEdge +} + +"""All input for the create `EmailsModule` mutation.""" +input CreateEmailsModuleInput { + """ + 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 `EmailsModule` to be created by this mutation.""" + emailsModule: EmailsModuleInput! +} + +"""An input for mutations affecting `EmailsModule`""" +input EmailsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String! +} + +"""The output of our create `PhoneNumbersModule` mutation.""" +type CreatePhoneNumbersModulePayload { + """ + 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 `PhoneNumbersModule` that was created by this mutation.""" + phoneNumbersModule: PhoneNumbersModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumbersModule`. May be used by Relay 1.""" + phoneNumbersModuleEdge( + """The method to use when ordering `PhoneNumbersModule`.""" + orderBy: [PhoneNumbersModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumbersModuleEdge +} + +"""All input for the create `PhoneNumbersModule` mutation.""" +input CreatePhoneNumbersModuleInput { + """ + 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 `PhoneNumbersModule` to be created by this mutation.""" + phoneNumbersModule: PhoneNumbersModuleInput! +} + +"""An input for mutations affecting `PhoneNumbersModule`""" +input PhoneNumbersModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String! +} + +"""The output of our create `UsersModule` mutation.""" +type CreateUsersModulePayload { + """ + 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 `UsersModule` that was created by this mutation.""" + usersModule: UsersModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UsersModule`. May be used by Relay 1.""" + usersModuleEdge( + """The method to use when ordering `UsersModule`.""" + orderBy: [UsersModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): UsersModuleEdge +} + +"""All input for the create `UsersModule` mutation.""" +input CreateUsersModuleInput { + """ + 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 `UsersModule` to be created by this mutation.""" + usersModule: UsersModuleInput! +} + +"""An input for mutations affecting `UsersModule`""" +input UsersModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + tableId: UUID + tableName: String + typeTableId: UUID + typeTableName: String +} + +"""The output of our create `OrgAdminGrant` mutation.""" +type CreateOrgAdminGrantPayload { + """ + 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 `OrgAdminGrant` that was created by this mutation.""" + orgAdminGrant: OrgAdminGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgAdminGrant`. May be used by Relay 1.""" + orgAdminGrantEdge( + """The method to use when ordering `OrgAdminGrant`.""" + orderBy: [OrgAdminGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgAdminGrantEdge +} + +"""All input for the create `OrgAdminGrant` mutation.""" +input CreateOrgAdminGrantInput { + """ + 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 `OrgAdminGrant` to be created by this mutation.""" + orgAdminGrant: OrgAdminGrantInput! +} + +"""An input for mutations affecting `OrgAdminGrant`""" +input OrgAdminGrantInput { + id: UUID + + """True to grant admin, false to revoke admin""" + isGrant: Boolean + + """The member receiving or losing the admin grant""" + actorId: UUID! + + """The entity (org or group) this admin grant applies to""" + entityId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `OrgOwnerGrant` mutation.""" +type CreateOrgOwnerGrantPayload { + """ + 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 `OrgOwnerGrant` that was created by this mutation.""" + orgOwnerGrant: OrgOwnerGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgOwnerGrant`. May be used by Relay 1.""" + orgOwnerGrantEdge( + """The method to use when ordering `OrgOwnerGrant`.""" + orderBy: [OrgOwnerGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgOwnerGrantEdge +} + +"""All input for the create `OrgOwnerGrant` mutation.""" +input CreateOrgOwnerGrantInput { + """ + 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 `OrgOwnerGrant` to be created by this mutation.""" + orgOwnerGrant: OrgOwnerGrantInput! +} + +"""An input for mutations affecting `OrgOwnerGrant`""" +input OrgOwnerGrantInput { + id: UUID + + """True to grant ownership, false to revoke ownership""" + isGrant: Boolean + + """The member receiving or losing the ownership grant""" + actorId: UUID! + + """The entity (org or group) this ownership grant applies to""" + entityId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `CryptoAddress` mutation.""" +type CreateCryptoAddressPayload { + """ + 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 `CryptoAddress` that was created by this mutation.""" + cryptoAddress: CryptoAddress + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAddress`. May be used by Relay 1.""" + cryptoAddressEdge( + """The method to use when ordering `CryptoAddress`.""" + orderBy: [CryptoAddressOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAddressEdge +} + +"""All input for the create `CryptoAddress` mutation.""" +input CreateCryptoAddressInput { + """ + 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 `CryptoAddress` to be created by this mutation.""" + cryptoAddress: CryptoAddressInput! +} + +"""An input for mutations affecting `CryptoAddress`""" +input CryptoAddressInput { + 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 +} + +"""The output of our create `RoleType` mutation.""" +type CreateRoleTypePayload { + """ + 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 `RoleType` that was created by this mutation.""" + roleType: RoleType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge +} + +"""All input for the create `RoleType` mutation.""" +input CreateRoleTypeInput { + """ + 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 `RoleType` to be created by this mutation.""" + roleType: RoleTypeInput! +} + +"""An input for mutations affecting `RoleType`""" +input RoleTypeInput { + id: Int! + name: String! +} + +"""The output of our create `OrgPermissionDefault` mutation.""" +type CreateOrgPermissionDefaultPayload { + """ + 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 `OrgPermissionDefault` that was created by this mutation.""" + orgPermissionDefault: OrgPermissionDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" + orgPermissionDefaultEdge( + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultEdge +} + +"""All input for the create `OrgPermissionDefault` mutation.""" +input CreateOrgPermissionDefaultInput { + """ + 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 `OrgPermissionDefault` to be created by this mutation.""" + orgPermissionDefault: OrgPermissionDefaultInput! +} + +"""An input for mutations affecting `OrgPermissionDefault`""" +input OrgPermissionDefaultInput { + id: UUID + + """Default permission bitmask applied to new members""" + permissions: BitString + + """References the entity these default permissions apply to""" + entityId: UUID! +} + +"""The output of our create `Database` mutation.""" +type CreateDatabasePayload { + """ + 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 `Database` that was created by this mutation.""" + database: Database + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Database`. May be used by Relay 1.""" + databaseEdge( + """The method to use when ordering `Database`.""" + orderBy: [DatabaseOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseEdge +} + +"""All input for the create `Database` mutation.""" +input CreateDatabaseInput { + """ + 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 `Database` to be created by this mutation.""" + database: DatabaseInput! +} + +"""An input for mutations affecting `Database`""" +input DatabaseInput { + id: UUID + ownerId: UUID + schemaHash: String + name: String + label: String + hash: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `CryptoAddressesModule` mutation.""" +type CreateCryptoAddressesModulePayload { + """ + 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 `CryptoAddressesModule` that was created by this mutation.""" + cryptoAddressesModule: CryptoAddressesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAddressesModule`. May be used by Relay 1.""" + cryptoAddressesModuleEdge( + """The method to use when ordering `CryptoAddressesModule`.""" + orderBy: [CryptoAddressesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAddressesModuleEdge +} + +"""All input for the create `CryptoAddressesModule` mutation.""" +input CreateCryptoAddressesModuleInput { + """ + 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 `CryptoAddressesModule` to be created by this mutation.""" + cryptoAddressesModule: CryptoAddressesModuleInput! +} + +"""An input for mutations affecting `CryptoAddressesModule`""" +input CryptoAddressesModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String! + cryptoNetwork: String +} + +"""The output of our create `PhoneNumber` mutation.""" +type CreatePhoneNumberPayload { + """ + 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 `PhoneNumber` that was created by this mutation.""" + phoneNumber: PhoneNumber + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumber`. May be used by Relay 1.""" + phoneNumberEdge( + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumberEdge +} + +"""All input for the create `PhoneNumber` mutation.""" +input CreatePhoneNumberInput { + """ + 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 `PhoneNumber` to be created by this mutation.""" + phoneNumber: PhoneNumberInput! +} + +"""An input for mutations affecting `PhoneNumber`""" +input PhoneNumberInput { + 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 +} + +"""The output of our create `AppLimitDefault` mutation.""" +type CreateAppLimitDefaultPayload { + """ + 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 `AppLimitDefault` that was created by this mutation.""" + appLimitDefault: AppLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimitDefault`. May be used by Relay 1.""" + appLimitDefaultEdge( + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitDefaultEdge +} + +"""All input for the create `AppLimitDefault` mutation.""" +input CreateAppLimitDefaultInput { + """ + 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 `AppLimitDefault` to be created by this mutation.""" + appLimitDefault: AppLimitDefaultInput! +} + +"""An input for mutations affecting `AppLimitDefault`""" +input AppLimitDefaultInput { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String! + + """Default maximum usage allowed for this limit""" + max: Int +} + +"""The output of our create `OrgLimitDefault` mutation.""" +type CreateOrgLimitDefaultPayload { + """ + 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 `OrgLimitDefault` that was created by this mutation.""" + orgLimitDefault: OrgLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" + orgLimitDefaultEdge( + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultEdge +} + +"""All input for the create `OrgLimitDefault` mutation.""" +input CreateOrgLimitDefaultInput { + """ + 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 `OrgLimitDefault` to be created by this mutation.""" + orgLimitDefault: OrgLimitDefaultInput! +} + +"""An input for mutations affecting `OrgLimitDefault`""" +input OrgLimitDefaultInput { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String! + + """Default maximum usage allowed for this limit""" + 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 `FieldModule` mutation.""" +type CreateFieldModulePayload { + """ + 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 `FieldModule` that was created by this mutation.""" + fieldModule: FieldModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `FieldModule`. May be used by Relay 1.""" + fieldModuleEdge( + """The method to use when ordering `FieldModule`.""" + orderBy: [FieldModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): FieldModuleEdge +} + +"""All input for the create `FieldModule` mutation.""" +input CreateFieldModuleInput { + """ + 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 `FieldModule` to be created by this mutation.""" + fieldModule: FieldModuleInput! +} + +"""An input for mutations affecting `FieldModule`""" +input FieldModuleInput { + id: UUID + databaseId: UUID! + privateSchemaId: UUID + tableId: UUID + fieldId: UUID + nodeType: String! + data: JSON + triggers: [String] + functions: [String] +} + +"""The output of our create `TableTemplateModule` mutation.""" +type CreateTableTemplateModulePayload { + """ + 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 `TableTemplateModule` that was created by this mutation.""" + tableTemplateModule: TableTemplateModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TableTemplateModule`. May be used by Relay 1.""" + tableTemplateModuleEdge( + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableTemplateModuleEdge +} + +"""All input for the create `TableTemplateModule` mutation.""" +input CreateTableTemplateModuleInput { + """ + 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 `TableTemplateModule` to be created by this mutation.""" + tableTemplateModule: TableTemplateModuleInput! +} + +"""An input for mutations affecting `TableTemplateModule`""" +input TableTemplateModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String! + nodeType: String! + data: JSON +} + +"""The output of our create `OrgChartEdgeGrant` mutation.""" +type CreateOrgChartEdgeGrantPayload { + """ + 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 `OrgChartEdgeGrant` that was created by this mutation.""" + orgChartEdgeGrant: OrgChartEdgeGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgChartEdgeGrant`. May be used by Relay 1.""" + orgChartEdgeGrantEdge( + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantEdge +} + +"""All input for the create `OrgChartEdgeGrant` mutation.""" +input CreateOrgChartEdgeGrantInput { + """ + 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 `OrgChartEdgeGrant` to be created by this mutation.""" + orgChartEdgeGrant: OrgChartEdgeGrantInput! +} + +"""An input for mutations affecting `OrgChartEdgeGrant`""" +input OrgChartEdgeGrantInput { + id: UUID + + """Organization this grant applies to""" + entityId: UUID! + + """User ID of the subordinate being placed in the hierarchy""" + childId: UUID! + + """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! + + """TRUE to add/update the edge, FALSE to remove it""" + isGrant: Boolean + + """Job title or role name being assigned in this grant""" + positionTitle: String + + """Numeric seniority level being assigned in this grant""" + positionLevel: Int + + """Timestamp when this grant or revocation was recorded""" + createdAt: Datetime +} + +"""The output of our create `NodeTypeRegistry` mutation.""" +type CreateNodeTypeRegistryPayload { + """ + 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 `NodeTypeRegistry` that was created by this mutation.""" + nodeTypeRegistry: NodeTypeRegistry + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `NodeTypeRegistry`. May be used by Relay 1.""" + nodeTypeRegistryEdge( + """The method to use when ordering `NodeTypeRegistry`.""" + orderBy: [NodeTypeRegistryOrderBy!]! = [PRIMARY_KEY_ASC] + ): NodeTypeRegistryEdge +} + +"""All input for the create `NodeTypeRegistry` mutation.""" +input CreateNodeTypeRegistryInput { + """ + 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 `NodeTypeRegistry` to be created by this mutation.""" + nodeTypeRegistry: NodeTypeRegistryInput! +} + +"""An input for mutations affecting `NodeTypeRegistry`""" +input NodeTypeRegistryInput { + """ + 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 + + """Description of what this node type does""" + description: String + + """JSON Schema defining valid parameters for this node type""" + parameterSchema: JSON + + """ + Tags for categorization and filtering (e.g., ownership, membership, temporal, rls) + """ + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `MembershipType` mutation.""" +type CreateMembershipTypePayload { + """ + 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 `MembershipType` that was created by this mutation.""" + membershipType: MembershipType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge +} + +"""All input for the create `MembershipType` mutation.""" +input CreateMembershipTypeInput { + """ + 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 `MembershipType` to be created by this mutation.""" + membershipType: MembershipTypeInput! +} + +"""An input for mutations affecting `MembershipType`""" +input MembershipTypeInput { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! + + """Human-readable name of the membership type""" + name: String! + + """Description of what this membership type represents""" + description: String! + + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String! +} + +"""The output of our create `TableGrant` mutation.""" +type CreateTableGrantPayload { + """ + 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 `TableGrant` that was created by this mutation.""" + tableGrant: TableGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TableGrant`. May be used by Relay 1.""" + tableGrantEdge( + """The method to use when ordering `TableGrant`.""" + orderBy: [TableGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableGrantEdge +} + +"""All input for the create `TableGrant` mutation.""" +input CreateTableGrantInput { + """ + 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 `TableGrant` to be created by this mutation.""" + tableGrant: TableGrantInput! +} + +"""An input for mutations affecting `TableGrant`""" +input TableGrantInput { + id: UUID + databaseId: UUID + tableId: UUID! + privilege: String! + granteeName: String! + fieldIds: [UUID] + isGrant: Boolean + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AppPermission` mutation.""" +type CreateAppPermissionPayload { + """ + 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 `AppPermission` that was created by this mutation.""" + appPermission: AppPermission + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppPermission`. May be used by Relay 1.""" + appPermissionEdge( + """The method to use when ordering `AppPermission`.""" + orderBy: [AppPermissionOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppPermissionEdge +} + +"""All input for the create `AppPermission` mutation.""" +input CreateAppPermissionInput { + """ + 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 `AppPermission` to be created by this mutation.""" + appPermission: AppPermissionInput! +} + +"""An input for mutations affecting `AppPermission`""" +input AppPermissionInput { + id: UUID + + """Human-readable permission name (e.g. read, write, manage)""" + name: String + + """ + Position of this permission in the bitmask (1-indexed), must be unique per permission set + """ + bitnum: Int + + """ + Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations + """ + bitstr: BitString + + """Human-readable description of what this permission allows""" + description: String +} + +"""The output of our create `OrgPermission` mutation.""" +type CreateOrgPermissionPayload { + """ + 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 `OrgPermission` that was created by this mutation.""" + orgPermission: OrgPermission + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgPermission`. May be used by Relay 1.""" + orgPermissionEdge( + """The method to use when ordering `OrgPermission`.""" + orderBy: [OrgPermissionOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionEdge +} + +"""All input for the create `OrgPermission` mutation.""" +input CreateOrgPermissionInput { + """ + 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 `OrgPermission` to be created by this mutation.""" + orgPermission: OrgPermissionInput! +} + +"""An input for mutations affecting `OrgPermission`""" +input OrgPermissionInput { + id: UUID + + """Human-readable permission name (e.g. read, write, manage)""" + name: String + + """ + Position of this permission in the bitmask (1-indexed), must be unique per permission set + """ + bitnum: Int + + """ + Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations + """ + bitstr: BitString + + """Human-readable description of what this permission allows""" + description: String +} + +"""The output of our create `AppLimit` mutation.""" +type CreateAppLimitPayload { + """ + 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 `AppLimit` that was created by this mutation.""" + appLimit: AppLimit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimit`. May be used by Relay 1.""" + appLimitEdge( + """The method to use when ordering `AppLimit`.""" + orderBy: [AppLimitOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitEdge +} + +"""All input for the create `AppLimit` mutation.""" +input CreateAppLimitInput { + """ + 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 `AppLimit` to be created by this mutation.""" + appLimit: AppLimitInput! +} + +"""An input for mutations affecting `AppLimit`""" +input AppLimitInput { + id: UUID + + """Name identifier of the limit being tracked""" + name: String + + """User whose usage is being tracked against this limit""" + actorId: UUID! + + """Current usage count for this actor and limit""" + num: Int + + """Maximum allowed usage; NULL means use the default limit value""" + max: Int +} + +"""The output of our create `AppAchievement` mutation.""" +type CreateAppAchievementPayload { + """ + 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 `AppAchievement` that was created by this mutation.""" + appAchievement: AppAchievement + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppAchievement`. May be used by Relay 1.""" + appAchievementEdge( + """The method to use when ordering `AppAchievement`.""" + orderBy: [AppAchievementOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppAchievementEdge +} + +"""All input for the create `AppAchievement` mutation.""" +input CreateAppAchievementInput { + """ + 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 `AppAchievement` to be created by this mutation.""" + appAchievement: AppAchievementInput! +} + +"""An input for mutations affecting `AppAchievement`""" +input AppAchievementInput { + id: UUID + actorId: UUID + + """Name identifier of the level requirement being tracked""" + name: String! + + """Cumulative count of completed steps toward this requirement""" + count: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AppStep` mutation.""" +type CreateAppStepPayload { + """ + 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 `AppStep` that was created by this mutation.""" + appStep: AppStep + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppStep`. May be used by Relay 1.""" + appStepEdge( + """The method to use when ordering `AppStep`.""" + orderBy: [AppStepOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppStepEdge +} + +"""All input for the create `AppStep` mutation.""" +input CreateAppStepInput { + """ + 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 `AppStep` to be created by this mutation.""" + appStep: AppStepInput! +} + +"""An input for mutations affecting `AppStep`""" +input AppStepInput { + id: UUID + actorId: UUID + + """Name identifier of the level requirement this step fulfills""" + name: String! + + """Number of units completed in this step action""" + count: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `ClaimedInvite` mutation.""" +type CreateClaimedInvitePayload { + """ + 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 `ClaimedInvite` that was created by this mutation.""" + claimedInvite: ClaimedInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ClaimedInvite`. May be used by Relay 1.""" + claimedInviteEdge( + """The method to use when ordering `ClaimedInvite`.""" + orderBy: [ClaimedInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): ClaimedInviteEdge +} + +"""All input for the create `ClaimedInvite` mutation.""" +input CreateClaimedInviteInput { + """ + 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 `ClaimedInvite` to be created by this mutation.""" + claimedInvite: ClaimedInviteInput! +} + +"""An input for mutations affecting `ClaimedInvite`""" +input ClaimedInviteInput { + id: UUID + + """Optional JSON payload captured at the time the invite was claimed""" + data: JSON + + """User ID of the original invitation sender""" + senderId: UUID + + """User ID of the person who claimed and redeemed the invitation""" + receiverId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AppMembershipDefault` mutation.""" +type CreateAppMembershipDefaultPayload { + """ + 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 `AppMembershipDefault` that was created by this mutation.""" + appMembershipDefault: AppMembershipDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppMembershipDefault`. May be used by Relay 1.""" + appMembershipDefaultEdge( + """The method to use when ordering `AppMembershipDefault`.""" + orderBy: [AppMembershipDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipDefaultEdge +} + +"""All input for the create `AppMembershipDefault` mutation.""" +input CreateAppMembershipDefaultInput { + """ + 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 `AppMembershipDefault` to be created by this mutation.""" + appMembershipDefault: AppMembershipDefaultInput! +} + +"""An input for mutations affecting `AppMembershipDefault`""" +input AppMembershipDefaultInput { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether new members are automatically approved upon joining""" + isApproved: Boolean + + """Whether new members are automatically verified upon joining""" + isVerified: Boolean +} + +"""The output of our create `SiteMetadatum` mutation.""" +type CreateSiteMetadatumPayload { + """ + 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 `SiteMetadatum` that was created by this mutation.""" + siteMetadatum: SiteMetadatum + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteMetadatum`. May be used by Relay 1.""" + siteMetadatumEdge( + """The method to use when ordering `SiteMetadatum`.""" + orderBy: [SiteMetadatumOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteMetadatumEdge +} + +"""All input for the create `SiteMetadatum` mutation.""" +input CreateSiteMetadatumInput { + """ + 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 `SiteMetadatum` to be created by this mutation.""" + siteMetadatum: SiteMetadatumInput! +} + +"""An input for mutations affecting `SiteMetadatum`""" +input SiteMetadatumInput { + """Unique identifier for this metadata record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID! + + """Site this metadata belongs to""" + siteId: UUID! + + """Page title for SEO (max 120 characters)""" + title: String + + """Meta description for SEO and social sharing (max 120 characters)""" + description: String + + """Open Graph image for social media previews""" + ogImage: ConstructiveInternalTypeImage +} + +"""The output of our create `RlsModule` mutation.""" +type CreateRlsModulePayload { + """ + 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 `RlsModule` that was created by this mutation.""" + rlsModule: RlsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RlsModule`. May be used by Relay 1.""" + rlsModuleEdge( + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): RlsModuleEdge +} + +"""All input for the create `RlsModule` mutation.""" +input CreateRlsModuleInput { + """ + 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 `RlsModule` to be created by this mutation.""" + rlsModule: RlsModuleInput! +} + +"""An input for mutations affecting `RlsModule`""" +input RlsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + sessionCredentialsTableId: UUID + sessionsTableId: UUID + usersTableId: UUID + authenticate: String + authenticateStrict: String + currentRole: String + currentRoleId: String +} + +"""The output of our create `SessionsModule` mutation.""" +type CreateSessionsModulePayload { + """ + 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 `SessionsModule` that was created by this mutation.""" + sessionsModule: SessionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SessionsModule`. May be used by Relay 1.""" + sessionsModuleEdge( + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SessionsModuleEdge +} + +"""All input for the create `SessionsModule` mutation.""" +input CreateSessionsModuleInput { + """ + 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 `SessionsModule` to be created by this mutation.""" + sessionsModule: SessionsModuleInput! +} + +"""An input for mutations affecting `SessionsModule`""" +input SessionsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + authSettingsTableId: UUID + usersTableId: UUID + sessionsDefaultExpiration: IntervalInput + sessionsTable: String + sessionCredentialsTable: String + authSettingsTable: String +} + +"""The output of our create `Object` mutation.""" +type CreateObjectPayload { + """ + 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 `Object` that was created by this mutation.""" + object: Object + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Object`. May be used by Relay 1.""" + objectEdge( + """The method to use when ordering `Object`.""" + orderBy: [ObjectOrderBy!]! = [PRIMARY_KEY_ASC] + ): ObjectEdge +} + +"""All input for the create `Object` mutation.""" +input CreateObjectInput { + """ + 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 `Object` to be created by this mutation.""" + object: ObjectInput! +} + +"""An input for mutations affecting `Object`""" +input ObjectInput { + id: UUID! + databaseId: UUID! + kids: [UUID] + ktree: [String] + data: JSON + frzn: Boolean + createdAt: Datetime +} + +"""The output of our create `FullTextSearch` mutation.""" +type CreateFullTextSearchPayload { + """ + 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 `FullTextSearch` that was created by this mutation.""" + fullTextSearch: FullTextSearch + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `FullTextSearch`. May be used by Relay 1.""" + fullTextSearchEdge( + """The method to use when ordering `FullTextSearch`.""" + orderBy: [FullTextSearchOrderBy!]! = [PRIMARY_KEY_ASC] + ): FullTextSearchEdge +} + +"""All input for the create `FullTextSearch` mutation.""" +input CreateFullTextSearchInput { + """ + 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 `FullTextSearch` to be created by this mutation.""" + fullTextSearch: FullTextSearchInput! +} + +"""An input for mutations affecting `FullTextSearch`""" +input FullTextSearchInput { + id: UUID + databaseId: UUID + tableId: UUID! + fieldId: UUID! + fieldIds: [UUID]! + weights: [String]! + langs: [String]! + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `Commit` mutation.""" +type CreateCommitPayload { + """ + 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 `Commit` that was created by this mutation.""" + commit: Commit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Commit`. May be used by Relay 1.""" + commitEdge( + """The method to use when ordering `Commit`.""" + orderBy: [CommitOrderBy!]! = [PRIMARY_KEY_ASC] + ): CommitEdge +} + +"""All input for the create `Commit` mutation.""" +input CreateCommitInput { + """ + 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 `Commit` to be created by this mutation.""" + commit: CommitInput! +} + +"""An input for mutations affecting `Commit`""" +input CommitInput { + """The primary unique identifier for the commit.""" + id: UUID + + """The commit message""" + message: String + + """The repository identifier""" + databaseId: UUID! + storeId: UUID! + + """Parent commits""" + parentIds: [UUID] + + """The author of the commit""" + authorId: UUID + + """The committer of the commit""" + committerId: UUID + + """The root of the tree""" + treeId: UUID + date: Datetime +} + +"""The output of our create `OrgLimit` mutation.""" +type CreateOrgLimitPayload { + """ + 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 `OrgLimit` that was created by this mutation.""" + orgLimit: OrgLimit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimit`. May be used by Relay 1.""" + orgLimitEdge( + """The method to use when ordering `OrgLimit`.""" + orderBy: [OrgLimitOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitEdge +} + +"""All input for the create `OrgLimit` mutation.""" +input CreateOrgLimitInput { + """ + 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 `OrgLimit` to be created by this mutation.""" + orgLimit: OrgLimitInput! +} + +"""An input for mutations affecting `OrgLimit`""" +input OrgLimitInput { + id: UUID + + """Name identifier of the limit being tracked""" + name: String + + """User whose usage is being tracked against this limit""" + actorId: UUID! + + """Current usage count for this actor and limit""" + num: Int + + """Maximum allowed usage; NULL means use the default limit value""" + max: Int + entityId: UUID! +} + +"""The output of our create `AppGrant` mutation.""" +type CreateAppGrantPayload { + """ + 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 `AppGrant` that was created by this mutation.""" + appGrant: AppGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppGrant`. May be used by Relay 1.""" + appGrantEdge( + """The method to use when ordering `AppGrant`.""" + orderBy: [AppGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppGrantEdge +} + +"""All input for the create `AppGrant` mutation.""" +input CreateAppGrantInput { + """ + 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 `AppGrant` to be created by this mutation.""" + appGrant: AppGrantInput! +} + +"""An input for mutations affecting `AppGrant`""" +input AppGrantInput { + id: UUID + + """Bitmask of permissions being granted or revoked""" + permissions: BitString + + """True to grant the permissions, false to revoke them""" + isGrant: Boolean + + """The member receiving or losing the permission grant""" + actorId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `OrgClaimedInvite` mutation.""" +type CreateOrgClaimedInvitePayload { + """ + 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 `OrgClaimedInvite` that was created by this mutation.""" + orgClaimedInvite: OrgClaimedInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgClaimedInvite`. May be used by Relay 1.""" + orgClaimedInviteEdge( + """The method to use when ordering `OrgClaimedInvite`.""" + orderBy: [OrgClaimedInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgClaimedInviteEdge +} + +"""All input for the create `OrgClaimedInvite` mutation.""" +input CreateOrgClaimedInviteInput { + """ + 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 `OrgClaimedInvite` to be created by this mutation.""" + orgClaimedInvite: OrgClaimedInviteInput! +} + +"""An input for mutations affecting `OrgClaimedInvite`""" +input OrgClaimedInviteInput { + id: UUID + + """Optional JSON payload captured at the time the invite was claimed""" + data: JSON + + """User ID of the original invitation sender""" + senderId: UUID + + """User ID of the person who claimed and redeemed the invitation""" + receiverId: UUID + createdAt: Datetime + updatedAt: Datetime + entityId: UUID! +} + +"""The output of our create `OrgChartEdge` mutation.""" +type CreateOrgChartEdgePayload { + """ + 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 `OrgChartEdge` that was created by this mutation.""" + orgChartEdge: OrgChartEdge + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgChartEdge`. May be used by Relay 1.""" + orgChartEdgeEdge( + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeEdge +} + +"""All input for the create `OrgChartEdge` mutation.""" +input CreateOrgChartEdgeInput { + """ + 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 `OrgChartEdge` to be created by this mutation.""" + orgChartEdge: OrgChartEdgeInput! +} + +"""An input for mutations affecting `OrgChartEdge`""" +input OrgChartEdgeInput { + id: UUID + createdAt: Datetime + updatedAt: Datetime + + """Organization this hierarchy edge belongs to""" + entityId: UUID! + + """User ID of the subordinate (employee) in this reporting relationship""" + childId: UUID! + + """ + User ID of the manager; NULL indicates a top-level position with no direct report + """ + parentId: UUID + + """Job title or role name for this position in the org chart""" + positionTitle: String + + """Numeric seniority level for this position (higher = more senior)""" + positionLevel: Int +} + +"""The output of our create `Domain` mutation.""" +type CreateDomainPayload { + """ + 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 `Domain` that was created by this mutation.""" + domain: Domain + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Domain`. May be used by Relay 1.""" + domainEdge( + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!]! = [PRIMARY_KEY_ASC] + ): DomainEdge +} + +"""All input for the create `Domain` mutation.""" +input CreateDomainInput { + """ + 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 `Domain` to be created by this mutation.""" + domain: DomainInput! +} + +"""An input for mutations affecting `Domain`""" +input DomainInput { + """Unique identifier for this domain record""" + id: UUID + + """Reference to the metaschema database this domain belongs to""" + databaseId: UUID! + + """API endpoint this domain routes to (mutually exclusive with site_id)""" + apiId: UUID + + """Site this domain routes to (mutually exclusive with api_id)""" + siteId: UUID + + """Subdomain portion of the hostname""" + subdomain: ConstructiveInternalTypeHostname + + """Root domain of the hostname""" + domain: ConstructiveInternalTypeHostname +} + +"""The output of our create `OrgGrant` mutation.""" +type CreateOrgGrantPayload { + """ + 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 `OrgGrant` that was created by this mutation.""" + orgGrant: OrgGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgGrant`. May be used by Relay 1.""" + orgGrantEdge( + """The method to use when ordering `OrgGrant`.""" + orderBy: [OrgGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgGrantEdge +} + +"""All input for the create `OrgGrant` mutation.""" +input CreateOrgGrantInput { + """ + 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 `OrgGrant` to be created by this mutation.""" + orgGrant: OrgGrantInput! +} + +"""An input for mutations affecting `OrgGrant`""" +input OrgGrantInput { + id: UUID + + """Bitmask of permissions being granted or revoked""" + permissions: BitString + + """True to grant the permissions, false to revoke them""" + isGrant: Boolean + + """The member receiving or losing the permission grant""" + actorId: UUID! + + """The entity (org or group) this permission grant applies to""" + entityId: UUID! + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `OrgMembershipDefault` mutation.""" +type CreateOrgMembershipDefaultPayload { + """ + 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 `OrgMembershipDefault` that was created by this mutation.""" + orgMembershipDefault: OrgMembershipDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMembershipDefault`. May be used by Relay 1.""" + orgMembershipDefaultEdge( + """The method to use when ordering `OrgMembershipDefault`.""" + orderBy: [OrgMembershipDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipDefaultEdge +} + +"""All input for the create `OrgMembershipDefault` mutation.""" +input CreateOrgMembershipDefaultInput { + """ + 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 `OrgMembershipDefault` to be created by this mutation.""" + orgMembershipDefault: OrgMembershipDefaultInput! +} + +"""An input for mutations affecting `OrgMembershipDefault`""" +input OrgMembershipDefaultInput { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether new members are automatically approved upon joining""" + isApproved: Boolean + + """References the entity these membership defaults apply to""" + entityId: UUID! + + """ + When an org member is deleted, whether to cascade-remove their group memberships + """ + deleteMemberCascadeGroups: Boolean + + """ + When a group is created, whether to auto-add existing org members as group members + """ + createGroupsCascadeMembers: Boolean +} + +"""The output of our create `AppLevelRequirement` mutation.""" +type CreateAppLevelRequirementPayload { + """ + 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 `AppLevelRequirement` that was created by this mutation.""" + appLevelRequirement: AppLevelRequirement + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLevelRequirement`. May be used by Relay 1.""" + appLevelRequirementEdge( + """The method to use when ordering `AppLevelRequirement`.""" + orderBy: [AppLevelRequirementOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelRequirementEdge +} + +"""All input for the create `AppLevelRequirement` mutation.""" +input CreateAppLevelRequirementInput { + """ + 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 `AppLevelRequirement` to be created by this mutation.""" + appLevelRequirement: AppLevelRequirementInput! +} + +"""An input for mutations affecting `AppLevelRequirement`""" +input AppLevelRequirementInput { + id: UUID + + """Name identifier of the requirement (matches step names)""" + name: String! + + """Name of the level this requirement belongs to""" + level: String! + + """Human-readable description of what this requirement entails""" + description: String + + """Number of steps needed to satisfy this requirement""" + requiredCount: Int + + """Display ordering priority; lower values appear first""" + priority: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AuditLog` mutation.""" +type CreateAuditLogPayload { + """ + 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 `AuditLog` that was created by this mutation.""" + auditLog: AuditLog + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AuditLog`. May be used by Relay 1.""" + auditLogEdge( + """The method to use when ordering `AuditLog`.""" + orderBy: [AuditLogOrderBy!]! = [PRIMARY_KEY_ASC] + ): AuditLogEdge +} + +"""All input for the create `AuditLog` mutation.""" +input CreateAuditLogInput { + """ + 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 `AuditLog` to be created by this mutation.""" + auditLog: AuditLogInput! +} + +"""An input for mutations affecting `AuditLog`""" +input AuditLogInput { + 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 +} + +"""The output of our create `AppLevel` mutation.""" +type CreateAppLevelPayload { + """ + 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 `AppLevel` that was created by this mutation.""" + appLevel: AppLevel + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLevel`. May be used by Relay 1.""" + appLevelEdge( + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelEdge +} + +"""All input for the create `AppLevel` mutation.""" +input CreateAppLevelInput { + """ + 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 `AppLevel` to be created by this mutation.""" + appLevel: AppLevelInput! +} + +"""An input for mutations affecting `AppLevel`""" +input AppLevelInput { + 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 +} + +"""The output of our create `SqlMigration` mutation.""" +type CreateSqlMigrationPayload { + """ + 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 `SqlMigration` that was created by this mutation.""" + sqlMigration: SqlMigration + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""All input for the create `SqlMigration` mutation.""" +input CreateSqlMigrationInput { + """ + 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 `SqlMigration` to be created by this mutation.""" + sqlMigration: SqlMigrationInput! +} + +"""An input for mutations affecting `SqlMigration`""" +input SqlMigrationInput { + id: Int + name: String + databaseId: UUID + deploy: String + deps: [String] + payload: JSON + content: String + revert: String + verify: String + createdAt: Datetime + action: String + actionId: UUID + actorId: UUID +} + +"""The output of our create `CryptoAuthModule` mutation.""" +type CreateCryptoAuthModulePayload { + """ + 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 `CryptoAuthModule` that was created by this mutation.""" + cryptoAuthModule: CryptoAuthModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAuthModule`. May be used by Relay 1.""" + cryptoAuthModuleEdge( + """The method to use when ordering `CryptoAuthModule`.""" + orderBy: [CryptoAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAuthModuleEdge +} + +"""All input for the create `CryptoAuthModule` mutation.""" +input CreateCryptoAuthModuleInput { + """ + 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 `CryptoAuthModule` to be created by this mutation.""" + cryptoAuthModule: CryptoAuthModuleInput! +} + +"""An input for mutations affecting `CryptoAuthModule`""" +input CryptoAuthModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + usersTableId: UUID + secretsTableId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + addressesTableId: UUID + userField: String! + cryptoNetwork: String + signInRequestChallenge: String + signInRecordFailure: String + signUpWithKey: String + signInWithChallenge: String +} + +"""The output of our create `DatabaseProvisionModule` mutation.""" +type CreateDatabaseProvisionModulePayload { + """ + 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 `DatabaseProvisionModule` that was created by this mutation.""" + databaseProvisionModule: DatabaseProvisionModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DatabaseProvisionModule`. May be used by Relay 1.""" + databaseProvisionModuleEdge( + """The method to use when ordering `DatabaseProvisionModule`.""" + orderBy: [DatabaseProvisionModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseProvisionModuleEdge +} + +"""All input for the create `DatabaseProvisionModule` mutation.""" +input CreateDatabaseProvisionModuleInput { + """ + 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 `DatabaseProvisionModule` to be created by this mutation.""" + databaseProvisionModule: DatabaseProvisionModuleInput! +} + +"""An input for mutations affecting `DatabaseProvisionModule`""" +input DatabaseProvisionModuleInput { + id: UUID + + """The name for the new database""" + databaseName: String! + + """UUID of the user who owns this database""" + ownerId: UUID! + + """ + Subdomain prefix for the database. If null, auto-generated using unique_names + random chars + """ + subdomain: String + + """Base domain for the database (e.g., example.com)""" + domain: String! + + """Array of module IDs to install, or ["all"] for all modules""" + modules: [String] + + """Additional configuration options for provisioning""" + options: JSON + + """ + When true, copies the owner user and password hash from source database to the newly provisioned database + """ + bootstrapUser: Boolean + + """Current status: pending, in_progress, completed, or failed""" + status: String + errorMessage: String + + """The ID of the provisioned database (set by trigger before RLS check)""" + databaseId: UUID + createdAt: Datetime + updatedAt: Datetime + completedAt: Datetime +} + +"""The output of our create `InvitesModule` mutation.""" +type CreateInvitesModulePayload { + """ + 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 `InvitesModule` that was created by this mutation.""" + invitesModule: InvitesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `InvitesModule`. May be used by Relay 1.""" + invitesModuleEdge( + """The method to use when ordering `InvitesModule`.""" + orderBy: [InvitesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): InvitesModuleEdge +} + +"""All input for the create `InvitesModule` mutation.""" +input CreateInvitesModuleInput { + """ + 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 `InvitesModule` to be created by this mutation.""" + invitesModule: InvitesModuleInput! +} + +"""An input for mutations affecting `InvitesModule`""" +input InvitesModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + emailsTableId: UUID + usersTableId: UUID + invitesTableId: UUID + claimedInvitesTableId: UUID + invitesTableName: String + claimedInvitesTableName: String + submitInviteCodeFunction: String + prefix: String + membershipType: Int! + entityTableId: UUID +} + +"""The output of our create `DenormalizedTableField` mutation.""" +type CreateDenormalizedTableFieldPayload { + """ + 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 `DenormalizedTableField` that was created by this mutation.""" + denormalizedTableField: DenormalizedTableField + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" + denormalizedTableFieldEdge( + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldEdge +} + +"""All input for the create `DenormalizedTableField` mutation.""" +input CreateDenormalizedTableFieldInput { + """ + 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 `DenormalizedTableField` to be created by this mutation.""" + denormalizedTableField: DenormalizedTableFieldInput! +} + +"""An input for mutations affecting `DenormalizedTableField`""" +input DenormalizedTableFieldInput { + id: UUID + databaseId: UUID! + tableId: UUID! + fieldId: UUID! + setIds: [UUID] + refTableId: UUID! + refFieldId: UUID! + refIds: [UUID] + useUpdates: Boolean + updateDefaults: Boolean + funcName: String + funcOrder: Int +} + +"""The output of our create `Email` mutation.""" +type CreateEmailPayload { + """ + 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 `Email` that was created by this mutation.""" + email: Email + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Email`. May be used by Relay 1.""" + emailEdge( + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailEdge +} + +"""All input for the create `Email` mutation.""" +input CreateEmailInput { + """ + 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 `Email` to be created by this mutation.""" + email: EmailInput! +} + +"""An input for mutations affecting `Email`""" +input EmailInput { + 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 +} + +"""The output of our create `View` mutation.""" +type CreateViewPayload { + """ + 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 `View` that was created by this mutation.""" + view: View + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `View`. May be used by Relay 1.""" + viewEdge( + """The method to use when ordering `View`.""" + orderBy: [ViewOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewEdge +} + +"""All input for the create `View` mutation.""" +input CreateViewInput { + """ + 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 `View` to be created by this mutation.""" + view: ViewInput! +} + +"""An input for mutations affecting `View`""" +input ViewInput { + id: UUID + databaseId: UUID + schemaId: UUID! + name: String! + tableId: UUID + viewType: String! + data: JSON + filterType: String + filterData: JSON + securityInvoker: Boolean + isReadOnly: Boolean + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] +} + +"""The output of our create `PermissionsModule` mutation.""" +type CreatePermissionsModulePayload { + """ + 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 `PermissionsModule` that was created by this mutation.""" + permissionsModule: PermissionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PermissionsModule`. May be used by Relay 1.""" + permissionsModuleEdge( + """The method to use when ordering `PermissionsModule`.""" + orderBy: [PermissionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): PermissionsModuleEdge +} + +"""All input for the create `PermissionsModule` mutation.""" +input CreatePermissionsModuleInput { + """ + 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 `PermissionsModule` to be created by this mutation.""" + permissionsModule: PermissionsModuleInput! +} + +"""An input for mutations affecting `PermissionsModule`""" +input PermissionsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + defaultTableId: UUID + defaultTableName: String + bitlen: Int + membershipType: Int! + entityTableId: UUID + actorTableId: UUID + prefix: String + getPaddedMask: String + getMask: String + getByMask: String + getMaskByName: String +} + +"""The output of our create `LimitsModule` mutation.""" +type CreateLimitsModulePayload { + """ + 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 created 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 `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 create `LimitsModule` mutation.""" +input CreateLimitsModuleInput { + """ + 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 `LimitsModule` to be created by this mutation.""" + limitsModule: LimitsModuleInput! +} + +"""An input for mutations affecting `LimitsModule`""" +input LimitsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + defaultTableId: UUID + defaultTableName: String + limitIncrementFunction: String + limitDecrementFunction: String + limitIncrementTrigger: String + limitDecrementTrigger: String + limitUpdateTrigger: String + limitCheckFunction: String + prefix: String + membershipType: Int! + entityTableId: UUID + actorTableId: UUID +} + +"""The output of our create `ProfilesModule` mutation.""" +type CreateProfilesModulePayload { + """ + 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 created 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 `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 create `ProfilesModule` mutation.""" +input CreateProfilesModuleInput { + """ + 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 `ProfilesModule` to be created by this mutation.""" + profilesModule: ProfilesModuleInput! +} + +"""An input for mutations affecting `ProfilesModule`""" +input ProfilesModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + profilePermissionsTableId: UUID + profilePermissionsTableName: String + profileGrantsTableId: UUID + profileGrantsTableName: String + profileDefinitionGrantsTableId: UUID + profileDefinitionGrantsTableName: String + membershipType: Int! + entityTableId: UUID + actorTableId: UUID + permissionsTableId: UUID + membershipsTableId: UUID + 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 `Trigger` mutation.""" +type CreateTriggerPayload { + """ + 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 `Trigger` that was created by this mutation.""" + trigger: Trigger + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Trigger`. May be used by Relay 1.""" + triggerEdge( + """The method to use when ordering `Trigger`.""" + orderBy: [TriggerOrderBy!]! = [PRIMARY_KEY_ASC] + ): TriggerEdge +} + +"""All input for the create `Trigger` mutation.""" +input CreateTriggerInput { + """ + 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 `Trigger` to be created by this mutation.""" + trigger: TriggerInput! +} + +"""An input for mutations affecting `Trigger`""" +input TriggerInput { + id: UUID + databaseId: UUID + tableId: UUID! + name: String! + event: String + functionName: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `UniqueConstraint` mutation.""" +type CreateUniqueConstraintPayload { + """ + 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 `UniqueConstraint` that was created by this mutation.""" + uniqueConstraint: UniqueConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UniqueConstraint`. May be used by Relay 1.""" + uniqueConstraintEdge( + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): UniqueConstraintEdge +} + +"""All input for the create `UniqueConstraint` mutation.""" +input CreateUniqueConstraintInput { + """ + 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 `UniqueConstraint` to be created by this mutation.""" + uniqueConstraint: UniqueConstraintInput! +} + +"""An input for mutations affecting `UniqueConstraint`""" +input UniqueConstraintInput { + id: UUID + databaseId: UUID + tableId: UUID! + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID]! + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `PrimaryKeyConstraint` mutation.""" +type CreatePrimaryKeyConstraintPayload { + """ + 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 `PrimaryKeyConstraint` that was created by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" + primaryKeyConstraintEdge( + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintEdge +} + +"""All input for the create `PrimaryKeyConstraint` mutation.""" +input CreatePrimaryKeyConstraintInput { + """ + 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 `PrimaryKeyConstraint` to be created by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraintInput! +} + +"""An input for mutations affecting `PrimaryKeyConstraint`""" +input PrimaryKeyConstraintInput { + id: UUID + databaseId: UUID + tableId: UUID! + name: String + type: String + fieldIds: [UUID]! + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `CheckConstraint` mutation.""" +type CreateCheckConstraintPayload { + """ + 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 `CheckConstraint` that was created by this mutation.""" + checkConstraint: CheckConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CheckConstraint`. May be used by Relay 1.""" + checkConstraintEdge( + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): CheckConstraintEdge +} + +"""All input for the create `CheckConstraint` mutation.""" +input CreateCheckConstraintInput { + """ + 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 `CheckConstraint` to be created by this mutation.""" + checkConstraint: CheckConstraintInput! +} + +"""An input for mutations affecting `CheckConstraint`""" +input CheckConstraintInput { + id: UUID + databaseId: UUID + tableId: UUID! + name: String + type: String + fieldIds: [UUID]! + expr: JSON + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `Policy` mutation.""" +type CreatePolicyPayload { + """ + 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 `Policy` that was created by this mutation.""" + policy: Policy + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Policy`. May be used by Relay 1.""" + policyEdge( + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!]! = [PRIMARY_KEY_ASC] + ): PolicyEdge +} + +"""All input for the create `Policy` mutation.""" +input CreatePolicyInput { + """ + 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 `Policy` to be created by this mutation.""" + policy: PolicyInput! +} + +"""An input for mutations affecting `Policy`""" +input PolicyInput { + id: UUID + databaseId: UUID + tableId: UUID! + name: String + granteeName: String + privilege: String + permissive: Boolean + disabled: Boolean + policyType: String + data: JSON + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `AstMigration` mutation.""" +type CreateAstMigrationPayload { + """ + 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 `AstMigration` that was created by this mutation.""" + astMigration: AstMigration + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""All input for the create `AstMigration` mutation.""" +input CreateAstMigrationInput { + """ + 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 `AstMigration` to be created by this mutation.""" + astMigration: AstMigrationInput! +} + +"""An input for mutations affecting `AstMigration`""" +input AstMigrationInput { + id: Int + databaseId: UUID + name: String + requires: [String] + payload: JSON + deploys: String + deploy: JSON + revert: JSON + verify: JSON + createdAt: Datetime + action: String + actionId: UUID + actorId: UUID +} + +"""The output of our create `AppMembership` mutation.""" +type CreateAppMembershipPayload { + """ + 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 `AppMembership` that was created by this mutation.""" + appMembership: AppMembership + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppMembership`. May be used by Relay 1.""" + appMembershipEdge( + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipEdge +} + +"""All input for the create `AppMembership` mutation.""" +input CreateAppMembershipInput { + """ + 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 `AppMembership` to be created by this mutation.""" + appMembership: AppMembershipInput! +} + +"""An input for mutations affecting `AppMembership`""" +input AppMembershipInput { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether this membership has been approved by an admin""" + isApproved: Boolean + + """Whether this member has been banned from the entity""" + isBanned: Boolean + + """Whether this membership is temporarily disabled""" + isDisabled: Boolean + + """Whether this member has been verified (e.g. email confirmation)""" + isVerified: Boolean + + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean + + """Whether the actor is the owner of this entity""" + isOwner: Boolean + + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean + + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString + + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString + + """References the user who holds this membership""" + actorId: UUID! + profileId: UUID +} + +"""The output of our create `OrgMembership` mutation.""" +type CreateOrgMembershipPayload { + """ + 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 `OrgMembership` that was created by this mutation.""" + orgMembership: OrgMembership + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMembership`. May be used by Relay 1.""" + orgMembershipEdge( + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipEdge +} + +"""All input for the create `OrgMembership` mutation.""" +input CreateOrgMembershipInput { + """ + 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 `OrgMembership` to be created by this mutation.""" + orgMembership: OrgMembershipInput! +} + +"""An input for mutations affecting `OrgMembership`""" +input OrgMembershipInput { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether this membership has been approved by an admin""" + isApproved: Boolean + + """Whether this member has been banned from the entity""" + isBanned: Boolean + + """Whether this membership is temporarily disabled""" + isDisabled: Boolean + + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean + + """Whether the actor is the owner of this entity""" + isOwner: Boolean + + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean + + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString + + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString + + """References the user who holds this membership""" + actorId: UUID! + + """References the entity (org or group) this membership belongs to""" + entityId: UUID! + profileId: UUID +} + +"""The output of our create `Schema` mutation.""" +type CreateSchemaPayload { + """ + 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 `Schema` that was created by this mutation.""" + schema: Schema + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Schema`. May be used by Relay 1.""" + schemaEdge( + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaEdge +} + +"""All input for the create `Schema` mutation.""" +input CreateSchemaInput { + """ + 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 `Schema` to be created by this mutation.""" + schema: SchemaInput! +} + +"""An input for mutations affecting `Schema`""" +input SchemaInput { + id: UUID + databaseId: UUID! + name: String! + schemaName: String! + label: String + description: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + isPublic: Boolean + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `App` mutation.""" +type CreateAppPayload { + """ + 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 `App` that was created by this mutation.""" + app: App + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `App`. May be used by Relay 1.""" + appEdge( + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppEdge +} + +"""All input for the create `App` mutation.""" +input CreateAppInput { + """ + 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 `App` to be created by this mutation.""" + app: AppInput! +} + +"""An input for mutations affecting `App`""" +input AppInput { + """Unique identifier for this app""" + id: UUID + + """Reference to the metaschema database this app belongs to""" + databaseId: UUID! + + """Site this app is associated with (one app per site)""" + siteId: UUID! + + """Display name of the app""" + name: String + + """App icon or promotional image""" + appImage: ConstructiveInternalTypeImage + + """URL to the Apple App Store listing""" + appStoreLink: ConstructiveInternalTypeUrl + + """Apple App Store application identifier""" + appStoreId: String + + """ + Apple App ID prefix (Team ID) for universal links and associated domains + """ + appIdPrefix: String + + """URL to the Google Play Store listing""" + playStoreLink: ConstructiveInternalTypeUrl +} + +"""The output of our create `Site` mutation.""" +type CreateSitePayload { + """ + 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 `Site` that was created by this mutation.""" + site: Site + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Site`. May be used by Relay 1.""" + siteEdge( + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteEdge +} + +"""All input for the create `Site` mutation.""" +input CreateSiteInput { + """ + 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 `Site` to be created by this mutation.""" + site: SiteInput! +} + +"""An input for mutations affecting `Site`""" +input SiteInput { + """Unique identifier for this site""" + id: UUID + + """Reference to the metaschema database this site belongs to""" + databaseId: UUID! + + """Display title for the site (max 120 characters)""" + title: String + + """Short description of the site (max 120 characters)""" + description: String + + """Open Graph image used for social media link previews""" + ogImage: ConstructiveInternalTypeImage + + """Browser favicon attachment""" + favicon: ConstructiveInternalTypeAttachment + + """Apple touch icon for iOS home screen bookmarks""" + appleTouchIcon: ConstructiveInternalTypeImage + + """Primary logo image for the site""" + logo: ConstructiveInternalTypeImage + + """PostgreSQL database name this site connects to""" + dbname: String +} + +"""The output of our create `User` mutation.""" +type CreateUserPayload { + """ + 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 `User` that was created by this mutation.""" + user: User + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `User`. May be used by Relay 1.""" + userEdge( + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserEdge +} + +"""All input for the create `User` mutation.""" +input CreateUserInput { + """ + 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 `User` to be created by this mutation.""" + user: UserInput! +} + +"""An input for mutations affecting `User`""" +input UserInput { + id: UUID + username: String + displayName: String + profilePicture: ConstructiveInternalTypeImage + searchTsv: FullText + type: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `HierarchyModule` mutation.""" +type CreateHierarchyModulePayload { + """ + 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 `HierarchyModule` that was created by this mutation.""" + hierarchyModule: HierarchyModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `HierarchyModule`. May be used by Relay 1.""" + hierarchyModuleEdge( + """The method to use when ordering `HierarchyModule`.""" + orderBy: [HierarchyModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): HierarchyModuleEdge +} + +"""All input for the create `HierarchyModule` mutation.""" +input CreateHierarchyModuleInput { + """ + 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 `HierarchyModule` to be created by this mutation.""" + hierarchyModule: HierarchyModuleInput! +} + +"""An input for mutations affecting `HierarchyModule`""" +input HierarchyModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + chartEdgesTableId: UUID + chartEdgesTableName: String + hierarchySprtTableId: UUID + hierarchySprtTableName: String + chartEdgeGrantsTableId: UUID + chartEdgeGrantsTableName: String + entityTableId: UUID! + usersTableId: UUID! + prefix: String + privateSchemaName: String + sprtTableName: String + rebuildHierarchyFunction: String + getSubordinatesFunction: String + getManagersFunction: String + isManagerOfFunction: String + createdAt: Datetime +} + +"""The output of our create `Invite` mutation.""" +type CreateInvitePayload { + """ + 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 `Invite` that was created by this mutation.""" + invite: Invite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge +} + +"""All input for the create `Invite` mutation.""" +input CreateInviteInput { + """ + 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 `Invite` to be created by this mutation.""" + invite: InviteInput! +} + +"""An input for mutations affecting `Invite`""" +input InviteInput { + id: UUID + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int + + """Running count of how many times this invite has been claimed""" + inviteCount: Int + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `Index` mutation.""" +type CreateIndexPayload { + """ + 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 `Index` that was created by this mutation.""" + index: Index + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Index`. May be used by Relay 1.""" + indexEdge( + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] + ): IndexEdge +} + +"""All input for the create `Index` mutation.""" +input CreateIndexInput { + """ + 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 `Index` to be created by this mutation.""" + index: IndexInput! +} + +"""An input for mutations affecting `Index`""" +input IndexInput { + id: UUID + databaseId: UUID! + tableId: UUID! + name: String + fieldIds: [UUID] + includeFieldIds: [UUID] + accessMethod: String + indexParams: JSON + whereClause: JSON + isUnique: Boolean + options: JSON + opClasses: [String] + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `ForeignKeyConstraint` mutation.""" +type CreateForeignKeyConstraintPayload { + """ + 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 `ForeignKeyConstraint` that was created by this mutation.""" + foreignKeyConstraint: ForeignKeyConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ForeignKeyConstraint`. May be used by Relay 1.""" + foreignKeyConstraintEdge( + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintEdge +} + +"""All input for the create `ForeignKeyConstraint` mutation.""" +input CreateForeignKeyConstraintInput { + """ + 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 `ForeignKeyConstraint` to be created by this mutation.""" + foreignKeyConstraint: ForeignKeyConstraintInput! +} + +"""An input for mutations affecting `ForeignKeyConstraint`""" +input ForeignKeyConstraintInput { + id: UUID + databaseId: UUID + tableId: UUID! + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID]! + refTableId: UUID! + refFieldIds: [UUID]! + deleteAction: String + updateAction: String + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `OrgInvite` mutation.""" +type CreateOrgInvitePayload { + """ + 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 `OrgInvite` that was created by this mutation.""" + orgInvite: OrgInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgInvite`. May be used by Relay 1.""" + orgInviteEdge( + """The method to use when ordering `OrgInvite`.""" + orderBy: [OrgInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgInviteEdge +} + +"""All input for the create `OrgInvite` mutation.""" +input CreateOrgInviteInput { + """ + 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 `OrgInvite` to be created by this mutation.""" + orgInvite: OrgInviteInput! +} + +"""An input for mutations affecting `OrgInvite`""" +input OrgInviteInput { + id: UUID + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID + + """User ID of the intended recipient, if targeting a specific user""" + receiverId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int + + """Running count of how many times this invite has been claimed""" + inviteCount: Int + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime + entityId: UUID! +} + +"""The output of our create `Table` mutation.""" +type CreateTablePayload { + """ + 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 `Table` that was created by this mutation.""" + table: Table + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Table`. May be used by Relay 1.""" + tableEdge( + """The method to use when ordering `Table`.""" + orderBy: [TableOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableEdge +} + +"""All input for the create `Table` mutation.""" +input CreateTableInput { + """ + 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 `Table` to be created by this mutation.""" + table: TableInput! +} + +"""An input for mutations affecting `Table`""" +input TableInput { + id: UUID + databaseId: UUID + schemaId: UUID! + name: String! + label: String + description: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + useRls: Boolean + timestamps: Boolean + peoplestamps: Boolean + pluralName: String + singularName: String + tags: [String] + inheritsId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `LevelsModule` mutation.""" +type CreateLevelsModulePayload { + """ + 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 `LevelsModule` that was created by this mutation.""" + levelsModule: LevelsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `LevelsModule`. May be used by Relay 1.""" + levelsModuleEdge( + """The method to use when ordering `LevelsModule`.""" + orderBy: [LevelsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): LevelsModuleEdge +} + +"""All input for the create `LevelsModule` mutation.""" +input CreateLevelsModuleInput { + """ + 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 `LevelsModule` to be created by this mutation.""" + levelsModule: LevelsModuleInput! +} + +"""An input for mutations affecting `LevelsModule`""" +input LevelsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + stepsTableId: UUID + stepsTableName: String + achievementsTableId: UUID + achievementsTableName: String + levelsTableId: UUID + levelsTableName: String + levelRequirementsTableId: UUID + levelRequirementsTableName: String + completedStep: String + incompletedStep: String + tgAchievement: String + tgAchievementToggle: String + tgAchievementToggleBoolean: String + tgAchievementBoolean: String + upsertAchievement: String + tgUpdateAchievements: String + stepsRequired: String + levelAchieved: String + prefix: String + membershipType: Int! + entityTableId: UUID + actorTableId: UUID +} + +"""The output of our create `UserAuthModule` mutation.""" +type CreateUserAuthModulePayload { + """ + 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 `UserAuthModule` that was created by this mutation.""" + userAuthModule: UserAuthModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UserAuthModule`. May be used by Relay 1.""" + userAuthModuleEdge( + """The method to use when ordering `UserAuthModule`.""" + orderBy: [UserAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserAuthModuleEdge +} + +"""All input for the create `UserAuthModule` mutation.""" +input CreateUserAuthModuleInput { + """ + 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 `UserAuthModule` to be created by this mutation.""" + userAuthModule: UserAuthModuleInput! +} + +"""An input for mutations affecting `UserAuthModule`""" +input UserAuthModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + emailsTableId: UUID + usersTableId: UUID + secretsTableId: UUID + encryptedTableId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + auditsTableId: UUID + auditsTableName: String + signInFunction: String + signUpFunction: String + signOutFunction: String + setPasswordFunction: String + resetPasswordFunction: String + forgotPasswordFunction: String + sendVerificationEmailFunction: String + verifyEmailFunction: String + verifyPasswordFunction: String + checkPasswordFunction: String + sendAccountDeletionEmailFunction: String + deleteAccountFunction: String + signInOneTimeTokenFunction: String + oneTimeTokenFunction: String + extendTokenExpires: String +} + +"""The output of our create `RelationProvision` mutation.""" +type CreateRelationProvisionPayload { + """ + 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 created 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 create `RelationProvision` mutation.""" +input CreateRelationProvisionInput { + """ + 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 `RelationProvision` to be created by this mutation.""" + relationProvision: RelationProvisionInput! +} + +"""An input for mutations affecting `RelationProvision`""" +input RelationProvisionInput { + """Unique identifier for this relation provision row.""" + id: UUID + + """ + The database this relation belongs to. Required. Must match the database of both source_table_id and target_table_id. + """ + databaseId: UUID! + + """ + The type of relation to create. Uses SuperCase naming matching the node_type_registry: + - RelationBelongsTo: creates a FK field on source_table referencing target_table (e.g., tasks belongs to projects -> tasks.project_id). Field name auto-derived from target table. + - RelationHasMany: creates a FK field on target_table referencing source_table (e.g., projects has many tasks -> tasks.project_id). Field name auto-derived from source table. Inverse of BelongsTo — same FK, different perspective. + - RelationHasOne: creates a FK field + unique constraint on source_table referencing target_table (e.g., user_settings has one user -> user_settings.user_id with UNIQUE). Also supports shared-primary-key patterns (e.g., user_profiles.id = users.id) by setting field_name to the existing PK field. + - RelationManyToMany: creates a junction table with FK fields to both tables (e.g., projects and tags -> project_tags table). + Each relation type uses a different subset of columns on this table. Required. + """ + relationType: String! + + """ + The source table in the relation. Required. + - RelationBelongsTo: the table that receives the FK field (e.g., tasks in "tasks belongs to projects"). + - RelationHasMany: the parent table being referenced (e.g., projects in "projects has many tasks"). The FK field is created on the target table. + - RelationHasOne: the table that receives the FK field + unique constraint (e.g., user_settings in "user_settings has one user"). + - RelationManyToMany: one of the two tables being joined (e.g., projects in "projects and tags"). The junction table will have a FK field referencing this table. + """ + sourceTableId: UUID! + + """ + The target table in the relation. Required. + - RelationBelongsTo: the table being referenced by the FK (e.g., projects in "tasks belongs to projects"). + - RelationHasMany: the table that receives the FK field (e.g., tasks in "projects has many tasks"). + - RelationHasOne: the table being referenced by the FK (e.g., users in "user_settings has one user"). + - RelationManyToMany: the other table being joined (e.g., tags in "projects and tags"). The junction table will have a FK field referencing this table. + """ + targetTableId: UUID! + + """ + FK field name for RelationBelongsTo, RelationHasOne, and RelationHasMany. + - RelationBelongsTo/RelationHasOne: if NULL, auto-derived from the target table name (e.g., target "projects" derives "project_id"). + - RelationHasMany: if NULL, auto-derived from the source table name (e.g., source "projects" derives "project_id"). + For RelationHasOne shared-primary-key patterns, set field_name to the existing PK field (e.g., "id") so the FK reuses it. + Ignored for RelationManyToMany — use source_field_name/target_field_name instead. + """ + fieldName: String + + """ + FK delete action for RelationBelongsTo, RelationHasOne, and RelationHasMany. One of: c (CASCADE), r (RESTRICT), n (SET NULL), d (SET DEFAULT), a (NO ACTION). Required — the trigger raises an error if not provided. The caller must explicitly choose the cascade behavior; there is no default. Ignored for RelationManyToMany (junction FK fields always use CASCADE). + """ + deleteAction: String + + """ + Whether the FK field is NOT NULL. Defaults to true. + - RelationBelongsTo: set to false for optional associations (e.g., tasks.assignee_id that can be NULL). + - RelationHasMany: set to false if the child can exist without a parent. + - RelationHasOne: typically true. + Ignored for RelationManyToMany (junction FK fields are always required). + """ + isRequired: 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. + - When set to a valid table UUID: the trigger skips table creation and only adds FK fields, composite key (if use_composite_key is true), and security to the existing table. + Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableId: UUID + + """ + For RelationManyToMany: name of the junction table to create or look up. If NULL, auto-derived from source and target table names using inflection_db (e.g., "projects" + "tags" derives "project_tags"). Only used when junction_table_id is uuid_nil(). Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableName: String + + """ + For RelationManyToMany: schema for the junction table. If NULL, defaults to the source table's schema. Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionSchemaId: UUID + + """ + For RelationManyToMany: FK field name on the junction table referencing the source table. If NULL, auto-derived from the source table name using inflection_db.get_foreign_key_field_name() (e.g., source table "projects" derives "project_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + sourceFieldName: String + + """ + For RelationManyToMany: FK field name on the junction table referencing the target table. If NULL, auto-derived from the target table name using inflection_db.get_foreign_key_field_name() (e.g., target table "tags" derives "tag_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + targetFieldName: String + + """ + For RelationManyToMany: whether to create a composite primary key from the two FK fields (source + target) on the junction table. Defaults to false. + - When true: the trigger calls metaschema.pk() with ARRAY[source_field_id, target_field_id] to create a composite PK. No separate id column is created. This enforces uniqueness of the pair and is suitable for simple junction tables. + - When false: no primary key is created by the trigger. The caller should provide node_type='DataId' to create a UUID primary key, or handle the PK strategy via a separate secure_table_provision row. + use_composite_key and node_type='DataId' are mutually exclusive — using both would create two conflicting PKs. + Ignored for RelationBelongsTo/RelationHasOne. + """ + useCompositeKey: 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. + NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeType: String + + """ + For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. + Only used when node_type is set. Structure varies by node_type. Examples: + - DataId: {"field_name": "id"} (default field name is 'id') + - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true} + - DataDirectOwner: {"owner_field_name": "owner_id"} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeData: JSON + + """ + For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. + """ + 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. + """ + 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. + Examples: AuthzEntityMembership, AuthzMembership, AuthzAllowAll, AuthzDirectOwner, AuthzOrgHierarchy. + NULL means no policy is created — the junction table will have RLS enabled but no policies (unless added separately via secure_table_provision). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyType: String + + """ + For RelationManyToMany: privileges the policy applies to, e.g. ARRAY['select','insert','delete']. Forwarded to secure_table_provision as-is. NULL means privileges are derived from the grant_privileges verbs by secure_table_provision. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPrivileges: [String] + + """ + For RelationManyToMany: database role the policy targets, e.g. 'authenticated'. Forwarded to secure_table_provision as-is. NULL means secure_table_provision falls back to the first role in grant_roles. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyRole: String + + """ + For RelationManyToMany: whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Forwarded to secure_table_provision as-is. Defaults to true. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPermissive: Boolean + + """ + For RelationManyToMany: custom suffix for the generated policy name. Forwarded to secure_table_provision as-is. When NULL and policy_type is set, secure_table_provision auto-derives a suffix from policy_type (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, used as-is. This ensures multiple policies on the same junction table do not collide. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyName: String + + """ + For RelationManyToMany: opaque policy configuration forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Structure varies by policy_type. Examples: + - AuthzEntityMembership: {"entity_field": "entity_id", "membership_type": 2} + - AuthzDirectOwner: {"owner_field": "owner_id"} + - AuthzMembership: {"membership_type": 2} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyData: JSON + + """ + Output column for RelationBelongsTo/RelationHasOne/RelationHasMany: the UUID of the FK field created (or found). For BelongsTo/HasOne this is on the source table; for HasMany this is on the target table. Populated by the trigger. NULL for RelationManyToMany. Callers should not set this directly. + """ + outFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the junction table created (or found). Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outJunctionTableId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the source table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outSourceFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + 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 { + """ + 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 `DefaultIdsModule` that was updated by this mutation.""" + defaultIdsModule: DefaultIdsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DefaultIdsModule`. May be used by Relay 1.""" + defaultIdsModuleEdge( + """The method to use when ordering `DefaultIdsModule`.""" + orderBy: [DefaultIdsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): DefaultIdsModuleEdge +} + +"""All input for the `updateDefaultIdsModule` mutation.""" +input UpdateDefaultIdsModuleInput { + """ + 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 `DefaultIdsModule` being updated. + """ + defaultIdsModulePatch: DefaultIdsModulePatch! +} + +""" +Represents an update to a `DefaultIdsModule`. Fields that are set will be updated. +""" +input DefaultIdsModulePatch { + id: UUID + databaseId: UUID +} + +"""The output of our update `ViewTable` mutation.""" +type UpdateViewTablePayload { + """ + 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 `ViewTable` that was updated by this mutation.""" + viewTable: ViewTable + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewTable`. May be used by Relay 1.""" + viewTableEdge( + """The method to use when ordering `ViewTable`.""" + orderBy: [ViewTableOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewTableEdge +} + +"""All input for the `updateViewTable` mutation.""" +input UpdateViewTableInput { + """ + 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 `ViewTable` being updated. + """ + viewTablePatch: ViewTablePatch! +} + +""" +Represents an update to a `ViewTable`. Fields that are set will be updated. +""" +input ViewTablePatch { + id: UUID + viewId: UUID + tableId: UUID + joinOrder: Int +} + +"""The output of our update `ApiSchema` mutation.""" +type UpdateApiSchemaPayload { + """ + 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 `ApiSchema` that was updated by this mutation.""" + apiSchema: ApiSchema + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ApiSchema`. May be used by Relay 1.""" + apiSchemaEdge( + """The method to use when ordering `ApiSchema`.""" + orderBy: [ApiSchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiSchemaEdge +} + +"""All input for the `updateApiSchema` mutation.""" +input UpdateApiSchemaInput { + """ + 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 API-schema mapping""" + id: UUID! + + """ + An object where the defined keys will be set on the `ApiSchema` being updated. + """ + apiSchemaPatch: ApiSchemaPatch! +} + +""" +Represents an update to a `ApiSchema`. Fields that are set will be updated. +""" +input ApiSchemaPatch { + """Unique identifier for this API-schema mapping""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID + + """Metaschema schema being exposed through the API""" + schemaId: UUID + + """API that exposes this schema""" + apiId: UUID +} + +"""The output of our update `OrgMember` mutation.""" +type UpdateOrgMemberPayload { + """ + 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 `OrgMember` that was updated by this mutation.""" + orgMember: OrgMember + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMember`. May be used by Relay 1.""" + orgMemberEdge( + """The method to use when ordering `OrgMember`.""" + orderBy: [OrgMemberOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMemberEdge +} + +"""All input for the `updateOrgMember` mutation.""" +input UpdateOrgMemberInput { + """ + 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 `OrgMember` being updated. + """ + orgMemberPatch: OrgMemberPatch! +} + +""" +Represents an update to a `OrgMember`. Fields that are set will be updated. +""" +input OrgMemberPatch { + id: UUID + + """Whether this member has admin privileges""" + isAdmin: Boolean + + """References the user who is a member""" + actorId: UUID + + """References the entity (org or group) this member belongs to""" + entityId: UUID +} + +"""The output of our update `Ref` mutation.""" +type UpdateRefPayload { + """ + 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 `Ref` that was updated by this mutation.""" + ref: Ref + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Ref`. May be used by Relay 1.""" + refEdge( + """The method to use when ordering `Ref`.""" + orderBy: [RefOrderBy!]! = [PRIMARY_KEY_ASC] + ): RefEdge +} + +"""All input for the `updateRef` mutation.""" +input UpdateRefInput { + """ + 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 primary unique identifier for the ref.""" + id: UUID! + databaseId: UUID! + + """ + An object where the defined keys will be set on the `Ref` being updated. + """ + refPatch: RefPatch! +} + +"""Represents an update to a `Ref`. Fields that are set will be updated.""" +input RefPatch { + """The primary unique identifier for the ref.""" + id: UUID + + """The name of the ref or branch""" + name: String + databaseId: UUID + storeId: UUID + commitId: UUID +} + +"""The output of our update `EncryptedSecretsModule` mutation.""" +type UpdateEncryptedSecretsModulePayload { + """ + 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 `EncryptedSecretsModule` that was updated by this mutation.""" + encryptedSecretsModule: EncryptedSecretsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EncryptedSecretsModule`. May be used by Relay 1.""" + encryptedSecretsModuleEdge( + """The method to use when ordering `EncryptedSecretsModule`.""" + orderBy: [EncryptedSecretsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): EncryptedSecretsModuleEdge +} + +"""All input for the `updateEncryptedSecretsModule` mutation.""" +input UpdateEncryptedSecretsModuleInput { + """ + 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 `EncryptedSecretsModule` being updated. + """ + encryptedSecretsModulePatch: EncryptedSecretsModulePatch! +} + +""" +Represents an update to a `EncryptedSecretsModule`. Fields that are set will be updated. +""" +input EncryptedSecretsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + tableId: UUID + tableName: String +} + +"""The output of our update `MembershipTypesModule` mutation.""" +type UpdateMembershipTypesModulePayload { + """ + 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 `MembershipTypesModule` that was updated by this mutation.""" + membershipTypesModule: MembershipTypesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipTypesModule`. May be used by Relay 1.""" + membershipTypesModuleEdge( + """The method to use when ordering `MembershipTypesModule`.""" + orderBy: [MembershipTypesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypesModuleEdge +} + +"""All input for the `updateMembershipTypesModule` mutation.""" +input UpdateMembershipTypesModuleInput { + """ + 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 `MembershipTypesModule` being updated. + """ + membershipTypesModulePatch: MembershipTypesModulePatch! +} + +""" +Represents an update to a `MembershipTypesModule`. Fields that are set will be updated. +""" +input MembershipTypesModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + tableId: UUID + tableName: String +} + +"""The output of our update `SecretsModule` mutation.""" +type UpdateSecretsModulePayload { + """ + 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 `SecretsModule` that was updated by this mutation.""" + secretsModule: SecretsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SecretsModule`. May be used by Relay 1.""" + secretsModuleEdge( + """The method to use when ordering `SecretsModule`.""" + orderBy: [SecretsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SecretsModuleEdge +} + +"""All input for the `updateSecretsModule` mutation.""" +input UpdateSecretsModuleInput { + """ + 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 `SecretsModule` being updated. + """ + secretsModulePatch: SecretsModulePatch! +} + +""" +Represents an update to a `SecretsModule`. Fields that are set will be updated. +""" +input SecretsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + tableId: UUID + 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 { + """ + 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 `Store` that was updated by this mutation.""" + store: Store + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Store`. May be used by Relay 1.""" + storeEdge( + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] + ): StoreEdge +} + +"""All input for the `updateStore` mutation.""" +input UpdateStoreInput { + """ + 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 primary unique identifier for the store.""" + id: UUID! + + """ + An object where the defined keys will be set on the `Store` being updated. + """ + storePatch: StorePatch! +} + +""" +Represents an update to a `Store`. Fields that are set will be updated. +""" +input StorePatch { + """The primary unique identifier for the store.""" + id: UUID + + """The name of the store (e.g., metaschema, migrations).""" + name: String + + """The database this store belongs to.""" + databaseId: UUID + + """The current head tree_id for this store.""" + hash: UUID + createdAt: Datetime +} + +"""The output of our update `ViewRule` mutation.""" +type UpdateViewRulePayload { + """ + 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 `ViewRule` that was updated by this mutation.""" + viewRule: ViewRule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewRule`. May be used by Relay 1.""" + viewRuleEdge( + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewRuleEdge +} + +"""All input for the `updateViewRule` mutation.""" +input UpdateViewRuleInput { + """ + 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 `ViewRule` being updated. + """ + viewRulePatch: ViewRulePatch! +} + +""" +Represents an update to a `ViewRule`. Fields that are set will be updated. +""" +input ViewRulePatch { + id: UUID + databaseId: UUID + viewId: UUID + name: String + + """INSERT, UPDATE, or DELETE""" + event: String + + """NOTHING (for read-only) or custom action""" + action: String +} + +"""The output of our update `AppPermissionDefault` mutation.""" +type UpdateAppPermissionDefaultPayload { + """ + 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 `AppPermissionDefault` that was updated by this mutation.""" + appPermissionDefault: AppPermissionDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppPermissionDefault`. May be used by Relay 1.""" + appPermissionDefaultEdge( + """The method to use when ordering `AppPermissionDefault`.""" + orderBy: [AppPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppPermissionDefaultEdge +} + +"""All input for the `updateAppPermissionDefault` mutation.""" +input UpdateAppPermissionDefaultInput { + """ + 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 `AppPermissionDefault` being updated. + """ + appPermissionDefaultPatch: AppPermissionDefaultPatch! +} + +""" +Represents an update to a `AppPermissionDefault`. Fields that are set will be updated. +""" +input AppPermissionDefaultPatch { + id: UUID + + """Default permission bitmask applied to new members""" + permissions: BitString +} + +"""The output of our update `ApiModule` mutation.""" +type UpdateApiModulePayload { + """ + 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 `ApiModule` that was updated by this mutation.""" + apiModule: ApiModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ApiModule`. May be used by Relay 1.""" + apiModuleEdge( + """The method to use when ordering `ApiModule`.""" + orderBy: [ApiModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiModuleEdge +} + +"""All input for the `updateApiModule` mutation.""" +input UpdateApiModuleInput { + """ + 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 API module record""" + id: UUID! + + """ + An object where the defined keys will be set on the `ApiModule` being updated. + """ + apiModulePatch: ApiModulePatch! +} + +""" +Represents an update to a `ApiModule`. Fields that are set will be updated. +""" +input ApiModulePatch { + """Unique identifier for this API module record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID + + """API this module configuration belongs to""" + apiId: UUID + + """Module name (e.g. auth, uploads, webhooks)""" + name: String + + """JSON configuration data for this module""" + data: JSON +} + +"""The output of our update `SiteModule` mutation.""" +type UpdateSiteModulePayload { + """ + 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 `SiteModule` that was updated by this mutation.""" + siteModule: SiteModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteModule`. May be used by Relay 1.""" + siteModuleEdge( + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteModuleEdge +} + +"""All input for the `updateSiteModule` mutation.""" +input UpdateSiteModuleInput { + """ + 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 site module record""" + id: UUID! + + """ + An object where the defined keys will be set on the `SiteModule` being updated. + """ + siteModulePatch: SiteModulePatch! +} + +""" +Represents an update to a `SiteModule`. Fields that are set will be updated. +""" +input SiteModulePatch { + """Unique identifier for this site module record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID + + """Site this module configuration belongs to""" + siteId: UUID + + """Module name (e.g. user_auth_module, analytics)""" + name: String + + """JSON configuration data for this module""" + data: JSON +} + +"""The output of our update `SchemaGrant` mutation.""" +type UpdateSchemaGrantPayload { + """ + 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 `SchemaGrant` that was updated by this mutation.""" + schemaGrant: SchemaGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SchemaGrant`. May be used by Relay 1.""" + schemaGrantEdge( + """The method to use when ordering `SchemaGrant`.""" + orderBy: [SchemaGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaGrantEdge +} + +"""All input for the `updateSchemaGrant` mutation.""" +input UpdateSchemaGrantInput { + """ + 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 `SchemaGrant` being updated. + """ + schemaGrantPatch: SchemaGrantPatch! +} + +""" +Represents an update to a `SchemaGrant`. Fields that are set will be updated. +""" +input SchemaGrantPatch { + id: UUID + databaseId: UUID + schemaId: UUID + granteeName: String + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `TriggerFunction` mutation.""" +type UpdateTriggerFunctionPayload { + """ + 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 `TriggerFunction` that was updated by this mutation.""" + triggerFunction: TriggerFunction + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TriggerFunction`. May be used by Relay 1.""" + triggerFunctionEdge( + """The method to use when ordering `TriggerFunction`.""" + orderBy: [TriggerFunctionOrderBy!]! = [PRIMARY_KEY_ASC] + ): TriggerFunctionEdge +} + +"""All input for the `updateTriggerFunction` mutation.""" +input UpdateTriggerFunctionInput { + """ + 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 `TriggerFunction` being updated. + """ + triggerFunctionPatch: TriggerFunctionPatch! +} + +""" +Represents an update to a `TriggerFunction`. Fields that are set will be updated. +""" +input TriggerFunctionPatch { + id: UUID + databaseId: UUID + name: String + code: String + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `AppAdminGrant` mutation.""" +type UpdateAppAdminGrantPayload { + """ + 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 `AppAdminGrant` that was updated by this mutation.""" + appAdminGrant: AppAdminGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppAdminGrant`. May be used by Relay 1.""" + appAdminGrantEdge( + """The method to use when ordering `AppAdminGrant`.""" + orderBy: [AppAdminGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppAdminGrantEdge +} + +"""All input for the `updateAppAdminGrant` mutation.""" +input UpdateAppAdminGrantInput { + """ + 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 `AppAdminGrant` being updated. + """ + appAdminGrantPatch: AppAdminGrantPatch! +} + +""" +Represents an update to a `AppAdminGrant`. Fields that are set will be updated. +""" +input AppAdminGrantPatch { + id: UUID + + """True to grant admin, false to revoke admin""" + isGrant: Boolean + + """The member receiving or losing the admin grant""" + actorId: UUID + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `AppOwnerGrant` mutation.""" +type UpdateAppOwnerGrantPayload { + """ + 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 `AppOwnerGrant` that was updated by this mutation.""" + appOwnerGrant: AppOwnerGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppOwnerGrant`. May be used by Relay 1.""" + appOwnerGrantEdge( + """The method to use when ordering `AppOwnerGrant`.""" + orderBy: [AppOwnerGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppOwnerGrantEdge +} + +"""All input for the `updateAppOwnerGrant` mutation.""" +input UpdateAppOwnerGrantInput { + """ + 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 `AppOwnerGrant` being updated. + """ + appOwnerGrantPatch: AppOwnerGrantPatch! +} + +""" +Represents an update to a `AppOwnerGrant`. Fields that are set will be updated. +""" +input AppOwnerGrantPatch { + id: UUID + + """True to grant ownership, false to revoke ownership""" + isGrant: Boolean + + """The member receiving or losing the ownership grant""" + actorId: UUID + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `DefaultPrivilege` mutation.""" +type UpdateDefaultPrivilegePayload { + """ + 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 `DefaultPrivilege` that was updated by this mutation.""" + defaultPrivilege: DefaultPrivilege + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DefaultPrivilege`. May be used by Relay 1.""" + defaultPrivilegeEdge( + """The method to use when ordering `DefaultPrivilege`.""" + orderBy: [DefaultPrivilegeOrderBy!]! = [PRIMARY_KEY_ASC] + ): DefaultPrivilegeEdge +} + +"""All input for the `updateDefaultPrivilege` mutation.""" +input UpdateDefaultPrivilegeInput { + """ + 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 `DefaultPrivilege` being updated. + """ + defaultPrivilegePatch: DefaultPrivilegePatch! +} + +""" +Represents an update to a `DefaultPrivilege`. Fields that are set will be updated. +""" +input DefaultPrivilegePatch { + id: UUID + databaseId: UUID + schemaId: UUID + objectType: String + privilege: String + granteeName: String + isGrant: Boolean +} + +"""The output of our update `ViewGrant` mutation.""" +type UpdateViewGrantPayload { + """ + 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 `ViewGrant` that was updated by this mutation.""" + viewGrant: ViewGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewGrant`. May be used by Relay 1.""" + viewGrantEdge( + """The method to use when ordering `ViewGrant`.""" + orderBy: [ViewGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewGrantEdge +} + +"""All input for the `updateViewGrant` mutation.""" +input UpdateViewGrantInput { + """ + 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 `ViewGrant` being updated. + """ + viewGrantPatch: ViewGrantPatch! +} + +""" +Represents an update to a `ViewGrant`. Fields that are set will be updated. +""" +input ViewGrantPatch { + id: UUID + databaseId: UUID + viewId: UUID + granteeName: String + privilege: String + withGrantOption: Boolean + isGrant: Boolean +} + +"""The output of our update `Api` mutation.""" +type UpdateApiPayload { + """ + 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 `Api` that was updated by this mutation.""" + api: Api + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Api`. May be used by Relay 1.""" + apiEdge( + """The method to use when ordering `Api`.""" + orderBy: [ApiOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiEdge +} + +"""All input for the `updateApi` mutation.""" +input UpdateApiInput { + """ + 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 API""" + id: UUID! + + """ + An object where the defined keys will be set on the `Api` being updated. + """ + apiPatch: ApiPatch! +} + +"""Represents an update to a `Api`. Fields that are set will be updated.""" +input ApiPatch { + """Unique identifier for this API""" + id: UUID + + """Reference to the metaschema database this API serves""" + databaseId: UUID + + """Unique name for this API within its database""" + name: String + + """PostgreSQL database name to connect to""" + dbname: String + + """PostgreSQL role used for authenticated requests""" + roleName: String + + """PostgreSQL role used for anonymous/unauthenticated requests""" + anonRole: String + + """Whether this API is publicly accessible without authentication""" + isPublic: Boolean +} + +"""The output of our update `ConnectedAccountsModule` mutation.""" +type UpdateConnectedAccountsModulePayload { + """ + 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 `ConnectedAccountsModule` that was updated by this mutation.""" + connectedAccountsModule: ConnectedAccountsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ConnectedAccountsModule`. May be used by Relay 1.""" + connectedAccountsModuleEdge( + """The method to use when ordering `ConnectedAccountsModule`.""" + orderBy: [ConnectedAccountsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ConnectedAccountsModuleEdge +} + +"""All input for the `updateConnectedAccountsModule` mutation.""" +input UpdateConnectedAccountsModuleInput { + """ + 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 `ConnectedAccountsModule` being updated. + """ + connectedAccountsModulePatch: ConnectedAccountsModulePatch! +} + +""" +Represents an update to a `ConnectedAccountsModule`. Fields that are set will be updated. +""" +input ConnectedAccountsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String +} + +"""The output of our update `EmailsModule` mutation.""" +type UpdateEmailsModulePayload { + """ + 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 `EmailsModule` that was updated by this mutation.""" + emailsModule: EmailsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EmailsModule`. May be used by Relay 1.""" + emailsModuleEdge( + """The method to use when ordering `EmailsModule`.""" + orderBy: [EmailsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailsModuleEdge +} + +"""All input for the `updateEmailsModule` mutation.""" +input UpdateEmailsModuleInput { + """ + 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 `EmailsModule` being updated. + """ + emailsModulePatch: EmailsModulePatch! +} + +""" +Represents an update to a `EmailsModule`. Fields that are set will be updated. +""" +input EmailsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String +} + +"""The output of our update `PhoneNumbersModule` mutation.""" +type UpdatePhoneNumbersModulePayload { + """ + 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 `PhoneNumbersModule` that was updated by this mutation.""" + phoneNumbersModule: PhoneNumbersModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumbersModule`. May be used by Relay 1.""" + phoneNumbersModuleEdge( + """The method to use when ordering `PhoneNumbersModule`.""" + orderBy: [PhoneNumbersModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumbersModuleEdge +} + +"""All input for the `updatePhoneNumbersModule` mutation.""" +input UpdatePhoneNumbersModuleInput { + """ + 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 `PhoneNumbersModule` being updated. + """ + phoneNumbersModulePatch: PhoneNumbersModulePatch! +} + +""" +Represents an update to a `PhoneNumbersModule`. Fields that are set will be updated. +""" +input PhoneNumbersModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String +} + +"""The output of our update `UsersModule` mutation.""" +type UpdateUsersModulePayload { + """ + 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 `UsersModule` that was updated by this mutation.""" + usersModule: UsersModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UsersModule`. May be used by Relay 1.""" + usersModuleEdge( + """The method to use when ordering `UsersModule`.""" + orderBy: [UsersModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): UsersModuleEdge +} + +"""All input for the `updateUsersModule` mutation.""" +input UpdateUsersModuleInput { + """ + 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 `UsersModule` being updated. + """ + usersModulePatch: UsersModulePatch! +} + +""" +Represents an update to a `UsersModule`. Fields that are set will be updated. +""" +input UsersModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + tableId: UUID + tableName: String + typeTableId: UUID + typeTableName: String +} + +"""The output of our update `OrgAdminGrant` mutation.""" +type UpdateOrgAdminGrantPayload { + """ + 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 `OrgAdminGrant` that was updated by this mutation.""" + orgAdminGrant: OrgAdminGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgAdminGrant`. May be used by Relay 1.""" + orgAdminGrantEdge( + """The method to use when ordering `OrgAdminGrant`.""" + orderBy: [OrgAdminGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgAdminGrantEdge +} + +"""All input for the `updateOrgAdminGrant` mutation.""" +input UpdateOrgAdminGrantInput { + """ + 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 `OrgAdminGrant` being updated. + """ + orgAdminGrantPatch: OrgAdminGrantPatch! +} + +""" +Represents an update to a `OrgAdminGrant`. Fields that are set will be updated. +""" +input OrgAdminGrantPatch { + id: UUID + + """True to grant admin, false to revoke admin""" + isGrant: Boolean + + """The member receiving or losing the admin grant""" + actorId: UUID + + """The entity (org or group) this admin grant applies to""" + entityId: UUID + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `OrgOwnerGrant` mutation.""" +type UpdateOrgOwnerGrantPayload { + """ + 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 `OrgOwnerGrant` that was updated by this mutation.""" + orgOwnerGrant: OrgOwnerGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgOwnerGrant`. May be used by Relay 1.""" + orgOwnerGrantEdge( + """The method to use when ordering `OrgOwnerGrant`.""" + orderBy: [OrgOwnerGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgOwnerGrantEdge +} + +"""All input for the `updateOrgOwnerGrant` mutation.""" +input UpdateOrgOwnerGrantInput { + """ + 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 `OrgOwnerGrant` being updated. + """ + orgOwnerGrantPatch: OrgOwnerGrantPatch! +} + +""" +Represents an update to a `OrgOwnerGrant`. Fields that are set will be updated. +""" +input OrgOwnerGrantPatch { + id: UUID + + """True to grant ownership, false to revoke ownership""" + isGrant: Boolean + + """The member receiving or losing the ownership grant""" + actorId: UUID + + """The entity (org or group) this ownership grant applies to""" + entityId: UUID + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `CryptoAddress` mutation.""" +type UpdateCryptoAddressPayload { + """ + 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 `CryptoAddress` that was updated by this mutation.""" + cryptoAddress: CryptoAddress + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAddress`. May be used by Relay 1.""" + cryptoAddressEdge( + """The method to use when ordering `CryptoAddress`.""" + orderBy: [CryptoAddressOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAddressEdge +} + +"""All input for the `updateCryptoAddress` mutation.""" +input UpdateCryptoAddressInput { + """ + 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 `CryptoAddress` being updated. + """ + cryptoAddressPatch: CryptoAddressPatch! +} + +""" +Represents an update to a `CryptoAddress`. Fields that are set will be updated. +""" +input CryptoAddressPatch { + 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 +} + +"""The output of our update `RoleType` mutation.""" +type UpdateRoleTypePayload { + """ + 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 `RoleType` that was updated by this mutation.""" + roleType: RoleType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge +} + +"""All input for the `updateRoleType` mutation.""" +input UpdateRoleTypeInput { + """ + 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: Int! + + """ + An object where the defined keys will be set on the `RoleType` being updated. + """ + roleTypePatch: RoleTypePatch! +} + +""" +Represents an update to a `RoleType`. Fields that are set will be updated. +""" +input RoleTypePatch { + id: Int + name: String +} + +"""The output of our update `OrgPermissionDefault` mutation.""" +type UpdateOrgPermissionDefaultPayload { + """ + 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 `OrgPermissionDefault` that was updated by this mutation.""" + orgPermissionDefault: OrgPermissionDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" + orgPermissionDefaultEdge( + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultEdge +} + +"""All input for the `updateOrgPermissionDefault` mutation.""" +input UpdateOrgPermissionDefaultInput { + """ + 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 `OrgPermissionDefault` being updated. + """ + orgPermissionDefaultPatch: OrgPermissionDefaultPatch! +} + +""" +Represents an update to a `OrgPermissionDefault`. Fields that are set will be updated. +""" +input OrgPermissionDefaultPatch { + id: UUID + + """Default permission bitmask applied to new members""" + permissions: BitString + + """References the entity these default permissions apply to""" + entityId: UUID +} + +"""The output of our update `Database` mutation.""" +type UpdateDatabasePayload { + """ + 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 `Database` that was updated by this mutation.""" + database: Database + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Database`. May be used by Relay 1.""" + databaseEdge( + """The method to use when ordering `Database`.""" + orderBy: [DatabaseOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseEdge +} + +"""All input for the `updateDatabase` mutation.""" +input UpdateDatabaseInput { + """ + 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 `Database` being updated. + """ + databasePatch: DatabasePatch! +} + +""" +Represents an update to a `Database`. Fields that are set will be updated. +""" +input DatabasePatch { + id: UUID + ownerId: UUID + schemaHash: String + name: String + label: String + hash: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `CryptoAddressesModule` mutation.""" +type UpdateCryptoAddressesModulePayload { + """ + 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 `CryptoAddressesModule` that was updated by this mutation.""" + cryptoAddressesModule: CryptoAddressesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAddressesModule`. May be used by Relay 1.""" + cryptoAddressesModuleEdge( + """The method to use when ordering `CryptoAddressesModule`.""" + orderBy: [CryptoAddressesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAddressesModuleEdge +} + +"""All input for the `updateCryptoAddressesModule` mutation.""" +input UpdateCryptoAddressesModuleInput { + """ + 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 `CryptoAddressesModule` being updated. + """ + cryptoAddressesModulePatch: CryptoAddressesModulePatch! +} + +""" +Represents an update to a `CryptoAddressesModule`. Fields that are set will be updated. +""" +input CryptoAddressesModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String + cryptoNetwork: String +} + +"""The output of our update `PhoneNumber` mutation.""" +type UpdatePhoneNumberPayload { + """ + 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 `PhoneNumber` that was updated by this mutation.""" + phoneNumber: PhoneNumber + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumber`. May be used by Relay 1.""" + phoneNumberEdge( + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumberEdge +} + +"""All input for the `updatePhoneNumber` mutation.""" +input UpdatePhoneNumberInput { + """ + 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 `PhoneNumber` being updated. + """ + phoneNumberPatch: PhoneNumberPatch! +} + +""" +Represents an update to a `PhoneNumber`. Fields that are set will be updated. +""" +input PhoneNumberPatch { + 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 +} + +"""The output of our update `AppLimitDefault` mutation.""" +type UpdateAppLimitDefaultPayload { + """ + 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 `AppLimitDefault` that was updated by this mutation.""" + appLimitDefault: AppLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimitDefault`. May be used by Relay 1.""" + appLimitDefaultEdge( + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitDefaultEdge +} + +"""All input for the `updateAppLimitDefault` mutation.""" +input UpdateAppLimitDefaultInput { + """ + 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 `AppLimitDefault` being updated. + """ + appLimitDefaultPatch: AppLimitDefaultPatch! +} + +""" +Represents an update to a `AppLimitDefault`. Fields that are set will be updated. +""" +input AppLimitDefaultPatch { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String + + """Default maximum usage allowed for this limit""" + max: Int +} + +"""The output of our update `OrgLimitDefault` mutation.""" +type UpdateOrgLimitDefaultPayload { + """ + 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 `OrgLimitDefault` that was updated by this mutation.""" + orgLimitDefault: OrgLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" + orgLimitDefaultEdge( + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultEdge +} + +"""All input for the `updateOrgLimitDefault` mutation.""" +input UpdateOrgLimitDefaultInput { + """ + 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 `OrgLimitDefault` being updated. + """ + orgLimitDefaultPatch: OrgLimitDefaultPatch! +} + +""" +Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. +""" +input OrgLimitDefaultPatch { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String + + """Default maximum usage allowed for this limit""" + 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 `FieldModule` mutation.""" +type UpdateFieldModulePayload { + """ + 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 `FieldModule` that was updated by this mutation.""" + fieldModule: FieldModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `FieldModule`. May be used by Relay 1.""" + fieldModuleEdge( + """The method to use when ordering `FieldModule`.""" + orderBy: [FieldModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): FieldModuleEdge +} + +"""All input for the `updateFieldModule` mutation.""" +input UpdateFieldModuleInput { + """ + 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 `FieldModule` being updated. + """ + fieldModulePatch: FieldModulePatch! +} + +""" +Represents an update to a `FieldModule`. Fields that are set will be updated. +""" +input FieldModulePatch { + id: UUID + databaseId: UUID + privateSchemaId: UUID + tableId: UUID + fieldId: UUID + nodeType: String + data: JSON + triggers: [String] + functions: [String] +} + +"""The output of our update `TableTemplateModule` mutation.""" +type UpdateTableTemplateModulePayload { + """ + 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 `TableTemplateModule` that was updated by this mutation.""" + tableTemplateModule: TableTemplateModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TableTemplateModule`. May be used by Relay 1.""" + tableTemplateModuleEdge( + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableTemplateModuleEdge +} + +"""All input for the `updateTableTemplateModule` mutation.""" +input UpdateTableTemplateModuleInput { + """ + 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 `TableTemplateModule` being updated. + """ + tableTemplateModulePatch: TableTemplateModulePatch! +} + +""" +Represents an update to a `TableTemplateModule`. Fields that are set will be updated. +""" +input TableTemplateModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + ownerTableId: UUID + tableName: String + nodeType: String + data: JSON +} + +"""The output of our update `OrgChartEdgeGrant` mutation.""" +type UpdateOrgChartEdgeGrantPayload { + """ + 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 `OrgChartEdgeGrant` that was updated by this mutation.""" + orgChartEdgeGrant: OrgChartEdgeGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgChartEdgeGrant`. May be used by Relay 1.""" + orgChartEdgeGrantEdge( + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantEdge +} + +"""All input for the `updateOrgChartEdgeGrant` mutation.""" +input UpdateOrgChartEdgeGrantInput { + """ + 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 `OrgChartEdgeGrant` being updated. + """ + orgChartEdgeGrantPatch: OrgChartEdgeGrantPatch! +} + +""" +Represents an update to a `OrgChartEdgeGrant`. Fields that are set will be updated. +""" +input OrgChartEdgeGrantPatch { + id: UUID + + """Organization this grant applies to""" + entityId: UUID + + """User ID of the subordinate being placed in the hierarchy""" + childId: UUID + + """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 + + """TRUE to add/update the edge, FALSE to remove it""" + isGrant: Boolean + + """Job title or role name being assigned in this grant""" + positionTitle: String + + """Numeric seniority level being assigned in this grant""" + positionLevel: Int + + """Timestamp when this grant or revocation was recorded""" + createdAt: Datetime +} + +"""The output of our update `NodeTypeRegistry` mutation.""" +type UpdateNodeTypeRegistryPayload { + """ + 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 `NodeTypeRegistry` that was updated by this mutation.""" + nodeTypeRegistry: NodeTypeRegistry + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `NodeTypeRegistry`. May be used by Relay 1.""" + nodeTypeRegistryEdge( + """The method to use when ordering `NodeTypeRegistry`.""" + orderBy: [NodeTypeRegistryOrderBy!]! = [PRIMARY_KEY_ASC] + ): NodeTypeRegistryEdge +} + +"""All input for the `updateNodeTypeRegistry` mutation.""" +input UpdateNodeTypeRegistryInput { + """ + 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 + + """ + PascalCase domain-prefixed node type name (e.g., AuthzDirectOwner, DataTimestamps, FieldImmutable) + """ + name: String! + + """ + An object where the defined keys will be set on the `NodeTypeRegistry` being updated. + """ + nodeTypeRegistryPatch: NodeTypeRegistryPatch! +} + +""" +Represents an update to a `NodeTypeRegistry`. Fields that are set will be updated. +""" +input NodeTypeRegistryPatch { + """ + 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 + + """Description of what this node type does""" + description: String + + """JSON Schema defining valid parameters for this node type""" + parameterSchema: JSON + + """ + Tags for categorization and filtering (e.g., ownership, membership, temporal, rls) + """ + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `MembershipType` mutation.""" +type UpdateMembershipTypePayload { + """ + 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 `MembershipType` that was updated by this mutation.""" + membershipType: MembershipType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge +} + +"""All input for the `updateMembershipType` mutation.""" +input UpdateMembershipTypeInput { + """ + 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 + + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! + + """ + An object where the defined keys will be set on the `MembershipType` being updated. + """ + membershipTypePatch: MembershipTypePatch! +} + +""" +Represents an update to a `MembershipType`. Fields that are set will be updated. +""" +input MembershipTypePatch { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int + + """Human-readable name of the membership type""" + name: String + + """Description of what this membership type represents""" + description: String + + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String +} + +"""The output of our update `TableGrant` mutation.""" +type UpdateTableGrantPayload { + """ + 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 `TableGrant` that was updated by this mutation.""" + tableGrant: TableGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TableGrant`. May be used by Relay 1.""" + tableGrantEdge( + """The method to use when ordering `TableGrant`.""" + orderBy: [TableGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableGrantEdge +} + +"""All input for the `updateTableGrant` mutation.""" +input UpdateTableGrantInput { + """ + 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 `TableGrant` being updated. + """ + tableGrantPatch: TableGrantPatch! +} + +""" +Represents an update to a `TableGrant`. Fields that are set will be updated. +""" +input TableGrantPatch { + id: UUID + databaseId: UUID + tableId: UUID + privilege: String + granteeName: String + fieldIds: [UUID] + isGrant: Boolean + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `AppPermission` mutation.""" +type UpdateAppPermissionPayload { + """ + 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 `AppPermission` that was updated by this mutation.""" + appPermission: AppPermission + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppPermission`. May be used by Relay 1.""" + appPermissionEdge( + """The method to use when ordering `AppPermission`.""" + orderBy: [AppPermissionOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppPermissionEdge +} + +"""All input for the `updateAppPermission` mutation.""" +input UpdateAppPermissionInput { + """ + 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 `AppPermission` being updated. + """ + appPermissionPatch: AppPermissionPatch! +} + +""" +Represents an update to a `AppPermission`. Fields that are set will be updated. +""" +input AppPermissionPatch { + id: UUID + + """Human-readable permission name (e.g. read, write, manage)""" + name: String + + """ + Position of this permission in the bitmask (1-indexed), must be unique per permission set + """ + bitnum: Int + + """ + Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations + """ + bitstr: BitString + + """Human-readable description of what this permission allows""" + description: String +} + +"""The output of our update `OrgPermission` mutation.""" +type UpdateOrgPermissionPayload { + """ + 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 `OrgPermission` that was updated by this mutation.""" + orgPermission: OrgPermission + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgPermission`. May be used by Relay 1.""" + orgPermissionEdge( + """The method to use when ordering `OrgPermission`.""" + orderBy: [OrgPermissionOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionEdge +} + +"""All input for the `updateOrgPermission` mutation.""" +input UpdateOrgPermissionInput { + """ + 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 `OrgPermission` being updated. + """ + orgPermissionPatch: OrgPermissionPatch! +} + +""" +Represents an update to a `OrgPermission`. Fields that are set will be updated. +""" +input OrgPermissionPatch { + id: UUID + + """Human-readable permission name (e.g. read, write, manage)""" + name: String + + """ + Position of this permission in the bitmask (1-indexed), must be unique per permission set + """ + bitnum: Int + + """ + Pre-computed bitmask with only this permission bit set, used for bitwise OR/AND operations + """ + bitstr: BitString + + """Human-readable description of what this permission allows""" + description: String +} + +"""The output of our update `AppLimit` mutation.""" +type UpdateAppLimitPayload { + """ + 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 `AppLimit` that was updated by this mutation.""" + appLimit: AppLimit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimit`. May be used by Relay 1.""" + appLimitEdge( + """The method to use when ordering `AppLimit`.""" + orderBy: [AppLimitOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitEdge +} + +"""All input for the `updateAppLimit` mutation.""" +input UpdateAppLimitInput { + """ + 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 `AppLimit` being updated. + """ + appLimitPatch: AppLimitPatch! +} + +""" +Represents an update to a `AppLimit`. Fields that are set will be updated. +""" +input AppLimitPatch { + id: UUID + + """Name identifier of the limit being tracked""" + name: String + + """User whose usage is being tracked against this limit""" + actorId: UUID + + """Current usage count for this actor and limit""" + num: Int + + """Maximum allowed usage; NULL means use the default limit value""" + max: Int +} + +"""The output of our update `AppAchievement` mutation.""" +type UpdateAppAchievementPayload { + """ + 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 `AppAchievement` that was updated by this mutation.""" + appAchievement: AppAchievement + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppAchievement`. May be used by Relay 1.""" + appAchievementEdge( + """The method to use when ordering `AppAchievement`.""" + orderBy: [AppAchievementOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppAchievementEdge +} + +"""All input for the `updateAppAchievement` mutation.""" +input UpdateAppAchievementInput { + """ + 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 `AppAchievement` being updated. + """ + appAchievementPatch: AppAchievementPatch! +} + +""" +Represents an update to a `AppAchievement`. Fields that are set will be updated. +""" +input AppAchievementPatch { + id: UUID + actorId: UUID + + """Name identifier of the level requirement being tracked""" + name: String + + """Cumulative count of completed steps toward this requirement""" + count: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `AppStep` mutation.""" +type UpdateAppStepPayload { + """ + 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 `AppStep` that was updated by this mutation.""" + appStep: AppStep + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppStep`. May be used by Relay 1.""" + appStepEdge( + """The method to use when ordering `AppStep`.""" + orderBy: [AppStepOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppStepEdge +} + +"""All input for the `updateAppStep` mutation.""" +input UpdateAppStepInput { + """ + 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 `AppStep` being updated. + """ + appStepPatch: AppStepPatch! +} + +""" +Represents an update to a `AppStep`. Fields that are set will be updated. +""" +input AppStepPatch { + id: UUID + actorId: UUID + + """Name identifier of the level requirement this step fulfills""" + name: String + + """Number of units completed in this step action""" + count: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `ClaimedInvite` mutation.""" +type UpdateClaimedInvitePayload { + """ + 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 `ClaimedInvite` that was updated by this mutation.""" + claimedInvite: ClaimedInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ClaimedInvite`. May be used by Relay 1.""" + claimedInviteEdge( + """The method to use when ordering `ClaimedInvite`.""" + orderBy: [ClaimedInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): ClaimedInviteEdge +} + +"""All input for the `updateClaimedInvite` mutation.""" +input UpdateClaimedInviteInput { + """ + 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 `ClaimedInvite` being updated. + """ + claimedInvitePatch: ClaimedInvitePatch! +} + +""" +Represents an update to a `ClaimedInvite`. Fields that are set will be updated. +""" +input ClaimedInvitePatch { + id: UUID + + """Optional JSON payload captured at the time the invite was claimed""" + data: JSON + + """User ID of the original invitation sender""" + senderId: UUID + + """User ID of the person who claimed and redeemed the invitation""" + receiverId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `AppMembershipDefault` mutation.""" +type UpdateAppMembershipDefaultPayload { + """ + 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 `AppMembershipDefault` that was updated by this mutation.""" + appMembershipDefault: AppMembershipDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppMembershipDefault`. May be used by Relay 1.""" + appMembershipDefaultEdge( + """The method to use when ordering `AppMembershipDefault`.""" + orderBy: [AppMembershipDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipDefaultEdge +} + +"""All input for the `updateAppMembershipDefault` mutation.""" +input UpdateAppMembershipDefaultInput { + """ + 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 `AppMembershipDefault` being updated. + """ + appMembershipDefaultPatch: AppMembershipDefaultPatch! +} + +""" +Represents an update to a `AppMembershipDefault`. Fields that are set will be updated. +""" +input AppMembershipDefaultPatch { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether new members are automatically approved upon joining""" + isApproved: Boolean + + """Whether new members are automatically verified upon joining""" + isVerified: Boolean +} + +"""The output of our update `SiteMetadatum` mutation.""" +type UpdateSiteMetadatumPayload { + """ + 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 `SiteMetadatum` that was updated by this mutation.""" + siteMetadatum: SiteMetadatum + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteMetadatum`. May be used by Relay 1.""" + siteMetadatumEdge( + """The method to use when ordering `SiteMetadatum`.""" + orderBy: [SiteMetadatumOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteMetadatumEdge +} + +"""All input for the `updateSiteMetadatum` mutation.""" +input UpdateSiteMetadatumInput { + """ + 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 metadata record""" + id: UUID! + + """ + An object where the defined keys will be set on the `SiteMetadatum` being updated. + """ + siteMetadatumPatch: SiteMetadatumPatch! +} + +""" +Represents an update to a `SiteMetadatum`. Fields that are set will be updated. +""" +input SiteMetadatumPatch { + """Unique identifier for this metadata record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID + + """Site this metadata belongs to""" + siteId: UUID + + """Page title for SEO (max 120 characters)""" + title: String + + """Meta description for SEO and social sharing (max 120 characters)""" + description: String + + """Open Graph image for social media previews""" + ogImage: ConstructiveInternalTypeImage + + """Upload for Open Graph image for social media previews""" + ogImageUpload: Upload +} + +"""The `Upload` scalar type represents a file upload.""" +scalar Upload + +"""The output of our update `RlsModule` mutation.""" +type UpdateRlsModulePayload { + """ + 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 `RlsModule` that was updated by this mutation.""" + rlsModule: RlsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RlsModule`. May be used by Relay 1.""" + rlsModuleEdge( + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): RlsModuleEdge +} + +"""All input for the `updateRlsModule` mutation.""" +input UpdateRlsModuleInput { + """ + 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 `RlsModule` being updated. + """ + rlsModulePatch: RlsModulePatch! +} + +""" +Represents an update to a `RlsModule`. Fields that are set will be updated. +""" +input RlsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + sessionCredentialsTableId: UUID + sessionsTableId: UUID + usersTableId: UUID + authenticate: String + authenticateStrict: String + currentRole: String + currentRoleId: String +} + +"""The output of our update `SessionsModule` mutation.""" +type UpdateSessionsModulePayload { + """ + 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 `SessionsModule` that was updated by this mutation.""" + sessionsModule: SessionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SessionsModule`. May be used by Relay 1.""" + sessionsModuleEdge( + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SessionsModuleEdge +} + +"""All input for the `updateSessionsModule` mutation.""" +input UpdateSessionsModuleInput { + """ + 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 `SessionsModule` being updated. + """ + sessionsModulePatch: SessionsModulePatch! +} + +""" +Represents an update to a `SessionsModule`. Fields that are set will be updated. +""" +input SessionsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + authSettingsTableId: UUID + usersTableId: UUID + sessionsDefaultExpiration: IntervalInput + sessionsTable: String + sessionCredentialsTable: String + authSettingsTable: String +} + +"""The output of our update `Object` mutation.""" +type UpdateObjectPayload { + """ + 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 `Object` that was updated by this mutation.""" + object: Object + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Object`. May be used by Relay 1.""" + objectEdge( + """The method to use when ordering `Object`.""" + orderBy: [ObjectOrderBy!]! = [PRIMARY_KEY_ASC] + ): ObjectEdge +} + +"""All input for the `updateObject` mutation.""" +input UpdateObjectInput { + """ + 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! + databaseId: UUID! + + """ + An object where the defined keys will be set on the `Object` being updated. + """ + objectPatch: ObjectPatch! +} + +""" +Represents an update to a `Object`. Fields that are set will be updated. +""" +input ObjectPatch { + id: UUID + databaseId: UUID + kids: [UUID] + ktree: [String] + data: JSON + frzn: Boolean + createdAt: Datetime +} + +"""The output of our update `FullTextSearch` mutation.""" +type UpdateFullTextSearchPayload { + """ + 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 `FullTextSearch` that was updated by this mutation.""" + fullTextSearch: FullTextSearch + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `FullTextSearch`. May be used by Relay 1.""" + fullTextSearchEdge( + """The method to use when ordering `FullTextSearch`.""" + orderBy: [FullTextSearchOrderBy!]! = [PRIMARY_KEY_ASC] + ): FullTextSearchEdge +} + +"""All input for the `updateFullTextSearch` mutation.""" +input UpdateFullTextSearchInput { + """ + 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 `FullTextSearch` being updated. + """ + fullTextSearchPatch: FullTextSearchPatch! +} + +""" +Represents an update to a `FullTextSearch`. Fields that are set will be updated. +""" +input FullTextSearchPatch { + id: UUID + databaseId: UUID + tableId: UUID + fieldId: UUID + fieldIds: [UUID] + weights: [String] + langs: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `Commit` mutation.""" +type UpdateCommitPayload { + """ + 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 `Commit` that was updated by this mutation.""" + commit: Commit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Commit`. May be used by Relay 1.""" + commitEdge( + """The method to use when ordering `Commit`.""" + orderBy: [CommitOrderBy!]! = [PRIMARY_KEY_ASC] + ): CommitEdge +} + +"""All input for the `updateCommit` mutation.""" +input UpdateCommitInput { + """ + 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 primary unique identifier for the commit.""" + id: UUID! + + """The repository identifier""" + databaseId: UUID! + + """ + An object where the defined keys will be set on the `Commit` being updated. + """ + commitPatch: CommitPatch! +} + +""" +Represents an update to a `Commit`. Fields that are set will be updated. +""" +input CommitPatch { + """The primary unique identifier for the commit.""" + id: UUID + + """The commit message""" + message: String + + """The repository identifier""" + databaseId: UUID + storeId: UUID + + """Parent commits""" + parentIds: [UUID] + + """The author of the commit""" + authorId: UUID + + """The committer of the commit""" + committerId: UUID + + """The root of the tree""" + treeId: UUID + date: Datetime +} + +"""The output of our update `OrgLimit` mutation.""" +type UpdateOrgLimitPayload { + """ + 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 `OrgLimit` that was updated by this mutation.""" + orgLimit: OrgLimit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimit`. May be used by Relay 1.""" + orgLimitEdge( + """The method to use when ordering `OrgLimit`.""" + orderBy: [OrgLimitOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitEdge +} + +"""All input for the `updateOrgLimit` mutation.""" +input UpdateOrgLimitInput { + """ + 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 `OrgLimit` being updated. + """ + orgLimitPatch: OrgLimitPatch! +} + +""" +Represents an update to a `OrgLimit`. Fields that are set will be updated. +""" +input OrgLimitPatch { + id: UUID + + """Name identifier of the limit being tracked""" + name: String + + """User whose usage is being tracked against this limit""" + actorId: UUID + + """Current usage count for this actor and limit""" + num: Int + + """Maximum allowed usage; NULL means use the default limit value""" + max: Int + entityId: UUID +} + +"""The output of our update `AppGrant` mutation.""" +type UpdateAppGrantPayload { + """ + 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 `AppGrant` that was updated by this mutation.""" + appGrant: AppGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppGrant`. May be used by Relay 1.""" + appGrantEdge( + """The method to use when ordering `AppGrant`.""" + orderBy: [AppGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppGrantEdge +} + +"""All input for the `updateAppGrant` mutation.""" +input UpdateAppGrantInput { + """ + 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 `AppGrant` being updated. + """ + appGrantPatch: AppGrantPatch! +} + +""" +Represents an update to a `AppGrant`. Fields that are set will be updated. +""" +input AppGrantPatch { + id: UUID + + """Bitmask of permissions being granted or revoked""" + permissions: BitString + + """True to grant the permissions, false to revoke them""" + isGrant: Boolean + + """The member receiving or losing the permission grant""" + actorId: UUID + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `OrgClaimedInvite` mutation.""" +type UpdateOrgClaimedInvitePayload { + """ + 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 `OrgClaimedInvite` that was updated by this mutation.""" + orgClaimedInvite: OrgClaimedInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgClaimedInvite`. May be used by Relay 1.""" + orgClaimedInviteEdge( + """The method to use when ordering `OrgClaimedInvite`.""" + orderBy: [OrgClaimedInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgClaimedInviteEdge +} + +"""All input for the `updateOrgClaimedInvite` mutation.""" +input UpdateOrgClaimedInviteInput { + """ + 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 `OrgClaimedInvite` being updated. + """ + orgClaimedInvitePatch: OrgClaimedInvitePatch! +} + +""" +Represents an update to a `OrgClaimedInvite`. Fields that are set will be updated. +""" +input OrgClaimedInvitePatch { + id: UUID + + """Optional JSON payload captured at the time the invite was claimed""" + data: JSON + + """User ID of the original invitation sender""" + senderId: UUID + + """User ID of the person who claimed and redeemed the invitation""" + receiverId: UUID + createdAt: Datetime + updatedAt: Datetime + entityId: UUID +} + +"""The output of our update `OrgChartEdge` mutation.""" +type UpdateOrgChartEdgePayload { + """ + 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 `OrgChartEdge` that was updated by this mutation.""" + orgChartEdge: OrgChartEdge + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgChartEdge`. May be used by Relay 1.""" + orgChartEdgeEdge( + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeEdge +} + +"""All input for the `updateOrgChartEdge` mutation.""" +input UpdateOrgChartEdgeInput { + """ + 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 `OrgChartEdge` being updated. + """ + orgChartEdgePatch: OrgChartEdgePatch! +} + +""" +Represents an update to a `OrgChartEdge`. Fields that are set will be updated. +""" +input OrgChartEdgePatch { + id: UUID + createdAt: Datetime + updatedAt: Datetime + + """Organization this hierarchy edge belongs to""" + entityId: UUID + + """User ID of the subordinate (employee) in this reporting relationship""" + childId: UUID + + """ + User ID of the manager; NULL indicates a top-level position with no direct report + """ + parentId: UUID + + """Job title or role name for this position in the org chart""" + positionTitle: String + + """Numeric seniority level for this position (higher = more senior)""" + positionLevel: Int +} + +"""The output of our update `Domain` mutation.""" +type UpdateDomainPayload { + """ + 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 `Domain` that was updated by this mutation.""" + domain: Domain + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Domain`. May be used by Relay 1.""" + domainEdge( + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!]! = [PRIMARY_KEY_ASC] + ): DomainEdge +} + +"""All input for the `updateDomain` mutation.""" +input UpdateDomainInput { + """ + 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 domain record""" + id: UUID! + + """ + An object where the defined keys will be set on the `Domain` being updated. + """ + domainPatch: DomainPatch! +} + +""" +Represents an update to a `Domain`. Fields that are set will be updated. +""" +input DomainPatch { + """Unique identifier for this domain record""" + id: UUID + + """Reference to the metaschema database this domain belongs to""" + databaseId: UUID + + """API endpoint this domain routes to (mutually exclusive with site_id)""" + apiId: UUID + + """Site this domain routes to (mutually exclusive with api_id)""" + siteId: UUID + + """Subdomain portion of the hostname""" + subdomain: ConstructiveInternalTypeHostname + + """Root domain of the hostname""" + domain: ConstructiveInternalTypeHostname +} + +"""The output of our update `OrgGrant` mutation.""" +type UpdateOrgGrantPayload { + """ + 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 `OrgGrant` that was updated by this mutation.""" + orgGrant: OrgGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgGrant`. May be used by Relay 1.""" + orgGrantEdge( + """The method to use when ordering `OrgGrant`.""" + orderBy: [OrgGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgGrantEdge +} + +"""All input for the `updateOrgGrant` mutation.""" +input UpdateOrgGrantInput { + """ + 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 `OrgGrant` being updated. + """ + orgGrantPatch: OrgGrantPatch! +} + +""" +Represents an update to a `OrgGrant`. Fields that are set will be updated. +""" +input OrgGrantPatch { + id: UUID + + """Bitmask of permissions being granted or revoked""" + permissions: BitString + + """True to grant the permissions, false to revoke them""" + isGrant: Boolean + + """The member receiving or losing the permission grant""" + actorId: UUID + + """The entity (org or group) this permission grant applies to""" + entityId: UUID + grantorId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `OrgMembershipDefault` mutation.""" +type UpdateOrgMembershipDefaultPayload { + """ + 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 `OrgMembershipDefault` that was updated by this mutation.""" + orgMembershipDefault: OrgMembershipDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMembershipDefault`. May be used by Relay 1.""" + orgMembershipDefaultEdge( + """The method to use when ordering `OrgMembershipDefault`.""" + orderBy: [OrgMembershipDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipDefaultEdge +} + +"""All input for the `updateOrgMembershipDefault` mutation.""" +input UpdateOrgMembershipDefaultInput { + """ + 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 `OrgMembershipDefault` being updated. + """ + orgMembershipDefaultPatch: OrgMembershipDefaultPatch! +} + +""" +Represents an update to a `OrgMembershipDefault`. Fields that are set will be updated. +""" +input OrgMembershipDefaultPatch { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether new members are automatically approved upon joining""" + isApproved: Boolean + + """References the entity these membership defaults apply to""" + entityId: UUID + + """ + When an org member is deleted, whether to cascade-remove their group memberships + """ + deleteMemberCascadeGroups: Boolean + + """ + When a group is created, whether to auto-add existing org members as group members + """ + createGroupsCascadeMembers: Boolean +} + +"""The output of our update `AppLevelRequirement` mutation.""" +type UpdateAppLevelRequirementPayload { + """ + 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 `AppLevelRequirement` that was updated by this mutation.""" + appLevelRequirement: AppLevelRequirement + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLevelRequirement`. May be used by Relay 1.""" + appLevelRequirementEdge( + """The method to use when ordering `AppLevelRequirement`.""" + orderBy: [AppLevelRequirementOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelRequirementEdge +} + +"""All input for the `updateAppLevelRequirement` mutation.""" +input UpdateAppLevelRequirementInput { + """ + 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 `AppLevelRequirement` being updated. + """ + appLevelRequirementPatch: AppLevelRequirementPatch! +} + +""" +Represents an update to a `AppLevelRequirement`. Fields that are set will be updated. +""" +input AppLevelRequirementPatch { + id: UUID + + """Name identifier of the requirement (matches step names)""" + name: String + + """Name of the level this requirement belongs to""" + level: String + + """Human-readable description of what this requirement entails""" + description: String + + """Number of steps needed to satisfy this requirement""" + requiredCount: Int + + """Display ordering priority; lower values appear first""" + priority: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `AuditLog` mutation.""" +type UpdateAuditLogPayload { + """ + 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 `AuditLog` that was updated by this mutation.""" + auditLog: AuditLog + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AuditLog`. May be used by Relay 1.""" + auditLogEdge( + """The method to use when ordering `AuditLog`.""" + orderBy: [AuditLogOrderBy!]! = [PRIMARY_KEY_ASC] + ): AuditLogEdge +} + +"""All input for the `updateAuditLog` mutation.""" +input UpdateAuditLogInput { + """ + 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 `AuditLog` being updated. + """ + auditLogPatch: AuditLogPatch! +} + +""" +Represents an update to a `AuditLog`. Fields that are set will be updated. +""" +input AuditLogPatch { + 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 +} + +"""The output of our update `AppLevel` mutation.""" +type UpdateAppLevelPayload { + """ + 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 `AppLevel` that was updated by this mutation.""" + appLevel: AppLevel + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLevel`. May be used by Relay 1.""" + appLevelEdge( + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelEdge +} + +"""All input for the `updateAppLevel` mutation.""" +input UpdateAppLevelInput { + """ + 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 `AppLevel` being updated. + """ + appLevelPatch: AppLevelPatch! +} + +""" +Represents an update to a `AppLevel`. Fields that are set will be updated. +""" +input AppLevelPatch { + 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 + + """Upload for Badge or icon image associated with this level""" + imageUpload: Upload +} + +"""The output of our update `CryptoAuthModule` mutation.""" +type UpdateCryptoAuthModulePayload { + """ + 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 `CryptoAuthModule` that was updated by this mutation.""" + cryptoAuthModule: CryptoAuthModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAuthModule`. May be used by Relay 1.""" + cryptoAuthModuleEdge( + """The method to use when ordering `CryptoAuthModule`.""" + orderBy: [CryptoAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAuthModuleEdge +} + +"""All input for the `updateCryptoAuthModule` mutation.""" +input UpdateCryptoAuthModuleInput { + """ + 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 `CryptoAuthModule` being updated. + """ + cryptoAuthModulePatch: CryptoAuthModulePatch! +} + +""" +Represents an update to a `CryptoAuthModule`. Fields that are set will be updated. +""" +input CryptoAuthModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + usersTableId: UUID + secretsTableId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + addressesTableId: UUID + userField: String + cryptoNetwork: String + signInRequestChallenge: String + signInRecordFailure: String + signUpWithKey: String + signInWithChallenge: String +} + +"""The output of our update `DatabaseProvisionModule` mutation.""" +type UpdateDatabaseProvisionModulePayload { + """ + 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 `DatabaseProvisionModule` that was updated by this mutation.""" + databaseProvisionModule: DatabaseProvisionModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DatabaseProvisionModule`. May be used by Relay 1.""" + databaseProvisionModuleEdge( + """The method to use when ordering `DatabaseProvisionModule`.""" + orderBy: [DatabaseProvisionModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseProvisionModuleEdge +} + +"""All input for the `updateDatabaseProvisionModule` mutation.""" +input UpdateDatabaseProvisionModuleInput { + """ + 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 `DatabaseProvisionModule` being updated. + """ + databaseProvisionModulePatch: DatabaseProvisionModulePatch! +} + +""" +Represents an update to a `DatabaseProvisionModule`. Fields that are set will be updated. +""" +input DatabaseProvisionModulePatch { + id: UUID + + """The name for the new database""" + databaseName: String + + """UUID of the user who owns this database""" + ownerId: UUID + + """ + Subdomain prefix for the database. If null, auto-generated using unique_names + random chars + """ + subdomain: String + + """Base domain for the database (e.g., example.com)""" + domain: String + + """Array of module IDs to install, or ["all"] for all modules""" + modules: [String] + + """Additional configuration options for provisioning""" + options: JSON + + """ + When true, copies the owner user and password hash from source database to the newly provisioned database + """ + bootstrapUser: Boolean + + """Current status: pending, in_progress, completed, or failed""" + status: String + errorMessage: String + + """The ID of the provisioned database (set by trigger before RLS check)""" + databaseId: UUID + createdAt: Datetime + updatedAt: Datetime + completedAt: Datetime +} + +"""The output of our update `InvitesModule` mutation.""" +type UpdateInvitesModulePayload { + """ + 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 `InvitesModule` that was updated by this mutation.""" + invitesModule: InvitesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `InvitesModule`. May be used by Relay 1.""" + invitesModuleEdge( + """The method to use when ordering `InvitesModule`.""" + orderBy: [InvitesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): InvitesModuleEdge +} + +"""All input for the `updateInvitesModule` mutation.""" +input UpdateInvitesModuleInput { + """ + 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 `InvitesModule` being updated. + """ + invitesModulePatch: InvitesModulePatch! +} + +""" +Represents an update to a `InvitesModule`. Fields that are set will be updated. +""" +input InvitesModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + emailsTableId: UUID + usersTableId: UUID + invitesTableId: UUID + claimedInvitesTableId: UUID + invitesTableName: String + claimedInvitesTableName: String + submitInviteCodeFunction: String + prefix: String + membershipType: Int + entityTableId: UUID +} + +"""The output of our update `DenormalizedTableField` mutation.""" +type UpdateDenormalizedTableFieldPayload { + """ + 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 `DenormalizedTableField` that was updated by this mutation.""" + denormalizedTableField: DenormalizedTableField + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" + denormalizedTableFieldEdge( + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldEdge +} + +"""All input for the `updateDenormalizedTableField` mutation.""" +input UpdateDenormalizedTableFieldInput { + """ + 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 `DenormalizedTableField` being updated. + """ + denormalizedTableFieldPatch: DenormalizedTableFieldPatch! +} + +""" +Represents an update to a `DenormalizedTableField`. Fields that are set will be updated. +""" +input DenormalizedTableFieldPatch { + id: UUID + databaseId: UUID + tableId: UUID + fieldId: UUID + setIds: [UUID] + refTableId: UUID + refFieldId: UUID + refIds: [UUID] + useUpdates: Boolean + updateDefaults: Boolean + funcName: String + funcOrder: Int +} + +"""The output of our update `Email` mutation.""" +type UpdateEmailPayload { + """ + 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 `Email` that was updated by this mutation.""" + email: Email + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Email`. May be used by Relay 1.""" + emailEdge( + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailEdge +} + +"""All input for the `updateEmail` mutation.""" +input UpdateEmailInput { + """ + 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 `Email` being updated. + """ + emailPatch: EmailPatch! +} + +""" +Represents an update to a `Email`. Fields that are set will be updated. +""" +input EmailPatch { + 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 +} + +"""The output of our update `View` mutation.""" +type UpdateViewPayload { + """ + 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 `View` that was updated by this mutation.""" + view: View + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `View`. May be used by Relay 1.""" + viewEdge( + """The method to use when ordering `View`.""" + orderBy: [ViewOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewEdge +} + +"""All input for the `updateView` mutation.""" +input UpdateViewInput { + """ + 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 `View` being updated. + """ + viewPatch: ViewPatch! +} + +"""Represents an update to a `View`. Fields that are set will be updated.""" +input ViewPatch { + id: UUID + databaseId: UUID + schemaId: UUID + name: String + tableId: UUID + viewType: String + data: JSON + filterType: String + filterData: JSON + securityInvoker: Boolean + isReadOnly: Boolean + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] +} + +"""The output of our update `PermissionsModule` mutation.""" +type UpdatePermissionsModulePayload { + """ + 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 `PermissionsModule` that was updated by this mutation.""" + permissionsModule: PermissionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PermissionsModule`. May be used by Relay 1.""" + permissionsModuleEdge( + """The method to use when ordering `PermissionsModule`.""" + orderBy: [PermissionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): PermissionsModuleEdge +} + +"""All input for the `updatePermissionsModule` mutation.""" +input UpdatePermissionsModuleInput { + """ + 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 `PermissionsModule` being updated. + """ + permissionsModulePatch: PermissionsModulePatch! +} + +""" +Represents an update to a `PermissionsModule`. Fields that are set will be updated. +""" +input PermissionsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + defaultTableId: UUID + defaultTableName: String + bitlen: Int + membershipType: Int + entityTableId: UUID + actorTableId: UUID + prefix: String + getPaddedMask: String + getMask: String + getByMask: String + getMaskByName: String +} + +"""The output of our update `LimitsModule` mutation.""" +type UpdateLimitsModulePayload { + """ + 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 updated 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 `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 `updateLimitsModule` mutation.""" +input UpdateLimitsModuleInput { + """ + 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 `LimitsModule` being updated. + """ + limitsModulePatch: LimitsModulePatch! +} + +""" +Represents an update to a `LimitsModule`. Fields that are set will be updated. +""" +input LimitsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + defaultTableId: UUID + defaultTableName: String + limitIncrementFunction: String + limitDecrementFunction: String + limitIncrementTrigger: String + limitDecrementTrigger: String + limitUpdateTrigger: String + limitCheckFunction: String + prefix: String + membershipType: Int + entityTableId: UUID + actorTableId: UUID +} + +"""The output of our update `ProfilesModule` mutation.""" +type UpdateProfilesModulePayload { + """ + 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 updated 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 `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 `updateProfilesModule` mutation.""" +input UpdateProfilesModuleInput { + """ + 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 `ProfilesModule` being updated. + """ + profilesModulePatch: ProfilesModulePatch! +} + +""" +Represents an update to a `ProfilesModule`. Fields that are set will be updated. +""" +input ProfilesModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + profilePermissionsTableId: UUID + profilePermissionsTableName: String + profileGrantsTableId: UUID + profileGrantsTableName: String + profileDefinitionGrantsTableId: UUID + profileDefinitionGrantsTableName: String + membershipType: Int + entityTableId: UUID + actorTableId: UUID + permissionsTableId: UUID + membershipsTableId: UUID + 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 `Trigger` mutation.""" +type UpdateTriggerPayload { + """ + 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 `Trigger` that was updated by this mutation.""" + trigger: Trigger + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Trigger`. May be used by Relay 1.""" + triggerEdge( + """The method to use when ordering `Trigger`.""" + orderBy: [TriggerOrderBy!]! = [PRIMARY_KEY_ASC] + ): TriggerEdge +} + +"""All input for the `updateTrigger` mutation.""" +input UpdateTriggerInput { + """ + 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 `Trigger` being updated. + """ + triggerPatch: TriggerPatch! +} + +""" +Represents an update to a `Trigger`. Fields that are set will be updated. +""" +input TriggerPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + event: String + functionName: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `UniqueConstraint` mutation.""" +type UpdateUniqueConstraintPayload { + """ + 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 `UniqueConstraint` that was updated by this mutation.""" + uniqueConstraint: UniqueConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UniqueConstraint`. May be used by Relay 1.""" + uniqueConstraintEdge( + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): UniqueConstraintEdge +} + +"""All input for the `updateUniqueConstraint` mutation.""" +input UpdateUniqueConstraintInput { + """ + 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 `UniqueConstraint` being updated. + """ + uniqueConstraintPatch: UniqueConstraintPatch! +} + +""" +Represents an update to a `UniqueConstraint`. Fields that are set will be updated. +""" +input UniqueConstraintPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID] + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `PrimaryKeyConstraint` mutation.""" +type UpdatePrimaryKeyConstraintPayload { + """ + 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 `PrimaryKeyConstraint` that was updated by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" + primaryKeyConstraintEdge( + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintEdge +} + +"""All input for the `updatePrimaryKeyConstraint` mutation.""" +input UpdatePrimaryKeyConstraintInput { + """ + 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 `PrimaryKeyConstraint` being updated. + """ + primaryKeyConstraintPatch: PrimaryKeyConstraintPatch! +} + +""" +Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. +""" +input PrimaryKeyConstraintPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + type: String + fieldIds: [UUID] + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `CheckConstraint` mutation.""" +type UpdateCheckConstraintPayload { + """ + 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 `CheckConstraint` that was updated by this mutation.""" + checkConstraint: CheckConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CheckConstraint`. May be used by Relay 1.""" + checkConstraintEdge( + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): CheckConstraintEdge +} + +"""All input for the `updateCheckConstraint` mutation.""" +input UpdateCheckConstraintInput { + """ + 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 `CheckConstraint` being updated. + """ + checkConstraintPatch: CheckConstraintPatch! +} + +""" +Represents an update to a `CheckConstraint`. Fields that are set will be updated. +""" +input CheckConstraintPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + type: String + fieldIds: [UUID] + expr: JSON + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `Policy` mutation.""" +type UpdatePolicyPayload { + """ + 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 `Policy` that was updated by this mutation.""" + policy: Policy + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Policy`. May be used by Relay 1.""" + policyEdge( + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!]! = [PRIMARY_KEY_ASC] + ): PolicyEdge +} + +"""All input for the `updatePolicy` mutation.""" +input UpdatePolicyInput { + """ + 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 `Policy` being updated. + """ + policyPatch: PolicyPatch! +} + +""" +Represents an update to a `Policy`. Fields that are set will be updated. +""" +input PolicyPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + granteeName: String + privilege: String + permissive: Boolean + disabled: Boolean + policyType: String + data: JSON + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `AppMembership` mutation.""" +type UpdateAppMembershipPayload { + """ + 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 `AppMembership` that was updated by this mutation.""" + appMembership: AppMembership + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppMembership`. May be used by Relay 1.""" + appMembershipEdge( + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipEdge +} + +"""All input for the `updateAppMembership` mutation.""" +input UpdateAppMembershipInput { + """ + 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 `AppMembership` being updated. + """ + appMembershipPatch: AppMembershipPatch! +} + +""" +Represents an update to a `AppMembership`. Fields that are set will be updated. +""" +input AppMembershipPatch { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether this membership has been approved by an admin""" + isApproved: Boolean + + """Whether this member has been banned from the entity""" + isBanned: Boolean + + """Whether this membership is temporarily disabled""" + isDisabled: Boolean + + """Whether this member has been verified (e.g. email confirmation)""" + isVerified: Boolean + + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean + + """Whether the actor is the owner of this entity""" + isOwner: Boolean + + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean + + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString + + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString + + """References the user who holds this membership""" + actorId: UUID + profileId: UUID +} + +"""The output of our update `OrgMembership` mutation.""" +type UpdateOrgMembershipPayload { + """ + 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 `OrgMembership` that was updated by this mutation.""" + orgMembership: OrgMembership + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMembership`. May be used by Relay 1.""" + orgMembershipEdge( + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipEdge +} + +"""All input for the `updateOrgMembership` mutation.""" +input UpdateOrgMembershipInput { + """ + 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 `OrgMembership` being updated. + """ + orgMembershipPatch: OrgMembershipPatch! +} + +""" +Represents an update to a `OrgMembership`. Fields that are set will be updated. +""" +input OrgMembershipPatch { + id: UUID + createdAt: Datetime + updatedAt: Datetime + createdBy: UUID + updatedBy: UUID + + """Whether this membership has been approved by an admin""" + isApproved: Boolean + + """Whether this member has been banned from the entity""" + isBanned: Boolean + + """Whether this membership is temporarily disabled""" + isDisabled: Boolean + + """ + Computed field indicating the membership is approved, verified, not banned, and not disabled + """ + isActive: Boolean + + """Whether the actor is the owner of this entity""" + isOwner: Boolean + + """Whether the actor has admin privileges on this entity""" + isAdmin: Boolean + + """ + Aggregated permission bitmask combining profile-based and directly granted permissions + """ + permissions: BitString + + """ + Bitmask of permissions directly granted to this member (not from profiles) + """ + granted: BitString + + """References the user who holds this membership""" + actorId: UUID + + """References the entity (org or group) this membership belongs to""" + entityId: UUID + profileId: UUID +} + +"""The output of our update `Schema` mutation.""" +type UpdateSchemaPayload { + """ + 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 `Schema` that was updated by this mutation.""" + schema: Schema + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Schema`. May be used by Relay 1.""" + schemaEdge( + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaEdge +} + +"""All input for the `updateSchema` mutation.""" +input UpdateSchemaInput { + """ + 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 `Schema` being updated. + """ + schemaPatch: SchemaPatch! +} + +""" +Represents an update to a `Schema`. Fields that are set will be updated. +""" +input SchemaPatch { + id: UUID + databaseId: UUID + name: String + schemaName: String + label: String + description: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + isPublic: Boolean + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `App` mutation.""" +type UpdateAppPayload { + """ + 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 `App` that was updated by this mutation.""" + app: App + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `App`. May be used by Relay 1.""" + appEdge( + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppEdge +} + +"""All input for the `updateApp` mutation.""" +input UpdateAppInput { + """ + 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 app""" + id: UUID! + + """ + An object where the defined keys will be set on the `App` being updated. + """ + appPatch: AppPatch! +} + +"""Represents an update to a `App`. Fields that are set will be updated.""" +input AppPatch { + """Unique identifier for this app""" + id: UUID + + """Reference to the metaschema database this app belongs to""" + databaseId: UUID + + """Site this app is associated with (one app per site)""" + siteId: UUID + + """Display name of the app""" + name: String + + """App icon or promotional image""" + appImage: ConstructiveInternalTypeImage + + """URL to the Apple App Store listing""" + appStoreLink: ConstructiveInternalTypeUrl + + """Apple App Store application identifier""" + appStoreId: String + + """ + Apple App ID prefix (Team ID) for universal links and associated domains + """ + appIdPrefix: String + + """URL to the Google Play Store listing""" + playStoreLink: ConstructiveInternalTypeUrl + + """Upload for App icon or promotional image""" + appImageUpload: Upload +} + +"""The output of our update `Site` mutation.""" +type UpdateSitePayload { + """ + 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 `Site` that was updated by this mutation.""" + site: Site + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Site`. May be used by Relay 1.""" + siteEdge( + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteEdge +} + +"""All input for the `updateSite` mutation.""" +input UpdateSiteInput { + """ + 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 site""" + id: UUID! + + """ + An object where the defined keys will be set on the `Site` being updated. + """ + sitePatch: SitePatch! +} + +"""Represents an update to a `Site`. Fields that are set will be updated.""" +input SitePatch { + """Unique identifier for this site""" + id: UUID + + """Reference to the metaschema database this site belongs to""" + databaseId: UUID + + """Display title for the site (max 120 characters)""" + title: String + + """Short description of the site (max 120 characters)""" + description: String + + """Open Graph image used for social media link previews""" + ogImage: ConstructiveInternalTypeImage + + """Browser favicon attachment""" + favicon: ConstructiveInternalTypeAttachment + + """Apple touch icon for iOS home screen bookmarks""" + appleTouchIcon: ConstructiveInternalTypeImage + + """Primary logo image for the site""" + logo: ConstructiveInternalTypeImage + + """PostgreSQL database name this site connects to""" + dbname: String + + """Upload for Open Graph image used for social media link previews""" + ogImageUpload: Upload + + """Upload for Browser favicon attachment""" + faviconUpload: Upload + + """Upload for Apple touch icon for iOS home screen bookmarks""" + appleTouchIconUpload: Upload + + """Upload for Primary logo image for the site""" + logoUpload: Upload +} + +"""The output of our update `User` mutation.""" +type UpdateUserPayload { + """ + 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 `User` that was updated by this mutation.""" + user: User + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `User`. May be used by Relay 1.""" + userEdge( + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserEdge +} + +"""All input for the `updateUser` mutation.""" +input UpdateUserInput { + """ + 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 `User` being updated. + """ + userPatch: UserPatch! +} + +"""Represents an update to a `User`. Fields that are set will be updated.""" +input UserPatch { + id: UUID + username: String + displayName: String + profilePicture: ConstructiveInternalTypeImage + searchTsv: FullText + type: Int + createdAt: Datetime + updatedAt: Datetime + + """File upload for the `profilePicture` field.""" + profilePictureUpload: Upload +} + +"""The output of our update `HierarchyModule` mutation.""" +type UpdateHierarchyModulePayload { + """ + 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 `HierarchyModule` that was updated by this mutation.""" + hierarchyModule: HierarchyModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `HierarchyModule`. May be used by Relay 1.""" + hierarchyModuleEdge( + """The method to use when ordering `HierarchyModule`.""" + orderBy: [HierarchyModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): HierarchyModuleEdge +} + +"""All input for the `updateHierarchyModule` mutation.""" +input UpdateHierarchyModuleInput { + """ + 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 `HierarchyModule` being updated. + """ + hierarchyModulePatch: HierarchyModulePatch! +} + +""" +Represents an update to a `HierarchyModule`. Fields that are set will be updated. +""" +input HierarchyModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + chartEdgesTableId: UUID + chartEdgesTableName: String + hierarchySprtTableId: UUID + hierarchySprtTableName: String + chartEdgeGrantsTableId: UUID + chartEdgeGrantsTableName: String + entityTableId: UUID + usersTableId: UUID + prefix: String + privateSchemaName: String + sprtTableName: String + rebuildHierarchyFunction: String + getSubordinatesFunction: String + getManagersFunction: String + isManagerOfFunction: String + createdAt: Datetime +} + +"""The output of our update `Invite` mutation.""" +type UpdateInvitePayload { + """ + 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 `Invite` that was updated by this mutation.""" + invite: Invite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge +} + +"""All input for the `updateInvite` mutation.""" +input UpdateInviteInput { + """ + 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 `Invite` being updated. + """ + invitePatch: InvitePatch! +} + +""" +Represents an update to a `Invite`. Fields that are set will be updated. +""" +input InvitePatch { + id: UUID + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int + + """Running count of how many times this invite has been claimed""" + inviteCount: Int + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `Index` mutation.""" +type UpdateIndexPayload { + """ + 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 `Index` that was updated by this mutation.""" + index: Index + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Index`. May be used by Relay 1.""" + indexEdge( + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] + ): IndexEdge +} + +"""All input for the `updateIndex` mutation.""" +input UpdateIndexInput { + """ + 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 `Index` being updated. + """ + indexPatch: IndexPatch! +} + +""" +Represents an update to a `Index`. Fields that are set will be updated. +""" +input IndexPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + fieldIds: [UUID] + includeFieldIds: [UUID] + accessMethod: String + indexParams: JSON + whereClause: JSON + isUnique: Boolean + options: JSON + opClasses: [String] + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `ForeignKeyConstraint` mutation.""" +type UpdateForeignKeyConstraintPayload { + """ + 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 `ForeignKeyConstraint` that was updated by this mutation.""" + foreignKeyConstraint: ForeignKeyConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ForeignKeyConstraint`. May be used by Relay 1.""" + foreignKeyConstraintEdge( + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintEdge +} + +"""All input for the `updateForeignKeyConstraint` mutation.""" +input UpdateForeignKeyConstraintInput { + """ + 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 `ForeignKeyConstraint` being updated. + """ + foreignKeyConstraintPatch: ForeignKeyConstraintPatch! +} + +""" +Represents an update to a `ForeignKeyConstraint`. Fields that are set will be updated. +""" +input ForeignKeyConstraintPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID] + refTableId: UUID + refFieldIds: [UUID] + deleteAction: String + updateAction: String + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `OrgInvite` mutation.""" +type UpdateOrgInvitePayload { + """ + 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 `OrgInvite` that was updated by this mutation.""" + orgInvite: OrgInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgInvite`. May be used by Relay 1.""" + orgInviteEdge( + """The method to use when ordering `OrgInvite`.""" + orderBy: [OrgInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgInviteEdge +} + +"""All input for the `updateOrgInvite` mutation.""" +input UpdateOrgInviteInput { + """ + 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 `OrgInvite` being updated. + """ + orgInvitePatch: OrgInvitePatch! +} + +""" +Represents an update to a `OrgInvite`. Fields that are set will be updated. +""" +input OrgInvitePatch { + id: UUID + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID + + """User ID of the intended recipient, if targeting a specific user""" + receiverId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int + + """Running count of how many times this invite has been claimed""" + inviteCount: Int + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime + entityId: UUID +} + +"""The output of our update `Table` mutation.""" +type UpdateTablePayload { + """ + 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 `Table` that was updated by this mutation.""" + table: Table + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Table`. May be used by Relay 1.""" + tableEdge( + """The method to use when ordering `Table`.""" + orderBy: [TableOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableEdge +} + +"""All input for the `updateTable` mutation.""" +input UpdateTableInput { + """ + 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 `Table` being updated. + """ + tablePatch: TablePatch! +} + +""" +Represents an update to a `Table`. Fields that are set will be updated. +""" +input TablePatch { + id: UUID + databaseId: UUID + schemaId: UUID + name: String + label: String + description: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + useRls: Boolean + timestamps: Boolean + peoplestamps: Boolean + pluralName: String + singularName: String + tags: [String] + inheritsId: UUID + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `LevelsModule` mutation.""" +type UpdateLevelsModulePayload { + """ + 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 `LevelsModule` that was updated by this mutation.""" + levelsModule: LevelsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `LevelsModule`. May be used by Relay 1.""" + levelsModuleEdge( + """The method to use when ordering `LevelsModule`.""" + orderBy: [LevelsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): LevelsModuleEdge +} + +"""All input for the `updateLevelsModule` mutation.""" +input UpdateLevelsModuleInput { + """ + 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 `LevelsModule` being updated. + """ + levelsModulePatch: LevelsModulePatch! +} + +""" +Represents an update to a `LevelsModule`. Fields that are set will be updated. +""" +input LevelsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + stepsTableId: UUID + stepsTableName: String + achievementsTableId: UUID + achievementsTableName: String + levelsTableId: UUID + levelsTableName: String + levelRequirementsTableId: UUID + levelRequirementsTableName: String + completedStep: String + incompletedStep: String + tgAchievement: String + tgAchievementToggle: String + tgAchievementToggleBoolean: String + tgAchievementBoolean: String + upsertAchievement: String + tgUpdateAchievements: String + stepsRequired: String + levelAchieved: String + prefix: String + membershipType: Int + entityTableId: UUID + actorTableId: UUID +} + +"""The output of our update `UserAuthModule` mutation.""" +type UpdateUserAuthModulePayload { + """ + 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 `UserAuthModule` that was updated by this mutation.""" + userAuthModule: UserAuthModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UserAuthModule`. May be used by Relay 1.""" + userAuthModuleEdge( + """The method to use when ordering `UserAuthModule`.""" + orderBy: [UserAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserAuthModuleEdge +} + +"""All input for the `updateUserAuthModule` mutation.""" +input UpdateUserAuthModuleInput { + """ + 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 `UserAuthModule` being updated. + """ + userAuthModulePatch: UserAuthModulePatch! +} + +""" +Represents an update to a `UserAuthModule`. Fields that are set will be updated. +""" +input UserAuthModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + emailsTableId: UUID + usersTableId: UUID + secretsTableId: UUID + encryptedTableId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + auditsTableId: UUID + auditsTableName: String + signInFunction: String + signUpFunction: String + signOutFunction: String + setPasswordFunction: String + resetPasswordFunction: String + forgotPasswordFunction: String + sendVerificationEmailFunction: String + verifyEmailFunction: String + verifyPasswordFunction: String + checkPasswordFunction: String + sendAccountDeletionEmailFunction: String + deleteAccountFunction: String + signInOneTimeTokenFunction: String + oneTimeTokenFunction: String + extendTokenExpires: String +} + +"""The output of our update `RelationProvision` mutation.""" +type UpdateRelationProvisionPayload { + """ + 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 updated 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 `updateRelationProvision` mutation.""" +input UpdateRelationProvisionInput { + """ + 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! + + """ + An object where the defined keys will be set on the `RelationProvision` being updated. + """ + relationProvisionPatch: RelationProvisionPatch! +} + +""" +Represents an update to a `RelationProvision`. Fields that are set will be updated. +""" +input RelationProvisionPatch { + """Unique identifier for this relation provision row.""" + id: UUID + + """ + The database this relation belongs to. Required. Must match the database of both source_table_id and target_table_id. + """ + databaseId: UUID + + """ + The type of relation to create. Uses SuperCase naming matching the node_type_registry: + - RelationBelongsTo: creates a FK field on source_table referencing target_table (e.g., tasks belongs to projects -> tasks.project_id). Field name auto-derived from target table. + - RelationHasMany: creates a FK field on target_table referencing source_table (e.g., projects has many tasks -> tasks.project_id). Field name auto-derived from source table. Inverse of BelongsTo — same FK, different perspective. + - RelationHasOne: creates a FK field + unique constraint on source_table referencing target_table (e.g., user_settings has one user -> user_settings.user_id with UNIQUE). Also supports shared-primary-key patterns (e.g., user_profiles.id = users.id) by setting field_name to the existing PK field. + - RelationManyToMany: creates a junction table with FK fields to both tables (e.g., projects and tags -> project_tags table). + Each relation type uses a different subset of columns on this table. Required. + """ + relationType: String + + """ + The source table in the relation. Required. + - RelationBelongsTo: the table that receives the FK field (e.g., tasks in "tasks belongs to projects"). + - RelationHasMany: the parent table being referenced (e.g., projects in "projects has many tasks"). The FK field is created on the target table. + - RelationHasOne: the table that receives the FK field + unique constraint (e.g., user_settings in "user_settings has one user"). + - RelationManyToMany: one of the two tables being joined (e.g., projects in "projects and tags"). The junction table will have a FK field referencing this table. + """ + sourceTableId: UUID + + """ + The target table in the relation. Required. + - RelationBelongsTo: the table being referenced by the FK (e.g., projects in "tasks belongs to projects"). + - RelationHasMany: the table that receives the FK field (e.g., tasks in "projects has many tasks"). + - RelationHasOne: the table being referenced by the FK (e.g., users in "user_settings has one user"). + - RelationManyToMany: the other table being joined (e.g., tags in "projects and tags"). The junction table will have a FK field referencing this table. + """ + targetTableId: UUID + + """ + FK field name for RelationBelongsTo, RelationHasOne, and RelationHasMany. + - RelationBelongsTo/RelationHasOne: if NULL, auto-derived from the target table name (e.g., target "projects" derives "project_id"). + - RelationHasMany: if NULL, auto-derived from the source table name (e.g., source "projects" derives "project_id"). + For RelationHasOne shared-primary-key patterns, set field_name to the existing PK field (e.g., "id") so the FK reuses it. + Ignored for RelationManyToMany — use source_field_name/target_field_name instead. + """ + fieldName: String + + """ + FK delete action for RelationBelongsTo, RelationHasOne, and RelationHasMany. One of: c (CASCADE), r (RESTRICT), n (SET NULL), d (SET DEFAULT), a (NO ACTION). Required — the trigger raises an error if not provided. The caller must explicitly choose the cascade behavior; there is no default. Ignored for RelationManyToMany (junction FK fields always use CASCADE). + """ + deleteAction: String + + """ + Whether the FK field is NOT NULL. Defaults to true. + - RelationBelongsTo: set to false for optional associations (e.g., tasks.assignee_id that can be NULL). + - RelationHasMany: set to false if the child can exist without a parent. + - RelationHasOne: typically true. + Ignored for RelationManyToMany (junction FK fields are always required). + """ + isRequired: 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. + - When set to a valid table UUID: the trigger skips table creation and only adds FK fields, composite key (if use_composite_key is true), and security to the existing table. + Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableId: UUID + + """ + For RelationManyToMany: name of the junction table to create or look up. If NULL, auto-derived from source and target table names using inflection_db (e.g., "projects" + "tags" derives "project_tags"). Only used when junction_table_id is uuid_nil(). Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableName: String + + """ + For RelationManyToMany: schema for the junction table. If NULL, defaults to the source table's schema. Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionSchemaId: UUID + + """ + For RelationManyToMany: FK field name on the junction table referencing the source table. If NULL, auto-derived from the source table name using inflection_db.get_foreign_key_field_name() (e.g., source table "projects" derives "project_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + sourceFieldName: String + + """ + For RelationManyToMany: FK field name on the junction table referencing the target table. If NULL, auto-derived from the target table name using inflection_db.get_foreign_key_field_name() (e.g., target table "tags" derives "tag_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + targetFieldName: String + + """ + For RelationManyToMany: whether to create a composite primary key from the two FK fields (source + target) on the junction table. Defaults to false. + - When true: the trigger calls metaschema.pk() with ARRAY[source_field_id, target_field_id] to create a composite PK. No separate id column is created. This enforces uniqueness of the pair and is suitable for simple junction tables. + - When false: no primary key is created by the trigger. The caller should provide node_type='DataId' to create a UUID primary key, or handle the PK strategy via a separate secure_table_provision row. + use_composite_key and node_type='DataId' are mutually exclusive — using both would create two conflicting PKs. + Ignored for RelationBelongsTo/RelationHasOne. + """ + useCompositeKey: 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. + NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeType: String + + """ + For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. + Only used when node_type is set. Structure varies by node_type. Examples: + - DataId: {"field_name": "id"} (default field name is 'id') + - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true} + - DataDirectOwner: {"owner_field_name": "owner_id"} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeData: JSON + + """ + For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. + """ + 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. + """ + 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. + Examples: AuthzEntityMembership, AuthzMembership, AuthzAllowAll, AuthzDirectOwner, AuthzOrgHierarchy. + NULL means no policy is created — the junction table will have RLS enabled but no policies (unless added separately via secure_table_provision). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyType: String + + """ + For RelationManyToMany: privileges the policy applies to, e.g. ARRAY['select','insert','delete']. Forwarded to secure_table_provision as-is. NULL means privileges are derived from the grant_privileges verbs by secure_table_provision. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPrivileges: [String] + + """ + For RelationManyToMany: database role the policy targets, e.g. 'authenticated'. Forwarded to secure_table_provision as-is. NULL means secure_table_provision falls back to the first role in grant_roles. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyRole: String + + """ + For RelationManyToMany: whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Forwarded to secure_table_provision as-is. Defaults to true. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPermissive: Boolean + + """ + For RelationManyToMany: custom suffix for the generated policy name. Forwarded to secure_table_provision as-is. When NULL and policy_type is set, secure_table_provision auto-derives a suffix from policy_type (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, used as-is. This ensures multiple policies on the same junction table do not collide. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyName: String + + """ + For RelationManyToMany: opaque policy configuration forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Structure varies by policy_type. Examples: + - AuthzEntityMembership: {"entity_field": "entity_id", "membership_type": 2} + - AuthzDirectOwner: {"owner_field": "owner_id"} + - AuthzMembership: {"membership_type": 2} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyData: JSON + + """ + Output column for RelationBelongsTo/RelationHasOne/RelationHasMany: the UUID of the FK field created (or found). For BelongsTo/HasOne this is on the source table; for HasMany this is on the target table. Populated by the trigger. NULL for RelationManyToMany. Callers should not set this directly. + """ + outFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the junction table created (or found). Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outJunctionTableId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the source table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outSourceFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + 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 { + """ + 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 `DefaultIdsModule` that was deleted by this mutation.""" + defaultIdsModule: DefaultIdsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DefaultIdsModule`. May be used by Relay 1.""" + defaultIdsModuleEdge( + """The method to use when ordering `DefaultIdsModule`.""" + orderBy: [DefaultIdsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): DefaultIdsModuleEdge +} + +"""All input for the `deleteDefaultIdsModule` mutation.""" +input DeleteDefaultIdsModuleInput { + """ + 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 `ViewTable` mutation.""" +type DeleteViewTablePayload { + """ + 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 `ViewTable` that was deleted by this mutation.""" + viewTable: ViewTable + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewTable`. May be used by Relay 1.""" + viewTableEdge( + """The method to use when ordering `ViewTable`.""" + orderBy: [ViewTableOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewTableEdge +} + +"""All input for the `deleteViewTable` mutation.""" +input DeleteViewTableInput { + """ + 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 `ApiSchema` mutation.""" +type DeleteApiSchemaPayload { + """ + 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 `ApiSchema` that was deleted by this mutation.""" + apiSchema: ApiSchema + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ApiSchema`. May be used by Relay 1.""" + apiSchemaEdge( + """The method to use when ordering `ApiSchema`.""" + orderBy: [ApiSchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiSchemaEdge +} + +"""All input for the `deleteApiSchema` mutation.""" +input DeleteApiSchemaInput { + """ + 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 API-schema mapping""" + id: UUID! +} + +"""The output of our delete `OrgMember` mutation.""" +type DeleteOrgMemberPayload { + """ + 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 `OrgMember` that was deleted by this mutation.""" + orgMember: OrgMember + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMember`. May be used by Relay 1.""" + orgMemberEdge( + """The method to use when ordering `OrgMember`.""" + orderBy: [OrgMemberOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMemberEdge +} + +"""All input for the `deleteOrgMember` mutation.""" +input DeleteOrgMemberInput { + """ + 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 `Ref` mutation.""" +type DeleteRefPayload { + """ + 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 `Ref` that was deleted by this mutation.""" + ref: Ref + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Ref`. May be used by Relay 1.""" + refEdge( + """The method to use when ordering `Ref`.""" + orderBy: [RefOrderBy!]! = [PRIMARY_KEY_ASC] + ): RefEdge +} + +"""All input for the `deleteRef` mutation.""" +input DeleteRefInput { + """ + 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 primary unique identifier for the ref.""" + id: UUID! + databaseId: UUID! +} + +"""The output of our delete `EncryptedSecretsModule` mutation.""" +type DeleteEncryptedSecretsModulePayload { + """ + 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 `EncryptedSecretsModule` that was deleted by this mutation.""" + encryptedSecretsModule: EncryptedSecretsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EncryptedSecretsModule`. May be used by Relay 1.""" + encryptedSecretsModuleEdge( + """The method to use when ordering `EncryptedSecretsModule`.""" + orderBy: [EncryptedSecretsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): EncryptedSecretsModuleEdge +} + +"""All input for the `deleteEncryptedSecretsModule` mutation.""" +input DeleteEncryptedSecretsModuleInput { + """ + 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 `MembershipTypesModule` mutation.""" +type DeleteMembershipTypesModulePayload { + """ + 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 `MembershipTypesModule` that was deleted by this mutation.""" + membershipTypesModule: MembershipTypesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipTypesModule`. May be used by Relay 1.""" + membershipTypesModuleEdge( + """The method to use when ordering `MembershipTypesModule`.""" + orderBy: [MembershipTypesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypesModuleEdge +} + +"""All input for the `deleteMembershipTypesModule` mutation.""" +input DeleteMembershipTypesModuleInput { + """ + 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 `SecretsModule` mutation.""" +type DeleteSecretsModulePayload { + """ + 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 `SecretsModule` that was deleted by this mutation.""" + secretsModule: SecretsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SecretsModule`. May be used by Relay 1.""" + secretsModuleEdge( + """The method to use when ordering `SecretsModule`.""" + orderBy: [SecretsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SecretsModuleEdge +} + +"""All input for the `deleteSecretsModule` mutation.""" +input DeleteSecretsModuleInput { + """ + 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 `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 { + """ + 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 `Store` that was deleted by this mutation.""" + store: Store + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Store`. May be used by Relay 1.""" + storeEdge( + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] + ): StoreEdge +} + +"""All input for the `deleteStore` mutation.""" +input DeleteStoreInput { + """ + 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 primary unique identifier for the store.""" + id: UUID! +} + +"""The output of our delete `ViewRule` mutation.""" +type DeleteViewRulePayload { + """ + 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 `ViewRule` that was deleted by this mutation.""" + viewRule: ViewRule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewRule`. May be used by Relay 1.""" + viewRuleEdge( + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewRuleEdge +} + +"""All input for the `deleteViewRule` mutation.""" +input DeleteViewRuleInput { + """ + 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 `AppPermissionDefault` mutation.""" +type DeleteAppPermissionDefaultPayload { + """ + 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 `AppPermissionDefault` that was deleted by this mutation.""" + appPermissionDefault: AppPermissionDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppPermissionDefault`. May be used by Relay 1.""" + appPermissionDefaultEdge( + """The method to use when ordering `AppPermissionDefault`.""" + orderBy: [AppPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppPermissionDefaultEdge +} + +"""All input for the `deleteAppPermissionDefault` mutation.""" +input DeleteAppPermissionDefaultInput { + """ + 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 `ApiModule` mutation.""" +type DeleteApiModulePayload { + """ + 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 `ApiModule` that was deleted by this mutation.""" + apiModule: ApiModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ApiModule`. May be used by Relay 1.""" + apiModuleEdge( + """The method to use when ordering `ApiModule`.""" + orderBy: [ApiModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiModuleEdge +} + +"""All input for the `deleteApiModule` mutation.""" +input DeleteApiModuleInput { + """ + 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 API module record""" + id: UUID! +} + +"""The output of our delete `SiteModule` mutation.""" +type DeleteSiteModulePayload { + """ + 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 `SiteModule` that was deleted by this mutation.""" + siteModule: SiteModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteModule`. May be used by Relay 1.""" + siteModuleEdge( + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteModuleEdge +} + +"""All input for the `deleteSiteModule` mutation.""" +input DeleteSiteModuleInput { + """ + 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 site module record""" + id: UUID! +} + +"""The output of our delete `SchemaGrant` mutation.""" +type DeleteSchemaGrantPayload { + """ + 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 `SchemaGrant` that was deleted by this mutation.""" + schemaGrant: SchemaGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SchemaGrant`. May be used by Relay 1.""" + schemaGrantEdge( + """The method to use when ordering `SchemaGrant`.""" + orderBy: [SchemaGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaGrantEdge +} + +"""All input for the `deleteSchemaGrant` mutation.""" +input DeleteSchemaGrantInput { + """ + 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 `TriggerFunction` mutation.""" +type DeleteTriggerFunctionPayload { + """ + 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 `TriggerFunction` that was deleted by this mutation.""" + triggerFunction: TriggerFunction + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TriggerFunction`. May be used by Relay 1.""" + triggerFunctionEdge( + """The method to use when ordering `TriggerFunction`.""" + orderBy: [TriggerFunctionOrderBy!]! = [PRIMARY_KEY_ASC] + ): TriggerFunctionEdge +} + +"""All input for the `deleteTriggerFunction` mutation.""" +input DeleteTriggerFunctionInput { + """ + 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 `AppAdminGrant` mutation.""" +type DeleteAppAdminGrantPayload { + """ + 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 `AppAdminGrant` that was deleted by this mutation.""" + appAdminGrant: AppAdminGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppAdminGrant`. May be used by Relay 1.""" + appAdminGrantEdge( + """The method to use when ordering `AppAdminGrant`.""" + orderBy: [AppAdminGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppAdminGrantEdge +} + +"""All input for the `deleteAppAdminGrant` mutation.""" +input DeleteAppAdminGrantInput { + """ + 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 `AppOwnerGrant` mutation.""" +type DeleteAppOwnerGrantPayload { + """ + 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 `AppOwnerGrant` that was deleted by this mutation.""" + appOwnerGrant: AppOwnerGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppOwnerGrant`. May be used by Relay 1.""" + appOwnerGrantEdge( + """The method to use when ordering `AppOwnerGrant`.""" + orderBy: [AppOwnerGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppOwnerGrantEdge +} + +"""All input for the `deleteAppOwnerGrant` mutation.""" +input DeleteAppOwnerGrantInput { + """ + 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 `DefaultPrivilege` mutation.""" +type DeleteDefaultPrivilegePayload { + """ + 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 `DefaultPrivilege` that was deleted by this mutation.""" + defaultPrivilege: DefaultPrivilege + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DefaultPrivilege`. May be used by Relay 1.""" + defaultPrivilegeEdge( + """The method to use when ordering `DefaultPrivilege`.""" + orderBy: [DefaultPrivilegeOrderBy!]! = [PRIMARY_KEY_ASC] + ): DefaultPrivilegeEdge +} + +"""All input for the `deleteDefaultPrivilege` mutation.""" +input DeleteDefaultPrivilegeInput { + """ + 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 `ViewGrant` mutation.""" +type DeleteViewGrantPayload { + """ + 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 `ViewGrant` that was deleted by this mutation.""" + viewGrant: ViewGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewGrant`. May be used by Relay 1.""" + viewGrantEdge( + """The method to use when ordering `ViewGrant`.""" + orderBy: [ViewGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewGrantEdge +} + +"""All input for the `deleteViewGrant` mutation.""" +input DeleteViewGrantInput { + """ + 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 `Api` mutation.""" +type DeleteApiPayload { + """ + 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 `Api` that was deleted by this mutation.""" + api: Api + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Api`. May be used by Relay 1.""" + apiEdge( + """The method to use when ordering `Api`.""" + orderBy: [ApiOrderBy!]! = [PRIMARY_KEY_ASC] + ): ApiEdge +} + +"""All input for the `deleteApi` mutation.""" +input DeleteApiInput { + """ + 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 API""" + id: UUID! +} + +"""The output of our delete `ConnectedAccountsModule` mutation.""" +type DeleteConnectedAccountsModulePayload { + """ + 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 `ConnectedAccountsModule` that was deleted by this mutation.""" + connectedAccountsModule: ConnectedAccountsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ConnectedAccountsModule`. May be used by Relay 1.""" + connectedAccountsModuleEdge( + """The method to use when ordering `ConnectedAccountsModule`.""" + orderBy: [ConnectedAccountsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ConnectedAccountsModuleEdge +} + +"""All input for the `deleteConnectedAccountsModule` mutation.""" +input DeleteConnectedAccountsModuleInput { + """ + 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 `EmailsModule` mutation.""" +type DeleteEmailsModulePayload { + """ + 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 `EmailsModule` that was deleted by this mutation.""" + emailsModule: EmailsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EmailsModule`. May be used by Relay 1.""" + emailsModuleEdge( + """The method to use when ordering `EmailsModule`.""" + orderBy: [EmailsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailsModuleEdge +} + +"""All input for the `deleteEmailsModule` mutation.""" +input DeleteEmailsModuleInput { + """ + 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 `PhoneNumbersModule` mutation.""" +type DeletePhoneNumbersModulePayload { + """ + 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 `PhoneNumbersModule` that was deleted by this mutation.""" + phoneNumbersModule: PhoneNumbersModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumbersModule`. May be used by Relay 1.""" + phoneNumbersModuleEdge( + """The method to use when ordering `PhoneNumbersModule`.""" + orderBy: [PhoneNumbersModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumbersModuleEdge +} + +"""All input for the `deletePhoneNumbersModule` mutation.""" +input DeletePhoneNumbersModuleInput { + """ + 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 `UsersModule` mutation.""" +type DeleteUsersModulePayload { + """ + 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 `UsersModule` that was deleted by this mutation.""" + usersModule: UsersModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UsersModule`. May be used by Relay 1.""" + usersModuleEdge( + """The method to use when ordering `UsersModule`.""" + orderBy: [UsersModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): UsersModuleEdge +} + +"""All input for the `deleteUsersModule` mutation.""" +input DeleteUsersModuleInput { + """ + 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 `OrgAdminGrant` mutation.""" +type DeleteOrgAdminGrantPayload { + """ + 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 `OrgAdminGrant` that was deleted by this mutation.""" + orgAdminGrant: OrgAdminGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgAdminGrant`. May be used by Relay 1.""" + orgAdminGrantEdge( + """The method to use when ordering `OrgAdminGrant`.""" + orderBy: [OrgAdminGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgAdminGrantEdge +} + +"""All input for the `deleteOrgAdminGrant` mutation.""" +input DeleteOrgAdminGrantInput { + """ + 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 `OrgOwnerGrant` mutation.""" +type DeleteOrgOwnerGrantPayload { + """ + 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 `OrgOwnerGrant` that was deleted by this mutation.""" + orgOwnerGrant: OrgOwnerGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgOwnerGrant`. May be used by Relay 1.""" + orgOwnerGrantEdge( + """The method to use when ordering `OrgOwnerGrant`.""" + orderBy: [OrgOwnerGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgOwnerGrantEdge +} + +"""All input for the `deleteOrgOwnerGrant` mutation.""" +input DeleteOrgOwnerGrantInput { + """ + 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 `CryptoAddress` mutation.""" +type DeleteCryptoAddressPayload { + """ + 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 `CryptoAddress` that was deleted by this mutation.""" + cryptoAddress: CryptoAddress + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAddress`. May be used by Relay 1.""" + cryptoAddressEdge( + """The method to use when ordering `CryptoAddress`.""" + orderBy: [CryptoAddressOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAddressEdge +} + +"""All input for the `deleteCryptoAddress` mutation.""" +input DeleteCryptoAddressInput { + """ + 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 `RoleType` mutation.""" +type DeleteRoleTypePayload { + """ + 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 `RoleType` that was deleted by this mutation.""" + roleType: RoleType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge +} + +"""All input for the `deleteRoleType` mutation.""" +input DeleteRoleTypeInput { + """ + 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: Int! +} + +"""The output of our delete `OrgPermissionDefault` mutation.""" +type DeleteOrgPermissionDefaultPayload { + """ + 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 `OrgPermissionDefault` that was deleted by this mutation.""" + orgPermissionDefault: OrgPermissionDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" + orgPermissionDefaultEdge( + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultEdge +} + +"""All input for the `deleteOrgPermissionDefault` mutation.""" +input DeleteOrgPermissionDefaultInput { + """ + 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 `Database` mutation.""" +type DeleteDatabasePayload { + """ + 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 `Database` that was deleted by this mutation.""" + database: Database + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Database`. May be used by Relay 1.""" + databaseEdge( + """The method to use when ordering `Database`.""" + orderBy: [DatabaseOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseEdge +} + +"""All input for the `deleteDatabase` mutation.""" +input DeleteDatabaseInput { + """ + 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 `CryptoAddressesModule` mutation.""" +type DeleteCryptoAddressesModulePayload { + """ + 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 `CryptoAddressesModule` that was deleted by this mutation.""" + cryptoAddressesModule: CryptoAddressesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAddressesModule`. May be used by Relay 1.""" + cryptoAddressesModuleEdge( + """The method to use when ordering `CryptoAddressesModule`.""" + orderBy: [CryptoAddressesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAddressesModuleEdge +} + +"""All input for the `deleteCryptoAddressesModule` mutation.""" +input DeleteCryptoAddressesModuleInput { + """ + 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 { + """ + 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 `PhoneNumber` that was deleted by this mutation.""" + phoneNumber: PhoneNumber + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumber`. May be used by Relay 1.""" + phoneNumberEdge( + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumberEdge +} + +"""All input for the `deletePhoneNumber` mutation.""" +input DeletePhoneNumberInput { + """ + 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 `AppLimitDefault` mutation.""" +type DeleteAppLimitDefaultPayload { + """ + 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 `AppLimitDefault` that was deleted by this mutation.""" + appLimitDefault: AppLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimitDefault`. May be used by Relay 1.""" + appLimitDefaultEdge( + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitDefaultEdge +} + +"""All input for the `deleteAppLimitDefault` mutation.""" +input DeleteAppLimitDefaultInput { + """ + 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 `OrgLimitDefault` mutation.""" +type DeleteOrgLimitDefaultPayload { + """ + 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 `OrgLimitDefault` that was deleted by this mutation.""" + orgLimitDefault: OrgLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" + orgLimitDefaultEdge( + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultEdge +} + +"""All input for the `deleteOrgLimitDefault` mutation.""" +input DeleteOrgLimitDefaultInput { + """ + 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 `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 `FieldModule` mutation.""" +type DeleteFieldModulePayload { + """ + 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 `FieldModule` that was deleted by this mutation.""" + fieldModule: FieldModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `FieldModule`. May be used by Relay 1.""" + fieldModuleEdge( + """The method to use when ordering `FieldModule`.""" + orderBy: [FieldModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): FieldModuleEdge +} + +"""All input for the `deleteFieldModule` mutation.""" +input DeleteFieldModuleInput { + """ + 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 `TableTemplateModule` mutation.""" +type DeleteTableTemplateModulePayload { + """ + 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 `TableTemplateModule` that was deleted by this mutation.""" + tableTemplateModule: TableTemplateModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TableTemplateModule`. May be used by Relay 1.""" + tableTemplateModuleEdge( + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableTemplateModuleEdge +} + +"""All input for the `deleteTableTemplateModule` mutation.""" +input DeleteTableTemplateModuleInput { + """ + 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 `OrgChartEdgeGrant` mutation.""" +type DeleteOrgChartEdgeGrantPayload { + """ + 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 `OrgChartEdgeGrant` that was deleted by this mutation.""" + orgChartEdgeGrant: OrgChartEdgeGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgChartEdgeGrant`. May be used by Relay 1.""" + orgChartEdgeGrantEdge( + """The method to use when ordering `OrgChartEdgeGrant`.""" + orderBy: [OrgChartEdgeGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeGrantEdge +} + +"""All input for the `deleteOrgChartEdgeGrant` mutation.""" +input DeleteOrgChartEdgeGrantInput { + """ + 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 `NodeTypeRegistry` mutation.""" +type DeleteNodeTypeRegistryPayload { + """ + 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 `NodeTypeRegistry` that was deleted by this mutation.""" + nodeTypeRegistry: NodeTypeRegistry + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `NodeTypeRegistry`. May be used by Relay 1.""" + nodeTypeRegistryEdge( + """The method to use when ordering `NodeTypeRegistry`.""" + orderBy: [NodeTypeRegistryOrderBy!]! = [PRIMARY_KEY_ASC] + ): NodeTypeRegistryEdge +} + +"""All input for the `deleteNodeTypeRegistry` mutation.""" +input DeleteNodeTypeRegistryInput { + """ + 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 + + """ + PascalCase domain-prefixed node type name (e.g., AuthzDirectOwner, DataTimestamps, FieldImmutable) + """ + name: String! +} + +"""The output of our delete `MembershipType` mutation.""" +type DeleteMembershipTypePayload { + """ + 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 `MembershipType` that was deleted by this mutation.""" + membershipType: MembershipType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge +} + +"""All input for the `deleteMembershipType` mutation.""" +input DeleteMembershipTypeInput { + """ + 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 + + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! +} + +"""The output of our delete `TableGrant` mutation.""" +type DeleteTableGrantPayload { + """ + 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 `TableGrant` that was deleted by this mutation.""" + tableGrant: TableGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `TableGrant`. May be used by Relay 1.""" + tableGrantEdge( + """The method to use when ordering `TableGrant`.""" + orderBy: [TableGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableGrantEdge +} + +"""All input for the `deleteTableGrant` mutation.""" +input DeleteTableGrantInput { + """ + 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 `AppPermission` mutation.""" +type DeleteAppPermissionPayload { + """ + 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 `AppPermission` that was deleted by this mutation.""" + appPermission: AppPermission + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppPermission`. May be used by Relay 1.""" + appPermissionEdge( + """The method to use when ordering `AppPermission`.""" + orderBy: [AppPermissionOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppPermissionEdge +} + +"""All input for the `deleteAppPermission` mutation.""" +input DeleteAppPermissionInput { + """ + 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 `OrgPermission` mutation.""" +type DeleteOrgPermissionPayload { + """ + 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 `OrgPermission` that was deleted by this mutation.""" + orgPermission: OrgPermission + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgPermission`. May be used by Relay 1.""" + orgPermissionEdge( + """The method to use when ordering `OrgPermission`.""" + orderBy: [OrgPermissionOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionEdge +} + +"""All input for the `deleteOrgPermission` mutation.""" +input DeleteOrgPermissionInput { + """ + 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 `AppLimit` mutation.""" +type DeleteAppLimitPayload { + """ + 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 `AppLimit` that was deleted by this mutation.""" + appLimit: AppLimit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimit`. May be used by Relay 1.""" + appLimitEdge( + """The method to use when ordering `AppLimit`.""" + orderBy: [AppLimitOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitEdge +} + +"""All input for the `deleteAppLimit` mutation.""" +input DeleteAppLimitInput { + """ + 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 `AppAchievement` mutation.""" +type DeleteAppAchievementPayload { + """ + 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 `AppAchievement` that was deleted by this mutation.""" + appAchievement: AppAchievement + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppAchievement`. May be used by Relay 1.""" + appAchievementEdge( + """The method to use when ordering `AppAchievement`.""" + orderBy: [AppAchievementOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppAchievementEdge +} + +"""All input for the `deleteAppAchievement` mutation.""" +input DeleteAppAchievementInput { + """ + 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 `AppStep` mutation.""" +type DeleteAppStepPayload { + """ + 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 `AppStep` that was deleted by this mutation.""" + appStep: AppStep + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppStep`. May be used by Relay 1.""" + appStepEdge( + """The method to use when ordering `AppStep`.""" + orderBy: [AppStepOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppStepEdge +} + +"""All input for the `deleteAppStep` mutation.""" +input DeleteAppStepInput { + """ + 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 `ClaimedInvite` mutation.""" +type DeleteClaimedInvitePayload { + """ + 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 `ClaimedInvite` that was deleted by this mutation.""" + claimedInvite: ClaimedInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ClaimedInvite`. May be used by Relay 1.""" + claimedInviteEdge( + """The method to use when ordering `ClaimedInvite`.""" + orderBy: [ClaimedInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): ClaimedInviteEdge +} + +"""All input for the `deleteClaimedInvite` mutation.""" +input DeleteClaimedInviteInput { + """ + 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 `AppMembershipDefault` mutation.""" +type DeleteAppMembershipDefaultPayload { + """ + 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 `AppMembershipDefault` that was deleted by this mutation.""" + appMembershipDefault: AppMembershipDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppMembershipDefault`. May be used by Relay 1.""" + appMembershipDefaultEdge( + """The method to use when ordering `AppMembershipDefault`.""" + orderBy: [AppMembershipDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipDefaultEdge +} + +"""All input for the `deleteAppMembershipDefault` mutation.""" +input DeleteAppMembershipDefaultInput { + """ + 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 `SiteMetadatum` mutation.""" +type DeleteSiteMetadatumPayload { + """ + 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 `SiteMetadatum` that was deleted by this mutation.""" + siteMetadatum: SiteMetadatum + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteMetadatum`. May be used by Relay 1.""" + siteMetadatumEdge( + """The method to use when ordering `SiteMetadatum`.""" + orderBy: [SiteMetadatumOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteMetadatumEdge +} + +"""All input for the `deleteSiteMetadatum` mutation.""" +input DeleteSiteMetadatumInput { + """ + 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 metadata record""" + id: UUID! +} + +"""The output of our delete `RlsModule` mutation.""" +type DeleteRlsModulePayload { + """ + 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 `RlsModule` that was deleted by this mutation.""" + rlsModule: RlsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RlsModule`. May be used by Relay 1.""" + rlsModuleEdge( + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): RlsModuleEdge +} + +"""All input for the `deleteRlsModule` mutation.""" +input DeleteRlsModuleInput { + """ + 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 `SessionsModule` mutation.""" +type DeleteSessionsModulePayload { + """ + 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 `SessionsModule` that was deleted by this mutation.""" + sessionsModule: SessionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SessionsModule`. May be used by Relay 1.""" + sessionsModuleEdge( + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SessionsModuleEdge +} + +"""All input for the `deleteSessionsModule` mutation.""" +input DeleteSessionsModuleInput { + """ + 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 `Object` mutation.""" +type DeleteObjectPayload { + """ + 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 `Object` that was deleted by this mutation.""" + object: Object + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Object`. May be used by Relay 1.""" + objectEdge( + """The method to use when ordering `Object`.""" + orderBy: [ObjectOrderBy!]! = [PRIMARY_KEY_ASC] + ): ObjectEdge +} + +"""All input for the `deleteObject` mutation.""" +input DeleteObjectInput { + """ + 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! + databaseId: UUID! +} + +"""The output of our delete `FullTextSearch` mutation.""" +type DeleteFullTextSearchPayload { + """ + 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 `FullTextSearch` that was deleted by this mutation.""" + fullTextSearch: FullTextSearch + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `FullTextSearch`. May be used by Relay 1.""" + fullTextSearchEdge( + """The method to use when ordering `FullTextSearch`.""" + orderBy: [FullTextSearchOrderBy!]! = [PRIMARY_KEY_ASC] + ): FullTextSearchEdge +} + +"""All input for the `deleteFullTextSearch` mutation.""" +input DeleteFullTextSearchInput { + """ + 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 `Commit` mutation.""" +type DeleteCommitPayload { + """ + 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 `Commit` that was deleted by this mutation.""" + commit: Commit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Commit`. May be used by Relay 1.""" + commitEdge( + """The method to use when ordering `Commit`.""" + orderBy: [CommitOrderBy!]! = [PRIMARY_KEY_ASC] + ): CommitEdge +} + +"""All input for the `deleteCommit` mutation.""" +input DeleteCommitInput { + """ + 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 primary unique identifier for the commit.""" + id: UUID! + + """The repository identifier""" + databaseId: UUID! +} + +"""The output of our delete `OrgLimit` mutation.""" +type DeleteOrgLimitPayload { + """ + 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 `OrgLimit` that was deleted by this mutation.""" + orgLimit: OrgLimit + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimit`. May be used by Relay 1.""" + orgLimitEdge( + """The method to use when ordering `OrgLimit`.""" + orderBy: [OrgLimitOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitEdge +} + +"""All input for the `deleteOrgLimit` mutation.""" +input DeleteOrgLimitInput { + """ + 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 `AppGrant` mutation.""" +type DeleteAppGrantPayload { + """ + 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 `AppGrant` that was deleted by this mutation.""" + appGrant: AppGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppGrant`. May be used by Relay 1.""" + appGrantEdge( + """The method to use when ordering `AppGrant`.""" + orderBy: [AppGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppGrantEdge +} + +"""All input for the `deleteAppGrant` mutation.""" +input DeleteAppGrantInput { + """ + 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 `OrgClaimedInvite` mutation.""" +type DeleteOrgClaimedInvitePayload { + """ + 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 `OrgClaimedInvite` that was deleted by this mutation.""" + orgClaimedInvite: OrgClaimedInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgClaimedInvite`. May be used by Relay 1.""" + orgClaimedInviteEdge( + """The method to use when ordering `OrgClaimedInvite`.""" + orderBy: [OrgClaimedInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgClaimedInviteEdge +} + +"""All input for the `deleteOrgClaimedInvite` mutation.""" +input DeleteOrgClaimedInviteInput { + """ + 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 `OrgChartEdge` mutation.""" +type DeleteOrgChartEdgePayload { + """ + 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 `OrgChartEdge` that was deleted by this mutation.""" + orgChartEdge: OrgChartEdge + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgChartEdge`. May be used by Relay 1.""" + orgChartEdgeEdge( + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgChartEdgeEdge +} + +"""All input for the `deleteOrgChartEdge` mutation.""" +input DeleteOrgChartEdgeInput { + """ + 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 `Domain` mutation.""" +type DeleteDomainPayload { + """ + 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 `Domain` that was deleted by this mutation.""" + domain: Domain + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Domain`. May be used by Relay 1.""" + domainEdge( + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!]! = [PRIMARY_KEY_ASC] + ): DomainEdge +} + +"""All input for the `deleteDomain` mutation.""" +input DeleteDomainInput { + """ + 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 domain record""" + id: UUID! +} + +"""The output of our delete `OrgGrant` mutation.""" +type DeleteOrgGrantPayload { + """ + 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 `OrgGrant` that was deleted by this mutation.""" + orgGrant: OrgGrant + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgGrant`. May be used by Relay 1.""" + orgGrantEdge( + """The method to use when ordering `OrgGrant`.""" + orderBy: [OrgGrantOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgGrantEdge +} + +"""All input for the `deleteOrgGrant` mutation.""" +input DeleteOrgGrantInput { + """ + 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 `OrgMembershipDefault` mutation.""" +type DeleteOrgMembershipDefaultPayload { + """ + 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 `OrgMembershipDefault` that was deleted by this mutation.""" + orgMembershipDefault: OrgMembershipDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMembershipDefault`. May be used by Relay 1.""" + orgMembershipDefaultEdge( + """The method to use when ordering `OrgMembershipDefault`.""" + orderBy: [OrgMembershipDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipDefaultEdge +} + +"""All input for the `deleteOrgMembershipDefault` mutation.""" +input DeleteOrgMembershipDefaultInput { + """ + 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 `AppLevelRequirement` mutation.""" +type DeleteAppLevelRequirementPayload { + """ + 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 `AppLevelRequirement` that was deleted by this mutation.""" + appLevelRequirement: AppLevelRequirement + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLevelRequirement`. May be used by Relay 1.""" + appLevelRequirementEdge( + """The method to use when ordering `AppLevelRequirement`.""" + orderBy: [AppLevelRequirementOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelRequirementEdge +} + +"""All input for the `deleteAppLevelRequirement` mutation.""" +input DeleteAppLevelRequirementInput { + """ + 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 `AuditLog` mutation.""" +type DeleteAuditLogPayload { + """ + 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 `AuditLog` that was deleted by this mutation.""" + auditLog: AuditLog + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AuditLog`. May be used by Relay 1.""" + auditLogEdge( + """The method to use when ordering `AuditLog`.""" + orderBy: [AuditLogOrderBy!]! = [PRIMARY_KEY_ASC] + ): AuditLogEdge +} + +"""All input for the `deleteAuditLog` mutation.""" +input DeleteAuditLogInput { + """ + 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 `AppLevel` mutation.""" +type DeleteAppLevelPayload { + """ + 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 `AppLevel` that was deleted by this mutation.""" + appLevel: AppLevel + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLevel`. May be used by Relay 1.""" + appLevelEdge( + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLevelEdge +} + +"""All input for the `deleteAppLevel` mutation.""" +input DeleteAppLevelInput { + """ + 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 { + """ + 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 `CryptoAuthModule` that was deleted by this mutation.""" + cryptoAuthModule: CryptoAuthModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CryptoAuthModule`. May be used by Relay 1.""" + cryptoAuthModuleEdge( + """The method to use when ordering `CryptoAuthModule`.""" + orderBy: [CryptoAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAuthModuleEdge +} + +"""All input for the `deleteCryptoAuthModule` mutation.""" +input DeleteCryptoAuthModuleInput { + """ + 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 `DatabaseProvisionModule` mutation.""" +type DeleteDatabaseProvisionModulePayload { + """ + 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 `DatabaseProvisionModule` that was deleted by this mutation.""" + databaseProvisionModule: DatabaseProvisionModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DatabaseProvisionModule`. May be used by Relay 1.""" + databaseProvisionModuleEdge( + """The method to use when ordering `DatabaseProvisionModule`.""" + orderBy: [DatabaseProvisionModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseProvisionModuleEdge +} + +"""All input for the `deleteDatabaseProvisionModule` mutation.""" +input DeleteDatabaseProvisionModuleInput { + """ + 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 `InvitesModule` mutation.""" +type DeleteInvitesModulePayload { + """ + 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 `InvitesModule` that was deleted by this mutation.""" + invitesModule: InvitesModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `InvitesModule`. May be used by Relay 1.""" + invitesModuleEdge( + """The method to use when ordering `InvitesModule`.""" + orderBy: [InvitesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): InvitesModuleEdge +} + +"""All input for the `deleteInvitesModule` mutation.""" +input DeleteInvitesModuleInput { + """ + 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 `DenormalizedTableField` mutation.""" +type DeleteDenormalizedTableFieldPayload { + """ + 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 `DenormalizedTableField` that was deleted by this mutation.""" + denormalizedTableField: DenormalizedTableField + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" + denormalizedTableFieldEdge( + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldEdge +} + +"""All input for the `deleteDenormalizedTableField` mutation.""" +input DeleteDenormalizedTableFieldInput { + """ + 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 `Email` mutation.""" +type DeleteEmailPayload { + """ + 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 `Email` that was deleted by this mutation.""" + email: Email + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Email`. May be used by Relay 1.""" + emailEdge( + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailEdge +} + +"""All input for the `deleteEmail` mutation.""" +input DeleteEmailInput { + """ + 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 { + """ + 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 `View` that was deleted by this mutation.""" + view: View + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `View`. May be used by Relay 1.""" + viewEdge( + """The method to use when ordering `View`.""" + orderBy: [ViewOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewEdge +} + +"""All input for the `deleteView` mutation.""" +input DeleteViewInput { + """ + 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 `PermissionsModule` mutation.""" +type DeletePermissionsModulePayload { + """ + 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 `PermissionsModule` that was deleted by this mutation.""" + permissionsModule: PermissionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PermissionsModule`. May be used by Relay 1.""" + permissionsModuleEdge( + """The method to use when ordering `PermissionsModule`.""" + orderBy: [PermissionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): PermissionsModuleEdge +} + +"""All input for the `deletePermissionsModule` mutation.""" +input DeletePermissionsModuleInput { + """ + 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 `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 `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 `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 `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. + """ + clientMutationId: String + id: UUID! +} + +"""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 `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 `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 `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 + 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 `Trigger` mutation.""" +type DeleteTriggerPayload { + """ + 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 `Trigger` that was deleted by this mutation.""" + trigger: Trigger + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Trigger`. May be used by Relay 1.""" + triggerEdge( + """The method to use when ordering `Trigger`.""" + orderBy: [TriggerOrderBy!]! = [PRIMARY_KEY_ASC] + ): TriggerEdge +} + +"""All input for the `deleteTrigger` mutation.""" +input DeleteTriggerInput { + """ + 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 `UniqueConstraint` mutation.""" +type DeleteUniqueConstraintPayload { + """ + 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 `UniqueConstraint` that was deleted by this mutation.""" + uniqueConstraint: UniqueConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UniqueConstraint`. May be used by Relay 1.""" + uniqueConstraintEdge( + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): UniqueConstraintEdge +} + +"""All input for the `deleteUniqueConstraint` mutation.""" +input DeleteUniqueConstraintInput { + """ + 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 `PrimaryKeyConstraint` mutation.""" +type DeletePrimaryKeyConstraintPayload { + """ + 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 `PrimaryKeyConstraint` that was deleted by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" + primaryKeyConstraintEdge( + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintEdge +} + +"""All input for the `deletePrimaryKeyConstraint` mutation.""" +input DeletePrimaryKeyConstraintInput { + """ + 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 `CheckConstraint` mutation.""" +type DeleteCheckConstraintPayload { + """ + 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 `CheckConstraint` that was deleted by this mutation.""" + checkConstraint: CheckConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `CheckConstraint`. May be used by Relay 1.""" + checkConstraintEdge( + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): CheckConstraintEdge +} + +"""All input for the `deleteCheckConstraint` mutation.""" +input DeleteCheckConstraintInput { + """ + 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 `Policy` mutation.""" +type DeletePolicyPayload { + """ + 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 `Policy` that was deleted by this mutation.""" + policy: Policy + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Policy`. May be used by Relay 1.""" + policyEdge( + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!]! = [PRIMARY_KEY_ASC] + ): PolicyEdge +} + +"""All input for the `deletePolicy` mutation.""" +input DeletePolicyInput { + """ + 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 `AppMembership` mutation.""" +type DeleteAppMembershipPayload { + """ + 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 `AppMembership` that was deleted by this mutation.""" + appMembership: AppMembership + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppMembership`. May be used by Relay 1.""" + appMembershipEdge( + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipEdge +} + +"""All input for the `deleteAppMembership` mutation.""" +input DeleteAppMembershipInput { + """ + 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 `OrgMembership` mutation.""" +type DeleteOrgMembershipPayload { + """ + 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 `OrgMembership` that was deleted by this mutation.""" + orgMembership: OrgMembership + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgMembership`. May be used by Relay 1.""" + orgMembershipEdge( + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipEdge +} + +"""All input for the `deleteOrgMembership` mutation.""" +input DeleteOrgMembershipInput { + """ + 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 `Schema` mutation.""" +type DeleteSchemaPayload { + """ + 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 `Schema` that was deleted by this mutation.""" + schema: Schema + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Schema`. May be used by Relay 1.""" + schemaEdge( + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaEdge +} + +"""All input for the `deleteSchema` mutation.""" +input DeleteSchemaInput { + """ + 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 `App` mutation.""" +type DeleteAppPayload { + """ + 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 `App` that was deleted by this mutation.""" + app: App + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `App`. May be used by Relay 1.""" + appEdge( + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppEdge +} + +"""All input for the `deleteApp` mutation.""" +input DeleteAppInput { + """ + 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 app""" + id: UUID! +} + +"""The output of our delete `Site` mutation.""" +type DeleteSitePayload { + """ + 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 `Site` that was deleted by this mutation.""" + site: Site + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Site`. May be used by Relay 1.""" + siteEdge( + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteEdge +} + +"""All input for the `deleteSite` mutation.""" +input DeleteSiteInput { + """ + 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 site""" + id: UUID! +} + +"""The output of our delete `User` mutation.""" +type DeleteUserPayload { + """ + 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 `User` that was deleted by this mutation.""" + user: User + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `User`. May be used by Relay 1.""" + userEdge( + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserEdge +} + +"""All input for the `deleteUser` mutation.""" +input DeleteUserInput { + """ + 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 `HierarchyModule` mutation.""" +type DeleteHierarchyModulePayload { + """ + 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 `HierarchyModule` that was deleted by this mutation.""" + hierarchyModule: HierarchyModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `HierarchyModule`. May be used by Relay 1.""" + hierarchyModuleEdge( + """The method to use when ordering `HierarchyModule`.""" + orderBy: [HierarchyModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): HierarchyModuleEdge +} + +"""All input for the `deleteHierarchyModule` mutation.""" +input DeleteHierarchyModuleInput { + """ + 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 `Invite` mutation.""" +type DeleteInvitePayload { + """ + 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 `Invite` that was deleted by this mutation.""" + invite: Invite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge +} + +"""All input for the `deleteInvite` mutation.""" +input DeleteInviteInput { + """ + 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 `Index` mutation.""" +type DeleteIndexPayload { + """ + 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 `Index` that was deleted by this mutation.""" + index: Index + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Index`. May be used by Relay 1.""" + indexEdge( + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] + ): IndexEdge +} + +"""All input for the `deleteIndex` mutation.""" +input DeleteIndexInput { + """ + 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 `ForeignKeyConstraint` mutation.""" +type DeleteForeignKeyConstraintPayload { + """ + 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 `ForeignKeyConstraint` that was deleted by this mutation.""" + foreignKeyConstraint: ForeignKeyConstraint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ForeignKeyConstraint`. May be used by Relay 1.""" + foreignKeyConstraintEdge( + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintEdge +} + +"""All input for the `deleteForeignKeyConstraint` mutation.""" +input DeleteForeignKeyConstraintInput { + """ + 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 `OrgInvite` mutation.""" +type DeleteOrgInvitePayload { + """ + 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 `OrgInvite` that was deleted by this mutation.""" + orgInvite: OrgInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgInvite`. May be used by Relay 1.""" + orgInviteEdge( + """The method to use when ordering `OrgInvite`.""" + orderBy: [OrgInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgInviteEdge +} + +"""All input for the `deleteOrgInvite` mutation.""" +input DeleteOrgInviteInput { + """ + 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 `Table` mutation.""" +type DeleteTablePayload { + """ + 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 `Table` that was deleted by this mutation.""" + table: Table + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Table`. May be used by Relay 1.""" + tableEdge( + """The method to use when ordering `Table`.""" + orderBy: [TableOrderBy!]! = [PRIMARY_KEY_ASC] + ): TableEdge +} + +"""All input for the `deleteTable` mutation.""" +input DeleteTableInput { + """ + 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 `LevelsModule` mutation.""" +type DeleteLevelsModulePayload { + """ + 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 `LevelsModule` that was deleted by this mutation.""" + levelsModule: LevelsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `LevelsModule`. May be used by Relay 1.""" + levelsModuleEdge( + """The method to use when ordering `LevelsModule`.""" + orderBy: [LevelsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): LevelsModuleEdge +} + +"""All input for the `deleteLevelsModule` mutation.""" +input DeleteLevelsModuleInput { + """ + 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 `UserAuthModule` mutation.""" +type DeleteUserAuthModulePayload { + """ + 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 `UserAuthModule` that was deleted by this mutation.""" + userAuthModule: UserAuthModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `UserAuthModule`. May be used by Relay 1.""" + userAuthModuleEdge( + """The method to use when ordering `UserAuthModule`.""" + orderBy: [UserAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserAuthModuleEdge +} + +"""All input for the `deleteUserAuthModule` mutation.""" +input DeleteUserAuthModuleInput { + """ + 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 `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 { + """ + 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 deleted 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 `deleteField` mutation.""" +input DeleteFieldInput { + """ + 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 `MembershipsModule` mutation.""" +type DeleteMembershipsModulePayload { + """ + 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 deleted 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 `deleteMembershipsModule` mutation.""" +input DeleteMembershipsModuleInput { + """ + 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! +} \ No newline at end of file diff --git a/sdk/constructive-sdk/schemas/public.graphql b/sdk/constructive-sdk/schemas/public.graphql index 6d09e81a9..f98fbaf3e 100644 --- a/sdk/constructive-sdk/schemas/public.graphql +++ b/sdk/constructive-sdk/schemas/public.graphql @@ -183,15 +183,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DefaultIdsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DefaultIdsModuleFilter + where: DefaultIdsModuleFilter """The method to use when ordering `DefaultIdsModule`.""" orderBy: [DefaultIdsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -217,15 +212,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewTableCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewTableFilter + where: ViewTableFilter """The method to use when ordering `ViewTable`.""" orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] @@ -251,15 +241,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiSchemaCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ApiSchemaFilter + where: ApiSchemaFilter """The method to use when ordering `ApiSchema`.""" orderBy: [ApiSchemaOrderBy!] = [PRIMARY_KEY_ASC] @@ -285,54 +270,15 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMemberCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMemberFilter + where: OrgMemberFilter """The method to use when ordering `OrgMember`.""" orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] ): OrgMemberConnection - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: SiteThemeCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: SiteThemeFilter - - """The method to use when ordering `SiteTheme`.""" - orderBy: [SiteThemeOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteThemeConnection - """Reads and enables pagination through a set of `Ref`.""" refs( """Only read the first `n` values of the set.""" @@ -353,54 +299,15 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RefCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: RefFilter + where: RefFilter """The method to use when ordering `Ref`.""" orderBy: [RefOrderBy!] = [PRIMARY_KEY_ASC] ): RefConnection - """Reads and enables pagination through a set of `Store`.""" - stores( - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: StoreCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: StoreFilter - - """The method to use when ordering `Store`.""" - orderBy: [StoreOrderBy!] = [PRIMARY_KEY_ASC] - ): StoreConnection - """ Reads and enables pagination through a set of `EncryptedSecretsModule`. """ @@ -423,15 +330,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: EncryptedSecretsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: EncryptedSecretsModuleFilter + where: EncryptedSecretsModuleFilter """The method to use when ordering `EncryptedSecretsModule`.""" orderBy: [EncryptedSecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -457,15 +359,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: MembershipTypesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: MembershipTypesModuleFilter + where: MembershipTypesModuleFilter """The method to use when ordering `MembershipTypesModule`.""" orderBy: [MembershipTypesModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -491,15 +388,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SecretsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SecretsModuleFilter + where: SecretsModuleFilter """The method to use when ordering `SecretsModule`.""" orderBy: [SecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -525,22 +417,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UuidModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UuidModuleFilter + where: UuidModuleFilter """The method to use when ordering `UuidModule`.""" orderBy: [UuidModuleOrderBy!] = [PRIMARY_KEY_ASC] ): UuidModuleConnection - """Reads and enables pagination through a set of `AppPermissionDefault`.""" - appPermissionDefaults( + """Reads and enables pagination through a set of `SiteTheme`.""" + siteThemes( """Only read the first `n` values of the set.""" first: Int @@ -559,22 +446,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppPermissionDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppPermissionDefaultFilter + where: SiteThemeFilter - """The method to use when ordering `AppPermissionDefault`.""" - orderBy: [AppPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] - ): AppPermissionDefaultConnection + """The method to use when ordering `SiteTheme`.""" + orderBy: [SiteThemeOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteThemeConnection - """Reads and enables pagination through a set of `ApiModule`.""" - apiModules( + """Reads and enables pagination through a set of `Store`.""" + stores( """Only read the first `n` values of the set.""" first: Int @@ -593,22 +475,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ApiModuleFilter + where: StoreFilter - """The method to use when ordering `ApiModule`.""" - orderBy: [ApiModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): ApiModuleConnection + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!] = [PRIMARY_KEY_ASC] + ): StoreConnection - """Reads and enables pagination through a set of `SiteModule`.""" - siteModules( + """Reads and enables pagination through a set of `ViewRule`.""" + viewRules( """Only read the first `n` values of the set.""" first: Int @@ -627,22 +504,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SiteModuleFilter + where: ViewRuleFilter - """The method to use when ordering `SiteModule`.""" - orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteModuleConnection + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewRuleConnection - """Reads and enables pagination through a set of `SchemaGrant`.""" - schemaGrants( + """Reads and enables pagination through a set of `AppPermissionDefault`.""" + appPermissionDefaults( """Only read the first `n` values of the set.""" first: Int @@ -661,22 +533,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SchemaGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SchemaGrantFilter + where: AppPermissionDefaultFilter - """The method to use when ordering `SchemaGrant`.""" - orderBy: [SchemaGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): SchemaGrantConnection + """The method to use when ordering `AppPermissionDefault`.""" + orderBy: [AppPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): AppPermissionDefaultConnection - """Reads and enables pagination through a set of `TriggerFunction`.""" - triggerFunctions( + """Reads and enables pagination through a set of `ApiModule`.""" + apiModules( """Only read the first `n` values of the set.""" first: Int @@ -695,22 +562,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TriggerFunctionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TriggerFunctionFilter + where: ApiModuleFilter - """The method to use when ordering `TriggerFunction`.""" - orderBy: [TriggerFunctionOrderBy!] = [PRIMARY_KEY_ASC] - ): TriggerFunctionConnection + """The method to use when ordering `ApiModule`.""" + orderBy: [ApiModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ApiModuleConnection - """Reads and enables pagination through a set of `ViewRule`.""" - viewRules( + """Reads and enables pagination through a set of `SiteModule`.""" + siteModules( """Only read the first `n` values of the set.""" first: Int @@ -729,22 +591,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewRuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewRuleFilter + where: SiteModuleFilter - """The method to use when ordering `ViewRule`.""" - orderBy: [ViewRuleOrderBy!] = [PRIMARY_KEY_ASC] - ): ViewRuleConnection + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteModuleConnection - """Reads and enables pagination through a set of `AppAdminGrant`.""" - appAdminGrants( + """Reads and enables pagination through a set of `SchemaGrant`.""" + schemaGrants( """Only read the first `n` values of the set.""" first: Int @@ -763,22 +620,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppAdminGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppAdminGrantFilter + where: SchemaGrantFilter - """The method to use when ordering `AppAdminGrant`.""" - orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): AppAdminGrantConnection + """The method to use when ordering `SchemaGrant`.""" + orderBy: [SchemaGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): SchemaGrantConnection - """Reads and enables pagination through a set of `AppOwnerGrant`.""" - appOwnerGrants( + """Reads and enables pagination through a set of `TriggerFunction`.""" + triggerFunctions( """Only read the first `n` values of the set.""" first: Int @@ -797,22 +649,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppOwnerGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppOwnerGrantFilter + where: TriggerFunctionFilter - """The method to use when ordering `AppOwnerGrant`.""" - orderBy: [AppOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): AppOwnerGrantConnection + """The method to use when ordering `TriggerFunction`.""" + orderBy: [TriggerFunctionOrderBy!] = [PRIMARY_KEY_ASC] + ): TriggerFunctionConnection - """Reads and enables pagination through a set of `RoleType`.""" - roleTypes( + """Reads and enables pagination through a set of `AppAdminGrant`.""" + appAdminGrants( """Only read the first `n` values of the set.""" first: Int @@ -831,22 +678,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RoleTypeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: RoleTypeFilter + where: AppAdminGrantFilter - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!] = [PRIMARY_KEY_ASC] - ): RoleTypeConnection + """The method to use when ordering `AppAdminGrant`.""" + orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppAdminGrantConnection - """Reads and enables pagination through a set of `OrgPermissionDefault`.""" - orgPermissionDefaults( + """Reads and enables pagination through a set of `AppOwnerGrant`.""" + appOwnerGrants( """Only read the first `n` values of the set.""" first: Int @@ -865,19 +707,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgPermissionDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgPermissionDefaultFilter + where: AppOwnerGrantFilter - """The method to use when ordering `OrgPermissionDefault`.""" - orderBy: [OrgPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgPermissionDefaultConnection + """The method to use when ordering `AppOwnerGrant`.""" + orderBy: [AppOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppOwnerGrantConnection """Reads and enables pagination through a set of `DefaultPrivilege`.""" defaultPrivileges( @@ -899,15 +736,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DefaultPrivilegeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DefaultPrivilegeFilter + where: DefaultPrivilegeFilter """The method to use when ordering `DefaultPrivilege`.""" orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] @@ -933,15 +765,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewGrantFilter + where: ViewGrantFilter """The method to use when ordering `ViewGrant`.""" orderBy: [ViewGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -967,15 +794,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ApiFilter + where: ApiFilter """The method to use when ordering `Api`.""" orderBy: [ApiOrderBy!] = [PRIMARY_KEY_ASC] @@ -1003,15 +825,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ConnectedAccountsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ConnectedAccountsModuleFilter + where: ConnectedAccountsModuleFilter """The method to use when ordering `ConnectedAccountsModule`.""" orderBy: [ConnectedAccountsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -1037,15 +854,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: EmailsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: EmailsModuleFilter + where: EmailsModuleFilter """The method to use when ordering `EmailsModule`.""" orderBy: [EmailsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -1071,15 +883,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PhoneNumbersModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PhoneNumbersModuleFilter + where: PhoneNumbersModuleFilter """The method to use when ordering `PhoneNumbersModule`.""" orderBy: [PhoneNumbersModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -1105,15 +912,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UsersModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UsersModuleFilter + where: UsersModuleFilter """The method to use when ordering `UsersModule`.""" orderBy: [UsersModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -1139,15 +941,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgAdminGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgAdminGrantFilter + where: OrgAdminGrantFilter """The method to use when ordering `OrgAdminGrant`.""" orderBy: [OrgAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -1173,15 +970,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgOwnerGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgOwnerGrantFilter + where: OrgOwnerGrantFilter """The method to use when ordering `OrgOwnerGrant`.""" orderBy: [OrgOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -1207,22 +999,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CryptoAddressCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CryptoAddressFilter + where: CryptoAddressFilter """The method to use when ordering `CryptoAddress`.""" orderBy: [CryptoAddressOrderBy!] = [PRIMARY_KEY_ASC] ): CryptoAddressConnection - """Reads and enables pagination through a set of `AppLimitDefault`.""" - appLimitDefaults( + """Reads and enables pagination through a set of `RoleType`.""" + roleTypes( """Only read the first `n` values of the set.""" first: Int @@ -1241,22 +1028,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLimitDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLimitDefaultFilter + where: RoleTypeFilter - """The method to use when ordering `AppLimitDefault`.""" - orderBy: [AppLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] - ): AppLimitDefaultConnection + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!] = [PRIMARY_KEY_ASC] + ): RoleTypeConnection - """Reads and enables pagination through a set of `OrgLimitDefault`.""" - orgLimitDefaults( + """Reads and enables pagination through a set of `OrgPermissionDefault`.""" + orgPermissionDefaults( """Only read the first `n` values of the set.""" first: Int @@ -1275,19 +1057,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgLimitDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgLimitDefaultFilter + where: OrgPermissionDefaultFilter - """The method to use when ordering `OrgLimitDefault`.""" - orderBy: [OrgLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgLimitDefaultConnection + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultConnection """Reads and enables pagination through a set of `Database`.""" databases( @@ -1309,15 +1086,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DatabaseCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DatabaseFilter + where: DatabaseFilter """The method to use when ordering `Database`.""" orderBy: [DatabaseOrderBy!] = [PRIMARY_KEY_ASC] @@ -1343,22 +1115,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CryptoAddressesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CryptoAddressesModuleFilter + where: CryptoAddressesModuleFilter """The method to use when ordering `CryptoAddressesModule`.""" orderBy: [CryptoAddressesModuleOrderBy!] = [PRIMARY_KEY_ASC] ): CryptoAddressesModuleConnection - """Reads and enables pagination through a set of `ConnectedAccount`.""" - connectedAccounts( + """Reads and enables pagination through a set of `PhoneNumber`.""" + phoneNumbers( """Only read the first `n` values of the set.""" first: Int @@ -1377,22 +1144,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ConnectedAccountCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ConnectedAccountFilter + where: PhoneNumberFilter - """The method to use when ordering `ConnectedAccount`.""" - orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] - ): ConnectedAccountConnection + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!] = [PRIMARY_KEY_ASC] + ): PhoneNumberConnection - """Reads and enables pagination through a set of `PhoneNumber`.""" - phoneNumbers( + """Reads and enables pagination through a set of `AppLimitDefault`.""" + appLimitDefaults( """Only read the first `n` values of the set.""" first: Int @@ -1411,22 +1173,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PhoneNumberCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PhoneNumberFilter + where: AppLimitDefaultFilter - """The method to use when ordering `PhoneNumber`.""" - orderBy: [PhoneNumberOrderBy!] = [PRIMARY_KEY_ASC] - ): PhoneNumberConnection + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLimitDefaultConnection - """Reads and enables pagination through a set of `MembershipType`.""" - membershipTypes( + """Reads and enables pagination through a set of `OrgLimitDefault`.""" + orgLimitDefaults( """Only read the first `n` values of the set.""" first: Int @@ -1445,22 +1202,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: MembershipTypeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: MembershipTypeFilter + where: OrgLimitDefaultFilter - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!] = [PRIMARY_KEY_ASC] - ): MembershipTypeConnection + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultConnection - """Reads and enables pagination through a set of `FieldModule`.""" - fieldModules( + """Reads and enables pagination through a set of `ConnectedAccount`.""" + connectedAccounts( """Only read the first `n` values of the set.""" first: Int @@ -1479,22 +1231,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FieldModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FieldModuleFilter + where: ConnectedAccountFilter - """The method to use when ordering `FieldModule`.""" - orderBy: [FieldModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): FieldModuleConnection + """The method to use when ordering `ConnectedAccount`.""" + orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] + ): ConnectedAccountConnection - """Reads and enables pagination through a set of `TableModule`.""" - tableModules( + """Reads and enables pagination through a set of `FieldModule`.""" + fieldModules( """Only read the first `n` values of the set.""" first: Int @@ -1513,19 +1260,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableModuleFilter + where: FieldModuleFilter - """The method to use when ordering `TableModule`.""" - orderBy: [TableModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): TableModuleConnection + """The method to use when ordering `FieldModule`.""" + orderBy: [FieldModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): FieldModuleConnection """Reads and enables pagination through a set of `TableTemplateModule`.""" tableTemplateModules( @@ -1547,15 +1289,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableTemplateModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableTemplateModuleFilter + where: TableTemplateModuleFilter """The method to use when ordering `TableTemplateModule`.""" orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -1581,15 +1318,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeGrantFilter + where: OrgChartEdgeGrantFilter """The method to use when ordering `OrgChartEdgeGrant`.""" orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -1615,22 +1347,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: NodeTypeRegistryCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: NodeTypeRegistryFilter + where: NodeTypeRegistryFilter """The method to use when ordering `NodeTypeRegistry`.""" orderBy: [NodeTypeRegistryOrderBy!] = [PRIMARY_KEY_ASC] ): NodeTypeRegistryConnection - """Reads and enables pagination through a set of `TableGrant`.""" - tableGrants( + """Reads and enables pagination through a set of `MembershipType`.""" + membershipTypes( """Only read the first `n` values of the set.""" first: Int @@ -1650,14 +1377,38 @@ type Query { after: Cursor """ - A condition to be used in determining which values should be returned by the collection. + A filter to be used in determining which values should be returned by the collection. + """ + where: MembershipTypeFilter + + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipTypeConnection + + """Reads and enables pagination through a set of `TableGrant`.""" + tableGrants( + """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`. """ - condition: TableGrantCondition + 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. """ - filter: TableGrantFilter + where: TableGrantFilter """The method to use when ordering `TableGrant`.""" orderBy: [TableGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -1683,15 +1434,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppPermissionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppPermissionFilter + where: AppPermissionFilter """The method to use when ordering `AppPermission`.""" orderBy: [AppPermissionOrderBy!] = [PRIMARY_KEY_ASC] @@ -1717,15 +1463,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgPermissionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgPermissionFilter + where: OrgPermissionFilter """The method to use when ordering `OrgPermission`.""" orderBy: [OrgPermissionOrderBy!] = [PRIMARY_KEY_ASC] @@ -1751,15 +1492,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLimitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLimitFilter + where: AppLimitFilter """The method to use when ordering `AppLimit`.""" orderBy: [AppLimitOrderBy!] = [PRIMARY_KEY_ASC] @@ -1785,15 +1521,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppAchievementCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppAchievementFilter + where: AppAchievementFilter """The method to use when ordering `AppAchievement`.""" orderBy: [AppAchievementOrderBy!] = [PRIMARY_KEY_ASC] @@ -1819,15 +1550,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppStepCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppStepFilter + where: AppStepFilter """The method to use when ordering `AppStep`.""" orderBy: [AppStepOrderBy!] = [PRIMARY_KEY_ASC] @@ -1853,15 +1579,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ClaimedInviteFilter + where: ClaimedInviteFilter """The method to use when ordering `ClaimedInvite`.""" orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -1887,15 +1608,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppMembershipDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppMembershipDefaultFilter + where: AppMembershipDefaultFilter """The method to use when ordering `AppMembershipDefault`.""" orderBy: [AppMembershipDefaultOrderBy!] = [PRIMARY_KEY_ASC] @@ -1921,22 +1637,46 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteMetadatumCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SiteMetadatumFilter + where: SiteMetadatumFilter """The method to use when ordering `SiteMetadatum`.""" orderBy: [SiteMetadatumOrderBy!] = [PRIMARY_KEY_ASC] ): SiteMetadatumConnection - """Reads and enables pagination through a set of `Object`.""" - objects( + """Reads and enables pagination through a set of `RlsModule`.""" + rlsModules( + """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: RlsModuleFilter + + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): RlsModuleConnection + + """Reads and enables pagination through a set of `SessionsModule`.""" + sessionsModules( """Only read the first `n` values of the set.""" first: Int @@ -1956,14 +1696,38 @@ type Query { after: Cursor """ - A condition to be used in determining which values should be returned by the collection. + A filter to be used in determining which values should be returned by the collection. """ - condition: ObjectCondition + where: SessionsModuleFilter + + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SessionsModuleConnection + + """Reads and enables pagination through a set of `Object`.""" + objects( + """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. """ - filter: ObjectFilter + where: ObjectFilter """The method to use when ordering `Object`.""" orderBy: [ObjectOrderBy!] = [PRIMARY_KEY_ASC] @@ -1989,15 +1753,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FullTextSearchCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FullTextSearchFilter + where: FullTextSearchFilter """The method to use when ordering `FullTextSearch`.""" orderBy: [FullTextSearchOrderBy!] = [PRIMARY_KEY_ASC] @@ -2023,15 +1782,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CommitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CommitFilter + where: CommitFilter """The method to use when ordering `Commit`.""" orderBy: [CommitOrderBy!] = [PRIMARY_KEY_ASC] @@ -2057,15 +1811,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgLimitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgLimitFilter + where: OrgLimitFilter """The method to use when ordering `OrgLimit`.""" orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] @@ -2091,15 +1840,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppGrantFilter + where: AppGrantFilter """The method to use when ordering `AppGrant`.""" orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -2125,15 +1869,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgClaimedInviteFilter + where: OrgClaimedInviteFilter """The method to use when ordering `OrgClaimedInvite`.""" orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -2159,15 +1898,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeFilter + where: OrgChartEdgeFilter """The method to use when ordering `OrgChartEdge`.""" orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] @@ -2193,54 +1927,15 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DomainCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DomainFilter + where: DomainFilter """The method to use when ordering `Domain`.""" orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] ): DomainConnection - """Reads and enables pagination through a set of `SessionsModule`.""" - sessionsModules( - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: SessionsModuleCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: SessionsModuleFilter - - """The method to use when ordering `SessionsModule`.""" - orderBy: [SessionsModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): SessionsModuleConnection - """Reads and enables pagination through a set of `OrgGrant`.""" orgGrants( """Only read the first `n` values of the set.""" @@ -2261,15 +1956,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgGrantFilter + where: OrgGrantFilter """The method to use when ordering `OrgGrant`.""" orderBy: [OrgGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -2295,54 +1985,15 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMembershipDefaultCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMembershipDefaultFilter + where: OrgMembershipDefaultFilter """The method to use when ordering `OrgMembershipDefault`.""" orderBy: [OrgMembershipDefaultOrderBy!] = [PRIMARY_KEY_ASC] ): OrgMembershipDefaultConnection - """Reads and enables pagination through a set of `RlsModule`.""" - rlsModules( - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: RlsModuleCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: RlsModuleFilter - - """The method to use when ordering `RlsModule`.""" - orderBy: [RlsModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): RlsModuleConnection - """Reads and enables pagination through a set of `AppLevelRequirement`.""" appLevelRequirements( """Only read the first `n` values of the set.""" @@ -2363,15 +2014,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLevelRequirementCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLevelRequirementFilter + where: AppLevelRequirementFilter """The method to use when ordering `AppLevelRequirement`.""" orderBy: [AppLevelRequirementOrderBy!] = [PRIMARY_KEY_ASC] @@ -2397,15 +2043,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AuditLogCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AuditLogFilter + where: AuditLogFilter """The method to use when ordering `AuditLog`.""" orderBy: [AuditLogOrderBy!] = [PRIMARY_KEY_ASC] @@ -2431,22 +2072,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLevelCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLevelFilter + where: AppLevelFilter """The method to use when ordering `AppLevel`.""" orderBy: [AppLevelOrderBy!] = [PRIMARY_KEY_ASC] ): AppLevelConnection - """Reads and enables pagination through a set of `Email`.""" - emails( + """Reads and enables pagination through a set of `SqlMigration`.""" + sqlMigrations( """Only read the first `n` values of the set.""" first: Int @@ -2465,24 +2101,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: EmailCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: EmailFilter + where: SqlMigrationFilter - """The method to use when ordering `Email`.""" - orderBy: [EmailOrderBy!] = [PRIMARY_KEY_ASC] - ): EmailConnection + """The method to use when ordering `SqlMigration`.""" + orderBy: [SqlMigrationOrderBy!] = [NATURAL] + ): SqlMigrationConnection - """ - Reads and enables pagination through a set of `DenormalizedTableField`. - """ - denormalizedTableFields( + """Reads and enables pagination through a set of `CryptoAuthModule`.""" + cryptoAuthModules( """Only read the first `n` values of the set.""" first: Int @@ -2501,22 +2130,19 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DenormalizedTableFieldCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DenormalizedTableFieldFilter + where: CryptoAuthModuleFilter - """The method to use when ordering `DenormalizedTableField`.""" - orderBy: [DenormalizedTableFieldOrderBy!] = [PRIMARY_KEY_ASC] - ): DenormalizedTableFieldConnection + """The method to use when ordering `CryptoAuthModule`.""" + orderBy: [CryptoAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAuthModuleConnection - """Reads and enables pagination through a set of `SqlMigration`.""" - sqlMigrations( + """ + Reads and enables pagination through a set of `DatabaseProvisionModule`. + """ + databaseProvisionModules( """Only read the first `n` values of the set.""" first: Int @@ -2535,22 +2161,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SqlMigrationCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SqlMigrationFilter + where: DatabaseProvisionModuleFilter - """The method to use when ordering `SqlMigration`.""" - orderBy: [SqlMigrationOrderBy!] = [NATURAL] - ): SqlMigrationConnection + """The method to use when ordering `DatabaseProvisionModule`.""" + orderBy: [DatabaseProvisionModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): DatabaseProvisionModuleConnection - """Reads and enables pagination through a set of `CryptoAuthModule`.""" - cryptoAuthModules( + """Reads and enables pagination through a set of `InvitesModule`.""" + invitesModules( """Only read the first `n` values of the set.""" first: Int @@ -2569,24 +2190,19 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CryptoAuthModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CryptoAuthModuleFilter + where: InvitesModuleFilter - """The method to use when ordering `CryptoAuthModule`.""" - orderBy: [CryptoAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): CryptoAuthModuleConnection + """The method to use when ordering `InvitesModule`.""" + orderBy: [InvitesModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): InvitesModuleConnection """ - Reads and enables pagination through a set of `DatabaseProvisionModule`. + Reads and enables pagination through a set of `DenormalizedTableField`. """ - databaseProvisionModules( + denormalizedTableFields( """Only read the first `n` values of the set.""" first: Int @@ -2605,22 +2221,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DatabaseProvisionModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DatabaseProvisionModuleFilter + where: DenormalizedTableFieldFilter - """The method to use when ordering `DatabaseProvisionModule`.""" - orderBy: [DatabaseProvisionModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): DatabaseProvisionModuleConnection + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!] = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldConnection - """Reads and enables pagination through a set of `InvitesModule`.""" - invitesModules( + """Reads and enables pagination through a set of `Email`.""" + emails( """Only read the first `n` values of the set.""" first: Int @@ -2639,19 +2250,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: InvitesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: InvitesModuleFilter + where: EmailFilter - """The method to use when ordering `InvitesModule`.""" - orderBy: [InvitesModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): InvitesModuleConnection + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!] = [PRIMARY_KEY_ASC] + ): EmailConnection """Reads and enables pagination through a set of `View`.""" views( @@ -2673,15 +2279,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewFilter + where: ViewFilter """The method to use when ordering `View`.""" orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] @@ -2707,22 +2308,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PermissionsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PermissionsModuleFilter + where: PermissionsModuleFilter """The method to use when ordering `PermissionsModule`.""" orderBy: [PermissionsModuleOrderBy!] = [PRIMARY_KEY_ASC] ): PermissionsModuleConnection - """Reads and enables pagination through a set of `SecureTableProvision`.""" - secureTableProvisions( + """Reads and enables pagination through a set of `LimitsModule`.""" + limitsModules( """Only read the first `n` values of the set.""" first: Int @@ -2741,22 +2337,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SecureTableProvisionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SecureTableProvisionFilter + where: LimitsModuleFilter - """The method to use when ordering `SecureTableProvision`.""" - orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] - ): SecureTableProvisionConnection + """The method to use when ordering `LimitsModule`.""" + orderBy: [LimitsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): LimitsModuleConnection - """Reads and enables pagination through a set of `AstMigration`.""" - astMigrations( + """Reads and enables pagination through a set of `ProfilesModule`.""" + profilesModules( """Only read the first `n` values of the set.""" first: Int @@ -2776,18 +2367,42 @@ type Query { after: Cursor """ - A condition to be used in determining which values should be returned by the collection. + A filter to be used in determining which values should be returned by the collection. """ - condition: AstMigrationCondition + where: ProfilesModuleFilter + + """The method to use when ordering `ProfilesModule`.""" + 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. """ - filter: AstMigrationFilter + where: SecureTableProvisionFilter - """The method to use when ordering `AstMigration`.""" - orderBy: [AstMigrationOrderBy!] = [NATURAL] - ): AstMigrationConnection + """The method to use when ordering `SecureTableProvision`.""" + orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): SecureTableProvisionConnection """Reads and enables pagination through a set of `Trigger`.""" triggers( @@ -2809,22 +2424,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TriggerCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TriggerFilter + where: TriggerFilter """The method to use when ordering `Trigger`.""" orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] ): TriggerConnection - """Reads and enables pagination through a set of `PrimaryKeyConstraint`.""" - primaryKeyConstraints( + """Reads and enables pagination through a set of `UniqueConstraint`.""" + uniqueConstraints( """Only read the first `n` values of the set.""" first: Int @@ -2843,22 +2453,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PrimaryKeyConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PrimaryKeyConstraintFilter + where: UniqueConstraintFilter - """The method to use when ordering `PrimaryKeyConstraint`.""" - orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] - ): PrimaryKeyConstraintConnection + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): UniqueConstraintConnection - """Reads and enables pagination through a set of `UniqueConstraint`.""" - uniqueConstraints( + """Reads and enables pagination through a set of `PrimaryKeyConstraint`.""" + primaryKeyConstraints( """Only read the first `n` values of the set.""" first: Int @@ -2877,19 +2482,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UniqueConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UniqueConstraintFilter + where: PrimaryKeyConstraintFilter - """The method to use when ordering `UniqueConstraint`.""" - orderBy: [UniqueConstraintOrderBy!] = [PRIMARY_KEY_ASC] - ): UniqueConstraintConnection + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintConnection """Reads and enables pagination through a set of `CheckConstraint`.""" checkConstraints( @@ -2911,15 +2511,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CheckConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CheckConstraintFilter + where: CheckConstraintFilter """The method to use when ordering `CheckConstraint`.""" orderBy: [CheckConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -2945,22 +2540,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PolicyCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PolicyFilter + where: PolicyFilter """The method to use when ordering `Policy`.""" orderBy: [PolicyOrderBy!] = [PRIMARY_KEY_ASC] ): PolicyConnection - """Reads and enables pagination through a set of `App`.""" - apps( + """Reads and enables pagination through a set of `AstMigration`.""" + astMigrations( """Only read the first `n` values of the set.""" first: Int @@ -2979,22 +2569,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppFilter + where: AstMigrationFilter - """The method to use when ordering `App`.""" - orderBy: [AppOrderBy!] = [PRIMARY_KEY_ASC] - ): AppConnection + """The method to use when ordering `AstMigration`.""" + orderBy: [AstMigrationOrderBy!] = [NATURAL] + ): AstMigrationConnection - """Reads and enables pagination through a set of `Site`.""" - sites( + """Reads and enables pagination through a set of `AppMembership`.""" + appMemberships( """Only read the first `n` values of the set.""" first: Int @@ -3013,22 +2598,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SiteFilter + where: AppMembershipFilter - """The method to use when ordering `Site`.""" - orderBy: [SiteOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteConnection + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): AppMembershipConnection - """Reads and enables pagination through a set of `User`.""" - users( + """Reads and enables pagination through a set of `OrgMembership`.""" + orgMemberships( """Only read the first `n` values of the set.""" first: Int @@ -3047,22 +2627,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UserCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UserFilter + where: OrgMembershipFilter - """The method to use when ordering `User`.""" - orderBy: [UserOrderBy!] = [PRIMARY_KEY_ASC] - ): UserConnection + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMembershipConnection - """Reads and enables pagination through a set of `LimitsModule`.""" - limitsModules( + """Reads and enables pagination through a set of `Schema`.""" + schemas( """Only read the first `n` values of the set.""" first: Int @@ -3081,22 +2656,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: LimitsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: LimitsModuleFilter + where: SchemaFilter - """The method to use when ordering `LimitsModule`.""" - orderBy: [LimitsModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): LimitsModuleConnection + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!] = [PRIMARY_KEY_ASC] + ): SchemaConnection - """Reads and enables pagination through a set of `ProfilesModule`.""" - profilesModules( + """Reads and enables pagination through a set of `App`.""" + apps( """Only read the first `n` values of the set.""" first: Int @@ -3115,22 +2685,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ProfilesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ProfilesModuleFilter + where: AppFilter - """The method to use when ordering `ProfilesModule`.""" - orderBy: [ProfilesModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): ProfilesModuleConnection + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!] = [PRIMARY_KEY_ASC] + ): AppConnection - """Reads and enables pagination through a set of `Index`.""" - indices( + """Reads and enables pagination through a set of `Site`.""" + sites( """Only read the first `n` values of the set.""" first: Int @@ -3149,22 +2714,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: IndexCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: IndexFilter + where: SiteFilter - """The method to use when ordering `Index`.""" - orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] - ): IndexConnection + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteConnection - """Reads and enables pagination through a set of `AppMembership`.""" - appMemberships( + """Reads and enables pagination through a set of `User`.""" + users( """Only read the first `n` values of the set.""" first: Int @@ -3183,22 +2743,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppMembershipCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppMembershipFilter + where: UserFilter - """The method to use when ordering `AppMembership`.""" - orderBy: [AppMembershipOrderBy!] = [PRIMARY_KEY_ASC] - ): AppMembershipConnection + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!] = [PRIMARY_KEY_ASC] + ): UserConnection - """Reads and enables pagination through a set of `OrgMembership`.""" - orgMemberships( + """Reads and enables pagination through a set of `HierarchyModule`.""" + hierarchyModules( """Only read the first `n` values of the set.""" first: Int @@ -3217,19 +2772,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMembershipCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMembershipFilter + where: HierarchyModuleFilter - """The method to use when ordering `OrgMembership`.""" - orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgMembershipConnection + """The method to use when ordering `HierarchyModule`.""" + orderBy: [HierarchyModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): HierarchyModuleConnection """Reads and enables pagination through a set of `Invite`.""" invites( @@ -3251,22 +2801,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: InviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: InviteFilter + where: InviteFilter """The method to use when ordering `Invite`.""" orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] ): InviteConnection - """Reads and enables pagination through a set of `Schema`.""" - schemas( + """Reads and enables pagination through a set of `Index`.""" + indices( """Only read the first `n` values of the set.""" first: Int @@ -3285,22 +2830,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SchemaCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SchemaFilter + where: IndexFilter - """The method to use when ordering `Schema`.""" - orderBy: [SchemaOrderBy!] = [PRIMARY_KEY_ASC] - ): SchemaConnection + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] + ): IndexConnection - """Reads and enables pagination through a set of `HierarchyModule`.""" - hierarchyModules( + """Reads and enables pagination through a set of `ForeignKeyConstraint`.""" + foreignKeyConstraints( """Only read the first `n` values of the set.""" first: Int @@ -3319,19 +2859,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: HierarchyModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: HierarchyModuleFilter + where: ForeignKeyConstraintFilter - """The method to use when ordering `HierarchyModule`.""" - orderBy: [HierarchyModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): HierarchyModuleConnection + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintConnection """Reads and enables pagination through a set of `OrgInvite`.""" orgInvites( @@ -3353,54 +2888,15 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgInviteFilter + where: OrgInviteFilter """The method to use when ordering `OrgInvite`.""" orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] ): OrgInviteConnection - """Reads and enables pagination through a set of `ForeignKeyConstraint`.""" - foreignKeyConstraints( - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: ForeignKeyConstraintCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: ForeignKeyConstraintFilter - - """The method to use when ordering `ForeignKeyConstraint`.""" - orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] - ): ForeignKeyConstraintConnection - """Reads and enables pagination through a set of `Table`.""" tables( """Only read the first `n` values of the set.""" @@ -3421,15 +2917,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableFilter + where: TableFilter """The method to use when ordering `Table`.""" orderBy: [TableOrderBy!] = [PRIMARY_KEY_ASC] @@ -3455,15 +2946,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: LevelsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: LevelsModuleFilter + where: LevelsModuleFilter """The method to use when ordering `LevelsModule`.""" orderBy: [LevelsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -3489,22 +2975,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UserAuthModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UserAuthModuleFilter + where: UserAuthModuleFilter """The method to use when ordering `UserAuthModule`.""" orderBy: [UserAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] ): UserAuthModuleConnection - """Reads and enables pagination through a set of `Field`.""" - fields( + """Reads and enables pagination through a set of `RelationProvision`.""" + relationProvisions( """Only read the first `n` values of the set.""" first: Int @@ -3523,22 +3004,17 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FieldCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FieldFilter + where: RelationProvisionFilter - """The method to use when ordering `Field`.""" - orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] - ): FieldConnection + """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 `Field`.""" + fields( """Only read the first `n` values of the set.""" first: Int @@ -3557,19 +3033,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RelationProvisionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: 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 `MembershipsModule`.""" membershipsModules( @@ -3591,15 +3062,10 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: MembershipsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: MembershipsModuleFilter + where: MembershipsModuleFilter """The method to use when ordering `MembershipsModule`.""" orderBy: [MembershipsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -3780,6 +3246,16 @@ 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.""" @@ -3829,6 +3305,16 @@ 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.""" @@ -3925,6 +3411,16 @@ 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.""" @@ -3946,11 +3442,6 @@ type User { createdAt: Datetime updatedAt: Datetime - """ - Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. - """ - searchTsvRank: Float - """Reads a single `RoleType` that is related to this `User`.""" roleType: RoleType @@ -3974,15 +3465,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DatabaseCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DatabaseFilter + where: DatabaseFilter """The method to use when ordering `Database`.""" orderBy: [DatabaseOrderBy!] = [PRIMARY_KEY_ASC] @@ -4011,15 +3497,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppAdminGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppAdminGrantFilter + where: AppAdminGrantFilter """The method to use when ordering `AppAdminGrant`.""" orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4045,15 +3526,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppOwnerGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppOwnerGrantFilter + where: AppOwnerGrantFilter """The method to use when ordering `AppOwnerGrant`.""" orderBy: [AppOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4079,15 +3555,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppGrantFilter + where: AppGrantFilter """The method to use when ordering `AppGrant`.""" orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4113,15 +3584,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMembershipCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMembershipFilter + where: OrgMembershipFilter """The method to use when ordering `OrgMembership`.""" orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] @@ -4147,15 +3613,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMembershipCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMembershipFilter + where: OrgMembershipFilter """The method to use when ordering `OrgMembership`.""" orderBy: [OrgMembershipOrderBy!] = [PRIMARY_KEY_ASC] @@ -4184,15 +3645,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMemberCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMemberFilter + where: OrgMemberFilter """The method to use when ordering `OrgMember`.""" orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] @@ -4218,15 +3674,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgMemberCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgMemberFilter + where: OrgMemberFilter """The method to use when ordering `OrgMember`.""" orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] @@ -4252,15 +3703,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgAdminGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgAdminGrantFilter + where: OrgAdminGrantFilter """The method to use when ordering `OrgAdminGrant`.""" orderBy: [OrgAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4286,15 +3732,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgAdminGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgAdminGrantFilter + where: OrgAdminGrantFilter """The method to use when ordering `OrgAdminGrant`.""" orderBy: [OrgAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4320,15 +3761,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgOwnerGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgOwnerGrantFilter + where: OrgOwnerGrantFilter """The method to use when ordering `OrgOwnerGrant`.""" orderBy: [OrgOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4354,15 +3790,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgOwnerGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgOwnerGrantFilter + where: OrgOwnerGrantFilter """The method to use when ordering `OrgOwnerGrant`.""" orderBy: [OrgOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4388,15 +3819,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgGrantFilter + where: OrgGrantFilter """The method to use when ordering `OrgGrant`.""" orderBy: [OrgGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4422,15 +3848,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgGrantFilter + where: OrgGrantFilter """The method to use when ordering `OrgGrant`.""" orderBy: [OrgGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4456,15 +3877,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeFilter + where: OrgChartEdgeFilter """The method to use when ordering `OrgChartEdge`.""" orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] @@ -4490,15 +3906,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeFilter + where: OrgChartEdgeFilter """The method to use when ordering `OrgChartEdge`.""" orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] @@ -4524,15 +3935,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeFilter + where: OrgChartEdgeFilter """The method to use when ordering `OrgChartEdge`.""" orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] @@ -4558,15 +3964,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeGrantFilter + where: OrgChartEdgeGrantFilter """The method to use when ordering `OrgChartEdgeGrant`.""" orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4592,15 +3993,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeGrantFilter + where: OrgChartEdgeGrantFilter """The method to use when ordering `OrgChartEdgeGrant`.""" orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4626,15 +4022,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeGrantFilter + where: OrgChartEdgeGrantFilter """The method to use when ordering `OrgChartEdgeGrant`.""" orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4660,15 +4051,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgChartEdgeGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgChartEdgeGrantFilter + where: OrgChartEdgeGrantFilter """The method to use when ordering `OrgChartEdgeGrant`.""" orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -4694,15 +4080,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppLimitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppLimitFilter + where: AppLimitFilter """The method to use when ordering `AppLimit`.""" orderBy: [AppLimitOrderBy!] = [PRIMARY_KEY_ASC] @@ -4728,15 +4109,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgLimitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgLimitFilter + where: OrgLimitFilter """The method to use when ordering `OrgLimit`.""" orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] @@ -4762,15 +4138,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgLimitCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgLimitFilter + where: OrgLimitFilter """The method to use when ordering `OrgLimit`.""" orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] @@ -4796,15 +4167,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppStepCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppStepFilter + where: AppStepFilter """The method to use when ordering `AppStep`.""" orderBy: [AppStepOrderBy!] = [PRIMARY_KEY_ASC] @@ -4830,15 +4196,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppAchievementCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppAchievementFilter + where: AppAchievementFilter """The method to use when ordering `AppAchievement`.""" orderBy: [AppAchievementOrderBy!] = [PRIMARY_KEY_ASC] @@ -4864,15 +4225,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: InviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: InviteFilter + where: InviteFilter """The method to use when ordering `Invite`.""" orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -4898,15 +4254,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ClaimedInviteFilter + where: ClaimedInviteFilter """The method to use when ordering `ClaimedInvite`.""" orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -4932,15 +4283,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ClaimedInviteFilter + where: ClaimedInviteFilter """The method to use when ordering `ClaimedInvite`.""" orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -4966,15 +4312,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgInviteFilter + where: OrgInviteFilter """The method to use when ordering `OrgInvite`.""" orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -5000,15 +4341,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgInviteFilter + where: OrgInviteFilter """The method to use when ordering `OrgInvite`.""" orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -5034,15 +4370,10 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgClaimedInviteFilter + where: OrgClaimedInviteFilter """The method to use when ordering `OrgClaimedInvite`.""" orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] @@ -5068,19 +4399,29 @@ type User { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: OrgClaimedInviteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: OrgClaimedInviteFilter + where: OrgClaimedInviteFilter """The method to use when ordering `OrgClaimedInvite`.""" orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] ): OrgClaimedInviteConnection! + + """ + TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. + """ + searchTsvRank: Float + + """ + TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. + """ + 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. + """ + searchScore: Float } scalar ConstructiveInternalTypeImage @@ -5143,15 +4484,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SchemaCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SchemaFilter + where: SchemaFilter """The method to use when ordering `Schema`.""" orderBy: [SchemaOrderBy!] = [PRIMARY_KEY_ASC] @@ -5177,15 +4513,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableFilter + where: TableFilter """The method to use when ordering `Table`.""" orderBy: [TableOrderBy!] = [PRIMARY_KEY_ASC] @@ -5211,15 +4542,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CheckConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CheckConstraintFilter + where: CheckConstraintFilter """The method to use when ordering `CheckConstraint`.""" orderBy: [CheckConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -5245,15 +4571,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FieldCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FieldFilter + where: FieldFilter """The method to use when ordering `Field`.""" orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] @@ -5279,15 +4600,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ForeignKeyConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ForeignKeyConstraintFilter + where: ForeignKeyConstraintFilter """The method to use when ordering `ForeignKeyConstraint`.""" orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -5313,15 +4629,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FullTextSearchCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FullTextSearchFilter + where: FullTextSearchFilter """The method to use when ordering `FullTextSearch`.""" orderBy: [FullTextSearchOrderBy!] = [PRIMARY_KEY_ASC] @@ -5347,15 +4658,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: IndexCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: IndexFilter + where: IndexFilter """The method to use when ordering `Index`.""" orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] @@ -5381,15 +4687,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PolicyCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PolicyFilter + where: PolicyFilter """The method to use when ordering `Policy`.""" orderBy: [PolicyOrderBy!] = [PRIMARY_KEY_ASC] @@ -5415,15 +4716,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PrimaryKeyConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PrimaryKeyConstraintFilter + where: PrimaryKeyConstraintFilter """The method to use when ordering `PrimaryKeyConstraint`.""" orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -5449,15 +4745,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SchemaGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SchemaGrantFilter + where: SchemaGrantFilter """The method to use when ordering `SchemaGrant`.""" orderBy: [SchemaGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -5483,15 +4774,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableGrantFilter + where: TableGrantFilter """The method to use when ordering `TableGrant`.""" orderBy: [TableGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -5517,15 +4803,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TriggerFunctionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TriggerFunctionFilter + where: TriggerFunctionFilter """The method to use when ordering `TriggerFunction`.""" orderBy: [TriggerFunctionOrderBy!] = [PRIMARY_KEY_ASC] @@ -5551,15 +4832,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TriggerCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TriggerFilter + where: TriggerFilter """The method to use when ordering `Trigger`.""" orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] @@ -5585,15 +4861,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UniqueConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UniqueConstraintFilter + where: UniqueConstraintFilter """The method to use when ordering `UniqueConstraint`.""" orderBy: [UniqueConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -5619,15 +4890,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewFilter + where: ViewFilter """The method to use when ordering `View`.""" orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] @@ -5653,15 +4919,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewGrantFilter + where: ViewGrantFilter """The method to use when ordering `ViewGrant`.""" orderBy: [ViewGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -5687,15 +4948,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewRuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewRuleFilter + where: ViewRuleFilter """The method to use when ordering `ViewRule`.""" orderBy: [ViewRuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -5721,15 +4977,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DefaultPrivilegeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DefaultPrivilegeFilter + where: DefaultPrivilegeFilter """The method to use when ordering `DefaultPrivilege`.""" orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] @@ -5755,15 +5006,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ApiFilter + where: ApiFilter """The method to use when ordering `Api`.""" orderBy: [ApiOrderBy!] = [PRIMARY_KEY_ASC] @@ -5789,15 +5035,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ApiModuleFilter + where: ApiModuleFilter """The method to use when ordering `ApiModule`.""" orderBy: [ApiModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -5823,15 +5064,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiSchemaCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ApiSchemaFilter + where: ApiSchemaFilter """The method to use when ordering `ApiSchema`.""" orderBy: [ApiSchemaOrderBy!] = [PRIMARY_KEY_ASC] @@ -5857,15 +5093,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SiteFilter + where: SiteFilter """The method to use when ordering `Site`.""" orderBy: [SiteOrderBy!] = [PRIMARY_KEY_ASC] @@ -5891,15 +5122,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: AppCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: AppFilter + where: AppFilter """The method to use when ordering `App`.""" orderBy: [AppOrderBy!] = [PRIMARY_KEY_ASC] @@ -5925,15 +5151,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DomainCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DomainFilter + where: DomainFilter """The method to use when ordering `Domain`.""" orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] @@ -5959,15 +5180,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteMetadatumCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SiteMetadatumFilter + where: SiteMetadatumFilter """The method to use when ordering `SiteMetadatum`.""" orderBy: [SiteMetadatumOrderBy!] = [PRIMARY_KEY_ASC] @@ -5993,15 +5209,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SiteModuleFilter + where: SiteModuleFilter """The method to use when ordering `SiteModule`.""" orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6027,15 +5238,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteThemeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SiteThemeFilter + where: SiteThemeFilter """The method to use when ordering `SiteTheme`.""" orderBy: [SiteThemeOrderBy!] = [PRIMARY_KEY_ASC] @@ -6063,15 +5269,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ConnectedAccountsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ConnectedAccountsModuleFilter + where: ConnectedAccountsModuleFilter """The method to use when ordering `ConnectedAccountsModule`.""" orderBy: [ConnectedAccountsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6097,15 +5298,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CryptoAddressesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CryptoAddressesModuleFilter + where: CryptoAddressesModuleFilter """The method to use when ordering `CryptoAddressesModule`.""" orderBy: [CryptoAddressesModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6131,15 +5327,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CryptoAuthModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CryptoAuthModuleFilter + where: CryptoAuthModuleFilter """The method to use when ordering `CryptoAuthModule`.""" orderBy: [CryptoAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6165,15 +5356,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DefaultIdsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DefaultIdsModuleFilter + where: DefaultIdsModuleFilter """The method to use when ordering `DefaultIdsModule`.""" orderBy: [DefaultIdsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6201,15 +5387,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DenormalizedTableFieldCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DenormalizedTableFieldFilter + where: DenormalizedTableFieldFilter """The method to use when ordering `DenormalizedTableField`.""" orderBy: [DenormalizedTableFieldOrderBy!] = [PRIMARY_KEY_ASC] @@ -6235,15 +5416,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: EmailsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: EmailsModuleFilter + where: EmailsModuleFilter """The method to use when ordering `EmailsModule`.""" orderBy: [EmailsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6271,15 +5447,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: EncryptedSecretsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: EncryptedSecretsModuleFilter + where: EncryptedSecretsModuleFilter """The method to use when ordering `EncryptedSecretsModule`.""" orderBy: [EncryptedSecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6305,54 +5476,15 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FieldModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FieldModuleFilter + where: FieldModuleFilter """The method to use when ordering `FieldModule`.""" orderBy: [FieldModuleOrderBy!] = [PRIMARY_KEY_ASC] ): FieldModuleConnection! - """Reads and enables pagination through a set of `TableModule`.""" - tableModules( - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: TableModuleCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: TableModuleFilter - - """The method to use when ordering `TableModule`.""" - orderBy: [TableModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): TableModuleConnection! - """Reads and enables pagination through a set of `InvitesModule`.""" invitesModules( """Only read the first `n` values of the set.""" @@ -6373,15 +5505,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: InvitesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: InvitesModuleFilter + where: InvitesModuleFilter """The method to use when ordering `InvitesModule`.""" orderBy: [InvitesModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6407,15 +5534,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: LevelsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: LevelsModuleFilter + where: LevelsModuleFilter """The method to use when ordering `LevelsModule`.""" orderBy: [LevelsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6441,15 +5563,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: LimitsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: LimitsModuleFilter + where: LimitsModuleFilter """The method to use when ordering `LimitsModule`.""" orderBy: [LimitsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6475,15 +5592,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: MembershipTypesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: MembershipTypesModuleFilter + where: MembershipTypesModuleFilter """The method to use when ordering `MembershipTypesModule`.""" orderBy: [MembershipTypesModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6509,15 +5621,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: MembershipsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: MembershipsModuleFilter + where: MembershipsModuleFilter """The method to use when ordering `MembershipsModule`.""" orderBy: [MembershipsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6543,15 +5650,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PermissionsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PermissionsModuleFilter + where: PermissionsModuleFilter """The method to use when ordering `PermissionsModule`.""" orderBy: [PermissionsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6577,15 +5679,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PhoneNumbersModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PhoneNumbersModuleFilter + where: PhoneNumbersModuleFilter """The method to use when ordering `PhoneNumbersModule`.""" orderBy: [PhoneNumbersModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6611,53 +5708,17 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ProfilesModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ProfilesModuleFilter + where: ProfilesModuleFilter """The method to use when ordering `ProfilesModule`.""" orderBy: [ProfilesModuleOrderBy!] = [PRIMARY_KEY_ASC] ): ProfilesModuleConnection! - """Reads and enables pagination through a set of `RlsModule`.""" - rlsModules( - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: RlsModuleCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: RlsModuleFilter - - """The method to use when ordering `RlsModule`.""" - orderBy: [RlsModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): RlsModuleConnection! + """Reads a single `RlsModule` that is related to this `Database`.""" + rlsModule: RlsModule """Reads and enables pagination through a set of `SecretsModule`.""" secretsModules( @@ -6679,15 +5740,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SecretsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SecretsModuleFilter + where: SecretsModuleFilter """The method to use when ordering `SecretsModule`.""" orderBy: [SecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6713,15 +5769,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SessionsModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SessionsModuleFilter + where: SessionsModuleFilter """The method to use when ordering `SessionsModule`.""" orderBy: [SessionsModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6747,15 +5798,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UserAuthModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UserAuthModuleFilter + where: UserAuthModuleFilter """The method to use when ordering `UserAuthModule`.""" orderBy: [UserAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6781,15 +5827,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UsersModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UsersModuleFilter + where: UsersModuleFilter """The method to use when ordering `UsersModule`.""" orderBy: [UsersModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6815,15 +5856,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UuidModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UuidModuleFilter + where: UuidModuleFilter """The method to use when ordering `UuidModule`.""" orderBy: [UuidModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6852,15 +5888,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableTemplateModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableTemplateModuleFilter + where: TableTemplateModuleFilter """The method to use when ordering `TableTemplateModule`.""" orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -6886,15 +5917,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SecureTableProvisionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SecureTableProvisionFilter + where: SecureTableProvisionFilter """The method to use when ordering `SecureTableProvision`.""" orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] @@ -6920,15 +5946,10 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RelationProvisionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: RelationProvisionFilter + where: RelationProvisionFilter """The method to use when ordering `RelationProvision`.""" orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] @@ -6956,19 +5977,34 @@ type Database { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DatabaseProvisionModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DatabaseProvisionModuleFilter + where: DatabaseProvisionModuleFilter """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.""" @@ -7027,15 +6063,10 @@ type Schema { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableFilter + where: TableFilter """The method to use when ordering `Table`.""" orderBy: [TableOrderBy!] = [PRIMARY_KEY_ASC] @@ -7061,15 +6092,10 @@ type Schema { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SchemaGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SchemaGrantFilter + where: SchemaGrantFilter """The method to use when ordering `SchemaGrant`.""" orderBy: [SchemaGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -7095,15 +6121,10 @@ type Schema { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewFilter + where: ViewFilter """The method to use when ordering `View`.""" orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] @@ -7129,15 +6150,10 @@ type Schema { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DefaultPrivilegeCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: DefaultPrivilegeFilter + where: DefaultPrivilegeFilter """The method to use when ordering `DefaultPrivilege`.""" orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] @@ -7163,15 +6179,10 @@ type Schema { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiSchemaCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ApiSchemaFilter + where: ApiSchemaFilter """The method to use when ordering `ApiSchema`.""" orderBy: [ApiSchemaOrderBy!] = [PRIMARY_KEY_ASC] @@ -7197,15 +6208,10 @@ type Schema { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableTemplateModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableTemplateModuleFilter + where: TableTemplateModuleFilter """The method to use when ordering `TableTemplateModule`.""" orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -7231,19 +6237,44 @@ type Schema { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableTemplateModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableTemplateModuleFilter + where: TableTemplateModuleFilter """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 { @@ -7319,15 +6350,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CheckConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: CheckConstraintFilter + where: CheckConstraintFilter """The method to use when ordering `CheckConstraint`.""" orderBy: [CheckConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -7353,15 +6379,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FieldCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FieldFilter + where: FieldFilter """The method to use when ordering `Field`.""" orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] @@ -7387,15 +6408,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ForeignKeyConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ForeignKeyConstraintFilter + where: ForeignKeyConstraintFilter """The method to use when ordering `ForeignKeyConstraint`.""" orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -7421,15 +6437,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: FullTextSearchCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: FullTextSearchFilter + where: FullTextSearchFilter """The method to use when ordering `FullTextSearch`.""" orderBy: [FullTextSearchOrderBy!] = [PRIMARY_KEY_ASC] @@ -7455,15 +6466,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: IndexCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: IndexFilter + where: IndexFilter """The method to use when ordering `Index`.""" orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] @@ -7489,15 +6495,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PolicyCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PolicyFilter + where: PolicyFilter """The method to use when ordering `Policy`.""" orderBy: [PolicyOrderBy!] = [PRIMARY_KEY_ASC] @@ -7523,15 +6524,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PrimaryKeyConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: PrimaryKeyConstraintFilter + where: PrimaryKeyConstraintFilter """The method to use when ordering `PrimaryKeyConstraint`.""" orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -7557,15 +6553,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableGrantCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableGrantFilter + where: TableGrantFilter """The method to use when ordering `TableGrant`.""" orderBy: [TableGrantOrderBy!] = [PRIMARY_KEY_ASC] @@ -7591,15 +6582,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TriggerCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TriggerFilter + where: TriggerFilter """The method to use when ordering `Trigger`.""" orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] @@ -7625,15 +6611,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UniqueConstraintCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: UniqueConstraintFilter + where: UniqueConstraintFilter """The method to use when ordering `UniqueConstraint`.""" orderBy: [UniqueConstraintOrderBy!] = [PRIMARY_KEY_ASC] @@ -7659,15 +6640,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewFilter + where: ViewFilter """The method to use when ordering `View`.""" orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] @@ -7693,54 +6669,15 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewTableCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: ViewTableFilter + where: ViewTableFilter """The method to use when ordering `ViewTable`.""" orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] ): ViewTableConnection! - """Reads and enables pagination through a set of `TableModule`.""" - tableModules( - """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 condition to be used in determining which values should be returned by the collection. - """ - condition: TableModuleCondition - - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: TableModuleFilter - - """The method to use when ordering `TableModule`.""" - orderBy: [TableModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): TableModuleConnection! - """Reads and enables pagination through a set of `TableTemplateModule`.""" tableTemplateModulesByOwnerTableId( """Only read the first `n` values of the set.""" @@ -7761,15 +6698,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableTemplateModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableTemplateModuleFilter + where: TableTemplateModuleFilter """The method to use when ordering `TableTemplateModule`.""" orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -7795,15 +6727,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TableTemplateModuleCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: TableTemplateModuleFilter + where: TableTemplateModuleFilter """The method to use when ordering `TableTemplateModule`.""" orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] @@ -7829,15 +6756,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SecureTableProvisionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: SecureTableProvisionFilter + where: SecureTableProvisionFilter """The method to use when ordering `SecureTableProvision`.""" orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] @@ -7863,15 +6785,10 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RelationProvisionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: RelationProvisionFilter + where: RelationProvisionFilter """The method to use when ordering `RelationProvision`.""" orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] @@ -7897,19 +6814,49 @@ type Table { """Read all values in the set after (below) this cursor.""" after: Cursor - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: RelationProvisionCondition - """ A filter to be used in determining which values should be returned by the collection. """ - filter: RelationProvisionFilter + where: RelationProvisionFilter """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.""" @@ -7952,6 +6899,26 @@ 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.""" @@ -7963,54 +6930,6 @@ type CheckConstraintEdge { node: CheckConstraint } -""" -A condition to be used against `CheckConstraint` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input CheckConstraintCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `type` field.""" - type: String - - """Checks for equality with the object’s `fieldIds` field.""" - fieldIds: [UUID] - - """Checks for equality with the object’s `expr` field.""" - expr: JSON - - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON - - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory - - """Checks for equality with the object’s `module` field.""" - module: String - - """Checks for equality with the object’s `scope` field.""" - scope: Int - - """Checks for equality with the object’s `tags` field.""" - tags: [String] - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `CheckConstraint` object types. All fields are combined with a logical ‘and.’ """ @@ -8065,6 +6984,29 @@ input CheckConstraintFilter { """Negates the expression.""" not: CheckConstraintFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 } """ @@ -8239,6 +7181,29 @@ 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 } """ @@ -8550,521 +7515,412 @@ input DatetimeFilter { greaterThanOrEqualTo: Datetime } -"""Methods to use when ordering `CheckConstraint`.""" -enum CheckConstraintOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} - -"""A connection to a list of `Field` values.""" -type FieldConnection { - """A list of `Field` objects.""" - nodes: [Field]! - - """ - A list of edges which contains the `Field` and cursor to aid in pagination. - """ - edges: [FieldEdge]! +""" +A filter to be used against `Database` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter - """The count of *all* `Field` you could get from the connection.""" - totalCount: Int! -} + """Filter by the object’s `schemaHash` field.""" + schemaHash: StringFilter -type Field { - 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 + """Filter by the object’s `name` field.""" + name: StringFilter - """Reads a single `Database` that is related to this `Field`.""" - database: Database + """Filter by the object’s `label` field.""" + label: StringFilter - """Reads a single `Table` that is related to this `Field`.""" - table: Table -} + """Filter by the object’s `hash` field.""" + hash: UUIDFilter -"""A `Field` edge in the connection.""" -type FieldEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """The `Field` at the end of the edge.""" - node: Field -} + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter -""" -A condition to be used against `Field` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input FieldCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Checks for all expressions in this list.""" + and: [DatabaseFilter!] - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Checks for any expressions in this list.""" + or: [DatabaseFilter!] - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Negates the expression.""" + not: DatabaseFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filter by the object’s `owner` relation.""" + owner: UserFilter - """Checks for equality with the object’s `label` field.""" - label: String + """A related `owner` exists.""" + ownerExists: Boolean - """Checks for equality with the object’s `description` field.""" - description: String + """Filter by the object’s `schemas` relation.""" + schemas: DatabaseToManySchemaFilter - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """`schemas` exist.""" + schemasExist: Boolean - """Checks for equality with the object’s `isRequired` field.""" - isRequired: Boolean + """Filter by the object’s `tables` relation.""" + tables: DatabaseToManyTableFilter - """Checks for equality with the object’s `defaultValue` field.""" - defaultValue: String + """`tables` exist.""" + tablesExist: Boolean - """Checks for equality with the object’s `defaultValueAst` field.""" - defaultValueAst: JSON + """Filter by the object’s `checkConstraints` relation.""" + checkConstraints: DatabaseToManyCheckConstraintFilter - """Checks for equality with the object’s `isHidden` field.""" - isHidden: Boolean + """`checkConstraints` exist.""" + checkConstraintsExist: Boolean - """Checks for equality with the object’s `type` field.""" - type: String + """Filter by the object’s `fields` relation.""" + fields: DatabaseToManyFieldFilter - """Checks for equality with the object’s `fieldOrder` field.""" - fieldOrder: Int + """`fields` exist.""" + fieldsExist: Boolean - """Checks for equality with the object’s `regexp` field.""" - regexp: String + """Filter by the object’s `foreignKeyConstraints` relation.""" + foreignKeyConstraints: DatabaseToManyForeignKeyConstraintFilter - """Checks for equality with the object’s `chk` field.""" - chk: JSON + """`foreignKeyConstraints` exist.""" + foreignKeyConstraintsExist: Boolean - """Checks for equality with the object’s `chkExpr` field.""" - chkExpr: JSON + """Filter by the object’s `fullTextSearches` relation.""" + fullTextSearches: DatabaseToManyFullTextSearchFilter - """Checks for equality with the object’s `min` field.""" - min: Float + """`fullTextSearches` exist.""" + fullTextSearchesExist: Boolean - """Checks for equality with the object’s `max` field.""" - max: Float + """Filter by the object’s `indices` relation.""" + indices: DatabaseToManyIndexFilter - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """`indices` exist.""" + indicesExist: Boolean - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Filter by the object’s `policies` relation.""" + policies: DatabaseToManyPolicyFilter - """Checks for equality with the object’s `module` field.""" - module: String + """`policies` exist.""" + policiesExist: Boolean - """Checks for equality with the object’s `scope` field.""" - scope: Int + """Filter by the object’s `primaryKeyConstraints` relation.""" + primaryKeyConstraints: DatabaseToManyPrimaryKeyConstraintFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """`primaryKeyConstraints` exist.""" + primaryKeyConstraintsExist: Boolean - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} + """Filter by the object’s `schemaGrants` relation.""" + schemaGrants: DatabaseToManySchemaGrantFilter -""" -A filter to be used against `Field` object types. All fields are combined with a logical ‘and.’ -""" -input FieldFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter + """`schemaGrants` exist.""" + schemaGrantsExist: Boolean - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filter by the object’s `tableGrants` relation.""" + tableGrants: DatabaseToManyTableGrantFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """`tableGrants` exist.""" + tableGrantsExist: Boolean - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `triggerFunctions` relation.""" + triggerFunctions: DatabaseToManyTriggerFunctionFilter - """Filter by the object’s `label` field.""" - label: StringFilter + """`triggerFunctions` exist.""" + triggerFunctionsExist: Boolean - """Filter by the object’s `description` field.""" - description: StringFilter + """Filter by the object’s `triggers` relation.""" + triggers: DatabaseToManyTriggerFilter - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """`triggers` exist.""" + triggersExist: Boolean - """Filter by the object’s `isRequired` field.""" - isRequired: BooleanFilter + """Filter by the object’s `uniqueConstraints` relation.""" + uniqueConstraints: DatabaseToManyUniqueConstraintFilter - """Filter by the object’s `defaultValue` field.""" - defaultValue: StringFilter + """`uniqueConstraints` exist.""" + uniqueConstraintsExist: Boolean - """Filter by the object’s `defaultValueAst` field.""" - defaultValueAst: JSONFilter + """Filter by the object’s `views` relation.""" + views: DatabaseToManyViewFilter - """Filter by the object’s `isHidden` field.""" - isHidden: BooleanFilter + """`views` exist.""" + viewsExist: Boolean - """Filter by the object’s `type` field.""" - type: StringFilter + """Filter by the object’s `viewGrants` relation.""" + viewGrants: DatabaseToManyViewGrantFilter - """Filter by the object’s `fieldOrder` field.""" - fieldOrder: IntFilter + """`viewGrants` exist.""" + viewGrantsExist: Boolean - """Filter by the object’s `regexp` field.""" - regexp: StringFilter + """Filter by the object’s `viewRules` relation.""" + viewRules: DatabaseToManyViewRuleFilter - """Filter by the object’s `chk` field.""" - chk: JSONFilter + """`viewRules` exist.""" + viewRulesExist: Boolean - """Filter by the object’s `chkExpr` field.""" - chkExpr: JSONFilter + """Filter by the object’s `defaultPrivileges` relation.""" + defaultPrivileges: DatabaseToManyDefaultPrivilegeFilter - """Filter by the object’s `min` field.""" - min: FloatFilter + """`defaultPrivileges` exist.""" + defaultPrivilegesExist: Boolean - """Filter by the object’s `max` field.""" - max: FloatFilter + """Filter by the object’s `apis` relation.""" + apis: DatabaseToManyApiFilter - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """`apis` exist.""" + apisExist: Boolean - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """Filter by the object’s `apiModules` relation.""" + apiModules: DatabaseToManyApiModuleFilter - """Filter by the object’s `module` field.""" - module: StringFilter + """`apiModules` exist.""" + apiModulesExist: Boolean - """Filter by the object’s `scope` field.""" - scope: IntFilter + """Filter by the object’s `apiSchemas` relation.""" + apiSchemas: DatabaseToManyApiSchemaFilter - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter + """`apiSchemas` exist.""" + apiSchemasExist: Boolean - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter + """Filter by the object’s `sites` relation.""" + sites: DatabaseToManySiteFilter - """Checks for all expressions in this list.""" - and: [FieldFilter!] + """`sites` exist.""" + sitesExist: Boolean - """Checks for any expressions in this list.""" - or: [FieldFilter!] + """Filter by the object’s `apps` relation.""" + apps: DatabaseToManyAppFilter - """Negates the expression.""" - not: FieldFilter -} + """`apps` exist.""" + appsExist: Boolean -""" -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 + """Filter by the object’s `domains` relation.""" + domains: DatabaseToManyDomainFilter - """Equal to the specified value.""" - equalTo: Boolean + """`domains` exist.""" + domainsExist: Boolean - """Not equal to the specified value.""" - notEqualTo: Boolean + """Filter by the object’s `siteMetadata` relation.""" + siteMetadata: DatabaseToManySiteMetadatumFilter - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: Boolean + """`siteMetadata` exist.""" + siteMetadataExist: Boolean - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: Boolean + """Filter by the object’s `siteModules` relation.""" + siteModules: DatabaseToManySiteModuleFilter - """Included in the specified list.""" - in: [Boolean!] + """`siteModules` exist.""" + siteModulesExist: Boolean - """Not included in the specified list.""" - notIn: [Boolean!] + """Filter by the object’s `siteThemes` relation.""" + siteThemes: DatabaseToManySiteThemeFilter - """Less than the specified value.""" - lessThan: Boolean + """`siteThemes` exist.""" + siteThemesExist: Boolean - """Less than or equal to the specified value.""" - lessThanOrEqualTo: Boolean + """Filter by the object’s `connectedAccountsModules` relation.""" + connectedAccountsModules: DatabaseToManyConnectedAccountsModuleFilter - """Greater than the specified value.""" - greaterThan: Boolean + """`connectedAccountsModules` exist.""" + connectedAccountsModulesExist: Boolean - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: Boolean -} + """Filter by the object’s `cryptoAddressesModules` relation.""" + cryptoAddressesModules: DatabaseToManyCryptoAddressesModuleFilter -""" -A filter to be used against Float fields. All fields are combined with a logical ‘and.’ -""" -input FloatFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean + """`cryptoAddressesModules` exist.""" + cryptoAddressesModulesExist: Boolean - """Equal to the specified value.""" - equalTo: Float + """Filter by the object’s `cryptoAuthModules` relation.""" + cryptoAuthModules: DatabaseToManyCryptoAuthModuleFilter - """Not equal to the specified value.""" - notEqualTo: Float + """`cryptoAuthModules` exist.""" + cryptoAuthModulesExist: Boolean - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: Float + """Filter by the object’s `defaultIdsModules` relation.""" + defaultIdsModules: DatabaseToManyDefaultIdsModuleFilter - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: Float + """`defaultIdsModules` exist.""" + defaultIdsModulesExist: Boolean - """Included in the specified list.""" - in: [Float!] + """Filter by the object’s `denormalizedTableFields` relation.""" + denormalizedTableFields: DatabaseToManyDenormalizedTableFieldFilter - """Not included in the specified list.""" - notIn: [Float!] + """`denormalizedTableFields` exist.""" + denormalizedTableFieldsExist: Boolean - """Less than the specified value.""" - lessThan: Float + """Filter by the object’s `emailsModules` relation.""" + emailsModules: DatabaseToManyEmailsModuleFilter - """Less than or equal to the specified value.""" - lessThanOrEqualTo: Float + """`emailsModules` exist.""" + emailsModulesExist: Boolean - """Greater than the specified value.""" - greaterThan: Float + """Filter by the object’s `encryptedSecretsModules` relation.""" + encryptedSecretsModules: DatabaseToManyEncryptedSecretsModuleFilter - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: Float -} + """`encryptedSecretsModules` exist.""" + encryptedSecretsModulesExist: Boolean -"""Methods to use when ordering `Field`.""" -enum FieldOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `fieldModules` relation.""" + fieldModules: DatabaseToManyFieldModuleFilter -"""A connection to a list of `ForeignKeyConstraint` values.""" -type ForeignKeyConstraintConnection { - """A list of `ForeignKeyConstraint` objects.""" - nodes: [ForeignKeyConstraint]! + """`fieldModules` exist.""" + fieldModulesExist: Boolean - """ - A list of edges which contains the `ForeignKeyConstraint` and cursor to aid in pagination. - """ - edges: [ForeignKeyConstraintEdge]! + """Filter by the object’s `invitesModules` relation.""" + invitesModules: DatabaseToManyInvitesModuleFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """`invitesModules` exist.""" + invitesModulesExist: Boolean - """ - The count of *all* `ForeignKeyConstraint` you could get from the connection. - """ - totalCount: Int! -} + """Filter by the object’s `levelsModules` relation.""" + levelsModules: DatabaseToManyLevelsModuleFilter -type ForeignKeyConstraint { - id: UUID! - databaseId: UUID! - tableId: UUID! - name: String - description: String - smartTags: JSON - type: String - fieldIds: [UUID]! - refTableId: UUID! - refFieldIds: [UUID]! - deleteAction: String - updateAction: String - category: ObjectCategory! - module: String - scope: Int - tags: [String]! - createdAt: Datetime - updatedAt: Datetime + """`levelsModules` exist.""" + levelsModulesExist: Boolean - """ - Reads a single `Database` that is related to this `ForeignKeyConstraint`. - """ - database: Database + """Filter by the object’s `limitsModules` relation.""" + limitsModules: DatabaseToManyLimitsModuleFilter - """Reads a single `Table` that is related to this `ForeignKeyConstraint`.""" - refTable: Table + """`limitsModules` exist.""" + limitsModulesExist: Boolean - """Reads a single `Table` that is related to this `ForeignKeyConstraint`.""" - table: Table -} + """Filter by the object’s `membershipTypesModules` relation.""" + membershipTypesModules: DatabaseToManyMembershipTypesModuleFilter -"""A `ForeignKeyConstraint` edge in the connection.""" -type ForeignKeyConstraintEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """`membershipTypesModules` exist.""" + membershipTypesModulesExist: Boolean - """The `ForeignKeyConstraint` at the end of the edge.""" - node: ForeignKeyConstraint -} + """Filter by the object’s `membershipsModules` relation.""" + membershipsModules: DatabaseToManyMembershipsModuleFilter -""" -A condition to be used against `ForeignKeyConstraint` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input ForeignKeyConstraintCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """`membershipsModules` exist.""" + membershipsModulesExist: Boolean - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `permissionsModules` relation.""" + permissionsModules: DatabaseToManyPermissionsModuleFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """`permissionsModules` exist.""" + permissionsModulesExist: Boolean - """Checks for equality with the object’s `name` field.""" - name: String + """Filter by the object’s `phoneNumbersModules` relation.""" + phoneNumbersModules: DatabaseToManyPhoneNumbersModuleFilter - """Checks for equality with the object’s `description` field.""" - description: String + """`phoneNumbersModules` exist.""" + phoneNumbersModulesExist: Boolean - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Filter by the object’s `profilesModules` relation.""" + profilesModules: DatabaseToManyProfilesModuleFilter - """Checks for equality with the object’s `type` field.""" - type: String + """`profilesModules` exist.""" + profilesModulesExist: Boolean - """Checks for equality with the object’s `fieldIds` field.""" - fieldIds: [UUID] + """Filter by the object’s `rlsModule` relation.""" + rlsModule: RlsModuleFilter - """Checks for equality with the object’s `refTableId` field.""" - refTableId: UUID + """A related `rlsModule` exists.""" + rlsModuleExists: Boolean - """Checks for equality with the object’s `refFieldIds` field.""" - refFieldIds: [UUID] + """Filter by the object’s `secretsModules` relation.""" + secretsModules: DatabaseToManySecretsModuleFilter - """Checks for equality with the object’s `deleteAction` field.""" - deleteAction: String + """`secretsModules` exist.""" + secretsModulesExist: Boolean - """Checks for equality with the object’s `updateAction` field.""" - updateAction: String + """Filter by the object’s `sessionsModules` relation.""" + sessionsModules: DatabaseToManySessionsModuleFilter - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """`sessionsModules` exist.""" + sessionsModulesExist: Boolean - """Checks for equality with the object’s `module` field.""" - module: String + """Filter by the object’s `userAuthModules` relation.""" + userAuthModules: DatabaseToManyUserAuthModuleFilter - """Checks for equality with the object’s `scope` field.""" - scope: Int + """`userAuthModules` exist.""" + userAuthModulesExist: Boolean - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """Filter by the object’s `usersModules` relation.""" + usersModules: DatabaseToManyUsersModuleFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """`usersModules` exist.""" + usersModulesExist: Boolean - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} + """Filter by the object’s `uuidModules` relation.""" + uuidModules: DatabaseToManyUuidModuleFilter -""" -A filter to be used against `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ -""" -input ForeignKeyConstraintFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter + """`uuidModules` exist.""" + uuidModulesExist: Boolean - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filter by the object’s `hierarchyModule` relation.""" + hierarchyModule: HierarchyModuleFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """A related `hierarchyModule` exists.""" + hierarchyModuleExists: Boolean - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `tableTemplateModules` relation.""" + tableTemplateModules: DatabaseToManyTableTemplateModuleFilter - """Filter by the object’s `description` field.""" - description: StringFilter + """`tableTemplateModules` exist.""" + tableTemplateModulesExist: Boolean - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """Filter by the object’s `secureTableProvisions` relation.""" + secureTableProvisions: DatabaseToManySecureTableProvisionFilter - """Filter by the object’s `type` field.""" - type: StringFilter + """`secureTableProvisions` exist.""" + secureTableProvisionsExist: Boolean - """Filter by the object’s `fieldIds` field.""" - fieldIds: UUIDListFilter + """Filter by the object’s `relationProvisions` relation.""" + relationProvisions: DatabaseToManyRelationProvisionFilter - """Filter by the object’s `refTableId` field.""" - refTableId: UUIDFilter + """`relationProvisions` exist.""" + relationProvisionsExist: Boolean - """Filter by the object’s `refFieldIds` field.""" - refFieldIds: UUIDListFilter + """Filter by the object’s `databaseProvisionModules` relation.""" + databaseProvisionModules: DatabaseToManyDatabaseProvisionModuleFilter - """Filter by the object’s `deleteAction` field.""" - deleteAction: StringFilter + """`databaseProvisionModules` exist.""" + databaseProvisionModulesExist: Boolean - """Filter by the object’s `updateAction` field.""" - updateAction: StringFilter + """TRGM search on the `schema_hash` column.""" + trgmSchemaHash: TrgmSearchInput - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """Filter by the object’s `module` field.""" - module: StringFilter + """TRGM search on the `label` column.""" + trgmLabel: TrgmSearchInput - """Filter by the object’s `scope` field.""" - scope: IntFilter + """ + 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 `tags` field.""" - tags: StringListFilter +""" +A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ +""" +input UserFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `username` field.""" + username: StringFilter + + """Filter by the object’s `displayName` field.""" + displayName: StringFilter + + """Filter by the object’s `profilePicture` field.""" + profilePicture: ConstructiveInternalTypeImageFilter + + """Filter by the object’s `searchTsv` field.""" + searchTsv: FullTextFilter + + """Filter by the object’s `type` field.""" + type: IntFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -9073,686 +7929,544 @@ input ForeignKeyConstraintFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [ForeignKeyConstraintFilter!] + and: [UserFilter!] """Checks for any expressions in this list.""" - or: [ForeignKeyConstraintFilter!] + or: [UserFilter!] """Negates the expression.""" - not: ForeignKeyConstraintFilter -} + not: UserFilter -"""Methods to use when ordering `ForeignKeyConstraint`.""" -enum ForeignKeyConstraintOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `roleType` relation.""" + roleType: RoleTypeFilter -"""A connection to a list of `FullTextSearch` values.""" -type FullTextSearchConnection { - """A list of `FullTextSearch` objects.""" - nodes: [FullTextSearch]! + """Filter by the object’s `ownedDatabases` relation.""" + ownedDatabases: UserToManyDatabaseFilter - """ - A list of edges which contains the `FullTextSearch` and cursor to aid in pagination. - """ - edges: [FullTextSearchEdge]! + """`ownedDatabases` exist.""" + ownedDatabasesExist: Boolean - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `appMembershipByActorId` relation.""" + appMembershipByActorId: AppMembershipFilter - """The count of *all* `FullTextSearch` you could get from the connection.""" - totalCount: Int! -} + """A related `appMembershipByActorId` exists.""" + appMembershipByActorIdExists: Boolean -type FullTextSearch { - id: UUID! - databaseId: UUID! - tableId: UUID! - fieldId: UUID! - fieldIds: [UUID]! - weights: [String]! - langs: [String]! - createdAt: Datetime - updatedAt: Datetime + """Filter by the object’s `appAdminGrantsByGrantorId` relation.""" + appAdminGrantsByGrantorId: UserToManyAppAdminGrantFilter - """Reads a single `Database` that is related to this `FullTextSearch`.""" - database: Database + """`appAdminGrantsByGrantorId` exist.""" + appAdminGrantsByGrantorIdExist: Boolean - """Reads a single `Table` that is related to this `FullTextSearch`.""" - table: Table -} + """Filter by the object’s `appOwnerGrantsByGrantorId` relation.""" + appOwnerGrantsByGrantorId: UserToManyAppOwnerGrantFilter -"""A `FullTextSearch` edge in the connection.""" -type FullTextSearchEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """`appOwnerGrantsByGrantorId` exist.""" + appOwnerGrantsByGrantorIdExist: Boolean - """The `FullTextSearch` at the end of the edge.""" - node: FullTextSearch -} + """Filter by the object’s `appGrantsByGrantorId` relation.""" + appGrantsByGrantorId: UserToManyAppGrantFilter -""" -A condition to be used against `FullTextSearch` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input FullTextSearchCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """`appGrantsByGrantorId` exist.""" + appGrantsByGrantorIdExist: Boolean - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `orgMembershipsByActorId` relation.""" + orgMembershipsByActorId: UserToManyOrgMembershipFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """`orgMembershipsByActorId` exist.""" + orgMembershipsByActorIdExist: Boolean - """Checks for equality with the object’s `fieldId` field.""" - fieldId: UUID + """Filter by the object’s `orgMembershipsByEntityId` relation.""" + orgMembershipsByEntityId: UserToManyOrgMembershipFilter - """Checks for equality with the object’s `fieldIds` field.""" - fieldIds: [UUID] + """`orgMembershipsByEntityId` exist.""" + orgMembershipsByEntityIdExist: Boolean - """Checks for equality with the object’s `weights` field.""" - weights: [String] + """Filter by the object’s `orgMembershipDefaultByEntityId` relation.""" + orgMembershipDefaultByEntityId: OrgMembershipDefaultFilter - """Checks for equality with the object’s `langs` field.""" - langs: [String] + """A related `orgMembershipDefaultByEntityId` exists.""" + orgMembershipDefaultByEntityIdExists: Boolean - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filter by the object’s `orgMembersByActorId` relation.""" + orgMembersByActorId: UserToManyOrgMemberFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} + """`orgMembersByActorId` exist.""" + orgMembersByActorIdExist: Boolean -""" -A filter to be used against `FullTextSearch` object types. All fields are combined with a logical ‘and.’ -""" -input FullTextSearchFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter + """Filter by the object’s `orgMembersByEntityId` relation.""" + orgMembersByEntityId: UserToManyOrgMemberFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """`orgMembersByEntityId` exist.""" + orgMembersByEntityIdExist: Boolean - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Filter by the object’s `orgAdminGrantsByEntityId` relation.""" + orgAdminGrantsByEntityId: UserToManyOrgAdminGrantFilter - """Filter by the object’s `fieldId` field.""" - fieldId: UUIDFilter + """`orgAdminGrantsByEntityId` exist.""" + orgAdminGrantsByEntityIdExist: Boolean - """Filter by the object’s `fieldIds` field.""" - fieldIds: UUIDListFilter + """Filter by the object’s `orgAdminGrantsByGrantorId` relation.""" + orgAdminGrantsByGrantorId: UserToManyOrgAdminGrantFilter - """Filter by the object’s `weights` field.""" - weights: StringListFilter + """`orgAdminGrantsByGrantorId` exist.""" + orgAdminGrantsByGrantorIdExist: Boolean - """Filter by the object’s `langs` field.""" - langs: StringListFilter + """Filter by the object’s `orgOwnerGrantsByEntityId` relation.""" + orgOwnerGrantsByEntityId: UserToManyOrgOwnerGrantFilter - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter + """`orgOwnerGrantsByEntityId` exist.""" + orgOwnerGrantsByEntityIdExist: Boolean - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter + """Filter by the object’s `orgOwnerGrantsByGrantorId` relation.""" + orgOwnerGrantsByGrantorId: UserToManyOrgOwnerGrantFilter - """Checks for all expressions in this list.""" - and: [FullTextSearchFilter!] + """`orgOwnerGrantsByGrantorId` exist.""" + orgOwnerGrantsByGrantorIdExist: Boolean - """Checks for any expressions in this list.""" - or: [FullTextSearchFilter!] + """Filter by the object’s `orgGrantsByEntityId` relation.""" + orgGrantsByEntityId: UserToManyOrgGrantFilter - """Negates the expression.""" - not: FullTextSearchFilter -} + """`orgGrantsByEntityId` exist.""" + orgGrantsByEntityIdExist: Boolean -"""Methods to use when ordering `FullTextSearch`.""" -enum FullTextSearchOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `orgGrantsByGrantorId` relation.""" + orgGrantsByGrantorId: UserToManyOrgGrantFilter -"""A connection to a list of `Index` values.""" -type IndexConnection { - """A list of `Index` objects.""" - nodes: [Index]! + """`orgGrantsByGrantorId` exist.""" + orgGrantsByGrantorIdExist: Boolean - """ - A list of edges which contains the `Index` and cursor to aid in pagination. - """ - edges: [IndexEdge]! + """Filter by the object’s `parentOrgChartEdges` relation.""" + parentOrgChartEdges: UserToManyOrgChartEdgeFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """`parentOrgChartEdges` exist.""" + parentOrgChartEdgesExist: Boolean - """The count of *all* `Index` you could get from the connection.""" - totalCount: Int! -} + """Filter by the object’s `orgChartEdgesByEntityId` relation.""" + orgChartEdgesByEntityId: UserToManyOrgChartEdgeFilter -type Index { - id: UUID! - databaseId: UUID! - tableId: UUID! - name: String! - fieldIds: [UUID] - includeFieldIds: [UUID] - accessMethod: String! - indexParams: JSON - whereClause: JSON - isUnique: Boolean! - smartTags: JSON - category: ObjectCategory! - module: String - scope: Int - tags: [String]! - createdAt: Datetime - updatedAt: Datetime + """`orgChartEdgesByEntityId` exist.""" + orgChartEdgesByEntityIdExist: Boolean - """Reads a single `Database` that is related to this `Index`.""" - database: Database + """Filter by the object’s `childOrgChartEdges` relation.""" + childOrgChartEdges: UserToManyOrgChartEdgeFilter - """Reads a single `Table` that is related to this `Index`.""" - table: Table -} + """`childOrgChartEdges` exist.""" + childOrgChartEdgesExist: Boolean -"""A `Index` edge in the connection.""" -type IndexEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `parentOrgChartEdgeGrants` relation.""" + parentOrgChartEdgeGrants: UserToManyOrgChartEdgeGrantFilter - """The `Index` at the end of the edge.""" - node: Index -} + """`parentOrgChartEdgeGrants` exist.""" + parentOrgChartEdgeGrantsExist: Boolean -""" -A condition to be used against `Index` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input IndexCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Filter by the object’s `orgChartEdgeGrantsByEntityId` relation.""" + orgChartEdgeGrantsByEntityId: UserToManyOrgChartEdgeGrantFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """`orgChartEdgeGrantsByEntityId` exist.""" + orgChartEdgeGrantsByEntityIdExist: Boolean - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filter by the object’s `orgChartEdgeGrantsByGrantorId` relation.""" + orgChartEdgeGrantsByGrantorId: UserToManyOrgChartEdgeGrantFilter - """Checks for equality with the object’s `name` field.""" - name: String + """`orgChartEdgeGrantsByGrantorId` exist.""" + orgChartEdgeGrantsByGrantorIdExist: Boolean - """Checks for equality with the object’s `fieldIds` field.""" - fieldIds: [UUID] + """Filter by the object’s `childOrgChartEdgeGrants` relation.""" + childOrgChartEdgeGrants: UserToManyOrgChartEdgeGrantFilter - """Checks for equality with the object’s `includeFieldIds` field.""" - includeFieldIds: [UUID] + """`childOrgChartEdgeGrants` exist.""" + childOrgChartEdgeGrantsExist: Boolean - """Checks for equality with the object’s `accessMethod` field.""" - accessMethod: String + """Filter by the object’s `appLimitsByActorId` relation.""" + appLimitsByActorId: UserToManyAppLimitFilter - """Checks for equality with the object’s `indexParams` field.""" - indexParams: JSON + """`appLimitsByActorId` exist.""" + appLimitsByActorIdExist: Boolean - """Checks for equality with the object’s `whereClause` field.""" - whereClause: JSON + """Filter by the object’s `orgLimitsByActorId` relation.""" + orgLimitsByActorId: UserToManyOrgLimitFilter - """Checks for equality with the object’s `isUnique` field.""" - isUnique: Boolean + """`orgLimitsByActorId` exist.""" + orgLimitsByActorIdExist: Boolean - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Filter by the object’s `orgLimitsByEntityId` relation.""" + orgLimitsByEntityId: UserToManyOrgLimitFilter - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """`orgLimitsByEntityId` exist.""" + orgLimitsByEntityIdExist: Boolean - """Checks for equality with the object’s `module` field.""" - module: String + """Filter by the object’s `appStepsByActorId` relation.""" + appStepsByActorId: UserToManyAppStepFilter - """Checks for equality with the object’s `scope` field.""" - scope: Int + """`appStepsByActorId` exist.""" + appStepsByActorIdExist: Boolean - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """Filter by the object’s `appAchievementsByActorId` relation.""" + appAchievementsByActorId: UserToManyAppAchievementFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """`appAchievementsByActorId` exist.""" + appAchievementsByActorIdExist: Boolean - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} + """Filter by the object’s `invitesBySenderId` relation.""" + invitesBySenderId: UserToManyInviteFilter -""" -A filter to be used against `Index` object types. All fields are combined with a logical ‘and.’ -""" -input IndexFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter + """`invitesBySenderId` exist.""" + invitesBySenderIdExist: Boolean - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filter by the object’s `claimedInvitesByReceiverId` relation.""" + claimedInvitesByReceiverId: UserToManyClaimedInviteFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """`claimedInvitesByReceiverId` exist.""" + claimedInvitesByReceiverIdExist: Boolean - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `claimedInvitesBySenderId` relation.""" + claimedInvitesBySenderId: UserToManyClaimedInviteFilter - """Filter by the object’s `fieldIds` field.""" - fieldIds: UUIDListFilter + """`claimedInvitesBySenderId` exist.""" + claimedInvitesBySenderIdExist: Boolean - """Filter by the object’s `includeFieldIds` field.""" - includeFieldIds: UUIDListFilter + """Filter by the object’s `orgInvitesByEntityId` relation.""" + orgInvitesByEntityId: UserToManyOrgInviteFilter - """Filter by the object’s `accessMethod` field.""" - accessMethod: StringFilter + """`orgInvitesByEntityId` exist.""" + orgInvitesByEntityIdExist: Boolean - """Filter by the object’s `indexParams` field.""" - indexParams: JSONFilter + """Filter by the object’s `orgInvitesBySenderId` relation.""" + orgInvitesBySenderId: UserToManyOrgInviteFilter - """Filter by the object’s `whereClause` field.""" - whereClause: JSONFilter + """`orgInvitesBySenderId` exist.""" + orgInvitesBySenderIdExist: Boolean - """Filter by the object’s `isUnique` field.""" - isUnique: BooleanFilter + """Filter by the object’s `orgClaimedInvitesByReceiverId` relation.""" + orgClaimedInvitesByReceiverId: UserToManyOrgClaimedInviteFilter - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """`orgClaimedInvitesByReceiverId` exist.""" + orgClaimedInvitesByReceiverIdExist: Boolean - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """Filter by the object’s `orgClaimedInvitesBySenderId` relation.""" + orgClaimedInvitesBySenderId: UserToManyOrgClaimedInviteFilter - """Filter by the object’s `module` field.""" - module: StringFilter + """`orgClaimedInvitesBySenderId` exist.""" + orgClaimedInvitesBySenderIdExist: Boolean - """Filter by the object’s `scope` field.""" - scope: IntFilter + """TSV search on the `search_tsv` column.""" + tsvSearchTsv: String - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """TRGM search on the `display_name` column.""" + trgmDisplayName: TrgmSearchInput - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter + """ + 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 `updatedAt` field.""" - updatedAt: DatetimeFilter +""" +A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeImageFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Checks for all expressions in this list.""" - and: [IndexFilter!] + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeImage - """Checks for any expressions in this list.""" - or: [IndexFilter!] + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeImage - """Negates the expression.""" - not: IndexFilter -} + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ConstructiveInternalTypeImage -"""Methods to use when ordering `Index`.""" -enum IndexOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeImage -"""A connection to a list of `Policy` values.""" -type PolicyConnection { - """A list of `Policy` objects.""" - nodes: [Policy]! + """Included in the specified list.""" + in: [ConstructiveInternalTypeImage!] - """ - A list of edges which contains the `Policy` and cursor to aid in pagination. - """ - edges: [PolicyEdge]! + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeImage!] - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeImage - """The count of *all* `Policy` you could get from the connection.""" - totalCount: Int! -} + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeImage -type Policy { - id: UUID! - databaseId: UUID! - tableId: UUID! - name: String - granteeName: String - privilege: String - permissive: Boolean - disabled: Boolean - policyType: String - data: JSON - smartTags: JSON - category: ObjectCategory! - module: String - scope: Int - tags: [String]! - createdAt: Datetime - updatedAt: Datetime + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeImage - """Reads a single `Database` that is related to this `Policy`.""" - database: Database + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeImage - """Reads a single `Table` that is related to this `Policy`.""" - table: Table -} + """Contains the specified JSON.""" + contains: ConstructiveInternalTypeImage -"""A `Policy` edge in the connection.""" -type PolicyEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Contains the specified key.""" + containsKey: String - """The `Policy` at the end of the edge.""" - node: Policy + """Contains all of the specified keys.""" + containsAllKeys: [String!] + + """Contains any of the specified keys.""" + containsAnyKeys: [String!] + + """Contained by the specified JSON.""" + containedBy: ConstructiveInternalTypeImage } """ -A condition to be used against `Policy` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ """ -input PolicyCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID +input FullTextFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Equal to the specified value.""" + equalTo: FullText - """Checks for equality with the object’s `name` field.""" - name: String + """Not equal to the specified value.""" + notEqualTo: FullText - """Checks for equality with the object’s `granteeName` field.""" - granteeName: String + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: FullText - """Checks for equality with the object’s `privilege` field.""" - privilege: String + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: FullText - """Checks for equality with the object’s `permissive` field.""" - permissive: Boolean + """Included in the specified list.""" + in: [FullText!] - """Checks for equality with the object’s `disabled` field.""" - disabled: Boolean + """Not included in the specified list.""" + notIn: [FullText!] - """Checks for equality with the object’s `policyType` field.""" - policyType: String + """Performs a full text search on the field.""" + matches: String +} - """Checks for equality with the object’s `data` field.""" - data: JSON +""" +A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ +""" +input RoleTypeFilter { + """Filter by the object’s `id` field.""" + id: IntFilter - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Filter by the object’s `name` field.""" + name: StringFilter - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Checks for all expressions in this list.""" + and: [RoleTypeFilter!] - """Checks for equality with the object’s `module` field.""" - module: String + """Checks for any expressions in this list.""" + or: [RoleTypeFilter!] - """Checks for equality with the object’s `scope` field.""" - scope: Int + """Negates the expression.""" + not: RoleTypeFilter +} - """Checks for equality with the object’s `tags` field.""" - tags: [String] +""" +A filter to be used against many `Database` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyDatabaseFilter { + """Filters to entities where at least one related entity matches.""" + some: DatabaseFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filters to entities where every related entity matches.""" + every: DatabaseFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Filters to entities where no related entity matches.""" + none: DatabaseFilter } """ -A filter to be used against `Policy` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ """ -input PolicyFilter { +input AppMembershipFilter { """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 `createdAt` field.""" + createdAt: DatetimeFilter - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Filter by the object’s `granteeName` field.""" - granteeName: StringFilter + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter - """Filter by the object’s `privilege` field.""" - privilege: StringFilter + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter - """Filter by the object’s `permissive` field.""" - permissive: BooleanFilter + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter - """Filter by the object’s `disabled` field.""" - disabled: BooleanFilter + """Filter by the object’s `isBanned` field.""" + isBanned: BooleanFilter - """Filter by the object’s `policyType` field.""" - policyType: StringFilter + """Filter by the object’s `isDisabled` field.""" + isDisabled: BooleanFilter - """Filter by the object’s `data` field.""" - data: JSONFilter + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """Filter by the object’s `isActive` field.""" + isActive: BooleanFilter - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """Filter by the object’s `isOwner` field.""" + isOwner: BooleanFilter - """Filter by the object’s `module` field.""" - module: StringFilter + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter - """Filter by the object’s `scope` field.""" - scope: IntFilter + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """Filter by the object’s `granted` field.""" + granted: BitStringFilter - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter + """Filter by the object’s `profileId` field.""" + profileId: UUIDFilter """Checks for all expressions in this list.""" - and: [PolicyFilter!] + and: [AppMembershipFilter!] """Checks for any expressions in this list.""" - or: [PolicyFilter!] + or: [AppMembershipFilter!] """Negates the expression.""" - not: PolicyFilter -} + not: AppMembershipFilter -"""Methods to use when ordering `Policy`.""" -enum PolicyOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC + """Filter by the object’s `actor` relation.""" + actor: UserFilter } -"""A connection to a list of `PrimaryKeyConstraint` values.""" -type PrimaryKeyConstraintConnection { - """A list of `PrimaryKeyConstraint` objects.""" - nodes: [PrimaryKeyConstraint]! - +""" +A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ +""" +input BooleanFilter { """ - A list of edges which contains the `PrimaryKeyConstraint` and cursor to aid in pagination. + Is null (if `true` is specified) or is not null (if `false` is specified). """ - edges: [PrimaryKeyConstraintEdge]! + isNull: Boolean - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Equal to the specified value.""" + equalTo: Boolean + + """Not equal to the specified value.""" + notEqualTo: Boolean """ - The count of *all* `PrimaryKeyConstraint` you could get from the connection. + Not equal to the specified value, treating null like an ordinary value. """ - totalCount: Int! -} + distinctFrom: Boolean -type PrimaryKeyConstraint { - id: UUID! - databaseId: UUID! - tableId: UUID! - name: String - type: String - fieldIds: [UUID]! - smartTags: JSON - category: ObjectCategory! - module: String - scope: Int - tags: [String]! - createdAt: Datetime - updatedAt: Datetime + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Boolean - """ - Reads a single `Database` that is related to this `PrimaryKeyConstraint`. - """ - database: Database + """Included in the specified list.""" + in: [Boolean!] - """Reads a single `Table` that is related to this `PrimaryKeyConstraint`.""" - table: Table -} + """Not included in the specified list.""" + notIn: [Boolean!] -"""A `PrimaryKeyConstraint` edge in the connection.""" -type PrimaryKeyConstraintEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Less than the specified value.""" + lessThan: Boolean - """The `PrimaryKeyConstraint` at the end of the edge.""" - node: PrimaryKeyConstraint + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Boolean + + """Greater than the specified value.""" + greaterThan: Boolean + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Boolean } """ -A condition to be used against `PrimaryKeyConstraint` object types. All fields -are tested for equality and combined with a logical ‘and.’ +A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ """ -input PrimaryKeyConstraintCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input BitStringFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Equal to the specified value.""" + equalTo: BitString - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Not equal to the specified value.""" + notEqualTo: BitString - """Checks for equality with the object’s `name` field.""" - name: String + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: BitString - """Checks for equality with the object’s `type` field.""" - type: String + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: BitString - """Checks for equality with the object’s `fieldIds` field.""" - fieldIds: [UUID] + """Included in the specified list.""" + in: [BitString!] - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Not included in the specified list.""" + notIn: [BitString!] - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Less than the specified value.""" + lessThan: BitString - """Checks for equality with the object’s `module` field.""" - module: String + """Less than or equal to the specified value.""" + lessThanOrEqualTo: BitString - """Checks for equality with the object’s `scope` field.""" - scope: Int + """Greater than the specified value.""" + greaterThan: BitString - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: BitString +} - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime +""" +A filter to be used against many `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppAdminGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: AppAdminGrantFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Filters to entities where every related entity matches.""" + every: AppAdminGrantFilter + + """Filters to entities where no related entity matches.""" + none: AppAdminGrantFilter } """ -A filter to be used against `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ """ -input PrimaryKeyConstraintFilter { +input AppAdminGrantFilter { """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 `name` field.""" - name: StringFilter - - """Filter by the object’s `type` field.""" - type: StringFilter - - """Filter by the object’s `fieldIds` field.""" - fieldIds: UUIDListFilter - - """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 `isGrant` field.""" + isGrant: BooleanFilter - """Filter by the object’s `scope` field.""" - scope: IntFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -9761,136 +8475,112 @@ input PrimaryKeyConstraintFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [PrimaryKeyConstraintFilter!] + and: [AppAdminGrantFilter!] """Checks for any expressions in this list.""" - or: [PrimaryKeyConstraintFilter!] + or: [AppAdminGrantFilter!] """Negates the expression.""" - not: PrimaryKeyConstraintFilter -} - -"""Methods to use when ordering `PrimaryKeyConstraint`.""" -enum PrimaryKeyConstraintOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} - -"""A connection to a list of `TableGrant` values.""" -type TableGrantConnection { - """A list of `TableGrant` objects.""" - nodes: [TableGrant]! + not: AppAdminGrantFilter - """ - A list of edges which contains the `TableGrant` and cursor to aid in pagination. - """ - edges: [TableGrantEdge]! + """Filter by the object’s `actor` relation.""" + actor: UserFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter - """The count of *all* `TableGrant` you could get from the connection.""" - totalCount: Int! + """A related `grantor` exists.""" + grantorExists: Boolean } -type TableGrant { - id: UUID! - databaseId: UUID! - tableId: UUID! - privilege: String! - granteeName: String! - fieldIds: [UUID] - isGrant: Boolean! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `Database` that is related to this `TableGrant`.""" - database: Database - - """Reads a single `Table` that is related to this `TableGrant`.""" - table: Table -} +""" +A filter to be used against many `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppOwnerGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: AppOwnerGrantFilter -"""A `TableGrant` edge in the connection.""" -type TableGrantEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filters to entities where every related entity matches.""" + every: AppOwnerGrantFilter - """The `TableGrant` at the end of the edge.""" - node: TableGrant + """Filters to entities where no related entity matches.""" + none: AppOwnerGrantFilter } """ -A condition to be used against `TableGrant` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ """ -input TableGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input AppOwnerGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Checks for equality with the object’s `privilege` field.""" - privilege: String + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter - """Checks for equality with the object’s `granteeName` field.""" - granteeName: String + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Checks for equality with the object’s `fieldIds` field.""" - fieldIds: [UUID] + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean + """Checks for all expressions in this list.""" + and: [AppOwnerGrantFilter!] - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Checks for any expressions in this list.""" + or: [AppOwnerGrantFilter!] - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Negates the expression.""" + not: AppOwnerGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean } """ -A filter to be used against `TableGrant` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `AppGrant` object types. All fields are combined with a logical ‘and.’ """ -input TableGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter +input UserToManyAppGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: AppGrantFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Filters to entities where every related entity matches.""" + every: AppGrantFilter - """Filter by the object’s `privilege` field.""" - privilege: StringFilter + """Filters to entities where no related entity matches.""" + none: AppGrantFilter +} - """Filter by the object’s `granteeName` field.""" - granteeName: StringFilter +""" +A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ +""" +input AppGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Filter by the object’s `fieldIds` field.""" - fieldIds: UUIDListFilter + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter """Filter by the object’s `isGrant` field.""" isGrant: BooleanFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter + """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -9898,160 +8588,228 @@ input TableGrantFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [TableGrantFilter!] + and: [AppGrantFilter!] """Checks for any expressions in this list.""" - or: [TableGrantFilter!] + or: [AppGrantFilter!] """Negates the expression.""" - not: TableGrantFilter + not: AppGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean } -"""Methods to use when ordering `TableGrant`.""" -enum TableGrantOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC +""" +A filter to be used against many `OrgMembership` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgMembershipFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgMembershipFilter + + """Filters to entities where every related entity matches.""" + every: OrgMembershipFilter + + """Filters to entities where no related entity matches.""" + none: OrgMembershipFilter } -"""A connection to a list of `Trigger` values.""" -type TriggerConnection { - """A list of `Trigger` objects.""" - nodes: [Trigger]! +""" +A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ +""" +input OrgMembershipFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """ - A list of edges which contains the `Trigger` and cursor to aid in pagination. - """ - edges: [TriggerEdge]! + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """The count of *all* `Trigger` you could get from the connection.""" - totalCount: Int! -} + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter -type Trigger { - id: UUID! - databaseId: UUID! - tableId: UUID! - name: String! - event: String - functionName: String - smartTags: JSON - category: ObjectCategory! - module: String - scope: Int - tags: [String]! - createdAt: Datetime - updatedAt: Datetime + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter - """Reads a single `Database` that is related to this `Trigger`.""" - database: Database + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter - """Reads a single `Table` that is related to this `Trigger`.""" - table: Table -} + """Filter by the object’s `isBanned` field.""" + isBanned: BooleanFilter -"""A `Trigger` edge in the connection.""" -type TriggerEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `isDisabled` field.""" + isDisabled: BooleanFilter - """The `Trigger` at the end of the edge.""" - node: Trigger + """Filter by the object’s `isActive` field.""" + isActive: BooleanFilter + + """Filter by the object’s `isOwner` field.""" + isOwner: BooleanFilter + + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Filter by the object’s `granted` field.""" + granted: BitStringFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `profileId` field.""" + profileId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [OrgMembershipFilter!] + + """Checks for any expressions in this list.""" + or: [OrgMembershipFilter!] + + """Negates the expression.""" + not: OrgMembershipFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter } """ -A condition to be used against `Trigger` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ """ -input TriggerCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input OrgMembershipDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filter by the object’s `createdBy` field.""" + createdBy: UUIDFilter - """Checks for equality with the object’s `event` field.""" - event: String + """Filter by the object’s `updatedBy` field.""" + updatedBy: UUIDFilter - """Checks for equality with the object’s `functionName` field.""" - functionName: String + """Filter by the object’s `isApproved` field.""" + isApproved: BooleanFilter - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Filter by the object’s `deleteMemberCascadeGroups` field.""" + deleteMemberCascadeGroups: BooleanFilter - """Checks for equality with the object’s `module` field.""" - module: String + """Filter by the object’s `createGroupsCascadeMembers` field.""" + createGroupsCascadeMembers: BooleanFilter - """Checks for equality with the object’s `scope` field.""" - scope: Int + """Checks for all expressions in this list.""" + and: [OrgMembershipDefaultFilter!] - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """Checks for any expressions in this list.""" + or: [OrgMembershipDefaultFilter!] - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Negates the expression.""" + not: OrgMembershipDefaultFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Filter by the object’s `entity` relation.""" + entity: UserFilter } """ -A filter to be used against `Trigger` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `OrgMember` object types. All fields are combined with a logical ‘and.’ """ -input TriggerFilter { +input UserToManyOrgMemberFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgMemberFilter + + """Filters to entities where every related entity matches.""" + every: OrgMemberFilter + + """Filters to entities where no related entity matches.""" + none: OrgMemberFilter +} + +""" +A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ +""" +input OrgMemberFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filter by the object’s `isAdmin` field.""" + isAdmin: BooleanFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Filter by the object’s `event` field.""" - event: StringFilter + """Checks for all expressions in this list.""" + and: [OrgMemberFilter!] - """Filter by the object’s `functionName` field.""" - functionName: StringFilter + """Checks for any expressions in this list.""" + or: [OrgMemberFilter!] - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """Negates the expression.""" + not: OrgMemberFilter - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """Filter by the object’s `actor` relation.""" + actor: UserFilter - """Filter by the object’s `module` field.""" - module: StringFilter + """Filter by the object’s `entity` relation.""" + entity: UserFilter +} - """Filter by the object’s `scope` field.""" - scope: IntFilter +""" +A filter to be used against many `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgAdminGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgAdminGrantFilter - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """Filters to entities where every related entity matches.""" + every: OrgAdminGrantFilter + + """Filters to entities where no related entity matches.""" + none: OrgAdminGrantFilter +} + +""" +A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ +""" +input OrgAdminGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -10060,172 +8818,123 @@ input TriggerFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [TriggerFilter!] + and: [OrgAdminGrantFilter!] """Checks for any expressions in this list.""" - or: [TriggerFilter!] + or: [OrgAdminGrantFilter!] """Negates the expression.""" - not: TriggerFilter + not: OrgAdminGrantFilter + + """Filter by the object’s `actor` relation.""" + actor: UserFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter + + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter + + """A related `grantor` exists.""" + grantorExists: Boolean } -"""Methods to use when ordering `Trigger`.""" -enum TriggerOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} - -"""A connection to a list of `UniqueConstraint` values.""" -type UniqueConstraintConnection { - """A list of `UniqueConstraint` objects.""" - nodes: [UniqueConstraint]! - - """ - A list of edges which contains the `UniqueConstraint` and cursor to aid in pagination. - """ - edges: [UniqueConstraintEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """ - The count of *all* `UniqueConstraint` you could get from the connection. - """ - totalCount: Int! -} - -type UniqueConstraint { - id: UUID! - databaseId: UUID! - tableId: UUID! - name: String - description: String - smartTags: JSON - type: String - fieldIds: [UUID]! - category: ObjectCategory! - module: String - scope: Int - tags: [String]! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `Database` that is related to this `UniqueConstraint`.""" - database: Database - - """Reads a single `Table` that is related to this `UniqueConstraint`.""" - table: Table -} +""" +A filter to be used against many `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgOwnerGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgOwnerGrantFilter -"""A `UniqueConstraint` edge in the connection.""" -type UniqueConstraintEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filters to entities where every related entity matches.""" + every: OrgOwnerGrantFilter - """The `UniqueConstraint` at the end of the edge.""" - node: UniqueConstraint + """Filters to entities where no related entity matches.""" + none: OrgOwnerGrantFilter } """ -A condition to be used against `UniqueConstraint` object types. All fields are -tested for equality and combined with a logical ‘and.’ +A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ """ -input UniqueConstraintCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input OrgOwnerGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Checks for equality with the object’s `description` field.""" - description: String + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Checks for equality with the object’s `type` field.""" - type: String + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Checks for equality with the object’s `fieldIds` field.""" - fieldIds: [UUID] + """Checks for all expressions in this list.""" + and: [OrgOwnerGrantFilter!] - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Checks for any expressions in this list.""" + or: [OrgOwnerGrantFilter!] - """Checks for equality with the object’s `module` field.""" - module: String + """Negates the expression.""" + not: OrgOwnerGrantFilter - """Checks for equality with the object’s `scope` field.""" - scope: Int + """Filter by the object’s `actor` relation.""" + actor: UserFilter - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """Filter by the object’s `entity` relation.""" + entity: UserFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """A related `grantor` exists.""" + grantorExists: Boolean } """ -A filter to be used against `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `OrgGrant` object types. All fields are combined with a logical ‘and.’ """ -input UniqueConstraintFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter +input UserToManyOrgGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgGrantFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `name` field.""" - name: StringFilter + """Filters to entities where every related entity matches.""" + every: OrgGrantFilter - """Filter by the object’s `description` field.""" - description: StringFilter - - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """Filters to entities where no related entity matches.""" + none: OrgGrantFilter +} - """Filter by the object’s `type` field.""" - type: StringFilter +""" +A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ +""" +input OrgGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Filter by the object’s `fieldIds` field.""" - fieldIds: UUIDListFilter + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter - """Filter by the object’s `module` field.""" - module: StringFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `scope` field.""" - scope: IntFilter + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -10234,1137 +8943,952 @@ input UniqueConstraintFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [UniqueConstraintFilter!] + and: [OrgGrantFilter!] """Checks for any expressions in this list.""" - or: [UniqueConstraintFilter!] + or: [OrgGrantFilter!] """Negates the expression.""" - not: UniqueConstraintFilter -} + not: OrgGrantFilter -"""Methods to use when ordering `UniqueConstraint`.""" -enum UniqueConstraintOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `actor` relation.""" + actor: UserFilter -"""A connection to a list of `View` values.""" -type ViewConnection { - """A list of `View` objects.""" - nodes: [View]! + """Filter by the object’s `entity` relation.""" + entity: UserFilter - """ - A list of edges which contains the `View` and cursor to aid in pagination. - """ - edges: [ViewEdge]! + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """A related `grantor` exists.""" + grantorExists: Boolean +} - """The count of *all* `View` you could get from the connection.""" - totalCount: Int! +""" +A filter to be used against many `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgChartEdgeFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgChartEdgeFilter + + """Filters to entities where every related entity matches.""" + every: OrgChartEdgeFilter + + """Filters to entities where no related entity matches.""" + none: OrgChartEdgeFilter } -type View { - id: UUID! - databaseId: UUID! - schemaId: UUID! - name: String! - tableId: UUID - viewType: String! - data: JSON - filterType: String - filterData: JSON - securityInvoker: Boolean - isReadOnly: Boolean - smartTags: JSON - category: ObjectCategory! - module: String - scope: Int - tags: [String]! +""" +A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ +""" +input OrgChartEdgeFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reads a single `Database` that is related to this `View`.""" - database: Database + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Reads a single `Schema` that is related to this `View`.""" - schema: Schema + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Reads a single `Table` that is related to this `View`.""" - table: Table + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Reads and enables pagination through a set of `ViewTable`.""" - viewTables( - """Only read the first `n` values of the set.""" - first: Int + """Filter by the object’s `childId` field.""" + childId: UUIDFilter - """Only read the last `n` values of the set.""" - last: Int + """Filter by the object’s `parentId` field.""" + parentId: UUIDFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """Filter by the object’s `positionTitle` field.""" + positionTitle: StringFilter - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Filter by the object’s `positionLevel` field.""" + positionLevel: IntFilter - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Checks for all expressions in this list.""" + and: [OrgChartEdgeFilter!] - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewTableCondition + """Checks for any expressions in this list.""" + or: [OrgChartEdgeFilter!] - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: ViewTableFilter + """Negates the expression.""" + not: OrgChartEdgeFilter - """The method to use when ordering `ViewTable`.""" - orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] - ): ViewTableConnection! + """Filter by the object’s `child` relation.""" + child: UserFilter - """Reads and enables pagination through a set of `ViewGrant`.""" - viewGrants( - """Only read the first `n` values of the set.""" - first: Int + """Filter by the object’s `entity` relation.""" + entity: UserFilter - """Only read the last `n` values of the set.""" - last: Int + """Filter by the object’s `parent` relation.""" + parent: UserFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """A related `parent` exists.""" + parentExists: Boolean - """Read all values in the set before (above) this cursor.""" - before: Cursor + """TRGM search on the `position_title` column.""" + trgmPositionTitle: TrgmSearchInput - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + 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 condition to be used in determining which values should be returned by the collection. - """ - condition: ViewGrantCondition +""" +A filter to be used against many `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgChartEdgeGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgChartEdgeGrantFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: ViewGrantFilter + """Filters to entities where every related entity matches.""" + every: OrgChartEdgeGrantFilter - """The method to use when ordering `ViewGrant`.""" - orderBy: [ViewGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): ViewGrantConnection! + """Filters to entities where no related entity matches.""" + none: OrgChartEdgeGrantFilter +} - """Reads and enables pagination through a set of `ViewRule`.""" - viewRules( - """Only read the first `n` values of the set.""" - first: Int +""" +A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ +""" +input OrgChartEdgeGrantFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Only read the last `n` values of the set.""" - last: Int + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """Filter by the object’s `childId` field.""" + childId: UUIDFilter - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Filter by the object’s `parentId` field.""" + parentId: UUIDFilter - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Filter by the object’s `grantorId` field.""" + grantorId: UUIDFilter - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewRuleCondition + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: ViewRuleFilter + """Filter by the object’s `positionTitle` field.""" + positionTitle: StringFilter - """The method to use when ordering `ViewRule`.""" - orderBy: [ViewRuleOrderBy!] = [PRIMARY_KEY_ASC] - ): ViewRuleConnection! -} + """Filter by the object’s `positionLevel` field.""" + positionLevel: IntFilter -"""A connection to a list of `ViewTable` values.""" -type ViewTableConnection { - """A list of `ViewTable` objects.""" - nodes: [ViewTable]! + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """ - A list of edges which contains the `ViewTable` and cursor to aid in pagination. - """ - edges: [ViewTableEdge]! + """Checks for all expressions in this list.""" + and: [OrgChartEdgeGrantFilter!] - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Checks for any expressions in this list.""" + or: [OrgChartEdgeGrantFilter!] - """The count of *all* `ViewTable` you could get from the connection.""" - totalCount: Int! -} + """Negates the expression.""" + not: OrgChartEdgeGrantFilter -""" -Junction table linking views to their joined tables for referential integrity -""" -type ViewTable { - id: UUID! - viewId: UUID! - tableId: UUID! - joinOrder: Int! + """Filter by the object’s `child` relation.""" + child: UserFilter - """Reads a single `Table` that is related to this `ViewTable`.""" - table: Table + """Filter by the object’s `entity` relation.""" + entity: UserFilter - """Reads a single `View` that is related to this `ViewTable`.""" - view: View -} + """Filter by the object’s `grantor` relation.""" + grantor: UserFilter -"""A `ViewTable` edge in the connection.""" -type ViewTableEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `parent` relation.""" + parent: UserFilter - """The `ViewTable` at the end of the edge.""" - node: ViewTable + """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 } """ -A condition to be used against `ViewTable` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against many `AppLimit` object types. All fields are combined with a logical ‘and.’ """ -input ViewTableCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `viewId` field.""" - viewId: UUID +input UserToManyAppLimitFilter { + """Filters to entities where at least one related entity matches.""" + some: AppLimitFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filters to entities where every related entity matches.""" + every: AppLimitFilter - """Checks for equality with the object’s `joinOrder` field.""" - joinOrder: Int + """Filters to entities where no related entity matches.""" + none: AppLimitFilter } """ -A filter to be used against `ViewTable` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ """ -input ViewTableFilter { +input AppLimitFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `viewId` field.""" - viewId: UUIDFilter + """Filter by the object’s `name` field.""" + name: StringFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `joinOrder` field.""" - joinOrder: IntFilter + """Filter by the object’s `num` field.""" + num: IntFilter + + """Filter by the object’s `max` field.""" + max: IntFilter """Checks for all expressions in this list.""" - and: [ViewTableFilter!] + and: [AppLimitFilter!] """Checks for any expressions in this list.""" - or: [ViewTableFilter!] + or: [AppLimitFilter!] """Negates the expression.""" - not: ViewTableFilter -} + not: AppLimitFilter -"""Methods to use when ordering `ViewTable`.""" -enum ViewTableOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - VIEW_ID_ASC - VIEW_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC + """Filter by the object’s `actor` relation.""" + actor: UserFilter } -"""A connection to a list of `ViewGrant` values.""" -type ViewGrantConnection { - """A list of `ViewGrant` objects.""" - nodes: [ViewGrant]! - - """ - A list of edges which contains the `ViewGrant` and cursor to aid in pagination. - """ - edges: [ViewGrantEdge]! +""" +A filter to be used against many `OrgLimit` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgLimitFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgLimitFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filters to entities where every related entity matches.""" + every: OrgLimitFilter - """The count of *all* `ViewGrant` you could get from the connection.""" - totalCount: Int! + """Filters to entities where no related entity matches.""" + none: OrgLimitFilter } -type ViewGrant { - id: UUID! - databaseId: UUID! - viewId: UUID! - granteeName: String! - privilege: String! - withGrantOption: Boolean - isGrant: Boolean! +""" +A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ +""" +input OrgLimitFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reads a single `Database` that is related to this `ViewGrant`.""" - database: Database + """Filter by the object’s `name` field.""" + name: StringFilter - """Reads a single `View` that is related to this `ViewGrant`.""" - view: View -} + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter -"""A `ViewGrant` edge in the connection.""" -type ViewGrantEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `num` field.""" + num: IntFilter - """The `ViewGrant` at the end of the edge.""" - node: ViewGrant -} + """Filter by the object’s `max` field.""" + max: IntFilter -""" -A condition to be used against `ViewGrant` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input ViewGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Checks for all expressions in this list.""" + and: [OrgLimitFilter!] - """Checks for equality with the object’s `viewId` field.""" - viewId: UUID + """Checks for any expressions in this list.""" + or: [OrgLimitFilter!] - """Checks for equality with the object’s `granteeName` field.""" - granteeName: String + """Negates the expression.""" + not: OrgLimitFilter - """Checks for equality with the object’s `privilege` field.""" - privilege: String + """Filter by the object’s `actor` relation.""" + actor: UserFilter - """Checks for equality with the object’s `withGrantOption` field.""" - withGrantOption: Boolean + """Filter by the object’s `entity` relation.""" + entity: UserFilter +} - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean +""" +A filter to be used against many `AppStep` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAppStepFilter { + """Filters to entities where at least one related entity matches.""" + some: AppStepFilter + + """Filters to entities where every related entity matches.""" + every: AppStepFilter + + """Filters to entities where no related entity matches.""" + none: AppStepFilter } """ -A filter to be used against `ViewGrant` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ """ -input ViewGrantFilter { +input AppStepFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `viewId` field.""" - viewId: UUIDFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `granteeName` field.""" - granteeName: StringFilter + """Filter by the object’s `name` field.""" + name: StringFilter - """Filter by the object’s `privilege` field.""" - privilege: StringFilter + """Filter by the object’s `count` field.""" + count: IntFilter - """Filter by the object’s `withGrantOption` field.""" - withGrantOption: BooleanFilter + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [ViewGrantFilter!] + and: [AppStepFilter!] """Checks for any expressions in this list.""" - or: [ViewGrantFilter!] + or: [AppStepFilter!] """Negates the expression.""" - not: ViewGrantFilter -} - -"""Methods to use when ordering `ViewGrant`.""" -enum ViewGrantOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - VIEW_ID_ASC - VIEW_ID_DESC - GRANTEE_NAME_ASC - GRANTEE_NAME_DESC - PRIVILEGE_ASC - PRIVILEGE_DESC - IS_GRANT_ASC - IS_GRANT_DESC -} - -"""A connection to a list of `ViewRule` values.""" -type ViewRuleConnection { - """A list of `ViewRule` objects.""" - nodes: [ViewRule]! - - """ - A list of edges which contains the `ViewRule` and cursor to aid in pagination. - """ - edges: [ViewRuleEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `ViewRule` you could get from the connection.""" - totalCount: Int! -} - -"""DO INSTEAD rules for views (e.g., read-only enforcement)""" -type ViewRule { - id: UUID! - databaseId: UUID! - viewId: UUID! - name: String! - - """INSERT, UPDATE, or DELETE""" - event: String! - - """NOTHING (for read-only) or custom action""" - action: String! - - """Reads a single `Database` that is related to this `ViewRule`.""" - database: Database - - """Reads a single `View` that is related to this `ViewRule`.""" - view: View -} - -"""A `ViewRule` edge in the connection.""" -type ViewRuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor + not: AppStepFilter - """The `ViewRule` at the end of the edge.""" - node: ViewRule + """Filter by the object’s `actor` relation.""" + actor: UserFilter } """ -A condition to be used against `ViewRule` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against many `AppAchievement` object types. All fields are combined with a logical ‘and.’ """ -input ViewRuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `viewId` field.""" - viewId: UUID +input UserToManyAppAchievementFilter { + """Filters to entities where at least one related entity matches.""" + some: AppAchievementFilter - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `event` field.""" - event: String + """Filters to entities where every related entity matches.""" + every: AppAchievementFilter - """Checks for equality with the object’s `action` field.""" - action: String + """Filters to entities where no related entity matches.""" + none: AppAchievementFilter } """ -A filter to be used against `ViewRule` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ """ -input ViewRuleFilter { +input AppAchievementFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `viewId` field.""" - viewId: UUIDFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter """Filter by the object’s `name` field.""" name: StringFilter - """Filter by the object’s `event` field.""" - event: StringFilter + """Filter by the object’s `count` field.""" + count: IntFilter - """Filter by the object’s `action` field.""" - action: StringFilter + """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: [ViewRuleFilter!] + and: [AppAchievementFilter!] """Checks for any expressions in this list.""" - or: [ViewRuleFilter!] + or: [AppAchievementFilter!] """Negates the expression.""" - not: ViewRuleFilter -} + not: AppAchievementFilter -"""Methods to use when ordering `ViewRule`.""" -enum ViewRuleOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - VIEW_ID_ASC - VIEW_ID_DESC - NAME_ASC - NAME_DESC + """Filter by the object’s `actor` relation.""" + actor: UserFilter } -"""A `View` edge in the connection.""" -type ViewEdge { - """A cursor for use in pagination.""" - cursor: Cursor +""" +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 - """The `View` at the end of the edge.""" - node: View + """Filters to entities where every related entity matches.""" + every: InviteFilter + + """Filters to entities where no related entity matches.""" + none: InviteFilter } """ -A condition to be used against `View` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against `Invite` object types. All fields are combined with a logical ‘and.’ """ -input ViewCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input InviteFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `email` field.""" + email: ConstructiveInternalTypeEmailFilter - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filter by the object’s `inviteToken` field.""" + inviteToken: StringFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filter by the object’s `inviteValid` field.""" + inviteValid: BooleanFilter - """Checks for equality with the object’s `viewType` field.""" - viewType: String + """Filter by the object’s `inviteLimit` field.""" + inviteLimit: IntFilter - """Checks for equality with the object’s `data` field.""" - data: JSON + """Filter by the object’s `inviteCount` field.""" + inviteCount: IntFilter - """Checks for equality with the object’s `filterType` field.""" - filterType: String + """Filter by the object’s `multiple` field.""" + multiple: BooleanFilter - """Checks for equality with the object’s `filterData` field.""" - filterData: JSON + """Filter by the object’s `expiresAt` field.""" + expiresAt: DatetimeFilter - """Checks for equality with the object’s `securityInvoker` field.""" - securityInvoker: Boolean + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Checks for equality with the object’s `isReadOnly` field.""" - isReadOnly: Boolean + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Checks for all expressions in this list.""" + and: [InviteFilter!] - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Checks for any expressions in this list.""" + or: [InviteFilter!] - """Checks for equality with the object’s `module` field.""" - module: String + """Negates the expression.""" + not: InviteFilter - """Checks for equality with the object’s `scope` field.""" - scope: Int + """Filter by the object’s `sender` relation.""" + sender: UserFilter - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """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 } """ -A filter to be used against `View` object types. 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 ViewFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter +input ConstructiveInternalTypeEmailFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Equal to the specified value.""" + equalTo: String - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter + """Not equal to the specified value.""" + notEqualTo: String - """Filter by the object’s `name` field.""" - name: StringFilter + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: String - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: String - """Filter by the object’s `viewType` field.""" - viewType: StringFilter + """Included in the specified list.""" + in: [String!] - """Filter by the object’s `data` field.""" - data: JSONFilter + """Not included in the specified list.""" + notIn: [String!] - """Filter by the object’s `filterType` field.""" - filterType: StringFilter + """Less than the specified value.""" + lessThan: String - """Filter by the object’s `filterData` field.""" - filterData: JSONFilter + """Less than or equal to the specified value.""" + lessThanOrEqualTo: String - """Filter by the object’s `securityInvoker` field.""" - securityInvoker: BooleanFilter + """Greater than the specified value.""" + greaterThan: String - """Filter by the object’s `isReadOnly` field.""" - isReadOnly: BooleanFilter + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: String - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """Contains the specified string (case-sensitive).""" + includes: String - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """Does not contain the specified string (case-sensitive).""" + notIncludes: String - """Filter by the object’s `module` field.""" - module: StringFilter + """Contains the specified string (case-insensitive).""" + includesInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `scope` field.""" - scope: IntFilter + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeEmail - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """Starts with the specified string (case-sensitive).""" + startsWith: String - """Checks for all expressions in this list.""" - and: [ViewFilter!] + """Does not start with the specified string (case-sensitive).""" + notStartsWith: String - """Checks for any expressions in this list.""" - or: [ViewFilter!] + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeEmail - """Negates the expression.""" - not: ViewFilter -} + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeEmail -"""Methods to use when ordering `View`.""" -enum ViewOrderBy { - 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 - TABLE_ID_ASC - TABLE_ID_DESC -} + """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: ConstructiveInternalTypeEmail -"""A connection to a list of `TableModule` values.""" -type TableModuleConnection { - """A list of `TableModule` objects.""" - nodes: [TableModule]! + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeEmail """ - A list of edges which contains the `TableModule` and cursor to aid in pagination. + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. """ - edges: [TableModuleEdge]! + like: String - """Information to aid in pagination.""" - pageInfo: PageInfo! + """ + 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 - """The count of *all* `TableModule` you could get from the connection.""" - totalCount: Int! -} + """ + 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 -type TableModule { - id: UUID! - databaseId: UUID! - schemaId: UUID! - tableId: UUID! - tableName: String - nodeType: String! - useRls: Boolean! - data: JSON! - fields: [UUID] + """ + 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 - """Reads a single `Database` that is related to this `TableModule`.""" - database: Database + """Equal to the specified value (case-insensitive).""" + equalToInsensitive: ConstructiveInternalTypeEmail - """Reads a single `Schema` that is related to this `TableModule`.""" - schema: Schema + """Not equal to the specified value (case-insensitive).""" + notEqualToInsensitive: ConstructiveInternalTypeEmail - """Reads a single `Table` that is related to this `TableModule`.""" - table: Table -} + """ + Not equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + distinctFromInsensitive: ConstructiveInternalTypeEmail -"""A `TableModule` edge in the connection.""" -type TableModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """ + Equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + notDistinctFromInsensitive: ConstructiveInternalTypeEmail - """The `TableModule` at the end of the edge.""" - node: TableModule -} + """Included in the specified list (case-insensitive).""" + inInsensitive: [ConstructiveInternalTypeEmail!] -""" -A condition to be used against `TableModule` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input TableModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Not included in the specified list (case-insensitive).""" + notInInsensitive: [ConstructiveInternalTypeEmail!] - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Less than the specified value (case-insensitive).""" + lessThanInsensitive: ConstructiveInternalTypeEmail - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """Less than or equal to the specified value (case-insensitive).""" + lessThanOrEqualToInsensitive: ConstructiveInternalTypeEmail - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Greater than the specified value (case-insensitive).""" + greaterThanInsensitive: ConstructiveInternalTypeEmail - """Checks for equality with the object’s `tableName` field.""" - tableName: String + """Greater than or equal to the specified value (case-insensitive).""" + greaterThanOrEqualToInsensitive: ConstructiveInternalTypeEmail +} - """Checks for equality with the object’s `nodeType` field.""" - nodeType: String +scalar ConstructiveInternalTypeEmail - """Checks for equality with the object’s `useRls` field.""" - useRls: Boolean +""" +A filter to be used against many `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyClaimedInviteFilter { + """Filters to entities where at least one related entity matches.""" + some: ClaimedInviteFilter - """Checks for equality with the object’s `data` field.""" - data: JSON + """Filters to entities where every related entity matches.""" + every: ClaimedInviteFilter - """Checks for equality with the object’s `fields` field.""" - fields: [UUID] + """Filters to entities where no related entity matches.""" + none: ClaimedInviteFilter } """ -A filter to be used against `TableModule` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ """ -input TableModuleFilter { +input ClaimedInviteFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter + """Filter by the object’s `receiverId` field.""" + receiverId: UUIDFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Filter by the object’s `tableName` field.""" - tableName: StringFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Filter by the object’s `nodeType` field.""" - nodeType: StringFilter + """Checks for all expressions in this list.""" + and: [ClaimedInviteFilter!] - """Filter by the object’s `useRls` field.""" - useRls: BooleanFilter + """Checks for any expressions in this list.""" + or: [ClaimedInviteFilter!] - """Filter by the object’s `data` field.""" - data: JSONFilter + """Negates the expression.""" + not: ClaimedInviteFilter - """Filter by the object’s `fields` field.""" - fields: UUIDListFilter + """Filter by the object’s `receiver` relation.""" + receiver: UserFilter - """Checks for all expressions in this list.""" - and: [TableModuleFilter!] + """A related `receiver` exists.""" + receiverExists: Boolean - """Checks for any expressions in this list.""" - or: [TableModuleFilter!] + """Filter by the object’s `sender` relation.""" + sender: UserFilter - """Negates the expression.""" - not: TableModuleFilter + """A related `sender` exists.""" + senderExists: Boolean } -"""Methods to use when ordering `TableModule`.""" -enum TableModuleOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NODE_TYPE_ASC - NODE_TYPE_DESC +""" +A filter to be used against many `OrgInvite` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgInviteFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgInviteFilter + + """Filters to entities where every related entity matches.""" + every: OrgInviteFilter + + """Filters to entities where no related entity matches.""" + none: OrgInviteFilter } -"""A connection to a list of `TableTemplateModule` values.""" -type TableTemplateModuleConnection { - """A list of `TableTemplateModule` objects.""" - nodes: [TableTemplateModule]! +""" +A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ +""" +input OrgInviteFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """ - A list of edges which contains the `TableTemplateModule` and cursor to aid in pagination. - """ - edges: [TableTemplateModuleEdge]! + """Filter by the object’s `email` field.""" + email: ConstructiveInternalTypeEmailFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter - """ - The count of *all* `TableTemplateModule` you could get from the connection. - """ - totalCount: Int! -} + """Filter by the object’s `receiverId` field.""" + receiverId: UUIDFilter -type TableTemplateModule { - id: UUID! - databaseId: UUID! - schemaId: UUID! - privateSchemaId: UUID! - tableId: UUID! - ownerTableId: UUID! - tableName: String! - nodeType: String! - data: JSON! + """Filter by the object’s `inviteToken` field.""" + inviteToken: StringFilter - """ - Reads a single `Database` that is related to this `TableTemplateModule`. - """ - database: Database + """Filter by the object’s `inviteValid` field.""" + inviteValid: BooleanFilter - """Reads a single `Table` that is related to this `TableTemplateModule`.""" - ownerTable: Table + """Filter by the object’s `inviteLimit` field.""" + inviteLimit: IntFilter - """Reads a single `Schema` that is related to this `TableTemplateModule`.""" - privateSchema: Schema + """Filter by the object’s `inviteCount` field.""" + inviteCount: IntFilter - """Reads a single `Schema` that is related to this `TableTemplateModule`.""" - schema: Schema + """Filter by the object’s `multiple` field.""" + multiple: BooleanFilter - """Reads a single `Table` that is related to this `TableTemplateModule`.""" - table: Table -} + """Filter by the object’s `expiresAt` field.""" + expiresAt: DatetimeFilter -"""A `TableTemplateModule` edge in the connection.""" -type TableTemplateModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """The `TableTemplateModule` at the end of the edge.""" - node: TableTemplateModule -} + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter -""" -A condition to be used against `TableTemplateModule` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input TableTemplateModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Checks for all expressions in this list.""" + and: [OrgInviteFilter!] - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """Checks for any expressions in this list.""" + or: [OrgInviteFilter!] - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID + """Negates the expression.""" + not: OrgInviteFilter - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filter by the object’s `entity` relation.""" + entity: UserFilter - """Checks for equality with the object’s `ownerTableId` field.""" - ownerTableId: UUID + """Filter by the object’s `receiver` relation.""" + receiver: UserFilter - """Checks for equality with the object’s `tableName` field.""" - tableName: String + """A related `receiver` exists.""" + receiverExists: Boolean - """Checks for equality with the object’s `nodeType` field.""" - nodeType: String + """Filter by the object’s `sender` relation.""" + sender: UserFilter - """Checks for equality with the object’s `data` field.""" - data: JSON + """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 } """ -A filter to be used against `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ """ -input TableTemplateModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter +input UserToManyOrgClaimedInviteFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgClaimedInviteFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filters to entities where every related entity matches.""" + every: OrgClaimedInviteFilter - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter + """Filters to entities where no related entity matches.""" + none: OrgClaimedInviteFilter +} - """Filter by the object’s `privateSchemaId` field.""" - privateSchemaId: UUIDFilter +""" +A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ +""" +input OrgClaimedInviteFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter - """Filter by the object’s `ownerTableId` field.""" - ownerTableId: UUIDFilter + """Filter by the object’s `receiverId` field.""" + receiverId: UUIDFilter - """Filter by the object’s `tableName` field.""" - tableName: StringFilter + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Filter by the object’s `nodeType` field.""" - nodeType: StringFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Filter by the object’s `data` field.""" - data: JSONFilter + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter """Checks for all expressions in this list.""" - and: [TableTemplateModuleFilter!] + and: [OrgClaimedInviteFilter!] """Checks for any expressions in this list.""" - or: [TableTemplateModuleFilter!] + or: [OrgClaimedInviteFilter!] """Negates the expression.""" - not: TableTemplateModuleFilter -} + not: OrgClaimedInviteFilter -"""Methods to use when ordering `TableTemplateModule`.""" -enum TableTemplateModuleOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - SCHEMA_ID_ASC - SCHEMA_ID_DESC - PRIVATE_SCHEMA_ID_ASC - PRIVATE_SCHEMA_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - OWNER_TABLE_ID_ASC - OWNER_TABLE_ID_DESC - NODE_TYPE_ASC - NODE_TYPE_DESC -} + """Filter by the object’s `entity` relation.""" + entity: UserFilter -"""A connection to a list of `SecureTableProvision` values.""" -type SecureTableProvisionConnection { - """A list of `SecureTableProvision` objects.""" - nodes: [SecureTableProvision]! + """Filter by the object’s `receiver` relation.""" + receiver: UserFilter - """ - A list of edges which contains the `SecureTableProvision` and cursor to aid in pagination. - """ - edges: [SecureTableProvisionEdge]! + """A related `receiver` exists.""" + receiverExists: Boolean - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `sender` relation.""" + sender: UserFilter - """ - The count of *all* `SecureTableProvision` you could get from the connection. - """ - totalCount: Int! + """A related `sender` exists.""" + senderExists: Boolean } """ -Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. +A filter to be used against many `Schema` object types. All fields are combined with a logical ‘and.’ """ -type SecureTableProvision { - """Unique identifier for this provision row.""" - id: UUID! +input DatabaseToManySchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: SchemaFilter - """The database this provision belongs to. Required.""" - databaseId: UUID! + """Filters to entities where every related entity matches.""" + every: SchemaFilter - """ - Target schema for the table. Defaults to uuid_nil(); the trigger resolves this to the app_public schema if not explicitly provided. - """ - schemaId: UUID! + """Filters to entities where no related entity matches.""" + none: SchemaFilter +} - """ - Target table to provision. Defaults to uuid_nil(); the trigger creates or resolves the table via table_name if not explicitly provided. - """ - tableId: UUID! +""" +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 - """ - 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 + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """ - 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 + """Filter by the object’s `name` field.""" + name: StringFilter - """ - 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! + """Filter by the object’s `schemaName` field.""" + schemaName: StringFilter - """ - 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! + """Filter by the object’s `label` field.""" + label: StringFilter - """ - 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]! + """Filter by the object’s `description` field.""" + description: StringFilter - """ - 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! + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter - """ - 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 + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter - """ - Privileges the policy applies to, e.g. ARRAY['select','update']. NULL means privileges are derived from the grant_privileges verbs. - """ - policyPrivileges: [String] + """Filter by the object’s `module` field.""" + module: StringFilter - """ - Role the policy targets. NULL means it falls back to the first role in grant_roles. - """ - policyRole: String + """Filter by the object’s `scope` field.""" + scope: IntFilter - """ - Whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Defaults to true. - """ - policyPermissive: Boolean! + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """ - 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 + """Filter by the object’s `isPublic` field.""" + isPublic: BooleanFilter - """ - Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. - """ - policyData: JSON! + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """ - 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] + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """ - Reads a single `Database` that is related to this `SecureTableProvision`. - """ - database: Database + """Checks for all expressions in this list.""" + and: [SchemaFilter!] - """ - Reads a single `Schema` that is related to this `SecureTableProvision`. - """ - schema: Schema + """Checks for any expressions in this list.""" + or: [SchemaFilter!] - """Reads a single `Table` that is related to this `SecureTableProvision`.""" - table: Table -} + """Negates the expression.""" + not: SchemaFilter -"""A `SecureTableProvision` edge in the connection.""" -type SecureTableProvisionEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """The `SecureTableProvision` at the end of the edge.""" - node: SecureTableProvision -} + """Filter by the object’s `tables` relation.""" + tables: SchemaToManyTableFilter -""" -A condition to be used against `SecureTableProvision` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input SecureTableProvisionCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """`tables` exist.""" + tablesExist: Boolean - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `schemaGrants` relation.""" + schemaGrants: SchemaToManySchemaGrantFilter - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """`schemaGrants` exist.""" + schemaGrantsExist: Boolean - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID + """Filter by the object’s `views` relation.""" + views: SchemaToManyViewFilter - """Checks for equality with the object’s `tableName` field.""" - tableName: String + """`views` exist.""" + viewsExist: Boolean - """Checks for equality with the object’s `nodeType` field.""" - nodeType: String + """Filter by the object’s `defaultPrivileges` relation.""" + defaultPrivileges: SchemaToManyDefaultPrivilegeFilter - """Checks for equality with the object’s `useRls` field.""" - useRls: Boolean + """`defaultPrivileges` exist.""" + defaultPrivilegesExist: Boolean - """Checks for equality with the object’s `nodeData` field.""" - nodeData: JSON + """Filter by the object’s `apiSchemas` relation.""" + apiSchemas: SchemaToManyApiSchemaFilter - """Checks for equality with the object’s `grantRoles` field.""" - grantRoles: [String] + """`apiSchemas` exist.""" + apiSchemasExist: Boolean - """Checks for equality with the object’s `grantPrivileges` field.""" - grantPrivileges: JSON + """ + Filter by the object’s `tableTemplateModulesByPrivateSchemaId` relation. + """ + tableTemplateModulesByPrivateSchemaId: SchemaToManyTableTemplateModuleFilter - """Checks for equality with the object’s `policyType` field.""" - policyType: String + """`tableTemplateModulesByPrivateSchemaId` exist.""" + tableTemplateModulesByPrivateSchemaIdExist: Boolean - """Checks for equality with the object’s `policyPrivileges` field.""" - policyPrivileges: [String] + """Filter by the object’s `tableTemplateModules` relation.""" + tableTemplateModules: SchemaToManyTableTemplateModuleFilter - """Checks for equality with the object’s `policyRole` field.""" - policyRole: String + """`tableTemplateModules` exist.""" + tableTemplateModulesExist: Boolean - """Checks for equality with the object’s `policyPermissive` field.""" - policyPermissive: Boolean + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """Checks for equality with the object’s `policyName` field.""" - policyName: String + """TRGM search on the `schema_name` column.""" + trgmSchemaName: TrgmSearchInput - """Checks for equality with the object’s `policyData` field.""" - policyData: JSON + """TRGM search on the `label` column.""" + trgmLabel: TrgmSearchInput - """Checks for equality with the object’s `outFields` field.""" - outFields: [UUID] + """TRGM search on the `description` column.""" + trgmDescription: 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 } """ -A filter to be used against `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ """ -input SecureTableProvisionFilter { +input SchemaToManyTableFilter { + """Filters to entities where at least one related entity matches.""" + some: TableFilter + + """Filters to entities where every related entity matches.""" + every: TableFilter + + """Filters to entities where no related entity matches.""" + none: TableFilter +} + +""" +A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ +""" +input TableFilter { """Filter by the object’s `id` field.""" id: UUIDFilter @@ -11374,606 +9898,446 @@ input SecureTableProvisionFilter { """Filter by the object’s `schemaId` field.""" schemaId: UUIDFilter - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Filter by the object’s `name` field.""" + name: StringFilter - """Filter by the object’s `tableName` field.""" - tableName: StringFilter + """Filter by the object’s `label` field.""" + label: StringFilter - """Filter by the object’s `nodeType` field.""" - nodeType: StringFilter + """Filter by the object’s `description` field.""" + description: StringFilter - """Filter by the object’s `useRls` field.""" - useRls: BooleanFilter + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter - """Filter by the object’s `nodeData` field.""" - nodeData: JSONFilter + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter - """Filter by the object’s `grantRoles` field.""" - grantRoles: StringListFilter + """Filter by the object’s `module` field.""" + module: StringFilter - """Filter by the object’s `grantPrivileges` field.""" - grantPrivileges: JSONFilter + """Filter by the object’s `scope` field.""" + scope: IntFilter - """Filter by the object’s `policyType` field.""" - policyType: StringFilter + """Filter by the object’s `useRls` field.""" + useRls: BooleanFilter - """Filter by the object’s `policyPrivileges` field.""" - policyPrivileges: StringListFilter + """Filter by the object’s `timestamps` field.""" + timestamps: BooleanFilter - """Filter by the object’s `policyRole` field.""" - policyRole: StringFilter + """Filter by the object’s `peoplestamps` field.""" + peoplestamps: BooleanFilter - """Filter by the object’s `policyPermissive` field.""" - policyPermissive: BooleanFilter + """Filter by the object’s `pluralName` field.""" + pluralName: StringFilter - """Filter by the object’s `policyName` field.""" - policyName: StringFilter + """Filter by the object’s `singularName` field.""" + singularName: StringFilter - """Filter by the object’s `policyData` field.""" - policyData: JSONFilter + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """Filter by the object’s `outFields` field.""" - outFields: UUIDListFilter + """Filter by the object’s `inheritsId` field.""" + inheritsId: 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: [SecureTableProvisionFilter!] + and: [TableFilter!] """Checks for any expressions in this list.""" - or: [SecureTableProvisionFilter!] + or: [TableFilter!] """Negates the expression.""" - not: SecureTableProvisionFilter -} + not: TableFilter -"""Methods to use when ordering `SecureTableProvision`.""" -enum SecureTableProvisionOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - TABLE_ID_ASC - TABLE_ID_DESC - NODE_TYPE_ASC - NODE_TYPE_DESC -} + """Filter by the object’s `database` relation.""" + database: DatabaseFilter -"""A connection to a list of `RelationProvision` values.""" -type RelationProvisionConnection { - """A list of `RelationProvision` objects.""" - nodes: [RelationProvision]! + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter - """ - A list of edges which contains the `RelationProvision` and cursor to aid in pagination. - """ - edges: [RelationProvisionEdge]! + """Filter by the object’s `inherits` relation.""" + inherits: TableFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """A related `inherits` exists.""" + inheritsExists: Boolean - """ - The count of *all* `RelationProvision` you could get from the connection. - """ - totalCount: Int! -} + """Filter by the object’s `checkConstraints` relation.""" + checkConstraints: TableToManyCheckConstraintFilter -""" -Provisions relational structure between tables. Supports four relation types: - - RelationBelongsTo: adds a FK field on the source table referencing the target table (child perspective: "tasks belongs to projects" -> tasks.project_id). - - RelationHasMany: adds a FK field on the target table referencing the source table (parent perspective: "projects has many tasks" -> tasks.project_id). Inverse of BelongsTo. - - RelationHasOne: adds a FK field with a unique constraint on the source table referencing the target table. Also supports shared-primary-key patterns where the FK field IS the primary key (set field_name to the existing PK field name). - - RelationManyToMany: creates a junction table with FK fields to both source and target tables, delegating table creation and security to secure_table_provision. - This is a one-and-done structural provisioner. To layer additional security onto junction tables after creation, use secure_table_provision directly. - All operations are graceful: existing fields, FK constraints, and unique constraints are reused if found. - The trigger never injects values the caller did not provide. All security config is forwarded to secure_table_provision as-is. -""" -type RelationProvision { - """Unique identifier for this relation provision row.""" - id: UUID! + """`checkConstraints` exist.""" + checkConstraintsExist: Boolean - """ - The database this relation belongs to. Required. Must match the database of both source_table_id and target_table_id. - """ - databaseId: UUID! + """Filter by the object’s `fields` relation.""" + fields: TableToManyFieldFilter - """ - The type of relation to create. Uses SuperCase naming matching the node_type_registry: - - RelationBelongsTo: creates a FK field on source_table referencing target_table (e.g., tasks belongs to projects -> tasks.project_id). Field name auto-derived from target table. - - RelationHasMany: creates a FK field on target_table referencing source_table (e.g., projects has many tasks -> tasks.project_id). Field name auto-derived from source table. Inverse of BelongsTo — same FK, different perspective. - - RelationHasOne: creates a FK field + unique constraint on source_table referencing target_table (e.g., user_settings has one user -> user_settings.user_id with UNIQUE). Also supports shared-primary-key patterns (e.g., user_profiles.id = users.id) by setting field_name to the existing PK field. - - RelationManyToMany: creates a junction table with FK fields to both tables (e.g., projects and tags -> project_tags table). - Each relation type uses a different subset of columns on this table. Required. - """ - relationType: String! + """`fields` exist.""" + fieldsExist: Boolean - """ - The source table in the relation. Required. - - RelationBelongsTo: the table that receives the FK field (e.g., tasks in "tasks belongs to projects"). - - RelationHasMany: the parent table being referenced (e.g., projects in "projects has many tasks"). The FK field is created on the target table. - - RelationHasOne: the table that receives the FK field + unique constraint (e.g., user_settings in "user_settings has one user"). - - RelationManyToMany: one of the two tables being joined (e.g., projects in "projects and tags"). The junction table will have a FK field referencing this table. - """ - sourceTableId: UUID! + """Filter by the object’s `foreignKeyConstraints` relation.""" + foreignKeyConstraints: TableToManyForeignKeyConstraintFilter - """ - The target table in the relation. Required. - - RelationBelongsTo: the table being referenced by the FK (e.g., projects in "tasks belongs to projects"). - - RelationHasMany: the table that receives the FK field (e.g., tasks in "projects has many tasks"). - - RelationHasOne: the table being referenced by the FK (e.g., users in "user_settings has one user"). - - RelationManyToMany: the other table being joined (e.g., tags in "projects and tags"). The junction table will have a FK field referencing this table. - """ - targetTableId: UUID! + """`foreignKeyConstraints` exist.""" + foreignKeyConstraintsExist: Boolean - """ - FK field name for RelationBelongsTo, RelationHasOne, and RelationHasMany. - - RelationBelongsTo/RelationHasOne: if NULL, auto-derived from the target table name (e.g., target "projects" derives "project_id"). - - RelationHasMany: if NULL, auto-derived from the source table name (e.g., source "projects" derives "project_id"). - For RelationHasOne shared-primary-key patterns, set field_name to the existing PK field (e.g., "id") so the FK reuses it. - Ignored for RelationManyToMany — use source_field_name/target_field_name instead. - """ - fieldName: String + """Filter by the object’s `fullTextSearches` relation.""" + fullTextSearches: TableToManyFullTextSearchFilter - """ - FK delete action for RelationBelongsTo, RelationHasOne, and RelationHasMany. One of: c (CASCADE), r (RESTRICT), n (SET NULL), d (SET DEFAULT), a (NO ACTION). Required — the trigger raises an error if not provided. The caller must explicitly choose the cascade behavior; there is no default. Ignored for RelationManyToMany (junction FK fields always use CASCADE). - """ - deleteAction: String + """`fullTextSearches` exist.""" + fullTextSearchesExist: Boolean - """ - Whether the FK field is NOT NULL. Defaults to true. - - RelationBelongsTo: set to false for optional associations (e.g., tasks.assignee_id that can be NULL). - - RelationHasMany: set to false if the child can exist without a parent. - - RelationHasOne: typically true. - Ignored for RelationManyToMany (junction FK fields are always required). - """ - isRequired: Boolean! + """Filter by the object’s `indices` relation.""" + indices: TableToManyIndexFilter - """ - 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. - - When set to a valid table UUID: the trigger skips table creation and only adds FK fields, composite key (if use_composite_key is true), and security to the existing table. - Ignored for RelationBelongsTo/RelationHasOne. - """ - junctionTableId: UUID! + """`indices` exist.""" + indicesExist: Boolean - """ - For RelationManyToMany: name of the junction table to create or look up. If NULL, auto-derived from source and target table names using inflection_db (e.g., "projects" + "tags" derives "project_tags"). Only used when junction_table_id is uuid_nil(). Ignored for RelationBelongsTo/RelationHasOne. - """ - junctionTableName: String + """Filter by the object’s `policies` relation.""" + policies: TableToManyPolicyFilter - """ - For RelationManyToMany: schema for the junction table. If NULL, defaults to the source table's schema. Ignored for RelationBelongsTo/RelationHasOne. - """ - junctionSchemaId: UUID + """`policies` exist.""" + policiesExist: Boolean - """ - For RelationManyToMany: FK field name on the junction table referencing the source table. If NULL, auto-derived from the source table name using inflection_db.get_foreign_key_field_name() (e.g., source table "projects" derives "project_id"). Ignored for RelationBelongsTo/RelationHasOne. - """ - sourceFieldName: String + """Filter by the object’s `primaryKeyConstraints` relation.""" + primaryKeyConstraints: TableToManyPrimaryKeyConstraintFilter - """ - For RelationManyToMany: FK field name on the junction table referencing the target table. If NULL, auto-derived from the target table name using inflection_db.get_foreign_key_field_name() (e.g., target table "tags" derives "tag_id"). Ignored for RelationBelongsTo/RelationHasOne. - """ - targetFieldName: String + """`primaryKeyConstraints` exist.""" + primaryKeyConstraintsExist: Boolean - """ - For RelationManyToMany: whether to create a composite primary key from the two FK fields (source + target) on the junction table. Defaults to false. - - When true: the trigger calls metaschema.pk() with ARRAY[source_field_id, target_field_id] to create a composite PK. No separate id column is created. This enforces uniqueness of the pair and is suitable for simple junction tables. - - When false: no primary key is created by the trigger. The caller should provide node_type='DataId' to create a UUID primary key, or handle the PK strategy via a separate secure_table_provision row. - use_composite_key and node_type='DataId' are mutually exclusive — using both would create two conflicting PKs. - Ignored for RelationBelongsTo/RelationHasOne. - """ - useCompositeKey: Boolean! + """Filter by the object’s `tableGrants` relation.""" + tableGrants: TableToManyTableGrantFilter - """ - 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. - NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true). - Ignored for RelationBelongsTo/RelationHasOne. - """ - nodeType: String + """`tableGrants` exist.""" + tableGrantsExist: Boolean - """ - For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. - Only used when node_type is set. Structure varies by node_type. Examples: - - DataId: {"field_name": "id"} (default field name is 'id') - - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true} - - DataDirectOwner: {"owner_field_name": "owner_id"} - Defaults to '{}' (empty object). - Ignored for RelationBelongsTo/RelationHasOne. - """ - nodeData: JSON! + """Filter by the object’s `triggers` relation.""" + triggers: TableToManyTriggerFilter - """ - For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. - """ - grantRoles: [String]! + """`triggers` exist.""" + triggersExist: Boolean - """ - 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. - """ - grantPrivileges: JSON! + """Filter by the object’s `uniqueConstraints` relation.""" + uniqueConstraints: TableToManyUniqueConstraintFilter - """ - 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. - Examples: AuthzEntityMembership, AuthzMembership, AuthzAllowAll, AuthzDirectOwner, AuthzOrgHierarchy. - NULL means no policy is created — the junction table will have RLS enabled but no policies (unless added separately via secure_table_provision). - Ignored for RelationBelongsTo/RelationHasOne. - """ - policyType: String + """`uniqueConstraints` exist.""" + uniqueConstraintsExist: Boolean - """ - For RelationManyToMany: privileges the policy applies to, e.g. ARRAY['select','insert','delete']. Forwarded to secure_table_provision as-is. NULL means privileges are derived from the grant_privileges verbs by secure_table_provision. Ignored for RelationBelongsTo/RelationHasOne. - """ - policyPrivileges: [String] + """Filter by the object’s `views` relation.""" + views: TableToManyViewFilter - """ - For RelationManyToMany: database role the policy targets, e.g. 'authenticated'. Forwarded to secure_table_provision as-is. NULL means secure_table_provision falls back to the first role in grant_roles. Ignored for RelationBelongsTo/RelationHasOne. - """ - policyRole: String + """`views` exist.""" + viewsExist: Boolean - """ - For RelationManyToMany: whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Forwarded to secure_table_provision as-is. Defaults to true. Ignored for RelationBelongsTo/RelationHasOne. - """ - policyPermissive: Boolean! + """Filter by the object’s `viewTables` relation.""" + viewTables: TableToManyViewTableFilter - """ - For RelationManyToMany: custom suffix for the generated policy name. Forwarded to secure_table_provision as-is. When NULL and policy_type is set, secure_table_provision auto-derives a suffix from policy_type (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, used as-is. This ensures multiple policies on the same junction table do not collide. Ignored for RelationBelongsTo/RelationHasOne. - """ - policyName: String + """`viewTables` exist.""" + viewTablesExist: Boolean - """ - For RelationManyToMany: opaque policy configuration forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Structure varies by policy_type. Examples: - - AuthzEntityMembership: {"entity_field": "entity_id", "membership_type": 2} - - AuthzDirectOwner: {"owner_field": "owner_id"} - - AuthzMembership: {"membership_type": 2} - Defaults to '{}' (empty object). - Ignored for RelationBelongsTo/RelationHasOne. - """ - policyData: JSON! + """Filter by the object’s `tableTemplateModulesByOwnerTableId` relation.""" + tableTemplateModulesByOwnerTableId: TableToManyTableTemplateModuleFilter - """ - Output column for RelationBelongsTo/RelationHasOne/RelationHasMany: the UUID of the FK field created (or found). For BelongsTo/HasOne this is on the source table; for HasMany this is on the target table. Populated by the trigger. NULL for RelationManyToMany. Callers should not set this directly. - """ - outFieldId: UUID + """`tableTemplateModulesByOwnerTableId` exist.""" + tableTemplateModulesByOwnerTableIdExist: Boolean - """ - Output column for RelationManyToMany: the UUID of the junction table created (or found). Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. - """ - outJunctionTableId: UUID + """Filter by the object’s `tableTemplateModules` relation.""" + tableTemplateModules: TableToManyTableTemplateModuleFilter - """ - Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the source table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. - """ - outSourceFieldId: UUID + """`tableTemplateModules` exist.""" + tableTemplateModulesExist: Boolean - """ - Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. - """ - outTargetFieldId: UUID + """Filter by the object’s `secureTableProvisions` relation.""" + secureTableProvisions: TableToManySecureTableProvisionFilter - """Reads a single `Database` that is related to this `RelationProvision`.""" - database: Database + """`secureTableProvisions` exist.""" + secureTableProvisionsExist: Boolean - """Reads a single `Table` that is related to this `RelationProvision`.""" - sourceTable: Table + """Filter by the object’s `relationProvisionsBySourceTableId` relation.""" + relationProvisionsBySourceTableId: TableToManyRelationProvisionFilter - """Reads a single `Table` that is related to this `RelationProvision`.""" - targetTable: Table -} + """`relationProvisionsBySourceTableId` exist.""" + relationProvisionsBySourceTableIdExist: Boolean -"""A `RelationProvision` edge in the connection.""" -type RelationProvisionEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `relationProvisionsByTargetTableId` relation.""" + relationProvisionsByTargetTableId: TableToManyRelationProvisionFilter - """The `RelationProvision` at the end of the edge.""" - node: RelationProvision -} + """`relationProvisionsByTargetTableId` exist.""" + relationProvisionsByTargetTableIdExist: Boolean -""" -A condition to be used against `RelationProvision` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input RelationProvisionCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """TRGM search on the `label` column.""" + trgmLabel: TrgmSearchInput - """Checks for equality with the object’s `relationType` field.""" - relationType: String + """TRGM search on the `description` column.""" + trgmDescription: TrgmSearchInput - """Checks for equality with the object’s `sourceTableId` field.""" - sourceTableId: UUID + """TRGM search on the `module` column.""" + trgmModule: TrgmSearchInput - """Checks for equality with the object’s `targetTableId` field.""" - targetTableId: UUID + """TRGM search on the `plural_name` column.""" + trgmPluralName: TrgmSearchInput - """Checks for equality with the object’s `fieldName` field.""" - fieldName: String + """TRGM search on the `singular_name` column.""" + trgmSingularName: TrgmSearchInput - """Checks for equality with the object’s `deleteAction` field.""" - deleteAction: String - - """Checks for equality with the object’s `isRequired` field.""" - isRequired: Boolean - - """Checks for equality with the object’s `junctionTableId` field.""" - junctionTableId: UUID - - """Checks for equality with the object’s `junctionTableName` field.""" - junctionTableName: String - - """Checks for equality with the object’s `junctionSchemaId` field.""" - junctionSchemaId: UUID - - """Checks for equality with the object’s `sourceFieldName` field.""" - sourceFieldName: String - - """Checks for equality with the object’s `targetFieldName` field.""" - targetFieldName: String - - """Checks for equality with the object’s `useCompositeKey` field.""" - useCompositeKey: Boolean - - """Checks for equality with the object’s `nodeType` field.""" - nodeType: String - - """Checks for equality with the object’s `nodeData` field.""" - nodeData: JSON - - """Checks for equality with the object’s `grantRoles` field.""" - grantRoles: [String] - - """Checks for equality with the object’s `grantPrivileges` field.""" - grantPrivileges: JSON - - """Checks for equality with the object’s `policyType` field.""" - policyType: String - - """Checks for equality with the object’s `policyPrivileges` field.""" - policyPrivileges: [String] - - """Checks for equality with the object’s `policyRole` field.""" - policyRole: String - - """Checks for equality with the object’s `policyPermissive` field.""" - policyPermissive: Boolean + """ + 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 equality with the object’s `policyName` field.""" - policyName: String +""" +A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyCheckConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: CheckConstraintFilter - """Checks for equality with the object’s `policyData` field.""" - policyData: JSON + """Filters to entities where every related entity matches.""" + every: CheckConstraintFilter - """Checks for equality with the object’s `outFieldId` field.""" - outFieldId: UUID + """Filters to entities where no related entity matches.""" + none: CheckConstraintFilter +} - """Checks for equality with the object’s `outJunctionTableId` field.""" - outJunctionTableId: UUID +""" +A filter to be used against many `Field` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyFieldFilter { + """Filters to entities where at least one related entity matches.""" + some: FieldFilter - """Checks for equality with the object’s `outSourceFieldId` field.""" - outSourceFieldId: UUID + """Filters to entities where every related entity matches.""" + every: FieldFilter - """Checks for equality with the object’s `outTargetFieldId` field.""" - outTargetFieldId: UUID + """Filters to entities where no related entity matches.""" + none: FieldFilter } """ -A filter to be used against `RelationProvision` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `Field` object types. All fields are combined with a logical ‘and.’ """ -input RelationProvisionFilter { +input FieldFilter { """Filter by the object’s `id` field.""" id: UUIDFilter """Filter by the object’s `databaseId` field.""" databaseId: UUIDFilter - """Filter by the object’s `relationType` field.""" - relationType: StringFilter + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """Filter by the object’s `sourceTableId` field.""" - sourceTableId: UUIDFilter + """Filter by the object’s `name` field.""" + name: StringFilter - """Filter by the object’s `targetTableId` field.""" - targetTableId: UUIDFilter + """Filter by the object’s `label` field.""" + label: StringFilter - """Filter by the object’s `fieldName` field.""" - fieldName: StringFilter + """Filter by the object’s `description` field.""" + description: StringFilter - """Filter by the object’s `deleteAction` field.""" - deleteAction: StringFilter + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter """Filter by the object’s `isRequired` field.""" isRequired: BooleanFilter - """Filter by the object’s `junctionTableId` field.""" - junctionTableId: UUIDFilter - - """Filter by the object’s `junctionTableName` field.""" - junctionTableName: StringFilter - - """Filter by the object’s `junctionSchemaId` field.""" - junctionSchemaId: UUIDFilter - - """Filter by the object’s `sourceFieldName` field.""" - sourceFieldName: StringFilter - - """Filter by the object’s `targetFieldName` field.""" - targetFieldName: StringFilter + """Filter by the object’s `defaultValue` field.""" + defaultValue: StringFilter - """Filter by the object’s `useCompositeKey` field.""" - useCompositeKey: BooleanFilter + """Filter by the object’s `defaultValueAst` field.""" + defaultValueAst: JSONFilter - """Filter by the object’s `nodeType` field.""" - nodeType: StringFilter + """Filter by the object’s `isHidden` field.""" + isHidden: BooleanFilter - """Filter by the object’s `nodeData` field.""" - nodeData: JSONFilter + """Filter by the object’s `type` field.""" + type: StringFilter - """Filter by the object’s `grantRoles` field.""" - grantRoles: StringListFilter + """Filter by the object’s `fieldOrder` field.""" + fieldOrder: IntFilter - """Filter by the object’s `grantPrivileges` field.""" - grantPrivileges: JSONFilter + """Filter by the object’s `regexp` field.""" + regexp: StringFilter - """Filter by the object’s `policyType` field.""" - policyType: StringFilter + """Filter by the object’s `chk` field.""" + chk: JSONFilter - """Filter by the object’s `policyPrivileges` field.""" - policyPrivileges: StringListFilter + """Filter by the object’s `chkExpr` field.""" + chkExpr: JSONFilter - """Filter by the object’s `policyRole` field.""" - policyRole: StringFilter + """Filter by the object’s `min` field.""" + min: FloatFilter - """Filter by the object’s `policyPermissive` field.""" - policyPermissive: BooleanFilter + """Filter by the object’s `max` field.""" + max: FloatFilter - """Filter by the object’s `policyName` field.""" - policyName: StringFilter + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """Filter by the object’s `policyData` field.""" - policyData: JSONFilter + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter - """Filter by the object’s `outFieldId` field.""" - outFieldId: UUIDFilter + """Filter by the object’s `module` field.""" + module: StringFilter - """Filter by the object’s `outJunctionTableId` field.""" - outJunctionTableId: UUIDFilter + """Filter by the object’s `scope` field.""" + scope: IntFilter - """Filter by the object’s `outSourceFieldId` field.""" - outSourceFieldId: UUIDFilter + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Filter by the object’s `outTargetFieldId` field.""" - outTargetFieldId: UUIDFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [RelationProvisionFilter!] + and: [FieldFilter!] """Checks for any expressions in this list.""" - or: [RelationProvisionFilter!] + or: [FieldFilter!] """Negates the expression.""" - not: RelationProvisionFilter -} + not: FieldFilter -"""Methods to use when ordering `RelationProvision`.""" -enum RelationProvisionOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - RELATION_TYPE_ASC - RELATION_TYPE_DESC - SOURCE_TABLE_ID_ASC - SOURCE_TABLE_ID_DESC - TARGET_TABLE_ID_ASC - TARGET_TABLE_ID_DESC -} + """Filter by the object’s `database` relation.""" + database: DatabaseFilter -"""A `Table` edge in the connection.""" -type TableEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `table` relation.""" + table: TableFilter - """The `Table` at the end of the edge.""" - node: Table -} + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput -""" -A condition to be used against `Table` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input TableCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """TRGM search on the `label` column.""" + trgmLabel: TrgmSearchInput - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """TRGM search on the `description` column.""" + trgmDescription: TrgmSearchInput - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """TRGM search on the `default_value` column.""" + trgmDefaultValue: TrgmSearchInput - """Checks for equality with the object’s `name` field.""" - name: String + """TRGM search on the `regexp` column.""" + trgmRegexp: TrgmSearchInput - """Checks for equality with the object’s `label` field.""" - label: String + """TRGM search on the `module` column.""" + trgmModule: TrgmSearchInput - """Checks for equality with the object’s `description` field.""" - description: String + """ + 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 equality with the object’s `smartTags` field.""" - smartTags: JSON +""" +A filter to be used against Float fields. All fields are combined with a logical ‘and.’ +""" +input FloatFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Equal to the specified value.""" + equalTo: Float - """Checks for equality with the object’s `module` field.""" - module: String + """Not equal to the specified value.""" + notEqualTo: Float - """Checks for equality with the object’s `scope` field.""" - scope: Int + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: Float - """Checks for equality with the object’s `useRls` field.""" - useRls: Boolean + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: Float - """Checks for equality with the object’s `timestamps` field.""" - timestamps: Boolean + """Included in the specified list.""" + in: [Float!] - """Checks for equality with the object’s `peoplestamps` field.""" - peoplestamps: Boolean + """Not included in the specified list.""" + notIn: [Float!] - """Checks for equality with the object’s `pluralName` field.""" - pluralName: String + """Less than the specified value.""" + lessThan: Float - """Checks for equality with the object’s `singularName` field.""" - singularName: String + """Less than or equal to the specified value.""" + lessThanOrEqualTo: Float - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """Greater than the specified value.""" + greaterThan: Float - """Checks for equality with the object’s `inheritsId` field.""" - inheritsId: UUID + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: Float +} - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime +""" +A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyForeignKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: ForeignKeyConstraintFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Filters to entities where every related entity matches.""" + every: ForeignKeyConstraintFilter + + """Filters to entities where no related entity matches.""" + none: ForeignKeyConstraintFilter } """ -A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ """ -input TableFilter { +input ForeignKeyConstraintFilter { """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 `tableId` field.""" + tableId: 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 `smartTags` field.""" smartTags: JSONFilter + """Filter by the object’s `type` field.""" + type: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `refTableId` field.""" + refTableId: UUIDFilter + + """Filter by the object’s `refFieldIds` field.""" + refFieldIds: UUIDListFilter + + """Filter by the object’s `deleteAction` field.""" + deleteAction: StringFilter + + """Filter by the object’s `updateAction` field.""" + updateAction: StringFilter + """Filter by the object’s `category` field.""" category: ObjectCategoryFilter @@ -11983,27 +10347,9 @@ input TableFilter { """Filter by the object’s `scope` field.""" scope: IntFilter - """Filter by the object’s `useRls` field.""" - useRls: BooleanFilter - - """Filter by the object’s `timestamps` field.""" - timestamps: BooleanFilter - - """Filter by the object’s `peoplestamps` field.""" - peoplestamps: BooleanFilter - - """Filter by the object’s `pluralName` field.""" - pluralName: StringFilter - - """Filter by the object’s `singularName` field.""" - singularName: StringFilter - """Filter by the object’s `tags` field.""" tags: StringListFilter - """Filter by the object’s `inheritsId` field.""" - inheritsId: UUIDFilter - """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -12011,114 +10357,88 @@ input TableFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [TableFilter!] + and: [ForeignKeyConstraintFilter!] """Checks for any expressions in this list.""" - or: [TableFilter!] + or: [ForeignKeyConstraintFilter!] """Negates the expression.""" - not: TableFilter -} + not: ForeignKeyConstraintFilter -"""Methods to use when ordering `Table`.""" -enum TableOrderBy { - 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 - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `database` relation.""" + database: DatabaseFilter -"""A connection to a list of `SchemaGrant` values.""" -type SchemaGrantConnection { - """A list of `SchemaGrant` objects.""" - nodes: [SchemaGrant]! + """Filter by the object’s `refTable` relation.""" + refTable: TableFilter - """ - A list of edges which contains the `SchemaGrant` and cursor to aid in pagination. - """ - edges: [SchemaGrantEdge]! + """Filter by the object’s `table` relation.""" + table: TableFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """The count of *all* `SchemaGrant` you could get from the connection.""" - totalCount: Int! -} + """TRGM search on the `description` column.""" + trgmDescription: TrgmSearchInput -type SchemaGrant { - id: UUID! - databaseId: UUID! - schemaId: UUID! - granteeName: String! - createdAt: Datetime - updatedAt: Datetime + """TRGM search on the `type` column.""" + trgmType: TrgmSearchInput - """Reads a single `Database` that is related to this `SchemaGrant`.""" - database: Database + """TRGM search on the `delete_action` column.""" + trgmDeleteAction: TrgmSearchInput - """Reads a single `Schema` that is related to this `SchemaGrant`.""" - schema: Schema -} + """TRGM search on the `update_action` column.""" + trgmUpdateAction: TrgmSearchInput -"""A `SchemaGrant` edge in the connection.""" -type SchemaGrantEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """TRGM search on the `module` column.""" + trgmModule: TrgmSearchInput - """The `SchemaGrant` at the end of the edge.""" - node: SchemaGrant + """ + 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 condition to be used against `SchemaGrant` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against many `FullTextSearch` object types. All fields are combined with a logical ‘and.’ """ -input SchemaGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `granteeName` field.""" - granteeName: String +input TableToManyFullTextSearchFilter { + """Filters to entities where at least one related entity matches.""" + some: FullTextSearchFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filters to entities where every related entity matches.""" + every: FullTextSearchFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Filters to entities where no related entity matches.""" + none: FullTextSearchFilter } """ -A filter to be used against `SchemaGrant` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `FullTextSearch` object types. All fields are combined with a logical ‘and.’ """ -input SchemaGrantFilter { +input FullTextSearchFilter { """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 `tableId` field.""" + tableId: UUIDFilter - """Filter by the object’s `granteeName` field.""" - granteeName: StringFilter + """Filter by the object’s `fieldId` field.""" + fieldId: UUIDFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `weights` field.""" + weights: StringListFilter + + """Filter by the object’s `langs` field.""" + langs: StringListFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -12127,1499 +10447,1474 @@ input SchemaGrantFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [SchemaGrantFilter!] + and: [FullTextSearchFilter!] """Checks for any expressions in this list.""" - or: [SchemaGrantFilter!] + or: [FullTextSearchFilter!] """Negates the expression.""" - not: SchemaGrantFilter -} + not: FullTextSearchFilter -"""Methods to use when ordering `SchemaGrant`.""" -enum SchemaGrantOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - SCHEMA_ID_ASC - SCHEMA_ID_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `database` relation.""" + database: DatabaseFilter -"""A connection to a list of `DefaultPrivilege` values.""" -type DefaultPrivilegeConnection { - """A list of `DefaultPrivilege` objects.""" - nodes: [DefaultPrivilege]! + """Filter by the object’s `table` relation.""" + table: TableFilter +} - """ - A list of edges which contains the `DefaultPrivilege` and cursor to aid in pagination. - """ - edges: [DefaultPrivilegeEdge]! +""" +A filter to be used against many `Index` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyIndexFilter { + """Filters to entities where at least one related entity matches.""" + some: IndexFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filters to entities where every related entity matches.""" + every: IndexFilter - """ - The count of *all* `DefaultPrivilege` you could get from the connection. - """ - totalCount: Int! + """Filters to entities where no related entity matches.""" + none: IndexFilter } -type DefaultPrivilege { - id: UUID! - databaseId: UUID! - schemaId: UUID! - objectType: String! - privilege: String! - granteeName: String! - isGrant: Boolean! +""" +A filter to be used against `Index` object types. All fields are combined with a logical ‘and.’ +""" +input IndexFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reads a single `Database` that is related to this `DefaultPrivilege`.""" - database: Database + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Reads a single `Schema` that is related to this `DefaultPrivilege`.""" - schema: Schema -} + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter -"""A `DefaultPrivilege` edge in the connection.""" -type DefaultPrivilegeEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `name` field.""" + name: StringFilter - """The `DefaultPrivilege` at the end of the edge.""" - node: DefaultPrivilege -} + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter -""" -A condition to be used against `DefaultPrivilege` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input DefaultPrivilegeCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Filter by the object’s `includeFieldIds` field.""" + includeFieldIds: UUIDListFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `accessMethod` field.""" + accessMethod: StringFilter - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """Filter by the object’s `indexParams` field.""" + indexParams: JSONFilter - """Checks for equality with the object’s `objectType` field.""" - objectType: String + """Filter by the object’s `whereClause` field.""" + whereClause: JSONFilter - """Checks for equality with the object’s `privilege` field.""" - privilege: String + """Filter by the object’s `isUnique` field.""" + isUnique: BooleanFilter - """Checks for equality with the object’s `granteeName` field.""" - granteeName: String + """Filter by the object’s `options` field.""" + options: JSONFilter - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean -} + """Filter by the object’s `opClasses` field.""" + opClasses: StringListFilter -""" -A filter to be used against `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ -""" -input DefaultPrivilegeFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter + """Filter by the object’s `module` field.""" + module: StringFilter - """Filter by the object’s `objectType` field.""" - objectType: StringFilter + """Filter by the object’s `scope` field.""" + scope: IntFilter - """Filter by the object’s `privilege` field.""" - privilege: StringFilter + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """Filter by the object’s `granteeName` field.""" - granteeName: StringFilter + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [DefaultPrivilegeFilter!] + and: [IndexFilter!] """Checks for any expressions in this list.""" - or: [DefaultPrivilegeFilter!] + or: [IndexFilter!] """Negates the expression.""" - not: DefaultPrivilegeFilter + not: IndexFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 } -"""Methods to use when ordering `DefaultPrivilege`.""" -enum DefaultPrivilegeOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - SCHEMA_ID_ASC - SCHEMA_ID_DESC - OBJECT_TYPE_ASC - OBJECT_TYPE_DESC - PRIVILEGE_ASC - PRIVILEGE_DESC - GRANTEE_NAME_ASC - GRANTEE_NAME_DESC - IS_GRANT_ASC - IS_GRANT_DESC -} - -"""A connection to a list of `ApiSchema` values.""" -type ApiSchemaConnection { - """A list of `ApiSchema` objects.""" - nodes: [ApiSchema]! - - """ - A list of edges which contains the `ApiSchema` and cursor to aid in pagination. - """ - edges: [ApiSchemaEdge]! +""" +A filter to be used against many `Policy` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyPolicyFilter { + """Filters to entities where at least one related entity matches.""" + some: PolicyFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filters to entities where every related entity matches.""" + every: PolicyFilter - """The count of *all* `ApiSchema` you could get from the connection.""" - totalCount: Int! + """Filters to entities where no related entity matches.""" + none: PolicyFilter } """ -Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API +A filter to be used against `Policy` object types. All fields are combined with a logical ‘and.’ """ -type ApiSchema { - """Unique identifier for this API-schema mapping""" - id: UUID! +input PolicyFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reference to the metaschema database""" - databaseId: UUID! + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Metaschema schema being exposed through the API""" - schemaId: UUID! + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """API that exposes this schema""" - apiId: UUID! + """Filter by the object’s `name` field.""" + name: StringFilter - """Reads a single `Api` that is related to this `ApiSchema`.""" - api: Api + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter - """Reads a single `Database` that is related to this `ApiSchema`.""" - database: Database + """Filter by the object’s `privilege` field.""" + privilege: StringFilter - """Reads a single `Schema` that is related to this `ApiSchema`.""" - schema: Schema -} + """Filter by the object’s `permissive` field.""" + permissive: BooleanFilter -""" -API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings -""" -type Api { - """Unique identifier for this API""" - id: UUID! + """Filter by the object’s `disabled` field.""" + disabled: BooleanFilter - """Reference to the metaschema database this API serves""" - databaseId: UUID! + """Filter by the object’s `policyType` field.""" + policyType: StringFilter - """Unique name for this API within its database""" - name: String! + """Filter by the object’s `data` field.""" + data: JSONFilter - """PostgreSQL database name to connect to""" - dbname: String! + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter - """PostgreSQL role used for authenticated requests""" - roleName: String! + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter - """PostgreSQL role used for anonymous/unauthenticated requests""" - anonRole: String! + """Filter by the object’s `module` field.""" + module: StringFilter - """Whether this API is publicly accessible without authentication""" - isPublic: Boolean! + """Filter by the object’s `scope` field.""" + scope: IntFilter - """Reads a single `Database` that is related to this `Api`.""" - database: Database + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """Reads and enables pagination through a set of `ApiModule`.""" - apiModules( - """Only read the first `n` values of the set.""" - first: Int + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Only read the last `n` values of the set.""" - last: Int + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """Checks for all expressions in this list.""" + and: [PolicyFilter!] - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Checks for any expressions in this list.""" + or: [PolicyFilter!] - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Negates the expression.""" + not: PolicyFilter - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ApiModuleCondition + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: ApiModuleFilter + """Filter by the object’s `table` relation.""" + table: TableFilter - """The method to use when ordering `ApiModule`.""" - orderBy: [ApiModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): ApiModuleConnection! + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """Reads and enables pagination through a set of `ApiSchema`.""" - apiSchemas( - """Only read the first `n` values of the set.""" - first: Int + """TRGM search on the `grantee_name` column.""" + trgmGranteeName: TrgmSearchInput - """Only read the last `n` values of the set.""" - last: Int + """TRGM search on the `privilege` column.""" + trgmPrivilege: TrgmSearchInput - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """TRGM search on the `policy_type` column.""" + trgmPolicyType: TrgmSearchInput - """Read all values in the set before (above) this cursor.""" - before: Cursor + """TRGM search on the `module` column.""" + trgmModule: TrgmSearchInput - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + 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 condition to be used in determining which values should be returned by the collection. - """ - condition: ApiSchemaCondition +""" +A filter to be used against many `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyPrimaryKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: PrimaryKeyConstraintFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: ApiSchemaFilter + """Filters to entities where every related entity matches.""" + every: PrimaryKeyConstraintFilter - """The method to use when ordering `ApiSchema`.""" - orderBy: [ApiSchemaOrderBy!] = [PRIMARY_KEY_ASC] - ): ApiSchemaConnection! + """Filters to entities where no related entity matches.""" + none: PrimaryKeyConstraintFilter +} - """Reads and enables pagination through a set of `Domain`.""" - domains( - """Only read the first `n` values of the set.""" - first: Int +""" +A filter to be used against `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input PrimaryKeyConstraintFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Only read the last `n` values of the set.""" - last: Int + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Filter by the object’s `name` field.""" + name: StringFilter - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Filter by the object’s `type` field.""" + type: StringFilter - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DomainCondition + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: DomainFilter + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter - """The method to use when ordering `Domain`.""" - orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] - ): DomainConnection! + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter - """Reads a single `RlsModule` that is related to this `Api`.""" - rlsModule: RlsModule -} + """Filter by the object’s `module` field.""" + module: StringFilter -"""A connection to a list of `ApiModule` values.""" -type ApiModuleConnection { - """A list of `ApiModule` objects.""" - nodes: [ApiModule]! + """Filter by the object’s `scope` field.""" + scope: IntFilter - """ - A list of edges which contains the `ApiModule` and cursor to aid in pagination. - """ - edges: [ApiModuleEdge]! + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """The count of *all* `ApiModule` you could get from the connection.""" - totalCount: Int! -} + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter -""" -Server-side module configuration for an API endpoint; stores module name and JSON settings used by the application server -""" -type ApiModule { - """Unique identifier for this API module record""" - id: UUID! + """Checks for all expressions in this list.""" + and: [PrimaryKeyConstraintFilter!] - """Reference to the metaschema database""" - databaseId: UUID! + """Checks for any expressions in this list.""" + or: [PrimaryKeyConstraintFilter!] - """API this module configuration belongs to""" - apiId: UUID! + """Negates the expression.""" + not: PrimaryKeyConstraintFilter - """Module name (e.g. auth, uploads, webhooks)""" - name: String! + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """JSON configuration data for this module""" - data: JSON! + """Filter by the object’s `table` relation.""" + table: TableFilter - """Reads a single `Api` that is related to this `ApiModule`.""" - api: Api + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """Reads a single `Database` that is related to this `ApiModule`.""" - database: Database -} + """TRGM search on the `type` column.""" + trgmType: TrgmSearchInput -"""A `ApiModule` edge in the connection.""" -type ApiModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """TRGM search on the `module` column.""" + trgmModule: TrgmSearchInput - """The `ApiModule` at the end of the edge.""" - node: ApiModule + """ + 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 condition to be used against `ApiModule` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against many `TableGrant` object types. All fields are combined with a logical ‘and.’ """ -input ApiModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `apiId` field.""" - apiId: UUID +input TableToManyTableGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: TableGrantFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filters to entities where every related entity matches.""" + every: TableGrantFilter - """Checks for equality with the object’s `data` field.""" - data: JSON + """Filters to entities where no related entity matches.""" + none: TableGrantFilter } """ -A filter to be used against `ApiModule` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `TableGrant` object types. All fields are combined with a logical ‘and.’ """ -input ApiModuleFilter { +input TableGrantFilter { """Filter by the object’s `id` field.""" id: UUIDFilter """Filter by the object’s `databaseId` field.""" databaseId: UUIDFilter - """Filter by the object’s `apiId` field.""" - apiId: UUIDFilter + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `privilege` field.""" + privilege: StringFilter + + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter + + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: 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: [ApiModuleFilter!] + and: [TableGrantFilter!] """Checks for any expressions in this list.""" - or: [ApiModuleFilter!] + or: [TableGrantFilter!] """Negates the expression.""" - not: ApiModuleFilter -} + not: TableGrantFilter -"""Methods to use when ordering `ApiModule`.""" -enum ApiModuleOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - API_ID_ASC - API_ID_DESC - NAME_ASC - NAME_DESC + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 } """ -A condition to be used against `ApiSchema` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ """ -input ApiSchemaCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID +input TableToManyTriggerFilter { + """Filters to entities where at least one related entity matches.""" + some: TriggerFilter - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """Filters to entities where every related entity matches.""" + every: TriggerFilter - """Checks for equality with the object’s `apiId` field.""" - apiId: UUID + """Filters to entities where no related entity matches.""" + none: TriggerFilter } """ -A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `Trigger` object types. All fields are combined with a logical ‘and.’ """ -input ApiSchemaFilter { +input TriggerFilter { """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 `tableId` field.""" + tableId: UUIDFilter - """Filter by the object’s `apiId` field.""" - apiId: UUIDFilter + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `event` field.""" + event: StringFilter + + """Filter by the object’s `functionName` field.""" + functionName: 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 `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [ApiSchemaFilter!] + and: [TriggerFilter!] """Checks for any expressions in this list.""" - or: [ApiSchemaFilter!] + or: [TriggerFilter!] """Negates the expression.""" - not: ApiSchemaFilter -} + not: TriggerFilter -"""Methods to use when ordering `ApiSchema`.""" -enum ApiSchemaOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - SCHEMA_ID_ASC - SCHEMA_ID_DESC - API_ID_ASC - API_ID_DESC -} + """Filter by the object’s `database` relation.""" + database: DatabaseFilter -"""A connection to a list of `Domain` values.""" -type DomainConnection { - """A list of `Domain` objects.""" - nodes: [Domain]! + """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 """ - A list of edges which contains the `Domain` and cursor to aid in pagination. + 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. """ - edges: [DomainEdge]! + fullTextSearch: String +} - """Information to aid in pagination.""" - pageInfo: PageInfo! +""" +A filter to be used against many `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyUniqueConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: UniqueConstraintFilter - """The count of *all* `Domain` you could get from the connection.""" - totalCount: Int! + """Filters to entities where every related entity matches.""" + every: UniqueConstraintFilter + + """Filters to entities where no related entity matches.""" + none: UniqueConstraintFilter } """ -DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site +A filter to be used against `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ """ -type Domain { - """Unique identifier for this domain record""" - id: UUID! +input UniqueConstraintFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reference to the metaschema database this domain belongs to""" - databaseId: UUID! + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """API endpoint this domain routes to (mutually exclusive with site_id)""" - apiId: UUID + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """Site this domain routes to (mutually exclusive with api_id)""" - siteId: UUID + """Filter by the object’s `name` field.""" + name: StringFilter - """Subdomain portion of the hostname""" - subdomain: ConstructiveInternalTypeHostname + """Filter by the object’s `description` field.""" + description: StringFilter - """Root domain of the hostname""" - domain: ConstructiveInternalTypeHostname + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter - """Reads a single `Api` that is related to this `Domain`.""" - api: Api + """Filter by the object’s `type` field.""" + type: StringFilter - """Reads a single `Database` that is related to this `Domain`.""" - database: Database + """Filter by the object’s `fieldIds` field.""" + fieldIds: UUIDListFilter - """Reads a single `Site` that is related to this `Domain`.""" - site: Site -} + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter -scalar ConstructiveInternalTypeHostname + """Filter by the object’s `module` field.""" + module: StringFilter -""" -Top-level site configuration: branding assets, title, and description for a deployed application -""" -type Site { - """Unique identifier for this site""" - id: UUID! + """Filter by the object’s `scope` field.""" + scope: IntFilter - """Reference to the metaschema database this site belongs to""" - databaseId: UUID! + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """Display title for the site (max 120 characters)""" - title: String + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Short description of the site (max 120 characters)""" - description: String + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Open Graph image used for social media link previews""" - ogImage: ConstructiveInternalTypeImage + """Checks for all expressions in this list.""" + and: [UniqueConstraintFilter!] - """Browser favicon attachment""" - favicon: ConstructiveInternalTypeAttachment + """Checks for any expressions in this list.""" + or: [UniqueConstraintFilter!] - """Apple touch icon for iOS home screen bookmarks""" - appleTouchIcon: ConstructiveInternalTypeImage + """Negates the expression.""" + not: UniqueConstraintFilter - """Primary logo image for the site""" - logo: ConstructiveInternalTypeImage + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """PostgreSQL database name this site connects to""" - dbname: String! + """Filter by the object’s `table` relation.""" + table: TableFilter - """Reads a single `Database` that is related to this `Site`.""" - database: Database + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """Reads a single `App` that is related to this `Site`.""" - app: App + """TRGM search on the `description` column.""" + trgmDescription: TrgmSearchInput - """Reads and enables pagination through a set of `Domain`.""" - domains( - """Only read the first `n` values of the set.""" - first: Int + """TRGM search on the `type` column.""" + trgmType: TrgmSearchInput - """Only read the last `n` values of the set.""" - last: Int + """TRGM search on the `module` column.""" + trgmModule: TrgmSearchInput - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """ + 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 +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +""" +A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyViewFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewFilter - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DomainCondition + """Filters to entities where every related entity matches.""" + every: ViewFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: DomainFilter + """Filters to entities where no related entity matches.""" + none: ViewFilter +} - """The method to use when ordering `Domain`.""" - orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] - ): DomainConnection! +""" +A filter to be used against `View` object types. All fields are combined with a logical ‘and.’ +""" +input ViewFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reads and enables pagination through a set of `SiteMetadatum`.""" - siteMetadata( - """Only read the first `n` values of the set.""" - first: Int + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Only read the last `n` values of the set.""" - last: Int + """Filter by the object’s `schemaId` field.""" + schemaId: UUIDFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """Filter by the object’s `name` field.""" + name: StringFilter - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Filter by the object’s `viewType` field.""" + viewType: StringFilter - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteMetadatumCondition + """Filter by the object’s `data` field.""" + data: JSONFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: SiteMetadatumFilter + """Filter by the object’s `filterType` field.""" + filterType: StringFilter - """The method to use when ordering `SiteMetadatum`.""" - orderBy: [SiteMetadatumOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteMetadatumConnection! + """Filter by the object’s `filterData` field.""" + filterData: JSONFilter - """Reads and enables pagination through a set of `SiteModule`.""" - siteModules( - """Only read the first `n` values of the set.""" - first: Int + """Filter by the object’s `securityInvoker` field.""" + securityInvoker: BooleanFilter - """Only read the last `n` values of the set.""" - last: Int + """Filter by the object’s `isReadOnly` field.""" + isReadOnly: BooleanFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Filter by the object’s `module` field.""" + module: StringFilter - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteModuleCondition + """Filter by the object’s `scope` field.""" + scope: IntFilter - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: SiteModuleFilter + """Filter by the object’s `tags` field.""" + tags: StringListFilter - """The method to use when ordering `SiteModule`.""" - orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteModuleConnection! + """Checks for all expressions in this list.""" + and: [ViewFilter!] - """Reads and enables pagination through a set of `SiteTheme`.""" - siteThemes( - """Only read the first `n` values of the set.""" - first: Int + """Checks for any expressions in this list.""" + or: [ViewFilter!] - """Only read the last `n` values of the set.""" - last: Int + """Negates the expression.""" + not: ViewFilter - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Filter by the object’s `table` relation.""" + table: TableFilter - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SiteThemeCondition + """A related `table` exists.""" + tableExists: Boolean - """ - A filter to be used in determining which values should be returned by the collection. - """ - filter: SiteThemeFilter + """Filter by the object’s `viewTables` relation.""" + viewTables: ViewToManyViewTableFilter - """The method to use when ordering `SiteTheme`.""" - orderBy: [SiteThemeOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteThemeConnection! -} + """`viewTables` exist.""" + viewTablesExist: Boolean -scalar ConstructiveInternalTypeAttachment + """Filter by the object’s `viewGrants` relation.""" + viewGrants: ViewToManyViewGrantFilter -""" -Mobile and native app configuration linked to a site, including store links and identifiers -""" -type App { - """Unique identifier for this app""" - id: UUID! + """`viewGrants` exist.""" + viewGrantsExist: Boolean - """Reference to the metaschema database this app belongs to""" - databaseId: UUID! + """Filter by the object’s `viewRules` relation.""" + viewRules: ViewToManyViewRuleFilter - """Site this app is associated with (one app per site)""" - siteId: UUID! + """`viewRules` exist.""" + viewRulesExist: Boolean - """Display name of the app""" - name: String + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """App icon or promotional image""" - appImage: ConstructiveInternalTypeImage + """TRGM search on the `view_type` column.""" + trgmViewType: TrgmSearchInput - """URL to the Apple App Store listing""" - appStoreLink: ConstructiveInternalTypeUrl + """TRGM search on the `filter_type` column.""" + trgmFilterType: TrgmSearchInput - """Apple App Store application identifier""" - appStoreId: String + """TRGM search on the `module` column.""" + trgmModule: TrgmSearchInput """ - Apple App ID prefix (Team ID) for universal links and associated domains + 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. """ - appIdPrefix: String + fullTextSearch: String +} - """URL to the Google Play Store listing""" - playStoreLink: ConstructiveInternalTypeUrl +""" +A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ +""" +input ViewToManyViewTableFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewTableFilter - """Reads a single `Site` that is related to this `App`.""" - site: Site + """Filters to entities where every related entity matches.""" + every: ViewTableFilter - """Reads a single `Database` that is related to this `App`.""" - database: Database + """Filters to entities where no related entity matches.""" + none: ViewTableFilter } -scalar ConstructiveInternalTypeUrl - """ -A condition to be used against `Domain` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against `ViewTable` object types. All fields are combined with a logical ‘and.’ """ -input DomainCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input ViewTableFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `viewId` field.""" + viewId: UUIDFilter - """Checks for equality with the object’s `apiId` field.""" - apiId: UUID + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """Checks for equality with the object’s `siteId` field.""" - siteId: UUID + """Filter by the object’s `joinOrder` field.""" + joinOrder: IntFilter - """Checks for equality with the object’s `subdomain` field.""" - subdomain: ConstructiveInternalTypeHostname + """Checks for all expressions in this list.""" + and: [ViewTableFilter!] - """Checks for equality with the object’s `domain` field.""" - domain: ConstructiveInternalTypeHostname + """Checks for any expressions in this list.""" + or: [ViewTableFilter!] + + """Negates the expression.""" + not: ViewTableFilter + + """Filter by the object’s `table` relation.""" + table: TableFilter + + """Filter by the object’s `view` relation.""" + view: ViewFilter } """ -A filter to be used against `Domain` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ """ -input DomainFilter { +input ViewToManyViewGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewGrantFilter + + """Filters to entities where every related entity matches.""" + every: ViewGrantFilter + + """Filters to entities where no related entity matches.""" + none: ViewGrantFilter +} + +""" +A filter to be used against `ViewGrant` object types. All fields are combined with a logical ‘and.’ +""" +input ViewGrantFilter { """Filter by the object’s `id` field.""" id: UUIDFilter """Filter by the object’s `databaseId` field.""" databaseId: UUIDFilter - """Filter by the object’s `apiId` field.""" - apiId: UUIDFilter + """Filter by the object’s `viewId` field.""" + viewId: UUIDFilter - """Filter by the object’s `siteId` field.""" - siteId: UUIDFilter + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter - """Filter by the object’s `subdomain` field.""" - subdomain: ConstructiveInternalTypeHostnameFilter + """Filter by the object’s `privilege` field.""" + privilege: StringFilter - """Filter by the object’s `domain` field.""" - domain: ConstructiveInternalTypeHostnameFilter + """Filter by the object’s `withGrantOption` field.""" + withGrantOption: BooleanFilter + + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter """Checks for all expressions in this list.""" - and: [DomainFilter!] + and: [ViewGrantFilter!] """Checks for any expressions in this list.""" - or: [DomainFilter!] + or: [ViewGrantFilter!] """Negates the expression.""" - not: DomainFilter -} + not: ViewGrantFilter -""" -A filter to be used against ConstructiveInternalTypeHostname fields. All fields are combined with a logical ‘and.’ -""" -input ConstructiveInternalTypeHostnameFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """Equal to the specified value.""" - equalTo: ConstructiveInternalTypeHostname + """Filter by the object’s `view` relation.""" + view: ViewFilter - """Not equal to the specified value.""" - notEqualTo: ConstructiveInternalTypeHostname + """TRGM search on the `grantee_name` column.""" + trgmGranteeName: TrgmSearchInput + + """TRGM search on the `privilege` column.""" + trgmPrivilege: TrgmSearchInput """ - Not equal to the specified value, treating null like an ordinary value. + 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. """ - distinctFrom: ConstructiveInternalTypeHostname - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: ConstructiveInternalTypeHostname - - """Included in the specified list.""" - in: [ConstructiveInternalTypeHostname!] - - """Not included in the specified list.""" - notIn: [ConstructiveInternalTypeHostname!] - - """Less than the specified value.""" - lessThan: ConstructiveInternalTypeHostname + fullTextSearch: String +} - """Less than or equal to the specified value.""" - lessThanOrEqualTo: ConstructiveInternalTypeHostname +""" +A filter to be used against many `ViewRule` object types. All fields are combined with a logical ‘and.’ +""" +input ViewToManyViewRuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewRuleFilter - """Greater than the specified value.""" - greaterThan: ConstructiveInternalTypeHostname + """Filters to entities where every related entity matches.""" + every: ViewRuleFilter - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: ConstructiveInternalTypeHostname + """Filters to entities where no related entity matches.""" + none: ViewRuleFilter +} - """Contains the specified string (case-sensitive).""" - includes: ConstructiveInternalTypeHostname +""" +A filter to be used against `ViewRule` object types. All fields are combined with a logical ‘and.’ +""" +input ViewRuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Does not contain the specified string (case-sensitive).""" - notIncludes: ConstructiveInternalTypeHostname + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Contains the specified string (case-insensitive).""" - includesInsensitive: ConstructiveInternalTypeHostname + """Filter by the object’s `viewId` field.""" + viewId: UUIDFilter - """Does not contain the specified string (case-insensitive).""" - notIncludesInsensitive: ConstructiveInternalTypeHostname + """Filter by the object’s `name` field.""" + name: StringFilter - """Starts with the specified string (case-sensitive).""" - startsWith: ConstructiveInternalTypeHostname + """Filter by the object’s `event` field.""" + event: StringFilter - """Does not start with the specified string (case-sensitive).""" - notStartsWith: ConstructiveInternalTypeHostname + """Filter by the object’s `action` field.""" + action: StringFilter - """Starts with the specified string (case-insensitive).""" - startsWithInsensitive: ConstructiveInternalTypeHostname + """Checks for all expressions in this list.""" + and: [ViewRuleFilter!] - """Does not start with the specified string (case-insensitive).""" - notStartsWithInsensitive: ConstructiveInternalTypeHostname + """Checks for any expressions in this list.""" + or: [ViewRuleFilter!] - """Ends with the specified string (case-sensitive).""" - endsWith: ConstructiveInternalTypeHostname + """Negates the expression.""" + not: ViewRuleFilter - """Does not end with the specified string (case-sensitive).""" - notEndsWith: ConstructiveInternalTypeHostname + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """Ends with the specified string (case-insensitive).""" - endsWithInsensitive: ConstructiveInternalTypeHostname + """Filter by the object’s `view` relation.""" + view: ViewFilter - """Does not end with the specified string (case-insensitive).""" - notEndsWithInsensitive: ConstructiveInternalTypeHostname + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """ - Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - like: ConstructiveInternalTypeHostname + """TRGM search on the `event` column.""" + trgmEvent: TrgmSearchInput - """ - 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: ConstructiveInternalTypeHostname + """TRGM search on the `action` column.""" + trgmAction: TrgmSearchInput """ - Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + 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. """ - likeInsensitive: ConstructiveInternalTypeHostname + fullTextSearch: 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: ConstructiveInternalTypeHostname +""" +A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyViewTableFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewTableFilter - """Equal to the specified value (case-insensitive).""" - equalToInsensitive: String + """Filters to entities where every related entity matches.""" + every: ViewTableFilter - """Not equal to the specified value (case-insensitive).""" - notEqualToInsensitive: String + """Filters to entities where no related entity matches.""" + none: ViewTableFilter +} - """ - Not equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - distinctFromInsensitive: String +""" +A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyTableTemplateModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: TableTemplateModuleFilter - """ - Equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - notDistinctFromInsensitive: String + """Filters to entities where every related entity matches.""" + every: TableTemplateModuleFilter - """Included in the specified list (case-insensitive).""" - inInsensitive: [String!] + """Filters to entities where no related entity matches.""" + none: TableTemplateModuleFilter +} - """Not included in the specified list (case-insensitive).""" - notInInsensitive: [String!] +""" +A filter to be used against `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input TableTemplateModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Less than the specified value (case-insensitive).""" - lessThanInsensitive: String + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Less than or equal to the specified value (case-insensitive).""" - lessThanOrEqualToInsensitive: String + """Filter by the object’s `schemaId` field.""" + schemaId: UUIDFilter - """Greater than the specified value (case-insensitive).""" - greaterThanInsensitive: String + """Filter by the object’s `privateSchemaId` field.""" + privateSchemaId: UUIDFilter - """Greater than or equal to the specified value (case-insensitive).""" - greaterThanOrEqualToInsensitive: String -} + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter -"""Methods to use when ordering `Domain`.""" -enum DomainOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - API_ID_ASC - API_ID_DESC - SITE_ID_ASC - SITE_ID_DESC - SUBDOMAIN_ASC - SUBDOMAIN_DESC - DOMAIN_ASC - DOMAIN_DESC -} + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter -"""A connection to a list of `SiteMetadatum` values.""" -type SiteMetadatumConnection { - """A list of `SiteMetadatum` objects.""" - nodes: [SiteMetadatum]! + """Filter by the object’s `tableName` field.""" + tableName: StringFilter - """ - A list of edges which contains the `SiteMetadatum` and cursor to aid in pagination. - """ - edges: [SiteMetadatumEdge]! + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `data` field.""" + data: JSONFilter - """The count of *all* `SiteMetadatum` you could get from the connection.""" - totalCount: Int! -} + """Checks for all expressions in this list.""" + and: [TableTemplateModuleFilter!] -""" -SEO and social sharing metadata for a site: page title, description, and Open Graph image -""" -type SiteMetadatum { - """Unique identifier for this metadata record""" - id: UUID! + """Checks for any expressions in this list.""" + or: [TableTemplateModuleFilter!] - """Reference to the metaschema database""" - databaseId: UUID! + """Negates the expression.""" + not: TableTemplateModuleFilter - """Site this metadata belongs to""" - siteId: UUID! + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """Page title for SEO (max 120 characters)""" - title: String + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter - """Meta description for SEO and social sharing (max 120 characters)""" - description: String + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter - """Open Graph image for social media previews""" - ogImage: ConstructiveInternalTypeImage + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter - """Reads a single `Database` that is related to this `SiteMetadatum`.""" - database: Database + """Filter by the object’s `table` relation.""" + table: TableFilter - """Reads a single `Site` that is related to this `SiteMetadatum`.""" - site: Site -} + """TRGM search on the `table_name` column.""" + trgmTableName: TrgmSearchInput -"""A `SiteMetadatum` edge in the connection.""" -type SiteMetadatumEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """TRGM search on the `node_type` column.""" + trgmNodeType: TrgmSearchInput - """The `SiteMetadatum` at the end of the edge.""" - node: SiteMetadatum + """ + 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 condition to be used against `SiteMetadatum` object types. All fields are -tested for equality and combined with a logical ‘and.’ +A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ """ -input SiteMetadatumCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `siteId` field.""" - siteId: UUID - - """Checks for equality with the object’s `title` field.""" - title: String +input TableToManySecureTableProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: SecureTableProvisionFilter - """Checks for equality with the object’s `description` field.""" - description: String + """Filters to entities where every related entity matches.""" + every: SecureTableProvisionFilter - """Checks for equality with the object’s `ogImage` field.""" - ogImage: ConstructiveInternalTypeImage + """Filters to entities where no related entity matches.""" + none: SecureTableProvisionFilter } """ -A filter to be used against `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ """ -input SiteMetadatumFilter { +input SecureTableProvisionFilter { """Filter by the object’s `id` field.""" id: UUIDFilter """Filter by the object’s `databaseId` field.""" databaseId: UUIDFilter - """Filter by the object’s `siteId` field.""" - siteId: UUIDFilter + """Filter by the object’s `schemaId` field.""" + schemaId: UUIDFilter - """Filter by the object’s `title` field.""" - title: StringFilter + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter - """Filter by the object’s `description` field.""" - description: StringFilter + """Filter by the object’s `tableName` field.""" + tableName: StringFilter - """Filter by the object’s `ogImage` field.""" - ogImage: ConstructiveInternalTypeImageFilter + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter - """Checks for all expressions in this list.""" - and: [SiteMetadatumFilter!] + """Filter by the object’s `useRls` field.""" + useRls: BooleanFilter - """Checks for any expressions in this list.""" - or: [SiteMetadatumFilter!] + """Filter by the object’s `nodeData` field.""" + nodeData: JSONFilter - """Negates the expression.""" - not: SiteMetadatumFilter -} + """Filter by the object’s `fields` field.""" + fields: JSONFilter -""" -A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ -""" -input ConstructiveInternalTypeImageFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean + """Filter by the object’s `grantRoles` field.""" + grantRoles: StringListFilter - """Equal to the specified value.""" - equalTo: ConstructiveInternalTypeImage + """Filter by the object’s `grantPrivileges` field.""" + grantPrivileges: JSONFilter - """Not equal to the specified value.""" - notEqualTo: ConstructiveInternalTypeImage + """Filter by the object’s `policyType` field.""" + policyType: StringFilter - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: ConstructiveInternalTypeImage + """Filter by the object’s `policyPrivileges` field.""" + policyPrivileges: StringListFilter - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: ConstructiveInternalTypeImage + """Filter by the object’s `policyRole` field.""" + policyRole: StringFilter - """Included in the specified list.""" - in: [ConstructiveInternalTypeImage!] + """Filter by the object’s `policyPermissive` field.""" + policyPermissive: BooleanFilter - """Not included in the specified list.""" - notIn: [ConstructiveInternalTypeImage!] + """Filter by the object’s `policyName` field.""" + policyName: StringFilter - """Less than the specified value.""" - lessThan: ConstructiveInternalTypeImage + """Filter by the object’s `policyData` field.""" + policyData: JSONFilter - """Less than or equal to the specified value.""" - lessThanOrEqualTo: ConstructiveInternalTypeImage + """Filter by the object’s `outFields` field.""" + outFields: UUIDListFilter - """Greater than the specified value.""" - greaterThan: ConstructiveInternalTypeImage + """Checks for all expressions in this list.""" + and: [SecureTableProvisionFilter!] - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: ConstructiveInternalTypeImage + """Checks for any expressions in this list.""" + or: [SecureTableProvisionFilter!] - """Contains the specified JSON.""" - contains: ConstructiveInternalTypeImage + """Negates the expression.""" + not: SecureTableProvisionFilter - """Contains the specified key.""" - containsKey: String + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """Contains all of the specified keys.""" - containsAllKeys: [String!] + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter - """Contains any of the specified keys.""" - containsAnyKeys: [String!] + """Filter by the object’s `table` relation.""" + table: TableFilter - """Contained by the specified JSON.""" - containedBy: ConstructiveInternalTypeImage -} + """TRGM search on the `table_name` column.""" + trgmTableName: TrgmSearchInput -"""Methods to use when ordering `SiteMetadatum`.""" -enum SiteMetadatumOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - SITE_ID_ASC - SITE_ID_DESC -} + """TRGM search on the `node_type` column.""" + trgmNodeType: TrgmSearchInput -"""A connection to a list of `SiteModule` values.""" -type SiteModuleConnection { - """A list of `SiteModule` objects.""" - nodes: [SiteModule]! + """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 """ - A list of edges which contains the `SiteModule` and cursor to aid in pagination. + 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. """ - edges: [SiteModuleEdge]! + fullTextSearch: String +} - """Information to aid in pagination.""" - pageInfo: PageInfo! +""" +A filter to be used against many `RelationProvision` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyRelationProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: RelationProvisionFilter - """The count of *all* `SiteModule` you could get from the connection.""" - totalCount: Int! + """Filters to entities where every related entity matches.""" + every: RelationProvisionFilter + + """Filters to entities where no related entity matches.""" + none: RelationProvisionFilter } """ -Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site +A filter to be used against `RelationProvision` object types. All fields are combined with a logical ‘and.’ """ -type SiteModule { - """Unique identifier for this site module record""" - id: UUID! +input RelationProvisionFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reference to the metaschema database""" - databaseId: UUID! + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Site this module configuration belongs to""" - siteId: UUID! + """Filter by the object’s `relationType` field.""" + relationType: StringFilter - """Module name (e.g. user_auth_module, analytics)""" - name: String! + """Filter by the object’s `sourceTableId` field.""" + sourceTableId: UUIDFilter - """JSON configuration data for this module""" - data: JSON! + """Filter by the object’s `targetTableId` field.""" + targetTableId: UUIDFilter - """Reads a single `Database` that is related to this `SiteModule`.""" - database: Database + """Filter by the object’s `fieldName` field.""" + fieldName: StringFilter - """Reads a single `Site` that is related to this `SiteModule`.""" - site: Site -} + """Filter by the object’s `deleteAction` field.""" + deleteAction: StringFilter -"""A `SiteModule` edge in the connection.""" -type SiteModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `isRequired` field.""" + isRequired: BooleanFilter - """The `SiteModule` at the end of the edge.""" - node: SiteModule -} + """Filter by the object’s `junctionTableId` field.""" + junctionTableId: UUIDFilter -""" -A condition to be used against `SiteModule` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input SiteModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Filter by the object’s `junctionTableName` field.""" + junctionTableName: StringFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Filter by the object’s `junctionSchemaId` field.""" + junctionSchemaId: UUIDFilter - """Checks for equality with the object’s `siteId` field.""" - siteId: UUID + """Filter by the object’s `sourceFieldName` field.""" + sourceFieldName: StringFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filter by the object’s `targetFieldName` field.""" + targetFieldName: StringFilter - """Checks for equality with the object’s `data` field.""" - data: JSON -} + """Filter by the object’s `useCompositeKey` field.""" + useCompositeKey: BooleanFilter -""" -A filter to be used against `SiteModule` object types. All fields are combined with a logical ‘and.’ -""" -input SiteModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Filter by the object’s `nodeData` field.""" + nodeData: JSONFilter - """Filter by the object’s `siteId` field.""" - siteId: UUIDFilter + """Filter by the object’s `grantRoles` field.""" + grantRoles: StringListFilter - """Filter by the object’s `name` field.""" - name: StringFilter + """Filter by the object’s `grantPrivileges` field.""" + grantPrivileges: JSONFilter + + """Filter by the object’s `policyType` field.""" + policyType: StringFilter + + """Filter by the object’s `policyPrivileges` field.""" + policyPrivileges: StringListFilter + + """Filter by the object’s `policyRole` field.""" + policyRole: StringFilter + + """Filter by the object’s `policyPermissive` field.""" + policyPermissive: BooleanFilter + + """Filter by the object’s `policyName` field.""" + policyName: StringFilter + + """Filter by the object’s `policyData` field.""" + policyData: JSONFilter + + """Filter by the object’s `outFieldId` field.""" + outFieldId: UUIDFilter + + """Filter by the object’s `outJunctionTableId` field.""" + outJunctionTableId: UUIDFilter + + """Filter by the object’s `outSourceFieldId` field.""" + outSourceFieldId: UUIDFilter + + """Filter by the object’s `outTargetFieldId` field.""" + outTargetFieldId: UUIDFilter """Checks for all expressions in this list.""" - and: [SiteModuleFilter!] + and: [RelationProvisionFilter!] """Checks for any expressions in this list.""" - or: [SiteModuleFilter!] + or: [RelationProvisionFilter!] """Negates the expression.""" - not: SiteModuleFilter -} + not: RelationProvisionFilter -"""Methods to use when ordering `SiteModule`.""" -enum SiteModuleOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - SITE_ID_ASC - SITE_ID_DESC -} + """Filter by the object’s `database` relation.""" + database: DatabaseFilter -"""A connection to a list of `SiteTheme` values.""" -type SiteThemeConnection { - """A list of `SiteTheme` objects.""" - nodes: [SiteTheme]! + """Filter by the object’s `sourceTable` relation.""" + sourceTable: TableFilter - """ - A list of edges which contains the `SiteTheme` and cursor to aid in pagination. - """ - edges: [SiteThemeEdge]! + """Filter by the object’s `targetTable` relation.""" + targetTable: TableFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """TRGM search on the `relation_type` column.""" + trgmRelationType: TrgmSearchInput - """The count of *all* `SiteTheme` you could get from the connection.""" - totalCount: Int! -} + """TRGM search on the `field_name` column.""" + trgmFieldName: TrgmSearchInput -""" -Theme configuration for a site; stores design tokens, colors, and typography as JSONB -""" -type SiteTheme { - """Unique identifier for this theme record""" - id: UUID! + """TRGM search on the `delete_action` column.""" + trgmDeleteAction: TrgmSearchInput - """Reference to the metaschema database""" - databaseId: UUID! + """TRGM search on the `junction_table_name` column.""" + trgmJunctionTableName: TrgmSearchInput - """Site this theme belongs to""" - siteId: UUID! + """TRGM search on the `source_field_name` column.""" + trgmSourceFieldName: TrgmSearchInput - """ - JSONB object containing theme tokens (colors, typography, spacing, etc.) - """ - theme: JSON! + """TRGM search on the `target_field_name` column.""" + trgmTargetFieldName: TrgmSearchInput - """Reads a single `Database` that is related to this `SiteTheme`.""" - database: Database + """TRGM search on the `node_type` column.""" + trgmNodeType: TrgmSearchInput - """Reads a single `Site` that is related to this `SiteTheme`.""" - site: Site -} + """TRGM search on the `policy_type` column.""" + trgmPolicyType: TrgmSearchInput -"""A `SiteTheme` edge in the connection.""" -type SiteThemeEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """TRGM search on the `policy_role` column.""" + trgmPolicyRole: TrgmSearchInput - """The `SiteTheme` at the end of the edge.""" - node: SiteTheme + """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 } """ -A condition to be used against `SiteTheme` object types. All fields are tested -for equality and combined with a logical ‘and.’ +A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ """ -input SiteThemeCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +input SchemaToManySchemaGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: SchemaGrantFilter - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `siteId` field.""" - siteId: UUID + """Filters to entities where every related entity matches.""" + every: SchemaGrantFilter - """Checks for equality with the object’s `theme` field.""" - theme: JSON + """Filters to entities where no related entity matches.""" + none: SchemaGrantFilter } """ -A filter to be used against `SiteTheme` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `SchemaGrant` object types. All fields are combined with a logical ‘and.’ """ -input SiteThemeFilter { +input SchemaGrantFilter { """Filter by the object’s `id` field.""" id: UUIDFilter """Filter by the object’s `databaseId` field.""" databaseId: UUIDFilter - """Filter by the object’s `siteId` field.""" - siteId: UUIDFilter + """Filter by the object’s `schemaId` field.""" + schemaId: UUIDFilter - """Filter by the object’s `theme` field.""" - theme: JSONFilter + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter + + """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: [SiteThemeFilter!] + and: [SchemaGrantFilter!] """Checks for any expressions in this list.""" - or: [SiteThemeFilter!] + or: [SchemaGrantFilter!] """Negates the expression.""" - not: SiteThemeFilter + not: SchemaGrantFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 } -"""Methods to use when ordering `SiteTheme`.""" -enum SiteThemeOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - SITE_ID_ASC - SITE_ID_DESC +""" +A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyViewFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewFilter + + """Filters to entities where every related entity matches.""" + every: ViewFilter + + """Filters to entities where no related entity matches.""" + none: ViewFilter } -"""A `Domain` edge in the connection.""" -type DomainEdge { - """A cursor for use in pagination.""" - cursor: Cursor +""" +A filter to be used against many `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyDefaultPrivilegeFilter { + """Filters to entities where at least one related entity matches.""" + some: DefaultPrivilegeFilter - """The `Domain` at the end of the edge.""" - node: Domain + """Filters to entities where every related entity matches.""" + every: DefaultPrivilegeFilter + + """Filters to entities where no related entity matches.""" + none: DefaultPrivilegeFilter } -type RlsModule { - id: UUID! - databaseId: UUID! - apiId: UUID! - schemaId: UUID! - privateSchemaId: UUID! - sessionCredentialsTableId: UUID! - sessionsTableId: UUID! - usersTableId: UUID! - authenticate: String! - authenticateStrict: String! - currentRole: String! - currentRoleId: String! +""" +A filter to be used against `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ +""" +input DefaultPrivilegeFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Reads a single `Api` that is related to this `RlsModule`.""" - api: Api + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Reads a single `Database` that is related to this `RlsModule`.""" - database: Database + """Filter by the object’s `schemaId` field.""" + schemaId: UUIDFilter - """Reads a single `Schema` that is related to this `RlsModule`.""" - privateSchema: Schema + """Filter by the object’s `objectType` field.""" + objectType: StringFilter - """Reads a single `Schema` that is related to this `RlsModule`.""" - schema: Schema + """Filter by the object’s `privilege` field.""" + privilege: StringFilter - """Reads a single `Table` that is related to this `RlsModule`.""" - sessionCredentialsTable: Table + """Filter by the object’s `granteeName` field.""" + granteeName: StringFilter - """Reads a single `Table` that is related to this `RlsModule`.""" - sessionsTable: Table + """Filter by the object’s `isGrant` field.""" + isGrant: BooleanFilter - """Reads a single `Table` that is related to this `RlsModule`.""" - usersTable: Table -} + """Checks for all expressions in this list.""" + and: [DefaultPrivilegeFilter!] -"""A `ApiSchema` edge in the connection.""" -type ApiSchemaEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Checks for any expressions in this list.""" + or: [DefaultPrivilegeFilter!] - """The `ApiSchema` at the end of the edge.""" - node: ApiSchema -} + """Negates the expression.""" + not: DefaultPrivilegeFilter -"""A `Schema` edge in the connection.""" -type SchemaEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """The `Schema` at the end of the edge.""" - node: Schema + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """TRGM search on the `object_type` column.""" + trgmObjectType: TrgmSearchInput + + """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 } """ -A condition to be used against `Schema` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ """ -input SchemaCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID +input SchemaToManyApiSchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiSchemaFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filters to entities where every related entity matches.""" + every: ApiSchemaFilter - """Checks for equality with the object’s `schemaName` field.""" - schemaName: String + """Filters to entities where no related entity matches.""" + none: ApiSchemaFilter +} - """Checks for equality with the object’s `label` field.""" - label: String +""" +A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ +""" +input ApiSchemaFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """Checks for equality with the object’s `description` field.""" - description: String + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter - """Checks for equality with the object’s `smartTags` field.""" - smartTags: JSON + """Filter by the object’s `schemaId` field.""" + schemaId: UUIDFilter - """Checks for equality with the object’s `category` field.""" - category: ObjectCategory + """Filter by the object’s `apiId` field.""" + apiId: UUIDFilter - """Checks for equality with the object’s `module` field.""" - module: String + """Checks for all expressions in this list.""" + and: [ApiSchemaFilter!] - """Checks for equality with the object’s `scope` field.""" - scope: Int + """Checks for any expressions in this list.""" + or: [ApiSchemaFilter!] - """Checks for equality with the object’s `tags` field.""" - tags: [String] + """Negates the expression.""" + not: ApiSchemaFilter - """Checks for equality with the object’s `isPublic` field.""" - isPublic: Boolean + """Filter by the object’s `api` relation.""" + api: ApiFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filter by the object’s `database` relation.""" + database: DatabaseFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter } """ -A filter to be used against `Schema` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `Api` object types. All fields are combined with a logical ‘and.’ """ -input SchemaFilter { +input ApiFilter { """Filter by the object’s `id` field.""" id: UUIDFilter @@ -13629,339 +11924,335 @@ input SchemaFilter { """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 `dbname` field.""" + dbname: StringFilter - """Filter by the object’s `scope` field.""" - scope: IntFilter + """Filter by the object’s `roleName` field.""" + roleName: StringFilter - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """Filter by the object’s `anonRole` field.""" + anonRole: StringFilter """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!] + and: [ApiFilter!] """Checks for any expressions in this list.""" - or: [SchemaFilter!] + or: [ApiFilter!] """Negates the expression.""" - not: SchemaFilter -} + not: ApiFilter -"""Methods to use when ordering `Schema`.""" -enum SchemaOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - NAME_ASC - NAME_DESC - SCHEMA_NAME_ASC - SCHEMA_NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `database` relation.""" + database: DatabaseFilter -"""A connection to a list of `TriggerFunction` values.""" -type TriggerFunctionConnection { - """A list of `TriggerFunction` objects.""" - nodes: [TriggerFunction]! + """Filter by the object’s `apiModules` relation.""" + apiModules: ApiToManyApiModuleFilter - """ - A list of edges which contains the `TriggerFunction` and cursor to aid in pagination. - """ - edges: [TriggerFunctionEdge]! + """`apiModules` exist.""" + apiModulesExist: Boolean - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filter by the object’s `apiSchemas` relation.""" + apiSchemas: ApiToManyApiSchemaFilter - """ - The count of *all* `TriggerFunction` you could get from the connection. - """ - totalCount: Int! -} + """`apiSchemas` exist.""" + apiSchemasExist: Boolean -type TriggerFunction { - id: UUID! - databaseId: UUID! - name: String! - code: String - createdAt: Datetime - updatedAt: Datetime + """Filter by the object’s `domains` relation.""" + domains: ApiToManyDomainFilter - """Reads a single `Database` that is related to this `TriggerFunction`.""" - database: Database -} + """`domains` exist.""" + domainsExist: Boolean -"""A `TriggerFunction` edge in the connection.""" -type TriggerFunctionEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput - """The `TriggerFunction` at the end of the edge.""" - node: TriggerFunction -} + """TRGM search on the `dbname` column.""" + trgmDbname: TrgmSearchInput -""" -A condition to be used against `TriggerFunction` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input TriggerFunctionCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """TRGM search on the `role_name` column.""" + trgmRoleName: TrgmSearchInput - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """TRGM search on the `anon_role` column.""" + trgmAnonRole: TrgmSearchInput - """Checks for equality with the object’s `name` field.""" - name: String + """ + 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 equality with the object’s `code` field.""" - code: String +""" +A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ +""" +input ApiToManyApiModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiModuleFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filters to entities where every related entity matches.""" + every: ApiModuleFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """Filters to entities where no related entity matches.""" + none: ApiModuleFilter } """ -A filter to be used against `TriggerFunction` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `ApiModule` object types. All fields are combined with a logical ‘and.’ """ -input TriggerFunctionFilter { +input ApiModuleFilter { """Filter by the object’s `id` field.""" id: UUIDFilter """Filter by the object’s `databaseId` field.""" databaseId: UUIDFilter + """Filter by the object’s `apiId` field.""" + apiId: UUIDFilter + """Filter by the object’s `name` field.""" name: StringFilter - """Filter by the object’s `code` field.""" - code: StringFilter + """Checks for all expressions in this list.""" + and: [ApiModuleFilter!] - """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: [TriggerFunctionFilter!] - - """Checks for any expressions in this list.""" - or: [TriggerFunctionFilter!] + """Checks for any expressions in this list.""" + or: [ApiModuleFilter!] """Negates the expression.""" - not: TriggerFunctionFilter -} + not: ApiModuleFilter -"""Methods to use when ordering `TriggerFunction`.""" -enum TriggerFunctionOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} + """Filter by the object’s `api` relation.""" + api: ApiFilter -"""A connection to a list of `Api` values.""" -type ApiConnection { - """A list of `Api` objects.""" - nodes: [Api]! + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """TRGM search on the `name` column.""" + trgmName: TrgmSearchInput """ - A list of edges which contains the `Api` and cursor to aid in pagination. + 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. """ - edges: [ApiEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `Api` you could get from the connection.""" - totalCount: Int! -} - -"""A `Api` edge in the connection.""" -type ApiEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `Api` at the end of the edge.""" - node: Api + fullTextSearch: String } """ -A condition to be used against `Api` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ """ -input ApiCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID +input ApiToManyApiSchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiSchemaFilter - """Checks for equality with the object’s `name` field.""" - name: String + """Filters to entities where every related entity matches.""" + every: ApiSchemaFilter - """Checks for equality with the object’s `dbname` field.""" - dbname: String + """Filters to entities where no related entity matches.""" + none: ApiSchemaFilter +} - """Checks for equality with the object’s `roleName` field.""" - roleName: String +""" +A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ +""" +input ApiToManyDomainFilter { + """Filters to entities where at least one related entity matches.""" + some: DomainFilter - """Checks for equality with the object’s `anonRole` field.""" - anonRole: String + """Filters to entities where every related entity matches.""" + every: DomainFilter - """Checks for equality with the object’s `isPublic` field.""" - isPublic: Boolean + """Filters to entities where no related entity matches.""" + none: DomainFilter } """ -A filter to be used against `Api` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `Domain` object types. All fields are combined with a logical ‘and.’ """ -input ApiFilter { +input DomainFilter { """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 `dbname` field.""" - dbname: StringFilter + """Filter by the object’s `apiId` field.""" + apiId: UUIDFilter - """Filter by the object’s `roleName` field.""" - roleName: StringFilter + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter - """Filter by the object’s `anonRole` field.""" - anonRole: StringFilter + """Filter by the object’s `subdomain` field.""" + subdomain: ConstructiveInternalTypeHostnameFilter - """Filter by the object’s `isPublic` field.""" - isPublic: BooleanFilter + """Filter by the object’s `domain` field.""" + domain: ConstructiveInternalTypeHostnameFilter """Checks for all expressions in this list.""" - and: [ApiFilter!] + and: [DomainFilter!] """Checks for any expressions in this list.""" - or: [ApiFilter!] + or: [DomainFilter!] """Negates the expression.""" - not: ApiFilter -} + not: DomainFilter -"""Methods to use when ordering `Api`.""" -enum ApiOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - NAME_ASC - NAME_DESC + """Filter by the object’s `api` relation.""" + api: ApiFilter + + """A related `api` exists.""" + apiExists: Boolean + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `site` relation.""" + site: SiteFilter + + """A related `site` exists.""" + siteExists: Boolean } -"""A connection to a list of `Site` values.""" -type SiteConnection { - """A list of `Site` objects.""" - nodes: [Site]! +""" +A filter to be used against ConstructiveInternalTypeHostname fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeHostnameFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeHostname + + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeHostname """ - A list of edges which contains the `Site` and cursor to aid in pagination. + Not equal to the specified value, treating null like an ordinary value. """ - edges: [SiteEdge]! + distinctFrom: ConstructiveInternalTypeHostname - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeHostname - """The count of *all* `Site` you could get from the connection.""" - totalCount: Int! -} + """Included in the specified list.""" + in: [ConstructiveInternalTypeHostname!] -"""A `Site` edge in the connection.""" -type SiteEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeHostname!] - """The `Site` at the end of the edge.""" - node: Site -} + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeHostname -""" -A condition to be used against `Site` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input SiteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `title` field.""" - title: String + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `description` field.""" - description: String + """Contains the specified string (case-sensitive).""" + includes: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `ogImage` field.""" - ogImage: ConstructiveInternalTypeImage + """Does not contain the specified string (case-sensitive).""" + notIncludes: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `favicon` field.""" - favicon: ConstructiveInternalTypeAttachment + """Contains the specified string (case-insensitive).""" + includesInsensitive: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `appleTouchIcon` field.""" - appleTouchIcon: ConstructiveInternalTypeImage + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `logo` field.""" - logo: ConstructiveInternalTypeImage + """Starts with the specified string (case-sensitive).""" + startsWith: ConstructiveInternalTypeHostname - """Checks for equality with the object’s `dbname` field.""" - dbname: String + """Does not start with the specified string (case-sensitive).""" + notStartsWith: ConstructiveInternalTypeHostname + + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeHostname + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeHostname + + """Ends with the specified string (case-sensitive).""" + endsWith: ConstructiveInternalTypeHostname + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: ConstructiveInternalTypeHostname + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: ConstructiveInternalTypeHostname + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeHostname + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: ConstructiveInternalTypeHostname + + """ + 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: ConstructiveInternalTypeHostname + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: ConstructiveInternalTypeHostname + + """ + 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: ConstructiveInternalTypeHostname + + """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 ConstructiveInternalTypeHostname + """ A filter to be used against `Site` object types. All fields are combined with a logical ‘and.’ """ @@ -14001,6 +12292,56 @@ input SiteFilter { """Negates the expression.""" not: SiteFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `app` relation.""" + app: AppFilter + + """A related `app` exists.""" + appExists: Boolean + + """Filter by the object’s `domains` relation.""" + domains: SiteToManyDomainFilter + + """`domains` exist.""" + domainsExist: Boolean + + """Filter by the object’s `siteMetadata` relation.""" + siteMetadata: SiteToManySiteMetadatumFilter + + """`siteMetadata` exist.""" + siteMetadataExist: Boolean + + """Filter by the object’s `siteModules` relation.""" + siteModules: SiteToManySiteModuleFilter + + """`siteModules` exist.""" + siteModulesExist: Boolean + + """Filter by the object’s `siteThemes` relation.""" + siteThemes: SiteToManySiteThemeFilter + + """`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 } """ @@ -14135,74 +12476,7 @@ input ConstructiveInternalTypeAttachmentFilter { greaterThanOrEqualToInsensitive: String } -"""Methods to use when ordering `Site`.""" -enum SiteOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC -} - -"""A connection to a list of `App` values.""" -type AppConnection { - """A list of `App` objects.""" - nodes: [App]! - - """ - A list of edges which contains the `App` and cursor to aid in pagination. - """ - edges: [AppEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `App` you could get from the connection.""" - totalCount: Int! -} - -"""A `App` edge in the connection.""" -type AppEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `App` at the end of the edge.""" - node: App -} - -""" -A condition to be used against `App` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input AppCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `siteId` field.""" - siteId: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `appImage` field.""" - appImage: ConstructiveInternalTypeImage - - """Checks for equality with the object’s `appStoreLink` field.""" - appStoreLink: ConstructiveInternalTypeUrl - - """Checks for equality with the object’s `appStoreId` field.""" - appStoreId: String - - """Checks for equality with the object’s `appIdPrefix` field.""" - appIdPrefix: String - - """Checks for equality with the object’s `playStoreLink` field.""" - playStoreLink: ConstructiveInternalTypeUrl -} +scalar ConstructiveInternalTypeAttachment """ A filter to be used against `App` object types. All fields are combined with a logical ‘and.’ @@ -14243,6 +12517,29 @@ input AppFilter { """Negates the expression.""" not: AppFilter + + """Filter by the object’s `site` relation.""" + site: SiteFilter + + """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 } """ @@ -14304,77 +12601,6549 @@ input ConstructiveInternalTypeUrlFilter { """Does not start with the specified string (case-sensitive).""" notStartsWith: ConstructiveInternalTypeUrl - """Starts with the specified string (case-insensitive).""" - startsWithInsensitive: ConstructiveInternalTypeUrl + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeUrl + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeUrl + + """Ends with the specified string (case-sensitive).""" + endsWith: ConstructiveInternalTypeUrl + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: ConstructiveInternalTypeUrl + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: ConstructiveInternalTypeUrl + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeUrl + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: ConstructiveInternalTypeUrl + + """ + 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: ConstructiveInternalTypeUrl + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: ConstructiveInternalTypeUrl + + """ + 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: ConstructiveInternalTypeUrl + + """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 ConstructiveInternalTypeUrl + +""" +A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManyDomainFilter { + """Filters to entities where at least one related entity matches.""" + some: DomainFilter + + """Filters to entities where every related entity matches.""" + every: DomainFilter + + """Filters to entities where no related entity matches.""" + none: DomainFilter +} + +""" +A filter to be used against many `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManySiteMetadatumFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteMetadatumFilter + + """Filters to entities where every related entity matches.""" + every: SiteMetadatumFilter + + """Filters to entities where no related entity matches.""" + none: SiteMetadatumFilter +} + +""" +A filter to be used against `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ +""" +input SiteMetadatumFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `title` field.""" + title: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `ogImage` field.""" + ogImage: ConstructiveInternalTypeImageFilter + + """Checks for all expressions in this list.""" + and: [SiteMetadatumFilter!] + + """Checks for any expressions in this list.""" + or: [SiteMetadatumFilter!] + + """Negates the expression.""" + not: SiteMetadatumFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `SiteModule` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManySiteModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteModuleFilter + + """Filters to entities where every related entity matches.""" + every: SiteModuleFilter + + """Filters to entities where no related entity matches.""" + none: SiteModuleFilter +} + +""" +A filter to be used against `SiteModule` object types. All fields are combined with a logical ‘and.’ +""" +input SiteModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Checks for all expressions in this list.""" + and: [SiteModuleFilter!] + + """Checks for any expressions in this list.""" + or: [SiteModuleFilter!] + + """Negates the expression.""" + not: SiteModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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 +} + +""" +A filter to be used against many `SiteTheme` object types. All fields are combined with a logical ‘and.’ +""" +input SiteToManySiteThemeFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteThemeFilter + + """Filters to entities where every related entity matches.""" + every: SiteThemeFilter + + """Filters to entities where no related entity matches.""" + none: SiteThemeFilter +} + +""" +A filter to be used against `SiteTheme` object types. All fields are combined with a logical ‘and.’ +""" +input SiteThemeFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `siteId` field.""" + siteId: UUIDFilter + + """Filter by the object’s `theme` field.""" + theme: JSONFilter + + """Checks for all expressions in this list.""" + and: [SiteThemeFilter!] + + """Checks for any expressions in this list.""" + or: [SiteThemeFilter!] + + """Negates the expression.""" + not: SiteThemeFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `site` relation.""" + site: SiteFilter +} + +""" +A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyTableTemplateModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: TableTemplateModuleFilter + + """Filters to entities where every related entity matches.""" + every: TableTemplateModuleFilter + + """Filters to entities where no related entity matches.""" + none: TableTemplateModuleFilter +} + +""" +A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTableFilter { + """Filters to entities where at least one related entity matches.""" + some: TableFilter + + """Filters to entities where every related entity matches.""" + every: TableFilter + + """Filters to entities where no related entity matches.""" + none: TableFilter +} + +""" +A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyCheckConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: CheckConstraintFilter + + """Filters to entities where every related entity matches.""" + every: CheckConstraintFilter + + """Filters to entities where no related entity matches.""" + none: CheckConstraintFilter +} + +""" +A filter to be used against many `Field` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyFieldFilter { + """Filters to entities where at least one related entity matches.""" + some: FieldFilter + + """Filters to entities where every related entity matches.""" + every: FieldFilter + + """Filters to entities where no related entity matches.""" + none: FieldFilter +} + +""" +A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyForeignKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: ForeignKeyConstraintFilter + + """Filters to entities where every related entity matches.""" + every: ForeignKeyConstraintFilter + + """Filters to entities where no related entity matches.""" + none: ForeignKeyConstraintFilter +} + +""" +A filter to be used against many `FullTextSearch` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyFullTextSearchFilter { + """Filters to entities where at least one related entity matches.""" + some: FullTextSearchFilter + + """Filters to entities where every related entity matches.""" + every: FullTextSearchFilter + + """Filters to entities where no related entity matches.""" + none: FullTextSearchFilter +} + +""" +A filter to be used against many `Index` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyIndexFilter { + """Filters to entities where at least one related entity matches.""" + some: IndexFilter + + """Filters to entities where every related entity matches.""" + every: IndexFilter + + """Filters to entities where no related entity matches.""" + none: IndexFilter +} + +""" +A filter to be used against many `Policy` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPolicyFilter { + """Filters to entities where at least one related entity matches.""" + some: PolicyFilter + + """Filters to entities where every related entity matches.""" + every: PolicyFilter + + """Filters to entities where no related entity matches.""" + none: PolicyFilter +} + +""" +A filter to be used against many `PrimaryKeyConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPrimaryKeyConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: PrimaryKeyConstraintFilter + + """Filters to entities where every related entity matches.""" + every: PrimaryKeyConstraintFilter + + """Filters to entities where no related entity matches.""" + none: PrimaryKeyConstraintFilter +} + +""" +A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySchemaGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: SchemaGrantFilter + + """Filters to entities where every related entity matches.""" + every: SchemaGrantFilter + + """Filters to entities where no related entity matches.""" + none: SchemaGrantFilter +} + +""" +A filter to be used against many `TableGrant` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTableGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: TableGrantFilter + + """Filters to entities where every related entity matches.""" + every: TableGrantFilter + + """Filters to entities where no related entity matches.""" + none: TableGrantFilter +} + +""" +A filter to be used against many `TriggerFunction` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTriggerFunctionFilter { + """Filters to entities where at least one related entity matches.""" + some: TriggerFunctionFilter + + """Filters to entities where every related entity matches.""" + every: TriggerFunctionFilter + + """Filters to entities where no related entity matches.""" + none: TriggerFunctionFilter +} + +""" +A filter to be used against `TriggerFunction` object types. All fields are combined with a logical ‘and.’ +""" +input TriggerFunctionFilter { + """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 `code` field.""" + code: StringFilter + + """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: [TriggerFunctionFilter!] + + """Checks for any expressions in this list.""" + or: [TriggerFunctionFilter!] + + """Negates the expression.""" + not: 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 +} + +""" +A filter to be used against many `Trigger` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTriggerFilter { + """Filters to entities where at least one related entity matches.""" + some: TriggerFilter + + """Filters to entities where every related entity matches.""" + every: TriggerFilter + + """Filters to entities where no related entity matches.""" + none: TriggerFilter +} + +""" +A filter to be used against many `UniqueConstraint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyUniqueConstraintFilter { + """Filters to entities where at least one related entity matches.""" + some: UniqueConstraintFilter + + """Filters to entities where every related entity matches.""" + every: UniqueConstraintFilter + + """Filters to entities where no related entity matches.""" + none: UniqueConstraintFilter +} + +""" +A filter to be used against many `View` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyViewFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewFilter + + """Filters to entities where every related entity matches.""" + every: ViewFilter + + """Filters to entities where no related entity matches.""" + none: ViewFilter +} + +""" +A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyViewGrantFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewGrantFilter + + """Filters to entities where every related entity matches.""" + every: ViewGrantFilter + + """Filters to entities where no related entity matches.""" + none: ViewGrantFilter +} + +""" +A filter to be used against many `ViewRule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyViewRuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ViewRuleFilter + + """Filters to entities where every related entity matches.""" + every: ViewRuleFilter + + """Filters to entities where no related entity matches.""" + none: ViewRuleFilter +} + +""" +A filter to be used against many `DefaultPrivilege` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDefaultPrivilegeFilter { + """Filters to entities where at least one related entity matches.""" + some: DefaultPrivilegeFilter + + """Filters to entities where every related entity matches.""" + every: DefaultPrivilegeFilter + + """Filters to entities where no related entity matches.""" + none: DefaultPrivilegeFilter +} + +""" +A filter to be used against many `Api` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyApiFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiFilter + + """Filters to entities where every related entity matches.""" + every: ApiFilter + + """Filters to entities where no related entity matches.""" + none: ApiFilter +} + +""" +A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyApiModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiModuleFilter + + """Filters to entities where every related entity matches.""" + every: ApiModuleFilter + + """Filters to entities where no related entity matches.""" + none: ApiModuleFilter +} + +""" +A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyApiSchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: ApiSchemaFilter + + """Filters to entities where every related entity matches.""" + every: ApiSchemaFilter + + """Filters to entities where no related entity matches.""" + none: ApiSchemaFilter +} + +""" +A filter to be used against many `Site` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteFilter + + """Filters to entities where every related entity matches.""" + every: SiteFilter + + """Filters to entities where no related entity matches.""" + none: SiteFilter +} + +""" +A filter to be used against many `App` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyAppFilter { + """Filters to entities where at least one related entity matches.""" + some: AppFilter + + """Filters to entities where every related entity matches.""" + every: AppFilter + + """Filters to entities where no related entity matches.""" + none: AppFilter +} + +""" +A filter to be used against many `Domain` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDomainFilter { + """Filters to entities where at least one related entity matches.""" + some: DomainFilter + + """Filters to entities where every related entity matches.""" + every: DomainFilter + + """Filters to entities where no related entity matches.""" + none: DomainFilter +} + +""" +A filter to be used against many `SiteMetadatum` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteMetadatumFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteMetadatumFilter + + """Filters to entities where every related entity matches.""" + every: SiteMetadatumFilter + + """Filters to entities where no related entity matches.""" + none: SiteMetadatumFilter +} + +""" +A filter to be used against many `SiteModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteModuleFilter + + """Filters to entities where every related entity matches.""" + every: SiteModuleFilter + + """Filters to entities where no related entity matches.""" + none: SiteModuleFilter +} + +""" +A filter to be used against many `SiteTheme` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySiteThemeFilter { + """Filters to entities where at least one related entity matches.""" + some: SiteThemeFilter + + """Filters to entities where every related entity matches.""" + every: SiteThemeFilter + + """Filters to entities where no related entity matches.""" + none: SiteThemeFilter +} + +""" +A filter to be used against many `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyConnectedAccountsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ConnectedAccountsModuleFilter + + """Filters to entities where every related entity matches.""" + every: ConnectedAccountsModuleFilter + + """Filters to entities where no related entity matches.""" + none: ConnectedAccountsModuleFilter +} + +""" +A filter to be used against `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ +""" +input ConnectedAccountsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [ConnectedAccountsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [ConnectedAccountsModuleFilter!] + + """Negates the expression.""" + not: ConnectedAccountsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyCryptoAddressesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: CryptoAddressesModuleFilter + + """Filters to entities where every related entity matches.""" + every: CryptoAddressesModuleFilter + + """Filters to entities where no related entity matches.""" + none: CryptoAddressesModuleFilter +} + +""" +A filter to be used against `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ +""" +input CryptoAddressesModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `cryptoNetwork` field.""" + cryptoNetwork: StringFilter + + """Checks for all expressions in this list.""" + and: [CryptoAddressesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [CryptoAddressesModuleFilter!] + + """Negates the expression.""" + not: CryptoAddressesModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyCryptoAuthModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: CryptoAuthModuleFilter + + """Filters to entities where every related entity matches.""" + every: CryptoAuthModuleFilter + + """Filters to entities where no related entity matches.""" + none: CryptoAuthModuleFilter +} + +""" +A filter to be used against `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input CryptoAuthModuleFilter { + """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 `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `secretsTableId` field.""" + secretsTableId: UUIDFilter + + """Filter by the object’s `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `addressesTableId` field.""" + addressesTableId: UUIDFilter + + """Filter by the object’s `userField` field.""" + userField: StringFilter + + """Filter by the object’s `cryptoNetwork` field.""" + cryptoNetwork: StringFilter + + """Filter by the object’s `signInRequestChallenge` field.""" + signInRequestChallenge: StringFilter + + """Filter by the object’s `signInRecordFailure` field.""" + signInRecordFailure: StringFilter + + """Filter by the object’s `signUpWithKey` field.""" + signUpWithKey: StringFilter + + """Filter by the object’s `signInWithChallenge` field.""" + signInWithChallenge: StringFilter + + """Checks for all expressions in this list.""" + and: [CryptoAuthModuleFilter!] + + """Checks for any expressions in this list.""" + or: [CryptoAuthModuleFilter!] + + """Negates the expression.""" + not: CryptoAuthModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `secretsTable` relation.""" + secretsTable: TableFilter + + """Filter by the object’s `sessionCredentialsTable` relation.""" + sessionCredentialsTable: TableFilter + + """Filter by the object’s `sessionsTable` relation.""" + sessionsTable: TableFilter + + """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 +} + +""" +A filter to be used against many `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDefaultIdsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: DefaultIdsModuleFilter + + """Filters to entities where every related entity matches.""" + every: DefaultIdsModuleFilter + + """Filters to entities where no related entity matches.""" + none: DefaultIdsModuleFilter +} + +""" +A filter to be used against `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DefaultIdsModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [DefaultIdsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [DefaultIdsModuleFilter!] + + """Negates the expression.""" + not: DefaultIdsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter +} + +""" +A filter to be used against many `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDenormalizedTableFieldFilter { + """Filters to entities where at least one related entity matches.""" + some: DenormalizedTableFieldFilter + + """Filters to entities where every related entity matches.""" + every: DenormalizedTableFieldFilter + + """Filters to entities where no related entity matches.""" + none: DenormalizedTableFieldFilter +} + +""" +A filter to be used against `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ +""" +input DenormalizedTableFieldFilter { + """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 `fieldId` field.""" + fieldId: UUIDFilter + + """Filter by the object’s `setIds` field.""" + setIds: UUIDListFilter + + """Filter by the object’s `refTableId` field.""" + refTableId: UUIDFilter + + """Filter by the object’s `refFieldId` field.""" + refFieldId: UUIDFilter + + """Filter by the object’s `refIds` field.""" + refIds: UUIDListFilter + + """Filter by the object’s `useUpdates` field.""" + useUpdates: BooleanFilter + + """Filter by the object’s `updateDefaults` field.""" + updateDefaults: BooleanFilter + + """Filter by the object’s `funcName` field.""" + funcName: StringFilter + + """Filter by the object’s `funcOrder` field.""" + funcOrder: IntFilter + + """Checks for all expressions in this list.""" + and: [DenormalizedTableFieldFilter!] + + """Checks for any expressions in this list.""" + or: [DenormalizedTableFieldFilter!] + + """Negates the expression.""" + not: DenormalizedTableFieldFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `field` relation.""" + field: FieldFilter + + """Filter by the object’s `refField` relation.""" + refField: FieldFilter + + """Filter by the object’s `refTable` relation.""" + refTable: TableFilter + + """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 +} + +""" +A filter to be used against many `EmailsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyEmailsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: EmailsModuleFilter + + """Filters to entities where every related entity matches.""" + every: EmailsModuleFilter + + """Filters to entities where no related entity matches.""" + none: EmailsModuleFilter +} + +""" +A filter to be used against `EmailsModule` object types. All fields are combined with a logical ‘and.’ +""" +input EmailsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [EmailsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [EmailsModuleFilter!] + + """Negates the expression.""" + not: EmailsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyEncryptedSecretsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: EncryptedSecretsModuleFilter + + """Filters to entities where every related entity matches.""" + every: EncryptedSecretsModuleFilter + + """Filters to entities where no related entity matches.""" + none: EncryptedSecretsModuleFilter +} + +""" +A filter to be used against `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input EncryptedSecretsModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [EncryptedSecretsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [EncryptedSecretsModuleFilter!] + + """Negates the expression.""" + not: EncryptedSecretsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `FieldModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyFieldModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: FieldModuleFilter + + """Filters to entities where every related entity matches.""" + every: FieldModuleFilter + + """Filters to entities where no related entity matches.""" + none: FieldModuleFilter +} + +""" +A filter to be used against `FieldModule` object types. All fields are combined with a logical ‘and.’ +""" +input FieldModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `fieldId` field.""" + fieldId: UUIDFilter + + """Filter by the object’s `nodeType` field.""" + nodeType: StringFilter + + """Filter by the object’s `data` field.""" + data: JSONFilter + + """Filter by the object’s `triggers` field.""" + triggers: StringListFilter + + """Filter by the object’s `functions` field.""" + functions: StringListFilter + + """Checks for all expressions in this list.""" + and: [FieldModuleFilter!] + + """Checks for any expressions in this list.""" + or: [FieldModuleFilter!] + + """Negates the expression.""" + not: FieldModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `field` relation.""" + field: FieldFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `InvitesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyInvitesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: InvitesModuleFilter + + """Filters to entities where every related entity matches.""" + every: InvitesModuleFilter + + """Filters to entities where no related entity matches.""" + none: InvitesModuleFilter +} + +""" +A filter to be used against `InvitesModule` object types. All fields are combined with a logical ‘and.’ +""" +input InvitesModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `emailsTableId` field.""" + emailsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `invitesTableId` field.""" + invitesTableId: UUIDFilter + + """Filter by the object’s `claimedInvitesTableId` field.""" + claimedInvitesTableId: UUIDFilter + + """Filter by the object’s `invitesTableName` field.""" + invitesTableName: StringFilter + + """Filter by the object’s `claimedInvitesTableName` field.""" + claimedInvitesTableName: StringFilter + + """Filter by the object’s `submitInviteCodeFunction` field.""" + submitInviteCodeFunction: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [InvitesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [InvitesModuleFilter!] + + """Negates the expression.""" + not: InvitesModuleFilter + + """Filter by the object’s `claimedInvitesTable` relation.""" + claimedInvitesTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `emailsTable` relation.""" + emailsTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `invitesTable` relation.""" + invitesTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `LevelsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyLevelsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: LevelsModuleFilter + + """Filters to entities where every related entity matches.""" + every: LevelsModuleFilter + + """Filters to entities where no related entity matches.""" + none: LevelsModuleFilter +} + +""" +A filter to be used against `LevelsModule` object types. All fields are combined with a logical ‘and.’ +""" +input LevelsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `stepsTableId` field.""" + stepsTableId: UUIDFilter + + """Filter by the object’s `stepsTableName` field.""" + stepsTableName: StringFilter + + """Filter by the object’s `achievementsTableId` field.""" + achievementsTableId: UUIDFilter + + """Filter by the object’s `achievementsTableName` field.""" + achievementsTableName: StringFilter + + """Filter by the object’s `levelsTableId` field.""" + levelsTableId: UUIDFilter + + """Filter by the object’s `levelsTableName` field.""" + levelsTableName: StringFilter + + """Filter by the object’s `levelRequirementsTableId` field.""" + levelRequirementsTableId: UUIDFilter + + """Filter by the object’s `levelRequirementsTableName` field.""" + levelRequirementsTableName: StringFilter + + """Filter by the object’s `completedStep` field.""" + completedStep: StringFilter + + """Filter by the object’s `incompletedStep` field.""" + incompletedStep: StringFilter + + """Filter by the object’s `tgAchievement` field.""" + tgAchievement: StringFilter + + """Filter by the object’s `tgAchievementToggle` field.""" + tgAchievementToggle: StringFilter + + """Filter by the object’s `tgAchievementToggleBoolean` field.""" + tgAchievementToggleBoolean: StringFilter + + """Filter by the object’s `tgAchievementBoolean` field.""" + tgAchievementBoolean: StringFilter + + """Filter by the object’s `upsertAchievement` field.""" + upsertAchievement: StringFilter + + """Filter by the object’s `tgUpdateAchievements` field.""" + tgUpdateAchievements: StringFilter + + """Filter by the object’s `stepsRequired` field.""" + stepsRequired: StringFilter + + """Filter by the object’s `levelAchieved` field.""" + levelAchieved: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [LevelsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [LevelsModuleFilter!] + + """Negates the expression.""" + not: LevelsModuleFilter + + """Filter by the object’s `achievementsTable` relation.""" + achievementsTable: TableFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `levelRequirementsTable` relation.""" + levelRequirementsTable: TableFilter + + """Filter by the object’s `levelsTable` relation.""" + levelsTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `LimitsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyLimitsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: LimitsModuleFilter + + """Filters to entities where every related entity matches.""" + every: LimitsModuleFilter + + """Filters to entities where no related entity matches.""" + none: LimitsModuleFilter +} + +""" +A filter to be used against `LimitsModule` object types. All fields are combined with a logical ‘and.’ +""" +input LimitsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `defaultTableId` field.""" + defaultTableId: UUIDFilter + + """Filter by the object’s `defaultTableName` field.""" + defaultTableName: StringFilter + + """Filter by the object’s `limitIncrementFunction` field.""" + limitIncrementFunction: StringFilter + + """Filter by the object’s `limitDecrementFunction` field.""" + limitDecrementFunction: StringFilter + + """Filter by the object’s `limitIncrementTrigger` field.""" + limitIncrementTrigger: StringFilter + + """Filter by the object’s `limitDecrementTrigger` field.""" + limitDecrementTrigger: StringFilter + + """Filter by the object’s `limitUpdateTrigger` field.""" + limitUpdateTrigger: StringFilter + + """Filter by the object’s `limitCheckFunction` field.""" + limitCheckFunction: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [LimitsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [LimitsModuleFilter!] + + """Negates the expression.""" + not: LimitsModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `defaultTable` relation.""" + defaultTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyMembershipTypesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: MembershipTypesModuleFilter + + """Filters to entities where every related entity matches.""" + every: MembershipTypesModuleFilter + + """Filters to entities where no related entity matches.""" + none: MembershipTypesModuleFilter +} + +""" +A filter to be used against `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ +""" +input MembershipTypesModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [MembershipTypesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [MembershipTypesModuleFilter!] + + """Negates the expression.""" + not: MembershipTypesModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `MembershipsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyMembershipsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: MembershipsModuleFilter + + """Filters to entities where every related entity matches.""" + every: MembershipsModuleFilter + + """Filters to entities where no related entity matches.""" + none: MembershipsModuleFilter +} + +""" +A filter to be used against `MembershipsModule` object types. All fields are combined with a logical ‘and.’ +""" +input MembershipsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `membershipsTableId` field.""" + membershipsTableId: UUIDFilter + + """Filter by the object’s `membershipsTableName` field.""" + membershipsTableName: StringFilter + + """Filter by the object’s `membersTableId` field.""" + membersTableId: UUIDFilter + + """Filter by the object’s `membersTableName` field.""" + membersTableName: StringFilter + + """Filter by the object’s `membershipDefaultsTableId` field.""" + membershipDefaultsTableId: UUIDFilter + + """Filter by the object’s `membershipDefaultsTableName` field.""" + membershipDefaultsTableName: StringFilter + + """Filter by the object’s `grantsTableId` field.""" + grantsTableId: UUIDFilter + + """Filter by the object’s `grantsTableName` field.""" + grantsTableName: StringFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Filter by the object’s `limitsTableId` field.""" + limitsTableId: UUIDFilter + + """Filter by the object’s `defaultLimitsTableId` field.""" + defaultLimitsTableId: UUIDFilter + + """Filter by the object’s `permissionsTableId` field.""" + permissionsTableId: UUIDFilter + + """Filter by the object’s `defaultPermissionsTableId` field.""" + defaultPermissionsTableId: UUIDFilter + + """Filter by the object’s `sprtTableId` field.""" + sprtTableId: UUIDFilter + + """Filter by the object’s `adminGrantsTableId` field.""" + adminGrantsTableId: UUIDFilter + + """Filter by the object’s `adminGrantsTableName` field.""" + adminGrantsTableName: StringFilter + + """Filter by the object’s `ownerGrantsTableId` field.""" + ownerGrantsTableId: UUIDFilter + + """Filter by the object’s `ownerGrantsTableName` field.""" + ownerGrantsTableName: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `entityTableOwnerId` field.""" + entityTableOwnerId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `actorMaskCheck` field.""" + actorMaskCheck: StringFilter + + """Filter by the object’s `actorPermCheck` field.""" + actorPermCheck: StringFilter + + """Filter by the object’s `entityIdsByMask` field.""" + entityIdsByMask: StringFilter + + """Filter by the object’s `entityIdsByPerm` field.""" + entityIdsByPerm: StringFilter + + """Filter by the object’s `entityIdsFunction` field.""" + entityIdsFunction: StringFilter + + """Checks for all expressions in this list.""" + and: [MembershipsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [MembershipsModuleFilter!] + + """Negates the expression.""" + not: MembershipsModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `defaultLimitsTable` relation.""" + defaultLimitsTable: TableFilter + + """Filter by the object’s `defaultPermissionsTable` relation.""" + defaultPermissionsTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `entityTableOwner` relation.""" + entityTableOwner: FieldFilter + + """A related `entityTableOwner` exists.""" + entityTableOwnerExists: Boolean + + """Filter by the object’s `grantsTable` relation.""" + grantsTable: TableFilter + + """Filter by the object’s `limitsTable` relation.""" + limitsTable: TableFilter + + """Filter by the object’s `membersTable` relation.""" + membersTable: TableFilter + + """Filter by the object’s `membershipDefaultsTable` relation.""" + membershipDefaultsTable: TableFilter + + """Filter by the object’s `membershipsTable` relation.""" + membershipsTable: TableFilter + + """Filter by the object’s `permissionsTable` relation.""" + permissionsTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `PermissionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPermissionsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: PermissionsModuleFilter + + """Filters to entities where every related entity matches.""" + every: PermissionsModuleFilter + + """Filters to entities where no related entity matches.""" + none: PermissionsModuleFilter +} + +""" +A filter to be used against `PermissionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input PermissionsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `defaultTableId` field.""" + defaultTableId: UUIDFilter + + """Filter by the object’s `defaultTableName` field.""" + defaultTableName: StringFilter + + """Filter by the object’s `bitlen` field.""" + bitlen: IntFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `getPaddedMask` field.""" + getPaddedMask: StringFilter + + """Filter by the object’s `getMask` field.""" + getMask: StringFilter + + """Filter by the object’s `getByMask` field.""" + getByMask: StringFilter + + """Filter by the object’s `getMaskByName` field.""" + getMaskByName: StringFilter + + """Checks for all expressions in this list.""" + and: [PermissionsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [PermissionsModuleFilter!] + + """Negates the expression.""" + not: PermissionsModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `defaultTable` relation.""" + defaultTable: TableFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyPhoneNumbersModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: PhoneNumbersModuleFilter + + """Filters to entities where every related entity matches.""" + every: PhoneNumbersModuleFilter + + """Filters to entities where no related entity matches.""" + none: PhoneNumbersModuleFilter +} + +""" +A filter to be used against `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ +""" +input PhoneNumbersModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `ownerTableId` field.""" + ownerTableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [PhoneNumbersModuleFilter!] + + """Checks for any expressions in this list.""" + or: [PhoneNumbersModuleFilter!] + + """Negates the expression.""" + not: PhoneNumbersModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `ownerTable` relation.""" + ownerTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `ProfilesModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyProfilesModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: ProfilesModuleFilter + + """Filters to entities where every related entity matches.""" + every: ProfilesModuleFilter + + """Filters to entities where no related entity matches.""" + none: ProfilesModuleFilter +} + +""" +A filter to be used against `ProfilesModule` object types. All fields are combined with a logical ‘and.’ +""" +input ProfilesModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `profilePermissionsTableId` field.""" + profilePermissionsTableId: UUIDFilter + + """Filter by the object’s `profilePermissionsTableName` field.""" + profilePermissionsTableName: StringFilter + + """Filter by the object’s `profileGrantsTableId` field.""" + profileGrantsTableId: UUIDFilter + + """Filter by the object’s `profileGrantsTableName` field.""" + profileGrantsTableName: StringFilter + + """Filter by the object’s `profileDefinitionGrantsTableId` field.""" + profileDefinitionGrantsTableId: UUIDFilter + + """Filter by the object’s `profileDefinitionGrantsTableName` field.""" + profileDefinitionGrantsTableName: StringFilter + + """Filter by the object’s `membershipType` field.""" + membershipType: IntFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `actorTableId` field.""" + actorTableId: UUIDFilter + + """Filter by the object’s `permissionsTableId` field.""" + permissionsTableId: UUIDFilter + + """Filter by the object’s `membershipsTableId` field.""" + membershipsTableId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Checks for all expressions in this list.""" + and: [ProfilesModuleFilter!] + + """Checks for any expressions in this list.""" + or: [ProfilesModuleFilter!] + + """Negates the expression.""" + not: ProfilesModuleFilter + + """Filter by the object’s `actorTable` relation.""" + actorTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """A related `entityTable` exists.""" + entityTableExists: Boolean + + """Filter by the object’s `membershipsTable` relation.""" + membershipsTable: TableFilter + + """Filter by the object’s `permissionsTable` relation.""" + permissionsTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `profileDefinitionGrantsTable` relation.""" + profileDefinitionGrantsTable: TableFilter + + """Filter by the object’s `profileGrantsTable` relation.""" + profileGrantsTable: TableFilter + + """Filter by the object’s `profilePermissionsTable` relation.""" + profilePermissionsTable: TableFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ +""" +input RlsModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `authenticate` field.""" + authenticate: StringFilter + + """Filter by the object’s `authenticateStrict` field.""" + authenticateStrict: StringFilter + + """Filter by the object’s `currentRole` field.""" + currentRole: StringFilter + + """Filter by the object’s `currentRoleId` field.""" + currentRoleId: StringFilter + + """Checks for all expressions in this list.""" + and: [RlsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [RlsModuleFilter!] + + """Negates the expression.""" + not: RlsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `sessionCredentialsTable` relation.""" + sessionCredentialsTable: TableFilter + + """Filter by the object’s `sessionsTable` relation.""" + sessionsTable: TableFilter + + """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 +} + +""" +A filter to be used against many `SecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySecretsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SecretsModuleFilter + + """Filters to entities where every related entity matches.""" + every: SecretsModuleFilter + + """Filters to entities where no related entity matches.""" + none: SecretsModuleFilter +} + +""" +A filter to be used against `SecretsModule` object types. All fields are combined with a logical ‘and.’ +""" +input SecretsModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Checks for all expressions in this list.""" + and: [SecretsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [SecretsModuleFilter!] + + """Negates the expression.""" + not: SecretsModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `SessionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySessionsModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: SessionsModuleFilter + + """Filters to entities where every related entity matches.""" + every: SessionsModuleFilter + + """Filters to entities where no related entity matches.""" + none: SessionsModuleFilter +} + +""" +A filter to be used against `SessionsModule` object types. All fields are combined with a logical ‘and.’ +""" +input SessionsModuleFilter { + """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 `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `authSettingsTableId` field.""" + authSettingsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `sessionsDefaultExpiration` field.""" + sessionsDefaultExpiration: IntervalFilter + + """Filter by the object’s `sessionsTable` field.""" + sessionsTable: StringFilter + + """Filter by the object’s `sessionCredentialsTable` field.""" + sessionCredentialsTable: StringFilter + + """Filter by the object’s `authSettingsTable` field.""" + authSettingsTable: StringFilter + + """Checks for all expressions in this list.""" + and: [SessionsModuleFilter!] + + """Checks for any expressions in this list.""" + or: [SessionsModuleFilter!] + + """Negates the expression.""" + not: SessionsModuleFilter + + """ + Filter by the object’s `authSettingsTableByAuthSettingsTableId` relation. + """ + authSettingsTableByAuthSettingsTableId: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """ + Filter by the object’s `sessionCredentialsTableBySessionCredentialsTableId` relation. + """ + sessionCredentialsTableBySessionCredentialsTableId: TableFilter + + """Filter by the object’s `sessionsTableBySessionsTableId` relation.""" + sessionsTableBySessionsTableId: TableFilter + + """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 +} + +""" +A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ +""" +input IntervalFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: IntervalInput + + """Not equal to the specified value.""" + notEqualTo: IntervalInput + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: IntervalInput + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: IntervalInput + + """Included in the specified list.""" + in: [IntervalInput!] + + """Not included in the specified list.""" + notIn: [IntervalInput!] + + """Less than the specified value.""" + lessThan: IntervalInput + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: IntervalInput + + """Greater than the specified value.""" + greaterThan: IntervalInput + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: IntervalInput +} + +""" +An interval of time that has passed where the smallest distinct unit is a second. +""" +input IntervalInput { + """ + A quantity of seconds. This is the only non-integer field, as all the other + fields will dump their overflow into a smaller unit of time. Intervals don’t + have a smaller unit than seconds. + """ + seconds: Float + + """A quantity of minutes.""" + minutes: Int + + """A quantity of hours.""" + hours: Int + + """A quantity of days.""" + days: Int + + """A quantity of months.""" + months: Int + + """A quantity of years.""" + years: Int +} + +""" +A filter to be used against many `UserAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyUserAuthModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: UserAuthModuleFilter + + """Filters to entities where every related entity matches.""" + every: UserAuthModuleFilter + + """Filters to entities where no related entity matches.""" + none: UserAuthModuleFilter +} + +""" +A filter to be used against `UserAuthModule` object types. All fields are combined with a logical ‘and.’ +""" +input UserAuthModuleFilter { + """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 `emailsTableId` field.""" + emailsTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `secretsTableId` field.""" + secretsTableId: UUIDFilter + + """Filter by the object’s `encryptedTableId` field.""" + encryptedTableId: UUIDFilter + + """Filter by the object’s `sessionsTableId` field.""" + sessionsTableId: UUIDFilter + + """Filter by the object’s `sessionCredentialsTableId` field.""" + sessionCredentialsTableId: UUIDFilter + + """Filter by the object’s `auditsTableId` field.""" + auditsTableId: UUIDFilter + + """Filter by the object’s `auditsTableName` field.""" + auditsTableName: StringFilter + + """Filter by the object’s `signInFunction` field.""" + signInFunction: StringFilter + + """Filter by the object’s `signUpFunction` field.""" + signUpFunction: StringFilter + + """Filter by the object’s `signOutFunction` field.""" + signOutFunction: StringFilter + + """Filter by the object’s `setPasswordFunction` field.""" + setPasswordFunction: StringFilter + + """Filter by the object’s `resetPasswordFunction` field.""" + resetPasswordFunction: StringFilter + + """Filter by the object’s `forgotPasswordFunction` field.""" + forgotPasswordFunction: StringFilter + + """Filter by the object’s `sendVerificationEmailFunction` field.""" + sendVerificationEmailFunction: StringFilter + + """Filter by the object’s `verifyEmailFunction` field.""" + verifyEmailFunction: StringFilter + + """Filter by the object’s `verifyPasswordFunction` field.""" + verifyPasswordFunction: StringFilter + + """Filter by the object’s `checkPasswordFunction` field.""" + checkPasswordFunction: StringFilter + + """Filter by the object’s `sendAccountDeletionEmailFunction` field.""" + sendAccountDeletionEmailFunction: StringFilter + + """Filter by the object’s `deleteAccountFunction` field.""" + deleteAccountFunction: StringFilter + + """Filter by the object’s `signInOneTimeTokenFunction` field.""" + signInOneTimeTokenFunction: StringFilter + + """Filter by the object’s `oneTimeTokenFunction` field.""" + oneTimeTokenFunction: StringFilter + + """Filter by the object’s `extendTokenExpires` field.""" + extendTokenExpires: StringFilter + + """Checks for all expressions in this list.""" + and: [UserAuthModuleFilter!] + + """Checks for any expressions in this list.""" + or: [UserAuthModuleFilter!] + + """Negates the expression.""" + not: UserAuthModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `emailsTable` relation.""" + emailsTable: TableFilter + + """Filter by the object’s `encryptedTable` relation.""" + encryptedTable: TableFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `secretsTable` relation.""" + secretsTable: TableFilter + + """Filter by the object’s `sessionCredentialsTable` relation.""" + sessionCredentialsTable: TableFilter + + """Filter by the object’s `sessionsTable` relation.""" + sessionsTable: TableFilter + + """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 +} + +""" +A filter to be used against many `UsersModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyUsersModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: UsersModuleFilter + + """Filters to entities where every related entity matches.""" + every: UsersModuleFilter + + """Filters to entities where no related entity matches.""" + none: UsersModuleFilter +} + +""" +A filter to be used against `UsersModule` object types. All fields are combined with a logical ‘and.’ +""" +input UsersModuleFilter { + """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 `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `tableName` field.""" + tableName: StringFilter + + """Filter by the object’s `typeTableId` field.""" + typeTableId: UUIDFilter + + """Filter by the object’s `typeTableName` field.""" + typeTableName: StringFilter + + """Checks for all expressions in this list.""" + and: [UsersModuleFilter!] + + """Checks for any expressions in this list.""" + or: [UsersModuleFilter!] + + """Negates the expression.""" + not: UsersModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """Filter by the object’s `table` relation.""" + table: TableFilter + + """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 +} + +""" +A filter to be used against `HierarchyModule` object types. All fields are combined with a logical ‘and.’ +""" +input HierarchyModuleFilter { + """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 `privateSchemaId` field.""" + privateSchemaId: UUIDFilter + + """Filter by the object’s `chartEdgesTableId` field.""" + chartEdgesTableId: UUIDFilter + + """Filter by the object’s `chartEdgesTableName` field.""" + chartEdgesTableName: StringFilter + + """Filter by the object’s `hierarchySprtTableId` field.""" + hierarchySprtTableId: UUIDFilter + + """Filter by the object’s `hierarchySprtTableName` field.""" + hierarchySprtTableName: StringFilter + + """Filter by the object’s `chartEdgeGrantsTableId` field.""" + chartEdgeGrantsTableId: UUIDFilter + + """Filter by the object’s `chartEdgeGrantsTableName` field.""" + chartEdgeGrantsTableName: StringFilter + + """Filter by the object’s `entityTableId` field.""" + entityTableId: UUIDFilter + + """Filter by the object’s `usersTableId` field.""" + usersTableId: UUIDFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Filter by the object’s `privateSchemaName` field.""" + privateSchemaName: StringFilter + + """Filter by the object’s `sprtTableName` field.""" + sprtTableName: StringFilter + + """Filter by the object’s `rebuildHierarchyFunction` field.""" + rebuildHierarchyFunction: StringFilter + + """Filter by the object’s `getSubordinatesFunction` field.""" + getSubordinatesFunction: StringFilter + + """Filter by the object’s `getManagersFunction` field.""" + getManagersFunction: StringFilter + + """Filter by the object’s `isManagerOfFunction` field.""" + isManagerOfFunction: StringFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [HierarchyModuleFilter!] + + """Checks for any expressions in this list.""" + or: [HierarchyModuleFilter!] + + """Negates the expression.""" + not: HierarchyModuleFilter + + """Filter by the object’s `chartEdgeGrantsTable` relation.""" + chartEdgeGrantsTable: TableFilter + + """Filter by the object’s `chartEdgesTable` relation.""" + chartEdgesTable: TableFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `entityTable` relation.""" + entityTable: TableFilter + + """Filter by the object’s `hierarchySprtTable` relation.""" + hierarchySprtTable: TableFilter + + """Filter by the object’s `privateSchema` relation.""" + privateSchema: SchemaFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter + + """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 +} + +""" +A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyTableTemplateModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: TableTemplateModuleFilter + + """Filters to entities where every related entity matches.""" + every: TableTemplateModuleFilter + + """Filters to entities where no related entity matches.""" + none: TableTemplateModuleFilter +} + +""" +A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySecureTableProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: SecureTableProvisionFilter + + """Filters to entities where every related entity matches.""" + every: SecureTableProvisionFilter + + """Filters to entities where no related entity matches.""" + none: SecureTableProvisionFilter +} + +""" +A filter to be used against many `RelationProvision` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyRelationProvisionFilter { + """Filters to entities where at least one related entity matches.""" + some: RelationProvisionFilter + + """Filters to entities where every related entity matches.""" + every: RelationProvisionFilter + + """Filters to entities where no related entity matches.""" + none: RelationProvisionFilter +} + +""" +A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDatabaseProvisionModuleFilter { + """Filters to entities where at least one related entity matches.""" + some: DatabaseProvisionModuleFilter + + """Filters to entities where every related entity matches.""" + every: DatabaseProvisionModuleFilter + + """Filters to entities where no related entity matches.""" + none: DatabaseProvisionModuleFilter +} + +""" +A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseProvisionModuleFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseName` field.""" + databaseName: StringFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `subdomain` field.""" + subdomain: StringFilter + + """Filter by the object’s `domain` field.""" + domain: StringFilter + + """Filter by the object’s `modules` field.""" + modules: StringListFilter + + """Filter by the object’s `options` field.""" + options: JSONFilter + + """Filter by the object’s `bootstrapUser` field.""" + bootstrapUser: BooleanFilter + + """Filter by the object’s `status` field.""" + status: StringFilter + + """Filter by the object’s `errorMessage` field.""" + errorMessage: StringFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """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: [DatabaseProvisionModuleFilter!] + + """Checks for any expressions in this list.""" + or: [DatabaseProvisionModuleFilter!] + + """Negates the expression.""" + not: DatabaseProvisionModuleFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """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`.""" +enum CheckConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type FieldConnection { + """A list of `Field` objects.""" + nodes: [Field]! + + """ + A list of edges which contains the `Field` and cursor to aid in pagination. + """ + edges: [FieldEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Field` you could get from the connection.""" + totalCount: Int! +} + +type Field { + 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 + + """Reads a single `Database` that is related to this `Field`.""" + database: Database + + """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.""" +type FieldEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Field` at the end of the edge.""" + node: Field +} + +"""Methods to use when ordering `Field`.""" +enum FieldOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type ForeignKeyConstraintConnection { + """A list of `ForeignKeyConstraint` objects.""" + nodes: [ForeignKeyConstraint]! + + """ + A list of edges which contains the `ForeignKeyConstraint` and cursor to aid in pagination. + """ + edges: [ForeignKeyConstraintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `ForeignKeyConstraint` you could get from the connection. + """ + totalCount: Int! +} + +type ForeignKeyConstraint { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID]! + refTableId: UUID! + refFieldIds: [UUID]! + deleteAction: String + updateAction: String + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """ + Reads a single `Database` that is related to this `ForeignKeyConstraint`. + """ + database: Database + + """Reads a single `Table` that is related to this `ForeignKeyConstraint`.""" + refTable: Table + + """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.""" +type ForeignKeyConstraintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ForeignKeyConstraint` at the end of the edge.""" + node: ForeignKeyConstraint +} + +"""Methods to use when ordering `ForeignKeyConstraint`.""" +enum ForeignKeyConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type FullTextSearchConnection { + """A list of `FullTextSearch` objects.""" + nodes: [FullTextSearch]! + + """ + A list of edges which contains the `FullTextSearch` and cursor to aid in pagination. + """ + edges: [FullTextSearchEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `FullTextSearch` you could get from the connection.""" + totalCount: Int! +} + +type FullTextSearch { + id: UUID! + databaseId: UUID! + tableId: UUID! + fieldId: UUID! + fieldIds: [UUID]! + weights: [String]! + langs: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `FullTextSearch`.""" + database: Database + + """Reads a single `Table` that is related to this `FullTextSearch`.""" + table: Table +} + +"""A `FullTextSearch` edge in the connection.""" +type FullTextSearchEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `FullTextSearch` at the end of the edge.""" + node: FullTextSearch +} + +"""Methods to use when ordering `FullTextSearch`.""" +enum FullTextSearchOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `Index` values.""" +type IndexConnection { + """A list of `Index` objects.""" + nodes: [Index]! + + """ + A list of edges which contains the `Index` and cursor to aid in pagination. + """ + edges: [IndexEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Index` you could get from the connection.""" + totalCount: Int! +} + +type Index { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String! + fieldIds: [UUID] + includeFieldIds: [UUID] + accessMethod: String! + indexParams: JSON + whereClause: JSON + isUnique: Boolean! + options: JSON + opClasses: [String] + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Index`.""" + database: Database + + """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.""" +type IndexEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Index` at the end of the edge.""" + node: Index +} + +"""Methods to use when ordering `Index`.""" +enum IndexOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type PolicyConnection { + """A list of `Policy` objects.""" + nodes: [Policy]! + + """ + A list of edges which contains the `Policy` and cursor to aid in pagination. + """ + edges: [PolicyEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Policy` you could get from the connection.""" + totalCount: Int! +} + +type Policy { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + granteeName: String + privilege: String + permissive: Boolean + disabled: Boolean + policyType: String + data: JSON + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Policy`.""" + database: Database + + """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.""" +type PolicyEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Policy` at the end of the edge.""" + node: Policy +} + +"""Methods to use when ordering `Policy`.""" +enum PolicyOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type PrimaryKeyConstraintConnection { + """A list of `PrimaryKeyConstraint` objects.""" + nodes: [PrimaryKeyConstraint]! + + """ + A list of edges which contains the `PrimaryKeyConstraint` and cursor to aid in pagination. + """ + edges: [PrimaryKeyConstraintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `PrimaryKeyConstraint` you could get from the connection. + """ + totalCount: Int! +} + +type PrimaryKeyConstraint { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + type: String + fieldIds: [UUID]! + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """ + Reads a single `Database` that is related to this `PrimaryKeyConstraint`. + """ + database: Database + + """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.""" +type PrimaryKeyConstraintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `PrimaryKeyConstraint` at the end of the edge.""" + node: PrimaryKeyConstraint +} + +"""Methods to use when ordering `PrimaryKeyConstraint`.""" +enum PrimaryKeyConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type TableGrantConnection { + """A list of `TableGrant` objects.""" + nodes: [TableGrant]! + + """ + A list of edges which contains the `TableGrant` and cursor to aid in pagination. + """ + edges: [TableGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `TableGrant` you could get from the connection.""" + totalCount: Int! +} + +type TableGrant { + id: UUID! + databaseId: UUID! + tableId: UUID! + privilege: String! + granteeName: String! + fieldIds: [UUID] + isGrant: Boolean! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `TableGrant`.""" + database: Database + + """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.""" +type TableGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `TableGrant` at the end of the edge.""" + node: TableGrant +} + +"""Methods to use when ordering `TableGrant`.""" +enum TableGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + CREATED_AT_ASC + 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.""" +type TriggerConnection { + """A list of `Trigger` objects.""" + nodes: [Trigger]! + + """ + A list of edges which contains the `Trigger` and cursor to aid in pagination. + """ + edges: [TriggerEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Trigger` you could get from the connection.""" + totalCount: Int! +} + +type Trigger { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String! + event: String + functionName: String + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `Trigger`.""" + database: Database + + """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.""" +type TriggerEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Trigger` at the end of the edge.""" + node: Trigger +} + +"""Methods to use when ordering `Trigger`.""" +enum TriggerOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type UniqueConstraintConnection { + """A list of `UniqueConstraint` objects.""" + nodes: [UniqueConstraint]! + + """ + A list of edges which contains the `UniqueConstraint` and cursor to aid in pagination. + """ + edges: [UniqueConstraintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `UniqueConstraint` you could get from the connection. + """ + totalCount: Int! +} + +type UniqueConstraint { + id: UUID! + databaseId: UUID! + tableId: UUID! + name: String + description: String + smartTags: JSON + type: String + fieldIds: [UUID]! + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `UniqueConstraint`.""" + database: Database + + """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.""" +type UniqueConstraintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `UniqueConstraint` at the end of the edge.""" + node: UniqueConstraint +} + +"""Methods to use when ordering `UniqueConstraint`.""" +enum UniqueConstraintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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.""" +type ViewConnection { + """A list of `View` objects.""" + nodes: [View]! + + """ + A list of edges which contains the `View` and cursor to aid in pagination. + """ + edges: [ViewEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `View` you could get from the connection.""" + totalCount: Int! +} + +type View { + id: UUID! + databaseId: UUID! + schemaId: UUID! + name: String! + tableId: UUID + viewType: String! + data: JSON + filterType: String + filterData: JSON + securityInvoker: Boolean + isReadOnly: Boolean + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + + """Reads a single `Database` that is related to this `View`.""" + database: Database + + """Reads a single `Schema` that is related to this `View`.""" + schema: Schema + + """Reads a single `Table` that is related to this `View`.""" + table: Table + + """Reads and enables pagination through a set of `ViewTable`.""" + viewTables( + """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: ViewTableFilter + + """The method to use when ordering `ViewTable`.""" + orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewTableConnection! + + """Reads and enables pagination through a set of `ViewGrant`.""" + viewGrants( + """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: ViewGrantFilter + + """The method to use when ordering `ViewGrant`.""" + orderBy: [ViewGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewGrantConnection! + + """Reads and enables pagination through a set of `ViewRule`.""" + viewRules( + """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: ViewRuleFilter + + """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.""" +type ViewTableConnection { + """A list of `ViewTable` objects.""" + nodes: [ViewTable]! + + """ + A list of edges which contains the `ViewTable` and cursor to aid in pagination. + """ + edges: [ViewTableEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ViewTable` you could get from the connection.""" + totalCount: Int! +} + +""" +Junction table linking views to their joined tables for referential integrity +""" +type ViewTable { + id: UUID! + viewId: UUID! + tableId: UUID! + joinOrder: Int! + + """Reads a single `Table` that is related to this `ViewTable`.""" + table: Table + + """Reads a single `View` that is related to this `ViewTable`.""" + view: View +} + +"""A `ViewTable` edge in the connection.""" +type ViewTableEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ViewTable` at the end of the edge.""" + node: ViewTable +} + +"""Methods to use when ordering `ViewTable`.""" +enum ViewTableOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + VIEW_ID_ASC + VIEW_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC +} + +"""A connection to a list of `ViewGrant` values.""" +type ViewGrantConnection { + """A list of `ViewGrant` objects.""" + nodes: [ViewGrant]! + + """ + A list of edges which contains the `ViewGrant` and cursor to aid in pagination. + """ + edges: [ViewGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ViewGrant` you could get from the connection.""" + totalCount: Int! +} + +type ViewGrant { + id: UUID! + databaseId: UUID! + viewId: UUID! + granteeName: String! + privilege: String! + withGrantOption: Boolean + isGrant: Boolean! + + """Reads a single `Database` that is related to this `ViewGrant`.""" + database: Database + + """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.""" +type ViewGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ViewGrant` at the end of the edge.""" + node: ViewGrant +} + +"""Methods to use when ordering `ViewGrant`.""" +enum ViewGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + VIEW_ID_ASC + VIEW_ID_DESC + GRANTEE_NAME_ASC + GRANTEE_NAME_DESC + PRIVILEGE_ASC + 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.""" +type ViewRuleConnection { + """A list of `ViewRule` objects.""" + nodes: [ViewRule]! + + """ + A list of edges which contains the `ViewRule` and cursor to aid in pagination. + """ + edges: [ViewRuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ViewRule` you could get from the connection.""" + totalCount: Int! +} + +"""DO INSTEAD rules for views (e.g., read-only enforcement)""" +type ViewRule { + id: UUID! + databaseId: UUID! + viewId: UUID! + name: String! + + """INSERT, UPDATE, or DELETE""" + event: String! + + """NOTHING (for read-only) or custom action""" + action: String! + + """Reads a single `Database` that is related to this `ViewRule`.""" + database: Database + + """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.""" +type ViewRuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ViewRule` at the end of the edge.""" + node: ViewRule +} + +"""Methods to use when ordering `ViewRule`.""" +enum ViewRuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + VIEW_ID_ASC + 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.""" +type ViewEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `View` at the end of the edge.""" + node: View +} + +"""Methods to use when ordering `View`.""" +enum ViewOrderBy { + 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 + 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 `TableTemplateModule` values.""" +type TableTemplateModuleConnection { + """A list of `TableTemplateModule` objects.""" + nodes: [TableTemplateModule]! + + """ + A list of edges which contains the `TableTemplateModule` and cursor to aid in pagination. + """ + edges: [TableTemplateModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `TableTemplateModule` you could get from the connection. + """ + totalCount: Int! +} + +type TableTemplateModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + ownerTableId: UUID! + tableName: String! + nodeType: String! + data: JSON! + + """ + Reads a single `Database` that is related to this `TableTemplateModule`. + """ + database: Database + + """Reads a single `Table` that is related to this `TableTemplateModule`.""" + ownerTable: Table + + """Reads a single `Schema` that is related to this `TableTemplateModule`.""" + privateSchema: Schema + + """Reads a single `Schema` that is related to this `TableTemplateModule`.""" + schema: Schema + + """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.""" +type TableTemplateModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `TableTemplateModule` at the end of the edge.""" + node: TableTemplateModule +} + +"""Methods to use when ordering `TableTemplateModule`.""" +enum TableTemplateModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + PRIVATE_SCHEMA_ID_ASC + PRIVATE_SCHEMA_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + OWNER_TABLE_ID_ASC + 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.""" +type SecureTableProvisionConnection { + """A list of `SecureTableProvision` objects.""" + nodes: [SecureTableProvision]! + + """ + A list of edges which contains the `SecureTableProvision` and cursor to aid in pagination. + """ + edges: [SecureTableProvisionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `SecureTableProvision` you could get from the connection. + """ + totalCount: Int! +} + +""" +Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. +""" +type SecureTableProvision { + """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] + + """ + Reads a single `Database` that is related to this `SecureTableProvision`. + """ + database: Database + + """ + Reads a single `Schema` that is related to this `SecureTableProvision`. + """ + schema: Schema + + """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.""" +type SecureTableProvisionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SecureTableProvision` at the end of the edge.""" + node: SecureTableProvision +} + +"""Methods to use when ordering `SecureTableProvision`.""" +enum SecureTableProvisionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + 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.""" +type RelationProvisionConnection { + """A list of `RelationProvision` objects.""" + nodes: [RelationProvision]! + + """ + A list of edges which contains the `RelationProvision` and cursor to aid in pagination. + """ + edges: [RelationProvisionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `RelationProvision` you could get from the connection. + """ + totalCount: Int! +} + +""" +Provisions relational structure between tables. Supports four relation types: + - RelationBelongsTo: adds a FK field on the source table referencing the target table (child perspective: "tasks belongs to projects" -> tasks.project_id). + - RelationHasMany: adds a FK field on the target table referencing the source table (parent perspective: "projects has many tasks" -> tasks.project_id). Inverse of BelongsTo. + - RelationHasOne: adds a FK field with a unique constraint on the source table referencing the target table. Also supports shared-primary-key patterns where the FK field IS the primary key (set field_name to the existing PK field name). + - RelationManyToMany: creates a junction table with FK fields to both source and target tables, delegating table creation and security to secure_table_provision. + This is a one-and-done structural provisioner. To layer additional security onto junction tables after creation, use secure_table_provision directly. + All operations are graceful: existing fields, FK constraints, and unique constraints are reused if found. + The trigger never injects values the caller did not provide. All security config is forwarded to secure_table_provision as-is. +""" +type RelationProvision { + """Unique identifier for this relation provision row.""" + id: UUID! + + """ + The database this relation belongs to. Required. Must match the database of both source_table_id and target_table_id. + """ + databaseId: UUID! + + """ + The type of relation to create. Uses SuperCase naming matching the node_type_registry: + - RelationBelongsTo: creates a FK field on source_table referencing target_table (e.g., tasks belongs to projects -> tasks.project_id). Field name auto-derived from target table. + - RelationHasMany: creates a FK field on target_table referencing source_table (e.g., projects has many tasks -> tasks.project_id). Field name auto-derived from source table. Inverse of BelongsTo — same FK, different perspective. + - RelationHasOne: creates a FK field + unique constraint on source_table referencing target_table (e.g., user_settings has one user -> user_settings.user_id with UNIQUE). Also supports shared-primary-key patterns (e.g., user_profiles.id = users.id) by setting field_name to the existing PK field. + - RelationManyToMany: creates a junction table with FK fields to both tables (e.g., projects and tags -> project_tags table). + Each relation type uses a different subset of columns on this table. Required. + """ + relationType: String! + + """ + The source table in the relation. Required. + - RelationBelongsTo: the table that receives the FK field (e.g., tasks in "tasks belongs to projects"). + - RelationHasMany: the parent table being referenced (e.g., projects in "projects has many tasks"). The FK field is created on the target table. + - RelationHasOne: the table that receives the FK field + unique constraint (e.g., user_settings in "user_settings has one user"). + - RelationManyToMany: one of the two tables being joined (e.g., projects in "projects and tags"). The junction table will have a FK field referencing this table. + """ + sourceTableId: UUID! + + """ + The target table in the relation. Required. + - RelationBelongsTo: the table being referenced by the FK (e.g., projects in "tasks belongs to projects"). + - RelationHasMany: the table that receives the FK field (e.g., tasks in "projects has many tasks"). + - RelationHasOne: the table being referenced by the FK (e.g., users in "user_settings has one user"). + - RelationManyToMany: the other table being joined (e.g., tags in "projects and tags"). The junction table will have a FK field referencing this table. + """ + targetTableId: UUID! + + """ + FK field name for RelationBelongsTo, RelationHasOne, and RelationHasMany. + - RelationBelongsTo/RelationHasOne: if NULL, auto-derived from the target table name (e.g., target "projects" derives "project_id"). + - RelationHasMany: if NULL, auto-derived from the source table name (e.g., source "projects" derives "project_id"). + For RelationHasOne shared-primary-key patterns, set field_name to the existing PK field (e.g., "id") so the FK reuses it. + Ignored for RelationManyToMany — use source_field_name/target_field_name instead. + """ + fieldName: String + + """ + FK delete action for RelationBelongsTo, RelationHasOne, and RelationHasMany. One of: c (CASCADE), r (RESTRICT), n (SET NULL), d (SET DEFAULT), a (NO ACTION). Required — the trigger raises an error if not provided. The caller must explicitly choose the cascade behavior; there is no default. Ignored for RelationManyToMany (junction FK fields always use CASCADE). + """ + deleteAction: String + + """ + Whether the FK field is NOT NULL. Defaults to true. + - RelationBelongsTo: set to false for optional associations (e.g., tasks.assignee_id that can be NULL). + - RelationHasMany: set to false if the child can exist without a parent. + - RelationHasOne: typically true. + Ignored for RelationManyToMany (junction FK fields are always required). + """ + isRequired: 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. + - When set to a valid table UUID: the trigger skips table creation and only adds FK fields, composite key (if use_composite_key is true), and security to the existing table. + Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableId: UUID! + + """ + For RelationManyToMany: name of the junction table to create or look up. If NULL, auto-derived from source and target table names using inflection_db (e.g., "projects" + "tags" derives "project_tags"). Only used when junction_table_id is uuid_nil(). Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionTableName: String + + """ + For RelationManyToMany: schema for the junction table. If NULL, defaults to the source table's schema. Ignored for RelationBelongsTo/RelationHasOne. + """ + junctionSchemaId: UUID + + """ + For RelationManyToMany: FK field name on the junction table referencing the source table. If NULL, auto-derived from the source table name using inflection_db.get_foreign_key_field_name() (e.g., source table "projects" derives "project_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + sourceFieldName: String + + """ + For RelationManyToMany: FK field name on the junction table referencing the target table. If NULL, auto-derived from the target table name using inflection_db.get_foreign_key_field_name() (e.g., target table "tags" derives "tag_id"). Ignored for RelationBelongsTo/RelationHasOne. + """ + targetFieldName: String + + """ + For RelationManyToMany: whether to create a composite primary key from the two FK fields (source + target) on the junction table. Defaults to false. + - When true: the trigger calls metaschema.pk() with ARRAY[source_field_id, target_field_id] to create a composite PK. No separate id column is created. This enforces uniqueness of the pair and is suitable for simple junction tables. + - When false: no primary key is created by the trigger. The caller should provide node_type='DataId' to create a UUID primary key, or handle the PK strategy via a separate secure_table_provision row. + use_composite_key and node_type='DataId' are mutually exclusive — using both would create two conflicting PKs. + Ignored for RelationBelongsTo/RelationHasOne. + """ + useCompositeKey: 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. + NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeType: String + + """ + For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. + Only used when node_type is set. Structure varies by node_type. Examples: + - DataId: {"field_name": "id"} (default field name is 'id') + - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true} + - DataDirectOwner: {"owner_field_name": "owner_id"} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + nodeData: JSON! + + """ + For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. + """ + 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. + """ + 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. + Examples: AuthzEntityMembership, AuthzMembership, AuthzAllowAll, AuthzDirectOwner, AuthzOrgHierarchy. + NULL means no policy is created — the junction table will have RLS enabled but no policies (unless added separately via secure_table_provision). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyType: String + + """ + For RelationManyToMany: privileges the policy applies to, e.g. ARRAY['select','insert','delete']. Forwarded to secure_table_provision as-is. NULL means privileges are derived from the grant_privileges verbs by secure_table_provision. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPrivileges: [String] + + """ + For RelationManyToMany: database role the policy targets, e.g. 'authenticated'. Forwarded to secure_table_provision as-is. NULL means secure_table_provision falls back to the first role in grant_roles. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyRole: String + + """ + For RelationManyToMany: whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Forwarded to secure_table_provision as-is. Defaults to true. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyPermissive: Boolean! + + """ + For RelationManyToMany: custom suffix for the generated policy name. Forwarded to secure_table_provision as-is. When NULL and policy_type is set, secure_table_provision auto-derives a suffix from policy_type (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, used as-is. This ensures multiple policies on the same junction table do not collide. Ignored for RelationBelongsTo/RelationHasOne. + """ + policyName: String + + """ + For RelationManyToMany: opaque policy configuration forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Structure varies by policy_type. Examples: + - AuthzEntityMembership: {"entity_field": "entity_id", "membership_type": 2} + - AuthzDirectOwner: {"owner_field": "owner_id"} + - AuthzMembership: {"membership_type": 2} + Defaults to '{}' (empty object). + Ignored for RelationBelongsTo/RelationHasOne. + """ + policyData: JSON! + + """ + Output column for RelationBelongsTo/RelationHasOne/RelationHasMany: the UUID of the FK field created (or found). For BelongsTo/HasOne this is on the source table; for HasMany this is on the target table. Populated by the trigger. NULL for RelationManyToMany. Callers should not set this directly. + """ + outFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the junction table created (or found). Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outJunctionTableId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the source table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outSourceFieldId: UUID + + """ + Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. + """ + outTargetFieldId: UUID + + """Reads a single `Database` that is related to this `RelationProvision`.""" + database: Database + + """Reads a single `Table` that is related to this `RelationProvision`.""" + sourceTable: Table + + """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.""" +type RelationProvisionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `RelationProvision` at the end of the edge.""" + node: RelationProvision +} + +"""Methods to use when ordering `RelationProvision`.""" +enum RelationProvisionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + RELATION_TYPE_ASC + RELATION_TYPE_DESC + SOURCE_TABLE_ID_ASC + 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.""" +type TableEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Table` at the end of the edge.""" + node: Table +} + +"""Methods to use when ordering `Table`.""" +enum TableOrderBy { + 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 + CREATED_AT_ASC + 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.""" +type SchemaGrantConnection { + """A list of `SchemaGrant` objects.""" + nodes: [SchemaGrant]! + + """ + A list of edges which contains the `SchemaGrant` and cursor to aid in pagination. + """ + edges: [SchemaGrantEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SchemaGrant` you could get from the connection.""" + totalCount: Int! +} + +type SchemaGrant { + id: UUID! + databaseId: UUID! + schemaId: UUID! + granteeName: String! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Database` that is related to this `SchemaGrant`.""" + database: Database + + """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.""" +type SchemaGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SchemaGrant` at the end of the edge.""" + node: SchemaGrant +} + +"""Methods to use when ordering `SchemaGrant`.""" +enum SchemaGrantOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + CREATED_AT_ASC + 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.""" +type DefaultPrivilegeConnection { + """A list of `DefaultPrivilege` objects.""" + nodes: [DefaultPrivilege]! + + """ + A list of edges which contains the `DefaultPrivilege` and cursor to aid in pagination. + """ + edges: [DefaultPrivilegeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `DefaultPrivilege` you could get from the connection. + """ + totalCount: Int! +} + +type DefaultPrivilege { + id: UUID! + databaseId: UUID! + schemaId: UUID! + objectType: String! + privilege: String! + granteeName: String! + isGrant: Boolean! + + """Reads a single `Database` that is related to this `DefaultPrivilege`.""" + database: Database + + """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.""" +type DefaultPrivilegeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `DefaultPrivilege` at the end of the edge.""" + node: DefaultPrivilege +} + +"""Methods to use when ordering `DefaultPrivilege`.""" +enum DefaultPrivilegeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + OBJECT_TYPE_ASC + OBJECT_TYPE_DESC + PRIVILEGE_ASC + PRIVILEGE_DESC + GRANTEE_NAME_ASC + 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 `ApiSchema` values.""" +type ApiSchemaConnection { + """A list of `ApiSchema` objects.""" + nodes: [ApiSchema]! + + """ + A list of edges which contains the `ApiSchema` and cursor to aid in pagination. + """ + edges: [ApiSchemaEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ApiSchema` you could get from the connection.""" + totalCount: Int! +} + +""" +Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API +""" +type ApiSchema { + """Unique identifier for this API-schema mapping""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """Metaschema schema being exposed through the API""" + schemaId: UUID! + + """API that exposes this schema""" + apiId: UUID! + + """Reads a single `Api` that is related to this `ApiSchema`.""" + api: Api + + """Reads a single `Database` that is related to this `ApiSchema`.""" + database: Database + + """Reads a single `Schema` that is related to this `ApiSchema`.""" + schema: Schema +} + +""" +API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings +""" +type Api { + """Unique identifier for this API""" + id: UUID! + + """Reference to the metaschema database this API serves""" + databaseId: UUID! + + """Unique name for this API within its database""" + name: String! + + """PostgreSQL database name to connect to""" + dbname: String! + + """PostgreSQL role used for authenticated requests""" + roleName: String! + + """PostgreSQL role used for anonymous/unauthenticated requests""" + anonRole: String! + + """Whether this API is publicly accessible without authentication""" + isPublic: Boolean! + + """Reads a single `Database` that is related to this `Api`.""" + database: Database + + """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 `Domain`.""" + domains( + """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: DomainFilter + + """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.""" +type ApiModuleConnection { + """A list of `ApiModule` objects.""" + nodes: [ApiModule]! + + """ + A list of edges which contains the `ApiModule` and cursor to aid in pagination. + """ + edges: [ApiModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `ApiModule` you could get from the connection.""" + totalCount: Int! +} + +""" +Server-side module configuration for an API endpoint; stores module name and JSON settings used by the application server +""" +type ApiModule { + """Unique identifier for this API module record""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """API this module configuration belongs to""" + apiId: UUID! + + """Module name (e.g. auth, uploads, webhooks)""" + name: String! + + """JSON configuration data for this module""" + data: JSON! + + """Reads a single `Api` that is related to this `ApiModule`.""" + api: Api + + """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.""" +type ApiModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ApiModule` at the end of the edge.""" + node: ApiModule +} + +"""Methods to use when ordering `ApiModule`.""" +enum ApiModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + API_ID_ASC + 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`.""" +enum ApiSchemaOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + API_ID_ASC + API_ID_DESC +} + +"""A connection to a list of `Domain` values.""" +type DomainConnection { + """A list of `Domain` objects.""" + nodes: [Domain]! + + """ + A list of edges which contains the `Domain` and cursor to aid in pagination. + """ + edges: [DomainEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Domain` you could get from the connection.""" + totalCount: Int! +} + +""" +DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site +""" +type Domain { + """Unique identifier for this domain record""" + id: UUID! + + """Reference to the metaschema database this domain belongs to""" + databaseId: UUID! + + """API endpoint this domain routes to (mutually exclusive with site_id)""" + apiId: UUID + + """Site this domain routes to (mutually exclusive with api_id)""" + siteId: UUID + + """Subdomain portion of the hostname""" + subdomain: ConstructiveInternalTypeHostname + + """Root domain of the hostname""" + domain: ConstructiveInternalTypeHostname + + """Reads a single `Api` that is related to this `Domain`.""" + api: Api + + """Reads a single `Database` that is related to this `Domain`.""" + database: Database + + """Reads a single `Site` that is related to this `Domain`.""" + site: Site +} + +""" +Top-level site configuration: branding assets, title, and description for a deployed application +""" +type Site { + """Unique identifier for this site""" + id: UUID! + + """Reference to the metaschema database this site belongs to""" + databaseId: UUID! + + """Display title for the site (max 120 characters)""" + title: String + + """Short description of the site (max 120 characters)""" + description: String + + """Open Graph image used for social media link previews""" + ogImage: ConstructiveInternalTypeImage + + """Browser favicon attachment""" + favicon: ConstructiveInternalTypeAttachment + + """Apple touch icon for iOS home screen bookmarks""" + appleTouchIcon: ConstructiveInternalTypeImage + + """Primary logo image for the site""" + logo: ConstructiveInternalTypeImage + + """PostgreSQL database name this site connects to""" + dbname: String! + + """Reads a single `Database` that is related to this `Site`.""" + database: Database + + """Reads a single `App` that is related to this `Site`.""" + app: App + + """Reads and enables pagination through a set of `Domain`.""" + domains( + """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: DomainFilter + + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] + ): DomainConnection! + + """Reads and enables pagination through a set of `SiteMetadatum`.""" + siteMetadata( + """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: SiteMetadatumFilter + + """The method to use when ordering `SiteMetadatum`.""" + orderBy: [SiteMetadatumOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteMetadatumConnection! + + """Reads and enables pagination through a set of `SiteModule`.""" + siteModules( + """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: SiteModuleFilter + + """The method to use when ordering `SiteModule`.""" + orderBy: [SiteModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteModuleConnection! + + """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! + + """ + 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 +} + +""" +Mobile and native app configuration linked to a site, including store links and identifiers +""" +type App { + """Unique identifier for this app""" + id: UUID! + + """Reference to the metaschema database this app belongs to""" + databaseId: UUID! + + """Site this app is associated with (one app per site)""" + siteId: UUID! + + """Display name of the app""" + name: String + + """App icon or promotional image""" + appImage: ConstructiveInternalTypeImage + + """URL to the Apple App Store listing""" + appStoreLink: ConstructiveInternalTypeUrl + + """Apple App Store application identifier""" + appStoreId: String + + """ + Apple App ID prefix (Team ID) for universal links and associated domains + """ + appIdPrefix: String + + """URL to the Google Play Store listing""" + playStoreLink: ConstructiveInternalTypeUrl + + """Reads a single `Site` that is related to this `App`.""" + site: Site + + """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`.""" +enum DomainOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + API_ID_ASC + API_ID_DESC + SITE_ID_ASC + SITE_ID_DESC + SUBDOMAIN_ASC + SUBDOMAIN_DESC + DOMAIN_ASC + DOMAIN_DESC +} + +"""A connection to a list of `SiteMetadatum` values.""" +type SiteMetadatumConnection { + """A list of `SiteMetadatum` objects.""" + nodes: [SiteMetadatum]! + + """ + A list of edges which contains the `SiteMetadatum` and cursor to aid in pagination. + """ + edges: [SiteMetadatumEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SiteMetadatum` you could get from the connection.""" + totalCount: Int! +} + +""" +SEO and social sharing metadata for a site: page title, description, and Open Graph image +""" +type SiteMetadatum { + """Unique identifier for this metadata record""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """Site this metadata belongs to""" + siteId: UUID! + + """Page title for SEO (max 120 characters)""" + title: String + + """Meta description for SEO and social sharing (max 120 characters)""" + description: String + + """Open Graph image for social media previews""" + ogImage: ConstructiveInternalTypeImage + + """Reads a single `Database` that is related to this `SiteMetadatum`.""" + database: Database + + """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.""" +type SiteMetadatumEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SiteMetadatum` at the end of the edge.""" + node: SiteMetadatum +} + +"""Methods to use when ordering `SiteMetadatum`.""" +enum SiteMetadatumOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type SiteModuleConnection { + """A list of `SiteModule` objects.""" + nodes: [SiteModule]! + + """ + A list of edges which contains the `SiteModule` and cursor to aid in pagination. + """ + edges: [SiteModuleEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SiteModule` you could get from the connection.""" + totalCount: Int! +} + +""" +Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site +""" +type SiteModule { + """Unique identifier for this site module record""" + id: UUID! + + """Reference to the metaschema database""" + databaseId: UUID! + + """Site this module configuration belongs to""" + siteId: UUID! + + """Module name (e.g. user_auth_module, analytics)""" + name: String! + + """JSON configuration data for this module""" + data: JSON! + + """Reads a single `Database` that is related to this `SiteModule`.""" + database: Database + + """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.""" +type SiteModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SiteModule` at the end of the edge.""" + node: SiteModule +} + +"""Methods to use when ordering `SiteModule`.""" +enum SiteModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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.""" +type SiteThemeConnection { + """A list of `SiteTheme` objects.""" + nodes: [SiteTheme]! + + """ + A list of edges which contains the `SiteTheme` and cursor to aid in pagination. + """ + edges: [SiteThemeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `SiteTheme` you could get from the connection.""" + totalCount: Int! +} + +""" +Theme configuration for a site; stores design tokens, colors, and typography as JSONB +""" +type SiteTheme { + """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! + + """Reads a single `Database` that is related to this `SiteTheme`.""" + database: Database + + """Reads a single `Site` that is related to this `SiteTheme`.""" + site: Site +} + +"""A `SiteTheme` edge in the connection.""" +type SiteThemeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `SiteTheme` at the end of the edge.""" + node: SiteTheme +} + +"""Methods to use when ordering `SiteTheme`.""" +enum SiteThemeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SITE_ID_ASC + SITE_ID_DESC +} + +"""A `Domain` edge in the connection.""" +type DomainEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Domain` at the end of the edge.""" + node: Domain +} + +"""A `ApiSchema` edge in the connection.""" +type ApiSchemaEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ApiSchema` at the end of the edge.""" + node: ApiSchema +} + +"""A `Schema` edge in the connection.""" +type SchemaEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Schema` at the end of the edge.""" + node: Schema +} + +"""Methods to use when ordering `Schema`.""" +enum SchemaOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + NAME_ASC + NAME_DESC + SCHEMA_NAME_ASC + SCHEMA_NAME_DESC + CREATED_AT_ASC + 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.""" +type TriggerFunctionConnection { + """A list of `TriggerFunction` objects.""" + nodes: [TriggerFunction]! + + """ + A list of edges which contains the `TriggerFunction` and cursor to aid in pagination. + """ + edges: [TriggerFunctionEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `TriggerFunction` you could get from the connection. + """ + totalCount: Int! +} + +type TriggerFunction { + id: UUID! + databaseId: UUID! + name: String! + code: String + createdAt: Datetime + updatedAt: Datetime + + """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.""" +type TriggerFunctionEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `TriggerFunction` at the end of the edge.""" + node: TriggerFunction +} + +"""Methods to use when ordering `TriggerFunction`.""" +enum TriggerFunctionOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + 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 `Api` values.""" +type ApiConnection { + """A list of `Api` objects.""" + nodes: [Api]! + + """ + A list of edges which contains the `Api` and cursor to aid in pagination. + """ + edges: [ApiEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Does not start with the specified string (case-insensitive).""" - notStartsWithInsensitive: ConstructiveInternalTypeUrl + """The count of *all* `Api` you could get from the connection.""" + totalCount: Int! +} - """Ends with the specified string (case-sensitive).""" - endsWith: ConstructiveInternalTypeUrl +"""A `Api` edge in the connection.""" +type ApiEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Does not end with the specified string (case-sensitive).""" - notEndsWith: ConstructiveInternalTypeUrl + """The `Api` at the end of the edge.""" + node: Api +} - """Ends with the specified string (case-insensitive).""" - endsWithInsensitive: ConstructiveInternalTypeUrl +"""Methods to use when ordering `Api`.""" +enum ApiOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + 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 +} - """Does not end with the specified string (case-insensitive).""" - notEndsWithInsensitive: ConstructiveInternalTypeUrl +"""A connection to a list of `Site` values.""" +type SiteConnection { + """A list of `Site` objects.""" + nodes: [Site]! """ - Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + A list of edges which contains the `Site` and cursor to aid in pagination. """ - like: ConstructiveInternalTypeUrl + edges: [SiteEdge]! - """ - 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: ConstructiveInternalTypeUrl + """Information to aid in pagination.""" + pageInfo: PageInfo! - """ - Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - likeInsensitive: ConstructiveInternalTypeUrl + """The count of *all* `Site` you could get from the connection.""" + totalCount: Int! +} - """ - 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: ConstructiveInternalTypeUrl +"""A `Site` edge in the connection.""" +type SiteEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Equal to the specified value (case-insensitive).""" - equalToInsensitive: String + """The `Site` at the end of the edge.""" + node: Site +} - """Not equal to the specified value (case-insensitive).""" - notEqualToInsensitive: String +"""Methods to use when ordering `Site`.""" +enum SiteOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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 +} - """ - Not equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - distinctFromInsensitive: String +"""A connection to a list of `App` values.""" +type AppConnection { + """A list of `App` objects.""" + nodes: [App]! """ - Equal to the specified value, treating null like an ordinary value (case-insensitive). + A list of edges which contains the `App` and cursor to aid in pagination. """ - notDistinctFromInsensitive: String - - """Included in the specified list (case-insensitive).""" - inInsensitive: [String!] - - """Not included in the specified list (case-insensitive).""" - notInInsensitive: [String!] + edges: [AppEdge]! - """Less than the specified value (case-insensitive).""" - lessThanInsensitive: String + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Less than or equal to the specified value (case-insensitive).""" - lessThanOrEqualToInsensitive: String + """The count of *all* `App` you could get from the connection.""" + totalCount: Int! +} - """Greater than the specified value (case-insensitive).""" - greaterThanInsensitive: String +"""A `App` edge in the connection.""" +type AppEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Greater than or equal to the specified value (case-insensitive).""" - greaterThanOrEqualToInsensitive: String + """The `App` at the end of the edge.""" + node: App } """Methods to use when ordering `App`.""" @@ -14388,6 +19157,14 @@ 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.""" @@ -14442,6 +19219,16 @@ 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.""" @@ -14453,68 +19240,6 @@ type ConnectedAccountsModuleEdge { node: ConnectedAccountsModule } -""" -A condition to be used against `ConnectedAccountsModule` object types. All -fields are tested for equality and combined with a logical ‘and.’ -""" -input ConnectedAccountsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `ownerTableId` field.""" - ownerTableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String -} - -""" -A filter to be used against `ConnectedAccountsModule` object types. All fields are combined with a logical ‘and.’ -""" -input ConnectedAccountsModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `ownerTableId` field.""" - ownerTableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Checks for all expressions in this list.""" - and: [ConnectedAccountsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [ConnectedAccountsModuleFilter!] - - """Negates the expression.""" - not: ConnectedAccountsModuleFilter -} - """Methods to use when ordering `ConnectedAccountsModule`.""" enum ConnectedAccountsModuleOrderBy { NATURAL @@ -14524,6 +19249,10 @@ 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.""" @@ -14579,6 +19308,21 @@ 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.""" @@ -14590,74 +19334,6 @@ type CryptoAddressesModuleEdge { node: CryptoAddressesModule } -""" -A condition to be used against `CryptoAddressesModule` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input CryptoAddressesModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `ownerTableId` field.""" - ownerTableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String - - """Checks for equality with the object’s `cryptoNetwork` field.""" - cryptoNetwork: String -} - -""" -A filter to be used against `CryptoAddressesModule` object types. All fields are combined with a logical ‘and.’ -""" -input CryptoAddressesModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `ownerTableId` field.""" - ownerTableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Filter by the object’s `cryptoNetwork` field.""" - cryptoNetwork: StringFilter - - """Checks for all expressions in this list.""" - and: [CryptoAddressesModuleFilter!] - - """Checks for any expressions in this list.""" - or: [CryptoAddressesModuleFilter!] - - """Negates the expression.""" - not: CryptoAddressesModuleFilter -} - """Methods to use when ordering `CryptoAddressesModule`.""" enum CryptoAddressesModuleOrderBy { NATURAL @@ -14667,6 +19343,12 @@ 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.""" @@ -14721,121 +19403,50 @@ type CryptoAuthModule { """Reads a single `Table` that is related to this `CryptoAuthModule`.""" usersTable: Table -} - -"""A `CryptoAuthModule` edge in the connection.""" -type CryptoAuthModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `CryptoAuthModule` at the end of the edge.""" - node: CryptoAuthModule -} - -""" -A condition to be used against `CryptoAuthModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input CryptoAuthModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `usersTableId` field.""" - usersTableId: UUID - - """Checks for equality with the object’s `secretsTableId` field.""" - secretsTableId: UUID - - """Checks for equality with the object’s `sessionsTableId` field.""" - sessionsTableId: UUID """ - Checks for equality with the object’s `sessionCredentialsTableId` field. + TRGM similarity when searching `userField`. Returns null when no trgm search filter is active. """ - sessionCredentialsTableId: UUID - - """Checks for equality with the object’s `addressesTableId` field.""" - addressesTableId: UUID + userFieldTrgmSimilarity: Float - """Checks for equality with the object’s `userField` field.""" - userField: String + """ + TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. + """ + cryptoNetworkTrgmSimilarity: Float - """Checks for equality with the object’s `cryptoNetwork` field.""" - cryptoNetwork: String + """ + TRGM similarity when searching `signInRequestChallenge`. Returns null when no trgm search filter is active. + """ + signInRequestChallengeTrgmSimilarity: Float - """Checks for equality with the object’s `signInRequestChallenge` field.""" - signInRequestChallenge: String + """ + TRGM similarity when searching `signInRecordFailure`. Returns null when no trgm search filter is active. + """ + signInRecordFailureTrgmSimilarity: Float - """Checks for equality with the object’s `signInRecordFailure` field.""" - signInRecordFailure: String + """ + TRGM similarity when searching `signUpWithKey`. Returns null when no trgm search filter is active. + """ + signUpWithKeyTrgmSimilarity: Float - """Checks for equality with the object’s `signUpWithKey` field.""" - signUpWithKey: String + """ + TRGM similarity when searching `signInWithChallenge`. Returns null when no trgm search filter is active. + """ + signInWithChallengeTrgmSimilarity: Float - """Checks for equality with the object’s `signInWithChallenge` field.""" - signInWithChallenge: 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. + """ + searchScore: Float } -""" -A filter to be used against `CryptoAuthModule` object types. All fields are combined with a logical ‘and.’ -""" -input CryptoAuthModuleFilter { - """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 `usersTableId` field.""" - usersTableId: UUIDFilter - - """Filter by the object’s `secretsTableId` field.""" - secretsTableId: UUIDFilter - - """Filter by the object’s `sessionsTableId` field.""" - sessionsTableId: UUIDFilter - - """Filter by the object’s `sessionCredentialsTableId` field.""" - sessionCredentialsTableId: UUIDFilter - - """Filter by the object’s `addressesTableId` field.""" - addressesTableId: UUIDFilter - - """Filter by the object’s `userField` field.""" - userField: StringFilter - - """Filter by the object’s `cryptoNetwork` field.""" - cryptoNetwork: StringFilter - - """Filter by the object’s `signInRequestChallenge` field.""" - signInRequestChallenge: StringFilter - - """Filter by the object’s `signInRecordFailure` field.""" - signInRecordFailure: StringFilter - - """Filter by the object’s `signUpWithKey` field.""" - signUpWithKey: StringFilter - - """Filter by the object’s `signInWithChallenge` field.""" - signInWithChallenge: StringFilter - - """Checks for all expressions in this list.""" - and: [CryptoAuthModuleFilter!] - - """Checks for any expressions in this list.""" - or: [CryptoAuthModuleFilter!] +"""A `CryptoAuthModule` edge in the connection.""" +type CryptoAuthModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: CryptoAuthModuleFilter + """The `CryptoAuthModule` at the end of the edge.""" + node: CryptoAuthModule } """Methods to use when ordering `CryptoAuthModule`.""" @@ -14847,6 +19458,20 @@ 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.""" @@ -14885,38 +19510,6 @@ type DefaultIdsModuleEdge { node: DefaultIdsModule } -""" -A condition to be used against `DefaultIdsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input DefaultIdsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID -} - -""" -A filter to be used against `DefaultIdsModule` object types. All fields are combined with a logical ‘and.’ -""" -input DefaultIdsModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [DefaultIdsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [DefaultIdsModuleFilter!] - - """Negates the expression.""" - not: DefaultIdsModuleFilter -} - """Methods to use when ordering `DefaultIdsModule`.""" enum DefaultIdsModuleOrderBy { NATURAL @@ -14985,6 +19578,16 @@ 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.""" @@ -14996,98 +19599,6 @@ type DenormalizedTableFieldEdge { node: DenormalizedTableField } -""" -A condition to be used against `DenormalizedTableField` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input DenormalizedTableFieldCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `fieldId` field.""" - fieldId: UUID - - """Checks for equality with the object’s `setIds` field.""" - setIds: [UUID] - - """Checks for equality with the object’s `refTableId` field.""" - refTableId: UUID - - """Checks for equality with the object’s `refFieldId` field.""" - refFieldId: UUID - - """Checks for equality with the object’s `refIds` field.""" - refIds: [UUID] - - """Checks for equality with the object’s `useUpdates` field.""" - useUpdates: Boolean - - """Checks for equality with the object’s `updateDefaults` field.""" - updateDefaults: Boolean - - """Checks for equality with the object’s `funcName` field.""" - funcName: String - - """Checks for equality with the object’s `funcOrder` field.""" - funcOrder: Int -} - -""" -A filter to be used against `DenormalizedTableField` object types. All fields are combined with a logical ‘and.’ -""" -input DenormalizedTableFieldFilter { - """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 `fieldId` field.""" - fieldId: UUIDFilter - - """Filter by the object’s `setIds` field.""" - setIds: UUIDListFilter - - """Filter by the object’s `refTableId` field.""" - refTableId: UUIDFilter - - """Filter by the object’s `refFieldId` field.""" - refFieldId: UUIDFilter - - """Filter by the object’s `refIds` field.""" - refIds: UUIDListFilter - - """Filter by the object’s `useUpdates` field.""" - useUpdates: BooleanFilter - - """Filter by the object’s `updateDefaults` field.""" - updateDefaults: BooleanFilter - - """Filter by the object’s `funcName` field.""" - funcName: StringFilter - - """Filter by the object’s `funcOrder` field.""" - funcOrder: IntFilter - - """Checks for all expressions in this list.""" - and: [DenormalizedTableFieldFilter!] - - """Checks for any expressions in this list.""" - or: [DenormalizedTableFieldFilter!] - - """Negates the expression.""" - not: DenormalizedTableFieldFilter -} - """Methods to use when ordering `DenormalizedTableField`.""" enum DenormalizedTableFieldOrderBy { NATURAL @@ -15097,6 +19608,10 @@ 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.""" @@ -15110,106 +19625,54 @@ type EmailsModuleConnection { edges: [EmailsModuleEdge]! """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `EmailsModule` you could get from the connection.""" - totalCount: Int! -} - -type EmailsModule { - id: UUID! - databaseId: UUID! - schemaId: UUID! - privateSchemaId: UUID! - tableId: UUID! - ownerTableId: UUID! - tableName: String! - - """Reads a single `Database` that is related to this `EmailsModule`.""" - database: Database - - """Reads a single `Table` that is related to this `EmailsModule`.""" - ownerTable: Table - - """Reads a single `Schema` that is related to this `EmailsModule`.""" - privateSchema: Schema - - """Reads a single `Schema` that is related to this `EmailsModule`.""" - schema: Schema - - """Reads a single `Table` that is related to this `EmailsModule`.""" - table: Table -} - -"""A `EmailsModule` edge in the connection.""" -type EmailsModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `EmailsModule` at the end of the edge.""" - node: EmailsModule -} - -""" -A condition to be used against `EmailsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input EmailsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `ownerTableId` field.""" - ownerTableId: UUID + pageInfo: PageInfo! - """Checks for equality with the object’s `tableName` field.""" - tableName: String + """The count of *all* `EmailsModule` you could get from the connection.""" + totalCount: Int! } -""" -A filter to be used against `EmailsModule` object types. All fields are combined with a logical ‘and.’ -""" -input EmailsModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter +type EmailsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + tableId: UUID! + ownerTableId: UUID! + tableName: String! - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + """Reads a single `Database` that is related to this `EmailsModule`.""" + database: Database - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter + """Reads a single `Table` that is related to this `EmailsModule`.""" + ownerTable: Table - """Filter by the object’s `privateSchemaId` field.""" - privateSchemaId: UUIDFilter + """Reads a single `Schema` that is related to this `EmailsModule`.""" + privateSchema: Schema - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Reads a single `Schema` that is related to this `EmailsModule`.""" + schema: Schema - """Filter by the object’s `ownerTableId` field.""" - ownerTableId: UUIDFilter + """Reads a single `Table` that is related to this `EmailsModule`.""" + table: Table - """Filter by the object’s `tableName` field.""" - tableName: StringFilter + """ + TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. + """ + tableNameTrgmSimilarity: Float - """Checks for all expressions in this list.""" - and: [EmailsModuleFilter!] + """ + 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: [EmailsModuleFilter!] +"""A `EmailsModule` edge in the connection.""" +type EmailsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: EmailsModuleFilter + """The `EmailsModule` at the end of the edge.""" + node: EmailsModule } """Methods to use when ordering `EmailsModule`.""" @@ -15221,6 +19684,10 @@ 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.""" @@ -15263,6 +19730,16 @@ 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.""" @@ -15274,56 +19751,6 @@ type EncryptedSecretsModuleEdge { node: EncryptedSecretsModule } -""" -A condition to be used against `EncryptedSecretsModule` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input EncryptedSecretsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String -} - -""" -A filter to be used against `EncryptedSecretsModule` object types. All fields are combined with a logical ‘and.’ -""" -input EncryptedSecretsModuleFilter { - """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 `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Checks for all expressions in this list.""" - and: [EncryptedSecretsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [EncryptedSecretsModuleFilter!] - - """Negates the expression.""" - not: EncryptedSecretsModuleFilter -} - """Methods to use when ordering `EncryptedSecretsModule`.""" enum EncryptedSecretsModuleOrderBy { NATURAL @@ -15333,6 +19760,10 @@ 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.""" @@ -15374,6 +19805,16 @@ 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.""" @@ -15385,80 +19826,6 @@ type FieldModuleEdge { node: FieldModule } -""" -A condition to be used against `FieldModule` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input FieldModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `fieldId` field.""" - fieldId: UUID - - """Checks for equality with the object’s `nodeType` field.""" - nodeType: String - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `triggers` field.""" - triggers: [String] - - """Checks for equality with the object’s `functions` field.""" - functions: [String] -} - -""" -A filter to be used against `FieldModule` object types. All fields are combined with a logical ‘and.’ -""" -input FieldModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `fieldId` field.""" - fieldId: UUIDFilter - - """Filter by the object’s `nodeType` field.""" - nodeType: StringFilter - - """Filter by the object’s `data` field.""" - data: JSONFilter - - """Filter by the object’s `triggers` field.""" - triggers: StringListFilter - - """Filter by the object’s `functions` field.""" - functions: StringListFilter - - """Checks for all expressions in this list.""" - and: [FieldModuleFilter!] - - """Checks for any expressions in this list.""" - or: [FieldModuleFilter!] - - """Negates the expression.""" - not: FieldModuleFilter -} - """Methods to use when ordering `FieldModule`.""" enum FieldModuleOrderBy { NATURAL @@ -15470,6 +19837,10 @@ 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.""" @@ -15528,121 +19899,40 @@ type InvitesModule { """Reads a single `Table` that is related to this `InvitesModule`.""" usersTable: Table -} - -"""A `InvitesModule` edge in the connection.""" -type InvitesModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `InvitesModule` at the end of the edge.""" - node: InvitesModule -} - -""" -A condition to be used against `InvitesModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input InvitesModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `emailsTableId` field.""" - emailsTableId: UUID - - """Checks for equality with the object’s `usersTableId` field.""" - usersTableId: UUID - - """Checks for equality with the object’s `invitesTableId` field.""" - invitesTableId: UUID - - """Checks for equality with the object’s `claimedInvitesTableId` field.""" - claimedInvitesTableId: UUID - - """Checks for equality with the object’s `invitesTableName` field.""" - invitesTableName: String - """Checks for equality with the object’s `claimedInvitesTableName` field.""" - claimedInvitesTableName: String + """ + TRGM similarity when searching `invitesTableName`. Returns null when no trgm search filter is active. + """ + invitesTableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `submitInviteCodeFunction` field. + TRGM similarity when searching `claimedInvitesTableName`. Returns null when no trgm search filter is active. """ - submitInviteCodeFunction: String + claimedInvitesTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `prefix` field.""" - prefix: String + """ + TRGM similarity when searching `submitInviteCodeFunction`. Returns null when no trgm search filter is active. + """ + submitInviteCodeFunctionTrgmSimilarity: Float - """Checks for equality with the object’s `membershipType` field.""" - membershipType: Int + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float - """Checks for equality with the object’s `entityTableId` field.""" - entityTableId: 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. + """ + searchScore: Float } -""" -A filter to be used against `InvitesModule` object types. All fields are combined with a logical ‘and.’ -""" -input InvitesModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `emailsTableId` field.""" - emailsTableId: UUIDFilter - - """Filter by the object’s `usersTableId` field.""" - usersTableId: UUIDFilter - - """Filter by the object’s `invitesTableId` field.""" - invitesTableId: UUIDFilter - - """Filter by the object’s `claimedInvitesTableId` field.""" - claimedInvitesTableId: UUIDFilter - - """Filter by the object’s `invitesTableName` field.""" - invitesTableName: StringFilter - - """Filter by the object’s `claimedInvitesTableName` field.""" - claimedInvitesTableName: StringFilter - - """Filter by the object’s `submitInviteCodeFunction` field.""" - submitInviteCodeFunction: StringFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Filter by the object’s `membershipType` field.""" - membershipType: IntFilter - - """Filter by the object’s `entityTableId` field.""" - entityTableId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [InvitesModuleFilter!] - - """Checks for any expressions in this list.""" - or: [InvitesModuleFilter!] +"""A `InvitesModule` edge in the connection.""" +type InvitesModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: InvitesModuleFilter + """The `InvitesModule` at the end of the edge.""" + node: InvitesModule } """Methods to use when ordering `InvitesModule`.""" @@ -15654,6 +19944,16 @@ 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.""" @@ -15727,197 +20027,95 @@ type LevelsModule { """Reads a single `Table` that is related to this `LevelsModule`.""" stepsTable: Table -} - -"""A `LevelsModule` edge in the connection.""" -type LevelsModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `LevelsModule` at the end of the edge.""" - node: LevelsModule -} - -""" -A condition to be used against `LevelsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input LevelsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `stepsTableId` field.""" - stepsTableId: UUID - - """Checks for equality with the object’s `stepsTableName` field.""" - stepsTableName: String - - """Checks for equality with the object’s `achievementsTableId` field.""" - achievementsTableId: UUID - - """Checks for equality with the object’s `achievementsTableName` field.""" - achievementsTableName: String - - """Checks for equality with the object’s `levelsTableId` field.""" - levelsTableId: UUID - - """Checks for equality with the object’s `levelsTableName` field.""" - levelsTableName: String """ - Checks for equality with the object’s `levelRequirementsTableId` field. + TRGM similarity when searching `stepsTableName`. Returns null when no trgm search filter is active. """ - levelRequirementsTableId: UUID + stepsTableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `levelRequirementsTableName` field. + TRGM similarity when searching `achievementsTableName`. Returns null when no trgm search filter is active. """ - levelRequirementsTableName: String + achievementsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `completedStep` field.""" - completedStep: String + """ + TRGM similarity when searching `levelsTableName`. Returns null when no trgm search filter is active. + """ + levelsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `incompletedStep` field.""" - incompletedStep: String + """ + TRGM similarity when searching `levelRequirementsTableName`. Returns null when no trgm search filter is active. + """ + levelRequirementsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `tgAchievement` field.""" - tgAchievement: String + """ + TRGM similarity when searching `completedStep`. Returns null when no trgm search filter is active. + """ + completedStepTrgmSimilarity: Float - """Checks for equality with the object’s `tgAchievementToggle` field.""" - tgAchievementToggle: String + """ + TRGM similarity when searching `incompletedStep`. Returns null when no trgm search filter is active. + """ + incompletedStepTrgmSimilarity: Float """ - Checks for equality with the object’s `tgAchievementToggleBoolean` field. + TRGM similarity when searching `tgAchievement`. Returns null when no trgm search filter is active. """ - tgAchievementToggleBoolean: String + tgAchievementTrgmSimilarity: Float - """Checks for equality with the object’s `tgAchievementBoolean` field.""" - tgAchievementBoolean: String + """ + TRGM similarity when searching `tgAchievementToggle`. Returns null when no trgm search filter is active. + """ + tgAchievementToggleTrgmSimilarity: Float - """Checks for equality with the object’s `upsertAchievement` field.""" - upsertAchievement: String + """ + TRGM similarity when searching `tgAchievementToggleBoolean`. Returns null when no trgm search filter is active. + """ + tgAchievementToggleBooleanTrgmSimilarity: Float - """Checks for equality with the object’s `tgUpdateAchievements` field.""" - tgUpdateAchievements: String + """ + TRGM similarity when searching `tgAchievementBoolean`. Returns null when no trgm search filter is active. + """ + tgAchievementBooleanTrgmSimilarity: Float - """Checks for equality with the object’s `stepsRequired` field.""" - stepsRequired: String + """ + TRGM similarity when searching `upsertAchievement`. Returns null when no trgm search filter is active. + """ + upsertAchievementTrgmSimilarity: Float - """Checks for equality with the object’s `levelAchieved` field.""" - levelAchieved: String + """ + TRGM similarity when searching `tgUpdateAchievements`. Returns null when no trgm search filter is active. + """ + tgUpdateAchievementsTrgmSimilarity: Float - """Checks for equality with the object’s `prefix` field.""" - prefix: String + """ + TRGM similarity when searching `stepsRequired`. Returns null when no trgm search filter is active. + """ + stepsRequiredTrgmSimilarity: Float - """Checks for equality with the object’s `membershipType` field.""" - membershipType: Int + """ + TRGM similarity when searching `levelAchieved`. Returns null when no trgm search filter is active. + """ + levelAchievedTrgmSimilarity: Float - """Checks for equality with the object’s `entityTableId` field.""" - entityTableId: UUID + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float - """Checks for equality with the object’s `actorTableId` field.""" - actorTableId: 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. + """ + searchScore: Float } -""" -A filter to be used against `LevelsModule` object types. All fields are combined with a logical ‘and.’ -""" -input LevelsModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `stepsTableId` field.""" - stepsTableId: UUIDFilter - - """Filter by the object’s `stepsTableName` field.""" - stepsTableName: StringFilter - - """Filter by the object’s `achievementsTableId` field.""" - achievementsTableId: UUIDFilter - - """Filter by the object’s `achievementsTableName` field.""" - achievementsTableName: StringFilter - - """Filter by the object’s `levelsTableId` field.""" - levelsTableId: UUIDFilter - - """Filter by the object’s `levelsTableName` field.""" - levelsTableName: StringFilter - - """Filter by the object’s `levelRequirementsTableId` field.""" - levelRequirementsTableId: UUIDFilter - - """Filter by the object’s `levelRequirementsTableName` field.""" - levelRequirementsTableName: StringFilter - - """Filter by the object’s `completedStep` field.""" - completedStep: StringFilter - - """Filter by the object’s `incompletedStep` field.""" - incompletedStep: StringFilter - - """Filter by the object’s `tgAchievement` field.""" - tgAchievement: StringFilter - - """Filter by the object’s `tgAchievementToggle` field.""" - tgAchievementToggle: StringFilter - - """Filter by the object’s `tgAchievementToggleBoolean` field.""" - tgAchievementToggleBoolean: StringFilter - - """Filter by the object’s `tgAchievementBoolean` field.""" - tgAchievementBoolean: StringFilter - - """Filter by the object’s `upsertAchievement` field.""" - upsertAchievement: StringFilter - - """Filter by the object’s `tgUpdateAchievements` field.""" - tgUpdateAchievements: StringFilter - - """Filter by the object’s `stepsRequired` field.""" - stepsRequired: StringFilter - - """Filter by the object’s `levelAchieved` field.""" - levelAchieved: StringFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Filter by the object’s `membershipType` field.""" - membershipType: IntFilter - - """Filter by the object’s `entityTableId` field.""" - entityTableId: UUIDFilter - - """Filter by the object’s `actorTableId` field.""" - actorTableId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [LevelsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [LevelsModuleFilter!] +"""A `LevelsModule` edge in the connection.""" +type LevelsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: LevelsModuleFilter + """The `LevelsModule` at the end of the edge.""" + node: LevelsModule } """Methods to use when ordering `LevelsModule`.""" @@ -15929,6 +20127,38 @@ 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.""" @@ -15966,165 +20196,87 @@ type LimitsModule { prefix: String membershipType: Int! entityTableId: UUID - actorTableId: UUID! - - """Reads a single `Table` that is related to this `LimitsModule`.""" - actorTable: Table - - """Reads a single `Database` that is related to this `LimitsModule`.""" - database: Database - - """Reads a single `Table` that is related to this `LimitsModule`.""" - defaultTable: Table - - """Reads a single `Table` that is related to this `LimitsModule`.""" - entityTable: Table - - """Reads a single `Schema` that is related to this `LimitsModule`.""" - privateSchema: Schema - - """Reads a single `Schema` that is related to this `LimitsModule`.""" - schema: Schema - - """Reads a single `Table` that is related to this `LimitsModule`.""" - table: Table -} - -"""A `LimitsModule` edge in the connection.""" -type LimitsModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `LimitsModule` at the end of the edge.""" - node: LimitsModule -} - -""" -A condition to be used against `LimitsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input LimitsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String - - """Checks for equality with the object’s `defaultTableId` field.""" - defaultTableId: UUID - - """Checks for equality with the object’s `defaultTableName` field.""" - defaultTableName: String - - """Checks for equality with the object’s `limitIncrementFunction` field.""" - limitIncrementFunction: String - - """Checks for equality with the object’s `limitDecrementFunction` field.""" - limitDecrementFunction: String - - """Checks for equality with the object’s `limitIncrementTrigger` field.""" - limitIncrementTrigger: String - - """Checks for equality with the object’s `limitDecrementTrigger` field.""" - limitDecrementTrigger: String - - """Checks for equality with the object’s `limitUpdateTrigger` field.""" - limitUpdateTrigger: String - - """Checks for equality with the object’s `limitCheckFunction` field.""" - limitCheckFunction: String - - """Checks for equality with the object’s `prefix` field.""" - prefix: String - - """Checks for equality with the object’s `membershipType` field.""" - membershipType: Int - - """Checks for equality with the object’s `entityTableId` field.""" - entityTableId: UUID - - """Checks for equality with the object’s `actorTableId` field.""" - actorTableId: UUID -} - -""" -A filter to be used against `LimitsModule` object types. All fields are combined with a logical ‘and.’ -""" -input LimitsModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter + actorTableId: UUID! - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter + """Reads a single `Table` that is related to this `LimitsModule`.""" + actorTable: Table - """Filter by the object’s `privateSchemaId` field.""" - privateSchemaId: UUIDFilter + """Reads a single `Database` that is related to this `LimitsModule`.""" + database: Database - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter + """Reads a single `Table` that is related to this `LimitsModule`.""" + defaultTable: Table - """Filter by the object’s `tableName` field.""" - tableName: StringFilter + """Reads a single `Table` that is related to this `LimitsModule`.""" + entityTable: Table - """Filter by the object’s `defaultTableId` field.""" - defaultTableId: UUIDFilter + """Reads a single `Schema` that is related to this `LimitsModule`.""" + privateSchema: Schema - """Filter by the object’s `defaultTableName` field.""" - defaultTableName: StringFilter + """Reads a single `Schema` that is related to this `LimitsModule`.""" + schema: Schema - """Filter by the object’s `limitIncrementFunction` field.""" - limitIncrementFunction: StringFilter + """Reads a single `Table` that is related to this `LimitsModule`.""" + table: Table - """Filter by the object’s `limitDecrementFunction` field.""" - limitDecrementFunction: StringFilter + """ + TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. + """ + tableNameTrgmSimilarity: Float - """Filter by the object’s `limitIncrementTrigger` field.""" - limitIncrementTrigger: StringFilter + """ + TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. + """ + defaultTableNameTrgmSimilarity: Float - """Filter by the object’s `limitDecrementTrigger` field.""" - limitDecrementTrigger: StringFilter + """ + TRGM similarity when searching `limitIncrementFunction`. Returns null when no trgm search filter is active. + """ + limitIncrementFunctionTrgmSimilarity: Float - """Filter by the object’s `limitUpdateTrigger` field.""" - limitUpdateTrigger: StringFilter + """ + TRGM similarity when searching `limitDecrementFunction`. Returns null when no trgm search filter is active. + """ + limitDecrementFunctionTrgmSimilarity: Float - """Filter by the object’s `limitCheckFunction` field.""" - limitCheckFunction: StringFilter + """ + TRGM similarity when searching `limitIncrementTrigger`. Returns null when no trgm search filter is active. + """ + limitIncrementTriggerTrgmSimilarity: Float - """Filter by the object’s `prefix` field.""" - prefix: StringFilter + """ + TRGM similarity when searching `limitDecrementTrigger`. Returns null when no trgm search filter is active. + """ + limitDecrementTriggerTrgmSimilarity: Float - """Filter by the object’s `membershipType` field.""" - membershipType: IntFilter + """ + TRGM similarity when searching `limitUpdateTrigger`. Returns null when no trgm search filter is active. + """ + limitUpdateTriggerTrgmSimilarity: Float - """Filter by the object’s `entityTableId` field.""" - entityTableId: UUIDFilter + """ + TRGM similarity when searching `limitCheckFunction`. Returns null when no trgm search filter is active. + """ + limitCheckFunctionTrgmSimilarity: Float - """Filter by the object’s `actorTableId` field.""" - actorTableId: UUIDFilter + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float - """Checks for all expressions in this list.""" - and: [LimitsModuleFilter!] + """ + 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: [LimitsModuleFilter!] +"""A `LimitsModule` edge in the connection.""" +type LimitsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: LimitsModuleFilter + """The `LimitsModule` at the end of the edge.""" + node: LimitsModule } """Methods to use when ordering `LimitsModule`.""" @@ -16136,6 +20288,26 @@ 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.""" @@ -16178,6 +20350,16 @@ 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.""" @@ -16189,56 +20371,6 @@ type MembershipTypesModuleEdge { node: MembershipTypesModule } -""" -A condition to be used against `MembershipTypesModule` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input MembershipTypesModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String -} - -""" -A filter to be used against `MembershipTypesModule` object types. All fields are combined with a logical ‘and.’ -""" -input MembershipTypesModuleFilter { - """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 `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Checks for all expressions in this list.""" - and: [MembershipTypesModuleFilter!] - - """Checks for any expressions in this list.""" - or: [MembershipTypesModuleFilter!] - - """Negates the expression.""" - not: MembershipTypesModuleFilter -} - """Methods to use when ordering `MembershipTypesModule`.""" enum MembershipTypesModuleOrderBy { NATURAL @@ -16248,6 +20380,10 @@ 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.""" @@ -16346,227 +20482,80 @@ type MembershipsModule { """Reads a single `Table` that is related to this `MembershipsModule`.""" sprtTable: Table -} - -"""A `MembershipsModule` edge in the connection.""" -type MembershipsModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `MembershipsModule` at the end of the edge.""" - node: MembershipsModule -} - -""" -A condition to be used against `MembershipsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input MembershipsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `membershipsTableId` field.""" - membershipsTableId: UUID - - """Checks for equality with the object’s `membershipsTableName` field.""" - membershipsTableName: String - - """Checks for equality with the object’s `membersTableId` field.""" - membersTableId: UUID - - """Checks for equality with the object’s `membersTableName` field.""" - membersTableName: String """ - Checks for equality with the object’s `membershipDefaultsTableId` field. + TRGM similarity when searching `membershipsTableName`. Returns null when no trgm search filter is active. """ - membershipDefaultsTableId: UUID + membershipsTableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `membershipDefaultsTableName` field. + TRGM similarity when searching `membersTableName`. Returns null when no trgm search filter is active. """ - membershipDefaultsTableName: String - - """Checks for equality with the object’s `grantsTableId` field.""" - grantsTableId: UUID - - """Checks for equality with the object’s `grantsTableName` field.""" - grantsTableName: String - - """Checks for equality with the object’s `actorTableId` field.""" - actorTableId: UUID - - """Checks for equality with the object’s `limitsTableId` field.""" - limitsTableId: UUID - - """Checks for equality with the object’s `defaultLimitsTableId` field.""" - defaultLimitsTableId: UUID - - """Checks for equality with the object’s `permissionsTableId` field.""" - permissionsTableId: UUID + membersTableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `defaultPermissionsTableId` field. + TRGM similarity when searching `membershipDefaultsTableName`. Returns null when no trgm search filter is active. """ - defaultPermissionsTableId: UUID - - """Checks for equality with the object’s `sprtTableId` field.""" - sprtTableId: UUID - - """Checks for equality with the object’s `adminGrantsTableId` field.""" - adminGrantsTableId: UUID - - """Checks for equality with the object’s `adminGrantsTableName` field.""" - adminGrantsTableName: String - - """Checks for equality with the object’s `ownerGrantsTableId` field.""" - ownerGrantsTableId: UUID + membershipDefaultsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `ownerGrantsTableName` field.""" - ownerGrantsTableName: String + """ + TRGM similarity when searching `grantsTableName`. Returns null when no trgm search filter is active. + """ + grantsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `membershipType` field.""" - membershipType: Int + """ + TRGM similarity when searching `adminGrantsTableName`. Returns null when no trgm search filter is active. + """ + adminGrantsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `entityTableId` field.""" - entityTableId: UUID + """ + TRGM similarity when searching `ownerGrantsTableName`. Returns null when no trgm search filter is active. + """ + ownerGrantsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `entityTableOwnerId` field.""" - entityTableOwnerId: UUID + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float - """Checks for equality with the object’s `prefix` field.""" - prefix: String + """ + TRGM similarity when searching `actorMaskCheck`. Returns null when no trgm search filter is active. + """ + actorMaskCheckTrgmSimilarity: Float - """Checks for equality with the object’s `actorMaskCheck` field.""" - actorMaskCheck: String + """ + TRGM similarity when searching `actorPermCheck`. Returns null when no trgm search filter is active. + """ + actorPermCheckTrgmSimilarity: Float - """Checks for equality with the object’s `actorPermCheck` field.""" - actorPermCheck: String + """ + TRGM similarity when searching `entityIdsByMask`. Returns null when no trgm search filter is active. + """ + entityIdsByMaskTrgmSimilarity: Float - """Checks for equality with the object’s `entityIdsByMask` field.""" - entityIdsByMask: String + """ + TRGM similarity when searching `entityIdsByPerm`. Returns null when no trgm search filter is active. + """ + entityIdsByPermTrgmSimilarity: Float - """Checks for equality with the object’s `entityIdsByPerm` field.""" - entityIdsByPerm: String + """ + TRGM similarity when searching `entityIdsFunction`. Returns null when no trgm search filter is active. + """ + entityIdsFunctionTrgmSimilarity: Float - """Checks for equality with the object’s `entityIdsFunction` field.""" - entityIdsFunction: 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. + """ + searchScore: Float } -""" -A filter to be used against `MembershipsModule` object types. All fields are combined with a logical ‘and.’ -""" -input MembershipsModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `membershipsTableId` field.""" - membershipsTableId: UUIDFilter - - """Filter by the object’s `membershipsTableName` field.""" - membershipsTableName: StringFilter - - """Filter by the object’s `membersTableId` field.""" - membersTableId: UUIDFilter - - """Filter by the object’s `membersTableName` field.""" - membersTableName: StringFilter - - """Filter by the object’s `membershipDefaultsTableId` field.""" - membershipDefaultsTableId: UUIDFilter - - """Filter by the object’s `membershipDefaultsTableName` field.""" - membershipDefaultsTableName: StringFilter - - """Filter by the object’s `grantsTableId` field.""" - grantsTableId: UUIDFilter - - """Filter by the object’s `grantsTableName` field.""" - grantsTableName: StringFilter - - """Filter by the object’s `actorTableId` field.""" - actorTableId: UUIDFilter - - """Filter by the object’s `limitsTableId` field.""" - limitsTableId: UUIDFilter - - """Filter by the object’s `defaultLimitsTableId` field.""" - defaultLimitsTableId: UUIDFilter - - """Filter by the object’s `permissionsTableId` field.""" - permissionsTableId: UUIDFilter - - """Filter by the object’s `defaultPermissionsTableId` field.""" - defaultPermissionsTableId: UUIDFilter - - """Filter by the object’s `sprtTableId` field.""" - sprtTableId: UUIDFilter - - """Filter by the object’s `adminGrantsTableId` field.""" - adminGrantsTableId: UUIDFilter - - """Filter by the object’s `adminGrantsTableName` field.""" - adminGrantsTableName: StringFilter - - """Filter by the object’s `ownerGrantsTableId` field.""" - ownerGrantsTableId: UUIDFilter - - """Filter by the object’s `ownerGrantsTableName` field.""" - ownerGrantsTableName: StringFilter - - """Filter by the object’s `membershipType` field.""" - membershipType: IntFilter - - """Filter by the object’s `entityTableId` field.""" - entityTableId: UUIDFilter - - """Filter by the object’s `entityTableOwnerId` field.""" - entityTableOwnerId: UUIDFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Filter by the object’s `actorMaskCheck` field.""" - actorMaskCheck: StringFilter - - """Filter by the object’s `actorPermCheck` field.""" - actorPermCheck: StringFilter - - """Filter by the object’s `entityIdsByMask` field.""" - entityIdsByMask: StringFilter - - """Filter by the object’s `entityIdsByPerm` field.""" - entityIdsByPerm: StringFilter - - """Filter by the object’s `entityIdsFunction` field.""" - entityIdsFunction: StringFilter - - """Checks for all expressions in this list.""" - and: [MembershipsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [MembershipsModuleFilter!] +"""A `MembershipsModule` edge in the connection.""" +type MembershipsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: MembershipsModuleFilter + """The `MembershipsModule` at the end of the edge.""" + node: MembershipsModule } """Methods to use when ordering `MembershipsModule`.""" @@ -16578,6 +20567,32 @@ 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.""" @@ -16638,137 +20653,55 @@ type PermissionsModule { """Reads a single `Table` that is related to this `PermissionsModule`.""" table: Table -} - -"""A `PermissionsModule` edge in the connection.""" -type PermissionsModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `PermissionsModule` at the end of the edge.""" - node: PermissionsModule -} - -""" -A condition to be used against `PermissionsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input PermissionsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String - - """Checks for equality with the object’s `defaultTableId` field.""" - defaultTableId: UUID - - """Checks for equality with the object’s `defaultTableName` field.""" - defaultTableName: String - - """Checks for equality with the object’s `bitlen` field.""" - bitlen: Int - - """Checks for equality with the object’s `membershipType` field.""" - membershipType: Int + """ + TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. + """ + tableNameTrgmSimilarity: Float - """Checks for equality with the object’s `entityTableId` field.""" - entityTableId: UUID + """ + TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. + """ + defaultTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `actorTableId` field.""" - actorTableId: UUID + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float - """Checks for equality with the object’s `prefix` field.""" - prefix: String + """ + TRGM similarity when searching `getPaddedMask`. Returns null when no trgm search filter is active. + """ + getPaddedMaskTrgmSimilarity: Float - """Checks for equality with the object’s `getPaddedMask` field.""" - getPaddedMask: String + """ + TRGM similarity when searching `getMask`. Returns null when no trgm search filter is active. + """ + getMaskTrgmSimilarity: Float - """Checks for equality with the object’s `getMask` field.""" - getMask: String + """ + TRGM similarity when searching `getByMask`. Returns null when no trgm search filter is active. + """ + getByMaskTrgmSimilarity: Float - """Checks for equality with the object’s `getByMask` field.""" - getByMask: String + """ + TRGM similarity when searching `getMaskByName`. Returns null when no trgm search filter is active. + """ + getMaskByNameTrgmSimilarity: Float - """Checks for equality with the object’s `getMaskByName` field.""" - getMaskByName: 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. + """ + searchScore: Float } -""" -A filter to be used against `PermissionsModule` object types. All fields are combined with a logical ‘and.’ -""" -input PermissionsModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Filter by the object’s `defaultTableId` field.""" - defaultTableId: UUIDFilter - - """Filter by the object’s `defaultTableName` field.""" - defaultTableName: StringFilter - - """Filter by the object’s `bitlen` field.""" - bitlen: IntFilter - - """Filter by the object’s `membershipType` field.""" - membershipType: IntFilter - - """Filter by the object’s `entityTableId` field.""" - entityTableId: UUIDFilter - - """Filter by the object’s `actorTableId` field.""" - actorTableId: UUIDFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Filter by the object’s `getPaddedMask` field.""" - getPaddedMask: StringFilter - - """Filter by the object’s `getMask` field.""" - getMask: StringFilter - - """Filter by the object’s `getByMask` field.""" - getByMask: StringFilter - - """Filter by the object’s `getMaskByName` field.""" - getMaskByName: StringFilter - - """Checks for all expressions in this list.""" - and: [PermissionsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [PermissionsModuleFilter!] +"""A `PermissionsModule` edge in the connection.""" +type PermissionsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: PermissionsModuleFilter + """The `PermissionsModule` at the end of the edge.""" + node: PermissionsModule } """Methods to use when ordering `PermissionsModule`.""" @@ -16780,6 +20713,22 @@ 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.""" @@ -16826,6 +20775,16 @@ 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.""" @@ -16837,68 +20796,6 @@ type PhoneNumbersModuleEdge { node: PhoneNumbersModule } -""" -A condition to be used against `PhoneNumbersModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input PhoneNumbersModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `ownerTableId` field.""" - ownerTableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String -} - -""" -A filter to be used against `PhoneNumbersModule` object types. All fields are combined with a logical ‘and.’ -""" -input PhoneNumbersModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `ownerTableId` field.""" - ownerTableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Checks for all expressions in this list.""" - and: [PhoneNumbersModuleFilter!] - - """Checks for any expressions in this list.""" - or: [PhoneNumbersModuleFilter!] - - """Negates the expression.""" - not: PhoneNumbersModuleFilter -} - """Methods to use when ordering `PhoneNumbersModule`.""" enum PhoneNumbersModuleOrderBy { NATURAL @@ -16908,6 +20805,10 @@ 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.""" @@ -16979,151 +20880,45 @@ type ProfilesModule { """Reads a single `Table` that is related to this `ProfilesModule`.""" table: Table -} - -"""A `ProfilesModule` edge in the connection.""" -type ProfilesModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `ProfilesModule` at the end of the edge.""" - node: ProfilesModule -} - -""" -A condition to be used against `ProfilesModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input ProfilesModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String """ - Checks for equality with the object’s `profilePermissionsTableId` field. + TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. """ - profilePermissionsTableId: UUID + tableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `profilePermissionsTableName` field. + TRGM similarity when searching `profilePermissionsTableName`. Returns null when no trgm search filter is active. """ - profilePermissionsTableName: String - - """Checks for equality with the object’s `profileGrantsTableId` field.""" - profileGrantsTableId: UUID - - """Checks for equality with the object’s `profileGrantsTableName` field.""" - profileGrantsTableName: String + profilePermissionsTableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `profileDefinitionGrantsTableId` field. + TRGM similarity when searching `profileGrantsTableName`. Returns null when no trgm search filter is active. """ - profileDefinitionGrantsTableId: UUID + profileGrantsTableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `profileDefinitionGrantsTableName` field. + TRGM similarity when searching `profileDefinitionGrantsTableName`. Returns null when no trgm search filter is active. """ - profileDefinitionGrantsTableName: String + profileDefinitionGrantsTableNameTrgmSimilarity: Float - """Checks for equality with the object’s `membershipType` field.""" - membershipType: Int - - """Checks for equality with the object’s `entityTableId` field.""" - entityTableId: UUID - - """Checks for equality with the object’s `actorTableId` field.""" - actorTableId: UUID - - """Checks for equality with the object’s `permissionsTableId` field.""" - permissionsTableId: UUID - - """Checks for equality with the object’s `membershipsTableId` field.""" - membershipsTableId: UUID + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float - """Checks for equality with the object’s `prefix` field.""" - prefix: 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. + """ + searchScore: Float } -""" -A filter to be used against `ProfilesModule` object types. All fields are combined with a logical ‘and.’ -""" -input ProfilesModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Filter by the object’s `profilePermissionsTableId` field.""" - profilePermissionsTableId: UUIDFilter - - """Filter by the object’s `profilePermissionsTableName` field.""" - profilePermissionsTableName: StringFilter - - """Filter by the object’s `profileGrantsTableId` field.""" - profileGrantsTableId: UUIDFilter - - """Filter by the object’s `profileGrantsTableName` field.""" - profileGrantsTableName: StringFilter - - """Filter by the object’s `profileDefinitionGrantsTableId` field.""" - profileDefinitionGrantsTableId: UUIDFilter - - """Filter by the object’s `profileDefinitionGrantsTableName` field.""" - profileDefinitionGrantsTableName: StringFilter - - """Filter by the object’s `membershipType` field.""" - membershipType: IntFilter - - """Filter by the object’s `entityTableId` field.""" - entityTableId: UUIDFilter - - """Filter by the object’s `actorTableId` field.""" - actorTableId: UUIDFilter - - """Filter by the object’s `permissionsTableId` field.""" - permissionsTableId: UUIDFilter - - """Filter by the object’s `membershipsTableId` field.""" - membershipsTableId: UUIDFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Checks for all expressions in this list.""" - and: [ProfilesModuleFilter!] - - """Checks for any expressions in this list.""" - or: [ProfilesModuleFilter!] +"""A `ProfilesModule` edge in the connection.""" +type ProfilesModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: ProfilesModuleFilter + """The `ProfilesModule` at the end of the edge.""" + node: ProfilesModule } """Methods to use when ordering `ProfilesModule`.""" @@ -17137,139 +20932,75 @@ 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 } -"""A connection to a list of `RlsModule` values.""" -type RlsModuleConnection { - """A list of `RlsModule` objects.""" - nodes: [RlsModule]! - - """ - A list of edges which contains the `RlsModule` and cursor to aid in pagination. - """ - edges: [RlsModuleEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `RlsModule` you could get from the connection.""" - totalCount: Int! -} - -"""A `RlsModule` edge in the connection.""" -type RlsModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor +type RlsModule { + id: UUID! + databaseId: UUID! + schemaId: UUID! + privateSchemaId: UUID! + sessionCredentialsTableId: UUID! + sessionsTableId: UUID! + usersTableId: UUID! + authenticate: String! + authenticateStrict: String! + currentRole: String! + currentRoleId: String! - """The `RlsModule` at the end of the edge.""" - node: RlsModule -} + """Reads a single `Database` that is related to this `RlsModule`.""" + database: Database -""" -A condition to be used against `RlsModule` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input RlsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID + """Reads a single `Schema` that is related to this `RlsModule`.""" + privateSchema: Schema - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """Reads a single `Schema` that is related to this `RlsModule`.""" + schema: Schema - """Checks for equality with the object’s `apiId` field.""" - apiId: UUID + """Reads a single `Table` that is related to this `RlsModule`.""" + sessionCredentialsTable: Table - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID + """Reads a single `Table` that is related to this `RlsModule`.""" + sessionsTable: Table - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID + """Reads a single `Table` that is related to this `RlsModule`.""" + usersTable: Table """ - Checks for equality with the object’s `sessionCredentialsTableId` field. + TRGM similarity when searching `authenticate`. Returns null when no trgm search filter is active. """ - sessionCredentialsTableId: UUID - - """Checks for equality with the object’s `sessionsTableId` field.""" - sessionsTableId: UUID - - """Checks for equality with the object’s `usersTableId` field.""" - usersTableId: UUID - - """Checks for equality with the object’s `authenticate` field.""" - authenticate: String - - """Checks for equality with the object’s `authenticateStrict` field.""" - authenticateStrict: String - - """Checks for equality with the object’s `currentRole` field.""" - currentRole: String - - """Checks for equality with the object’s `currentRoleId` field.""" - currentRoleId: String -} - -""" -A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ -""" -input RlsModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `apiId` field.""" - apiId: UUIDFilter - - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter - - """Filter by the object’s `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `sessionCredentialsTableId` field.""" - sessionCredentialsTableId: UUIDFilter - - """Filter by the object’s `sessionsTableId` field.""" - sessionsTableId: UUIDFilter - - """Filter by the object’s `usersTableId` field.""" - usersTableId: UUIDFilter - - """Filter by the object’s `authenticate` field.""" - authenticate: StringFilter - - """Filter by the object’s `authenticateStrict` field.""" - authenticateStrict: StringFilter - - """Filter by the object’s `currentRole` field.""" - currentRole: StringFilter - - """Filter by the object’s `currentRoleId` field.""" - currentRoleId: StringFilter + authenticateTrgmSimilarity: Float - """Checks for all expressions in this list.""" - and: [RlsModuleFilter!] + """ + TRGM similarity when searching `authenticateStrict`. Returns null when no trgm search filter is active. + """ + authenticateStrictTrgmSimilarity: Float - """Checks for any expressions in this list.""" - or: [RlsModuleFilter!] + """ + TRGM similarity when searching `currentRole`. Returns null when no trgm search filter is active. + """ + currentRoleTrgmSimilarity: Float - """Negates the expression.""" - not: RlsModuleFilter -} + """ + TRGM similarity when searching `currentRoleId`. Returns null when no trgm search filter is active. + """ + currentRoleIdTrgmSimilarity: Float -"""Methods to use when ordering `RlsModule`.""" -enum RlsModuleOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - API_ID_ASC - API_ID_DESC + """ + 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.""" @@ -17304,6 +21035,16 @@ 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.""" @@ -17315,56 +21056,6 @@ type SecretsModuleEdge { node: SecretsModule } -""" -A condition to be used against `SecretsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input SecretsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String -} - -""" -A filter to be used against `SecretsModule` object types. All fields are combined with a logical ‘and.’ -""" -input SecretsModuleFilter { - """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 `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Checks for all expressions in this list.""" - and: [SecretsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [SecretsModuleFilter!] - - """Negates the expression.""" - not: SecretsModuleFilter -} - """Methods to use when ordering `SecretsModule`.""" enum SecretsModuleOrderBy { NATURAL @@ -17374,6 +21065,10 @@ 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.""" @@ -17423,91 +21118,32 @@ type SessionsModule { """Reads a single `Table` that is related to this `SessionsModule`.""" usersTable: Table -} -""" -An interval of time that has passed where the smallest distinct unit is a second. -""" -type Interval { """ - A quantity of seconds. This is the only non-integer field, as all the other - fields will dump their overflow into a smaller unit of time. Intervals don’t - have a smaller unit than seconds. + TRGM similarity when searching `sessionsTable`. Returns null when no trgm search filter is active. """ - seconds: Float - - """A quantity of minutes.""" - minutes: Int - - """A quantity of hours.""" - hours: Int - - """A quantity of days.""" - days: Int - - """A quantity of months.""" - months: Int - - """A quantity of years.""" - years: Int -} - -"""A `SessionsModule` edge in the connection.""" -type SessionsModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `SessionsModule` at the end of the edge.""" - node: SessionsModule -} - -""" -A condition to be used against `SessionsModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input SessionsModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `sessionsTableId` field.""" - sessionsTableId: UUID + sessionsTableTrgmSimilarity: Float """ - Checks for equality with the object’s `sessionCredentialsTableId` field. + TRGM similarity when searching `sessionCredentialsTable`. Returns null when no trgm search filter is active. """ - sessionCredentialsTableId: UUID - - """Checks for equality with the object’s `authSettingsTableId` field.""" - authSettingsTableId: UUID - - """Checks for equality with the object’s `usersTableId` field.""" - usersTableId: UUID + sessionCredentialsTableTrgmSimilarity: Float """ - Checks for equality with the object’s `sessionsDefaultExpiration` field. + TRGM similarity when searching `authSettingsTable`. Returns null when no trgm search filter is active. """ - sessionsDefaultExpiration: IntervalInput - - """Checks for equality with the object’s `sessionsTable` field.""" - sessionsTable: String + authSettingsTableTrgmSimilarity: Float - """Checks for equality with the object’s `sessionCredentialsTable` field.""" - sessionCredentialsTable: String - - """Checks for equality with the object’s `authSettingsTable` field.""" - authSettingsTable: 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. + """ + searchScore: Float } """ An interval of time that has passed where the smallest distinct unit is a second. """ -input IntervalInput { +type Interval { """ A quantity of seconds. This is the only non-integer field, as all the other fields will dump their overflow into a smaller unit of time. Intervals don’t @@ -17531,93 +21167,13 @@ input IntervalInput { years: Int } -""" -A filter to be used against `SessionsModule` object types. All fields are combined with a logical ‘and.’ -""" -input SessionsModuleFilter { - """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 `sessionsTableId` field.""" - sessionsTableId: UUIDFilter - - """Filter by the object’s `sessionCredentialsTableId` field.""" - sessionCredentialsTableId: UUIDFilter - - """Filter by the object’s `authSettingsTableId` field.""" - authSettingsTableId: UUIDFilter - - """Filter by the object’s `usersTableId` field.""" - usersTableId: UUIDFilter - - """Filter by the object’s `sessionsDefaultExpiration` field.""" - sessionsDefaultExpiration: IntervalFilter - - """Filter by the object’s `sessionsTable` field.""" - sessionsTable: StringFilter - - """Filter by the object’s `sessionCredentialsTable` field.""" - sessionCredentialsTable: StringFilter - - """Filter by the object’s `authSettingsTable` field.""" - authSettingsTable: StringFilter - - """Checks for all expressions in this list.""" - and: [SessionsModuleFilter!] - - """Checks for any expressions in this list.""" - or: [SessionsModuleFilter!] - - """Negates the expression.""" - not: SessionsModuleFilter -} - -""" -A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ -""" -input IntervalFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: IntervalInput - - """Not equal to the specified value.""" - notEqualTo: IntervalInput - - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: IntervalInput - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: IntervalInput - - """Included in the specified list.""" - in: [IntervalInput!] - - """Not included in the specified list.""" - notIn: [IntervalInput!] - - """Less than the specified value.""" - lessThan: IntervalInput - - """Less than or equal to the specified value.""" - lessThanOrEqualTo: IntervalInput - - """Greater than the specified value.""" - greaterThan: IntervalInput +"""A `SessionsModule` edge in the connection.""" +type SessionsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: IntervalInput + """The `SessionsModule` at the end of the edge.""" + node: SessionsModule } """Methods to use when ordering `SessionsModule`.""" @@ -17629,6 +21185,14 @@ 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.""" @@ -17670,228 +21234,129 @@ type UserAuthModule { verifyEmailFunction: String! verifyPasswordFunction: String! checkPasswordFunction: String! - sendAccountDeletionEmailFunction: String! - deleteAccountFunction: String! - signInOneTimeTokenFunction: String! - oneTimeTokenFunction: String! - extendTokenExpires: String! - - """Reads a single `Database` that is related to this `UserAuthModule`.""" - database: Database - - """Reads a single `Table` that is related to this `UserAuthModule`.""" - emailsTable: Table - - """Reads a single `Table` that is related to this `UserAuthModule`.""" - encryptedTable: Table - - """Reads a single `Schema` that is related to this `UserAuthModule`.""" - schema: Schema - - """Reads a single `Table` that is related to this `UserAuthModule`.""" - secretsTable: Table - - """Reads a single `Table` that is related to this `UserAuthModule`.""" - sessionCredentialsTable: Table - - """Reads a single `Table` that is related to this `UserAuthModule`.""" - sessionsTable: Table - - """Reads a single `Table` that is related to this `UserAuthModule`.""" - usersTable: Table -} - -"""A `UserAuthModule` edge in the connection.""" -type UserAuthModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `UserAuthModule` at the end of the edge.""" - node: UserAuthModule -} - -""" -A condition to be used against `UserAuthModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input UserAuthModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `emailsTableId` field.""" - emailsTableId: UUID - - """Checks for equality with the object’s `usersTableId` field.""" - usersTableId: UUID - - """Checks for equality with the object’s `secretsTableId` field.""" - secretsTableId: UUID - - """Checks for equality with the object’s `encryptedTableId` field.""" - encryptedTableId: UUID - - """Checks for equality with the object’s `sessionsTableId` field.""" - sessionsTableId: UUID - - """ - Checks for equality with the object’s `sessionCredentialsTableId` field. - """ - sessionCredentialsTableId: UUID + sendAccountDeletionEmailFunction: String! + deleteAccountFunction: String! + signInOneTimeTokenFunction: String! + oneTimeTokenFunction: String! + extendTokenExpires: String! - """Checks for equality with the object’s `auditsTableId` field.""" - auditsTableId: UUID + """Reads a single `Database` that is related to this `UserAuthModule`.""" + database: Database - """Checks for equality with the object’s `auditsTableName` field.""" - auditsTableName: String + """Reads a single `Table` that is related to this `UserAuthModule`.""" + emailsTable: Table - """Checks for equality with the object’s `signInFunction` field.""" - signInFunction: String + """Reads a single `Table` that is related to this `UserAuthModule`.""" + encryptedTable: Table - """Checks for equality with the object’s `signUpFunction` field.""" - signUpFunction: String + """Reads a single `Schema` that is related to this `UserAuthModule`.""" + schema: Schema - """Checks for equality with the object’s `signOutFunction` field.""" - signOutFunction: String + """Reads a single `Table` that is related to this `UserAuthModule`.""" + secretsTable: Table - """Checks for equality with the object’s `setPasswordFunction` field.""" - setPasswordFunction: String + """Reads a single `Table` that is related to this `UserAuthModule`.""" + sessionCredentialsTable: Table - """Checks for equality with the object’s `resetPasswordFunction` field.""" - resetPasswordFunction: String + """Reads a single `Table` that is related to this `UserAuthModule`.""" + sessionsTable: Table - """Checks for equality with the object’s `forgotPasswordFunction` field.""" - forgotPasswordFunction: String + """Reads a single `Table` that is related to this `UserAuthModule`.""" + usersTable: Table """ - Checks for equality with the object’s `sendVerificationEmailFunction` field. + TRGM similarity when searching `auditsTableName`. Returns null when no trgm search filter is active. """ - sendVerificationEmailFunction: String - - """Checks for equality with the object’s `verifyEmailFunction` field.""" - verifyEmailFunction: String - - """Checks for equality with the object’s `verifyPasswordFunction` field.""" - verifyPasswordFunction: String - - """Checks for equality with the object’s `checkPasswordFunction` field.""" - checkPasswordFunction: String + auditsTableNameTrgmSimilarity: Float """ - Checks for equality with the object’s `sendAccountDeletionEmailFunction` field. + TRGM similarity when searching `signInFunction`. Returns null when no trgm search filter is active. """ - sendAccountDeletionEmailFunction: String - - """Checks for equality with the object’s `deleteAccountFunction` field.""" - deleteAccountFunction: String + signInFunctionTrgmSimilarity: Float """ - Checks for equality with the object’s `signInOneTimeTokenFunction` field. + TRGM similarity when searching `signUpFunction`. Returns null when no trgm search filter is active. """ - signInOneTimeTokenFunction: String - - """Checks for equality with the object’s `oneTimeTokenFunction` field.""" - oneTimeTokenFunction: String - - """Checks for equality with the object’s `extendTokenExpires` field.""" - extendTokenExpires: String -} - -""" -A filter to be used against `UserAuthModule` object types. All fields are combined with a logical ‘and.’ -""" -input UserAuthModuleFilter { - """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 `emailsTableId` field.""" - emailsTableId: UUIDFilter - - """Filter by the object’s `usersTableId` field.""" - usersTableId: UUIDFilter + signUpFunctionTrgmSimilarity: Float - """Filter by the object’s `secretsTableId` field.""" - secretsTableId: UUIDFilter - - """Filter by the object’s `encryptedTableId` field.""" - encryptedTableId: UUIDFilter - - """Filter by the object’s `sessionsTableId` field.""" - sessionsTableId: UUIDFilter - - """Filter by the object’s `sessionCredentialsTableId` field.""" - sessionCredentialsTableId: UUIDFilter - - """Filter by the object’s `auditsTableId` field.""" - auditsTableId: UUIDFilter - - """Filter by the object’s `auditsTableName` field.""" - auditsTableName: StringFilter - - """Filter by the object’s `signInFunction` field.""" - signInFunction: StringFilter - - """Filter by the object’s `signUpFunction` field.""" - signUpFunction: StringFilter - - """Filter by the object’s `signOutFunction` field.""" - signOutFunction: StringFilter + """ + TRGM similarity when searching `signOutFunction`. Returns null when no trgm search filter is active. + """ + signOutFunctionTrgmSimilarity: Float - """Filter by the object’s `setPasswordFunction` field.""" - setPasswordFunction: StringFilter + """ + TRGM similarity when searching `setPasswordFunction`. Returns null when no trgm search filter is active. + """ + setPasswordFunctionTrgmSimilarity: Float - """Filter by the object’s `resetPasswordFunction` field.""" - resetPasswordFunction: StringFilter + """ + TRGM similarity when searching `resetPasswordFunction`. Returns null when no trgm search filter is active. + """ + resetPasswordFunctionTrgmSimilarity: Float - """Filter by the object’s `forgotPasswordFunction` field.""" - forgotPasswordFunction: StringFilter + """ + TRGM similarity when searching `forgotPasswordFunction`. Returns null when no trgm search filter is active. + """ + forgotPasswordFunctionTrgmSimilarity: Float - """Filter by the object’s `sendVerificationEmailFunction` field.""" - sendVerificationEmailFunction: StringFilter + """ + TRGM similarity when searching `sendVerificationEmailFunction`. Returns null when no trgm search filter is active. + """ + sendVerificationEmailFunctionTrgmSimilarity: Float - """Filter by the object’s `verifyEmailFunction` field.""" - verifyEmailFunction: StringFilter + """ + TRGM similarity when searching `verifyEmailFunction`. Returns null when no trgm search filter is active. + """ + verifyEmailFunctionTrgmSimilarity: Float - """Filter by the object’s `verifyPasswordFunction` field.""" - verifyPasswordFunction: StringFilter + """ + TRGM similarity when searching `verifyPasswordFunction`. Returns null when no trgm search filter is active. + """ + verifyPasswordFunctionTrgmSimilarity: Float - """Filter by the object’s `checkPasswordFunction` field.""" - checkPasswordFunction: StringFilter + """ + TRGM similarity when searching `checkPasswordFunction`. Returns null when no trgm search filter is active. + """ + checkPasswordFunctionTrgmSimilarity: Float - """Filter by the object’s `sendAccountDeletionEmailFunction` field.""" - sendAccountDeletionEmailFunction: StringFilter + """ + TRGM similarity when searching `sendAccountDeletionEmailFunction`. Returns null when no trgm search filter is active. + """ + sendAccountDeletionEmailFunctionTrgmSimilarity: Float - """Filter by the object’s `deleteAccountFunction` field.""" - deleteAccountFunction: StringFilter + """ + TRGM similarity when searching `deleteAccountFunction`. Returns null when no trgm search filter is active. + """ + deleteAccountFunctionTrgmSimilarity: Float - """Filter by the object’s `signInOneTimeTokenFunction` field.""" - signInOneTimeTokenFunction: StringFilter + """ + TRGM similarity when searching `signInOneTimeTokenFunction`. Returns null when no trgm search filter is active. + """ + signInOneTimeTokenFunctionTrgmSimilarity: Float - """Filter by the object’s `oneTimeTokenFunction` field.""" - oneTimeTokenFunction: StringFilter + """ + TRGM similarity when searching `oneTimeTokenFunction`. Returns null when no trgm search filter is active. + """ + oneTimeTokenFunctionTrgmSimilarity: Float - """Filter by the object’s `extendTokenExpires` field.""" - extendTokenExpires: StringFilter + """ + TRGM similarity when searching `extendTokenExpires`. Returns null when no trgm search filter is active. + """ + extendTokenExpiresTrgmSimilarity: Float - """Checks for all expressions in this list.""" - and: [UserAuthModuleFilter!] + """ + 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: [UserAuthModuleFilter!] +"""A `UserAuthModule` edge in the connection.""" +type UserAuthModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: UserAuthModuleFilter + """The `UserAuthModule` at the end of the edge.""" + node: UserAuthModule } """Methods to use when ordering `UserAuthModule`.""" @@ -17903,6 +21368,40 @@ 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.""" @@ -17942,6 +21441,21 @@ 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.""" @@ -17953,68 +21467,6 @@ type UsersModuleEdge { node: UsersModule } -""" -A condition to be used against `UsersModule` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input UsersModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `tableId` field.""" - tableId: UUID - - """Checks for equality with the object’s `tableName` field.""" - tableName: String - - """Checks for equality with the object’s `typeTableId` field.""" - typeTableId: UUID - - """Checks for equality with the object’s `typeTableName` field.""" - typeTableName: String -} - -""" -A filter to be used against `UsersModule` object types. All fields are combined with a logical ‘and.’ -""" -input UsersModuleFilter { - """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 `tableId` field.""" - tableId: UUIDFilter - - """Filter by the object’s `tableName` field.""" - tableName: StringFilter - - """Filter by the object’s `typeTableId` field.""" - typeTableId: UUIDFilter - - """Filter by the object’s `typeTableName` field.""" - typeTableName: StringFilter - - """Checks for all expressions in this list.""" - and: [UsersModuleFilter!] - - """Checks for any expressions in this list.""" - or: [UsersModuleFilter!] - - """Negates the expression.""" - not: UsersModuleFilter -} - """Methods to use when ordering `UsersModule`.""" enum UsersModuleOrderBy { NATURAL @@ -18024,6 +21476,12 @@ 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.""" @@ -18055,6 +21513,21 @@ type UuidModule { """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.""" @@ -18066,56 +21539,6 @@ type UuidModuleEdge { node: UuidModule } -""" -A condition to be used against `UuidModule` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input UuidModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `uuidFunction` field.""" - uuidFunction: String - - """Checks for equality with the object’s `uuidSeed` field.""" - uuidSeed: String -} - -""" -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 -} - """Methods to use when ordering `UuidModule`.""" enum UuidModuleOrderBy { NATURAL @@ -18125,6 +21548,12 @@ enum UuidModuleOrderBy { 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 { @@ -18172,6 +21601,61 @@ type HierarchyModule { """Reads a single `Table` that is related to this `HierarchyModule`.""" usersTable: Table + + """ + TRGM similarity when searching `chartEdgesTableName`. Returns null when no trgm search filter is active. + """ + chartEdgesTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `hierarchySprtTableName`. Returns null when no trgm search filter is active. + """ + hierarchySprtTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `chartEdgeGrantsTableName`. Returns null when no trgm search filter is active. + """ + chartEdgeGrantsTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + """ + prefixTrgmSimilarity: Float + + """ + TRGM similarity when searching `privateSchemaName`. Returns null when no trgm search filter is active. + """ + privateSchemaNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `sprtTableName`. Returns null when no trgm search filter is active. + """ + sprtTableNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `rebuildHierarchyFunction`. Returns null when no trgm search filter is active. + """ + rebuildHierarchyFunctionTrgmSimilarity: Float + + """ + TRGM similarity when searching `getSubordinatesFunction`. Returns null when no trgm search filter is active. + """ + getSubordinatesFunctionTrgmSimilarity: Float + + """ + TRGM similarity when searching `getManagersFunction`. Returns null when no trgm search filter is active. + """ + getManagersFunctionTrgmSimilarity: Float + + """ + TRGM similarity when searching `isManagerOfFunction`. Returns null when no trgm search filter is active. + """ + isManagerOfFunctionTrgmSimilarity: 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 `DatabaseProvisionModule` values.""" @@ -18238,119 +21722,45 @@ type DatabaseProvisionModule { Reads a single `Database` that is related to this `DatabaseProvisionModule`. """ database: Database -} - -"""A `DatabaseProvisionModule` edge in the connection.""" -type DatabaseProvisionModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `DatabaseProvisionModule` at the end of the edge.""" - node: DatabaseProvisionModule -} - -""" -A condition to be used against `DatabaseProvisionModule` object types. All -fields are tested for equality and combined with a logical ‘and.’ -""" -input DatabaseProvisionModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseName` field.""" - databaseName: String - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `subdomain` field.""" - subdomain: String - """Checks for equality with the object’s `domain` field.""" - domain: String - - """Checks for equality with the object’s `modules` field.""" - modules: [String] - - """Checks for equality with the object’s `options` field.""" - options: JSON - - """Checks for equality with the object’s `bootstrapUser` field.""" - bootstrapUser: Boolean - - """Checks for equality with the object’s `status` field.""" - status: String + """ + TRGM similarity when searching `databaseName`. Returns null when no trgm search filter is active. + """ + databaseNameTrgmSimilarity: Float - """Checks for equality with the object’s `errorMessage` field.""" - errorMessage: String + """ + TRGM similarity when searching `subdomain`. Returns null when no trgm search filter is active. + """ + subdomainTrgmSimilarity: Float - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """ + TRGM similarity when searching `domain`. Returns null when no trgm search filter is active. + """ + domainTrgmSimilarity: Float - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """ + TRGM similarity when searching `status`. Returns null when no trgm search filter is active. + """ + statusTrgmSimilarity: Float - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """ + TRGM similarity when searching `errorMessage`. Returns null when no trgm search filter is active. + """ + errorMessageTrgmSimilarity: Float - """Checks for equality with the object’s `completedAt` field.""" - completedAt: Datetime + """ + 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 filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ -""" -input DatabaseProvisionModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `databaseName` field.""" - databaseName: StringFilter - - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter - - """Filter by the object’s `subdomain` field.""" - subdomain: StringFilter - - """Filter by the object’s `domain` field.""" - domain: StringFilter - - """Filter by the object’s `modules` field.""" - modules: StringListFilter - - """Filter by the object’s `options` field.""" - options: JSONFilter - - """Filter by the object’s `bootstrapUser` field.""" - bootstrapUser: BooleanFilter - - """Filter by the object’s `status` field.""" - status: StringFilter - - """Filter by the object’s `errorMessage` field.""" - errorMessage: StringFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """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: [DatabaseProvisionModuleFilter!] - - """Checks for any expressions in this list.""" - or: [DatabaseProvisionModuleFilter!] +"""A `DatabaseProvisionModule` edge in the connection.""" +type DatabaseProvisionModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: DatabaseProvisionModuleFilter + """The `DatabaseProvisionModule` at the end of the edge.""" + node: DatabaseProvisionModule } """Methods to use when ordering `DatabaseProvisionModule`.""" @@ -18366,6 +21776,18 @@ 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.""" @@ -18377,74 +21799,6 @@ type DatabaseEdge { node: Database } -""" -A condition to be used against `Database` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input DatabaseCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `schemaHash` field.""" - schemaHash: String - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `label` field.""" - label: String - - """Checks for equality with the object’s `hash` field.""" - hash: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `Database` object types. All fields are combined with a logical ‘and.’ -""" -input DatabaseFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter - - """Filter by the object’s `schemaHash` field.""" - schemaHash: StringFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `label` field.""" - label: StringFilter - - """Filter by the object’s `hash` field.""" - hash: 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: [DatabaseFilter!] - - """Checks for any expressions in this list.""" - or: [DatabaseFilter!] - - """Negates the expression.""" - not: DatabaseFilter -} - """Methods to use when ordering `Database`.""" enum DatabaseOrderBy { NATURAL @@ -18460,6 +21814,14 @@ 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 } """ @@ -18543,76 +21905,20 @@ type AppAdminGrant { createdAt: Datetime updatedAt: Datetime - """Reads a single `User` that is related to this `AppAdminGrant`.""" - actor: User - - """Reads a single `User` that is related to this `AppAdminGrant`.""" - grantor: User -} - -"""A `AppAdminGrant` edge in the connection.""" -type AppAdminGrantEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `AppAdminGrant` at the end of the edge.""" - node: AppAdminGrant -} - -""" -A condition to be used against `AppAdminGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppAdminGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `AppAdminGrant` object types. All fields are combined with a logical ‘and.’ -""" -input AppAdminGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `grantorId` field.""" - grantorId: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter + """Reads a single `User` that is related to this `AppAdminGrant`.""" + actor: User - """Checks for all expressions in this list.""" - and: [AppAdminGrantFilter!] + """Reads a single `User` that is related to this `AppAdminGrant`.""" + grantor: User +} - """Checks for any expressions in this list.""" - or: [AppAdminGrantFilter!] +"""A `AppAdminGrant` edge in the connection.""" +type AppAdminGrantEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Negates the expression.""" - not: AppAdminGrantFilter + """The `AppAdminGrant` at the end of the edge.""" + node: AppAdminGrant } """Methods to use when ordering `AppAdminGrant`.""" @@ -18676,62 +21982,6 @@ type AppOwnerGrantEdge { node: AppOwnerGrant } -""" -A condition to be used against `AppOwnerGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppOwnerGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `AppOwnerGrant` object types. All fields are combined with a logical ‘and.’ -""" -input AppOwnerGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `grantorId` field.""" - grantorId: 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: [AppOwnerGrantFilter!] - - """Checks for any expressions in this list.""" - or: [AppOwnerGrantFilter!] - - """Negates the expression.""" - not: AppOwnerGrantFilter -} - """Methods to use when ordering `AppOwnerGrant`.""" enum AppOwnerGrantOrderBy { NATURAL @@ -18798,110 +22048,6 @@ type AppGrantEdge { node: AppGrant } -""" -A condition to be used against `AppGrant` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AppGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `AppGrant` object types. All fields are combined with a logical ‘and.’ -""" -input AppGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `grantorId` field.""" - grantorId: 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: [AppGrantFilter!] - - """Checks for any expressions in this list.""" - or: [AppGrantFilter!] - - """Negates the expression.""" - not: AppGrantFilter -} - -""" -A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ -""" -input BitStringFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: BitString - - """Not equal to the specified value.""" - notEqualTo: BitString - - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: BitString - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: BitString - - """Included in the specified list.""" - in: [BitString!] - - """Not included in the specified list.""" - notIn: [BitString!] - - """Less than the specified value.""" - lessThan: BitString - - """Less than or equal to the specified value.""" - lessThanOrEqualTo: BitString - - """Greater than the specified value.""" - greaterThan: BitString - - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: BitString -} - """Methods to use when ordering `AppGrant`.""" enum AppGrantOrderBy { NATURAL @@ -18997,122 +22143,6 @@ type OrgMembershipEdge { node: OrgMembership } -""" -A condition to be used against `OrgMembership` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgMembershipCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID - - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean - - """Checks for equality with the object’s `isBanned` field.""" - isBanned: Boolean - - """Checks for equality with the object’s `isDisabled` field.""" - isDisabled: Boolean - - """Checks for equality with the object’s `isActive` field.""" - isActive: Boolean - - """Checks for equality with the object’s `isOwner` field.""" - isOwner: Boolean - - """Checks for equality with the object’s `isAdmin` field.""" - isAdmin: Boolean - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `granted` field.""" - granted: BitString - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `profileId` field.""" - profileId: UUID -} - -""" -A filter to be used against `OrgMembership` object types. All fields are combined with a logical ‘and.’ -""" -input OrgMembershipFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Filter by the object’s `createdBy` field.""" - createdBy: UUIDFilter - - """Filter by the object’s `updatedBy` field.""" - updatedBy: UUIDFilter - - """Filter by the object’s `isApproved` field.""" - isApproved: BooleanFilter - - """Filter by the object’s `isBanned` field.""" - isBanned: BooleanFilter - - """Filter by the object’s `isDisabled` field.""" - isDisabled: BooleanFilter - - """Filter by the object’s `isActive` field.""" - isActive: BooleanFilter - - """Filter by the object’s `isOwner` field.""" - isOwner: BooleanFilter - - """Filter by the object’s `isAdmin` field.""" - isAdmin: BooleanFilter - - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter - - """Filter by the object’s `granted` field.""" - granted: BitStringFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Filter by the object’s `profileId` field.""" - profileId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [OrgMembershipFilter!] - - """Checks for any expressions in this list.""" - or: [OrgMembershipFilter!] - - """Negates the expression.""" - not: OrgMembershipFilter -} - """Methods to use when ordering `OrgMembership`.""" enum OrgMembershipOrderBy { NATURAL @@ -19218,50 +22248,6 @@ type OrgMemberEdge { node: OrgMember } -""" -A condition to be used against `OrgMember` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgMemberCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isAdmin` field.""" - isAdmin: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - -""" -A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ -""" -input OrgMemberFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `isAdmin` field.""" - isAdmin: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [OrgMemberFilter!] - - """Checks for any expressions in this list.""" - or: [OrgMemberFilter!] - - """Negates the expression.""" - not: OrgMemberFilter -} - """Methods to use when ordering `OrgMember`.""" enum OrgMemberOrderBy { NATURAL @@ -19329,68 +22315,6 @@ type OrgAdminGrantEdge { node: OrgAdminGrant } -""" -A condition to be used against `OrgAdminGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgAdminGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `OrgAdminGrant` object types. All fields are combined with a logical ‘and.’ -""" -input OrgAdminGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Filter by the object’s `grantorId` field.""" - grantorId: 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: [OrgAdminGrantFilter!] - - """Checks for any expressions in this list.""" - or: [OrgAdminGrantFilter!] - - """Negates the expression.""" - not: OrgAdminGrantFilter -} - """Methods to use when ordering `OrgAdminGrant`.""" enum OrgAdminGrantOrderBy { NATURAL @@ -19460,68 +22384,6 @@ type OrgOwnerGrantEdge { node: OrgOwnerGrant } -""" -A condition to be used against `OrgOwnerGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgOwnerGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `OrgOwnerGrant` object types. All fields are combined with a logical ‘and.’ -""" -input OrgOwnerGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Filter by the object’s `grantorId` field.""" - grantorId: 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: [OrgOwnerGrantFilter!] - - """Checks for any expressions in this list.""" - or: [OrgOwnerGrantFilter!] - - """Negates the expression.""" - not: OrgOwnerGrantFilter -} - """Methods to use when ordering `OrgOwnerGrant`.""" enum OrgOwnerGrantOrderBy { NATURAL @@ -19596,74 +22458,6 @@ type OrgGrantEdge { node: OrgGrant } -""" -A condition to be used against `OrgGrant` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ -""" -input OrgGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Filter by the object’s `grantorId` field.""" - grantorId: 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: [OrgGrantFilter!] - - """Checks for any expressions in this list.""" - or: [OrgGrantFilter!] - - """Negates the expression.""" - not: OrgGrantFilter -} - """Methods to use when ordering `OrgGrant`.""" enum OrgGrantOrderBy { NATURAL @@ -19726,88 +22520,30 @@ type OrgChartEdge { """Reads a single `User` that is related to this `OrgChartEdge`.""" child: User - """Reads a single `User` that is related to this `OrgChartEdge`.""" - entity: User - - """Reads a single `User` that is related to this `OrgChartEdge`.""" - parent: User -} - -"""A `OrgChartEdge` edge in the connection.""" -type OrgChartEdgeEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `OrgChartEdge` at the end of the edge.""" - node: OrgChartEdge -} - -""" -A condition to be used against `OrgChartEdge` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgChartEdgeCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `childId` field.""" - childId: UUID - - """Checks for equality with the object’s `parentId` field.""" - parentId: UUID - - """Checks for equality with the object’s `positionTitle` field.""" - positionTitle: String - - """Checks for equality with the object’s `positionLevel` field.""" - positionLevel: Int -} - -""" -A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ -""" -input OrgChartEdgeFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Filter by the object’s `childId` field.""" - childId: UUIDFilter - - """Filter by the object’s `parentId` field.""" - parentId: UUIDFilter - - """Filter by the object’s `positionTitle` field.""" - positionTitle: StringFilter + """Reads a single `User` that is related to this `OrgChartEdge`.""" + entity: User - """Filter by the object’s `positionLevel` field.""" - positionLevel: IntFilter + """Reads a single `User` that is related to this `OrgChartEdge`.""" + parent: User - """Checks for all expressions in this list.""" - and: [OrgChartEdgeFilter!] + """ + TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. + """ + positionTitleTrgmSimilarity: Float - """Checks for any expressions in this list.""" - or: [OrgChartEdgeFilter!] + """ + 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 +} - """Negates the expression.""" - not: OrgChartEdgeFilter +"""A `OrgChartEdge` edge in the connection.""" +type OrgChartEdgeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgChartEdge` at the end of the edge.""" + node: OrgChartEdge } """Methods to use when ordering `OrgChartEdge`.""" @@ -19827,6 +22563,10 @@ 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.""" @@ -19889,6 +22629,16 @@ 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.""" @@ -19900,80 +22650,6 @@ type OrgChartEdgeGrantEdge { node: OrgChartEdgeGrant } -""" -A condition to be used against `OrgChartEdgeGrant` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgChartEdgeGrantCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """Checks for equality with the object’s `childId` field.""" - childId: UUID - - """Checks for equality with the object’s `parentId` field.""" - parentId: UUID - - """Checks for equality with the object’s `grantorId` field.""" - grantorId: UUID - - """Checks for equality with the object’s `isGrant` field.""" - isGrant: Boolean - - """Checks for equality with the object’s `positionTitle` field.""" - positionTitle: String - - """Checks for equality with the object’s `positionLevel` field.""" - positionLevel: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime -} - -""" -A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ -""" -input OrgChartEdgeGrantFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Filter by the object’s `childId` field.""" - childId: UUIDFilter - - """Filter by the object’s `parentId` field.""" - parentId: UUIDFilter - - """Filter by the object’s `grantorId` field.""" - grantorId: UUIDFilter - - """Filter by the object’s `isGrant` field.""" - isGrant: BooleanFilter - - """Filter by the object’s `positionTitle` field.""" - positionTitle: StringFilter - - """Filter by the object’s `positionLevel` field.""" - positionLevel: IntFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [OrgChartEdgeGrantFilter!] - - """Checks for any expressions in this list.""" - or: [OrgChartEdgeGrantFilter!] - - """Negates the expression.""" - not: OrgChartEdgeGrantFilter -} - """Methods to use when ordering `OrgChartEdgeGrant`.""" enum OrgChartEdgeGrantOrderBy { NATURAL @@ -19989,6 +22665,10 @@ 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 `AppLimit` values.""" @@ -20037,56 +22717,6 @@ type AppLimitEdge { node: AppLimit } -""" -A condition to be used against `AppLimit` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AppLimitCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `num` field.""" - num: Int - - """Checks for equality with the object’s `max` field.""" - max: Int -} - -""" -A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ -""" -input AppLimitFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `num` field.""" - num: IntFilter - - """Filter by the object’s `max` field.""" - max: IntFilter - - """Checks for all expressions in this list.""" - and: [AppLimitFilter!] - - """Checks for any expressions in this list.""" - or: [AppLimitFilter!] - - """Negates the expression.""" - not: AppLimitFilter -} - """Methods to use when ordering `AppLimit`.""" enum AppLimitOrderBy { NATURAL @@ -20150,62 +22780,6 @@ type OrgLimitEdge { node: OrgLimit } -""" -A condition to be used against `OrgLimit` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgLimitCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `num` field.""" - num: Int - - """Checks for equality with the object’s `max` field.""" - max: Int - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - -""" -A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ -""" -input OrgLimitFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `num` field.""" - num: IntFilter - - """Filter by the object’s `max` field.""" - max: IntFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [OrgLimitFilter!] - - """Checks for any expressions in this list.""" - or: [OrgLimitFilter!] - - """Negates the expression.""" - not: OrgLimitFilter -} - """Methods to use when ordering `OrgLimit`.""" enum OrgLimitOrderBy { NATURAL @@ -20259,488 +22833,165 @@ type AppStep { """A `AppStep` edge in the connection.""" type AppStepEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `AppStep` at the end of the edge.""" - node: AppStep -} - -""" -A condition to be used against `AppStep` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input AppStepCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `count` field.""" - count: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `AppStep` object types. All fields are combined with a logical ‘and.’ -""" -input AppStepFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `count` field.""" - count: IntFilter - - """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: [AppStepFilter!] - - """Checks for any expressions in this list.""" - or: [AppStepFilter!] - - """Negates the expression.""" - not: AppStepFilter -} - -"""Methods to use when ordering `AppStep`.""" -enum AppStepOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - ACTOR_ID_ASC - ACTOR_ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC -} - -"""A connection to a list of `AppAchievement` values.""" -type AppAchievementConnection { - """A list of `AppAchievement` objects.""" - nodes: [AppAchievement]! - - """ - A list of edges which contains the `AppAchievement` and cursor to aid in pagination. - """ - edges: [AppAchievementEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `AppAchievement` you could get from the connection.""" - totalCount: Int! -} - -""" -Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually -""" -type AppAchievement { - id: UUID! - actorId: UUID! - - """Name identifier of the level requirement being tracked""" - name: String! - - """Cumulative count of completed steps toward this requirement""" - count: Int! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `User` that is related to this `AppAchievement`.""" - actor: User -} - -"""A `AppAchievement` edge in the connection.""" -type AppAchievementEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `AppAchievement` at the end of the edge.""" - node: AppAchievement -} - -""" -A condition to be used against `AppAchievement` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppAchievementCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `count` field.""" - count: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `AppAchievement` object types. All fields are combined with a logical ‘and.’ -""" -input AppAchievementFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `count` field.""" - count: IntFilter - - """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: [AppAchievementFilter!] - - """Checks for any expressions in this list.""" - or: [AppAchievementFilter!] - - """Negates the expression.""" - not: AppAchievementFilter -} - -"""Methods to use when ordering `AppAchievement`.""" -enum AppAchievementOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - ACTOR_ID_ASC - ACTOR_ID_DESC - NAME_ASC - NAME_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.""" - nodes: [Invite]! - - """ - A list of edges which contains the `Invite` and cursor to aid in pagination. - """ - edges: [InviteEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `Invite` you could get from the connection.""" - totalCount: Int! -} - -""" -Invitation records sent to prospective members via email, with token-based redemption and expiration -""" -type Invite { - id: UUID! - - """Email address of the invited recipient""" - email: ConstructiveInternalTypeEmail - - """User ID of the member who sent this invitation""" - senderId: UUID! - - """Unique random hex token used to redeem this invitation""" - inviteToken: String! - - """Whether this invitation is still valid and can be redeemed""" - inviteValid: Boolean! - - """Maximum number of times this invite can be claimed; -1 means unlimited""" - inviteLimit: Int! - - """Running count of how many times this invite has been claimed""" - inviteCount: Int! - - """Whether this invite can be claimed by multiple recipients""" - multiple: Boolean! - - """Optional JSON payload of additional invite metadata""" - data: JSON - - """Timestamp after which this invitation can no longer be redeemed""" - expiresAt: Datetime! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `User` that is related to this `Invite`.""" - sender: User -} - -scalar ConstructiveInternalTypeEmail - -"""A `Invite` edge in the connection.""" -type InviteEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `Invite` at the end of the edge.""" - node: Invite -} - -""" -A condition to be used against `Invite` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input InviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `email` field.""" - email: ConstructiveInternalTypeEmail - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID - - """Checks for equality with the object’s `inviteToken` field.""" - inviteToken: String - - """Checks for equality with the object’s `inviteValid` field.""" - inviteValid: Boolean - - """Checks for equality with the object’s `inviteLimit` field.""" - inviteLimit: Int - - """Checks for equality with the object’s `inviteCount` field.""" - inviteCount: Int - - """Checks for equality with the object’s `multiple` field.""" - multiple: Boolean - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `expiresAt` field.""" - expiresAt: Datetime - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -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 -} - -""" -A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ -""" -input ConstructiveInternalTypeEmailFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean + """A cursor for use in pagination.""" + cursor: Cursor - """Equal to the specified value.""" - equalTo: String + """The `AppStep` at the end of the edge.""" + node: AppStep +} - """Not equal to the specified value.""" - notEqualTo: String +"""Methods to use when ordering `AppStep`.""" +enum AppStepOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `AppAchievement` values.""" +type AppAchievementConnection { + """A list of `AppAchievement` objects.""" + nodes: [AppAchievement]! """ - Not equal to the specified value, treating null like an ordinary value. + A list of edges which contains the `AppAchievement` and cursor to aid in pagination. """ - distinctFrom: String - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: String + edges: [AppAchievementEdge]! - """Included in the specified list.""" - in: [String!] + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Not included in the specified list.""" - notIn: [String!] + """The count of *all* `AppAchievement` you could get from the connection.""" + totalCount: Int! +} - """Less than the specified value.""" - lessThan: String +""" +Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually +""" +type AppAchievement { + id: UUID! + actorId: UUID! - """Less than or equal to the specified value.""" - lessThanOrEqualTo: String + """Name identifier of the level requirement being tracked""" + name: String! - """Greater than the specified value.""" - greaterThan: String + """Cumulative count of completed steps toward this requirement""" + count: Int! + createdAt: Datetime + updatedAt: Datetime - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: String + """Reads a single `User` that is related to this `AppAchievement`.""" + actor: User +} - """Contains the specified string (case-sensitive).""" - includes: String +"""A `AppAchievement` edge in the connection.""" +type AppAchievementEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Does not contain the specified string (case-sensitive).""" - notIncludes: String + """The `AppAchievement` at the end of the edge.""" + node: AppAchievement +} - """Contains the specified string (case-insensitive).""" - includesInsensitive: ConstructiveInternalTypeEmail +"""Methods to use when ordering `AppAchievement`.""" +enum AppAchievementOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + NAME_ASC + NAME_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} - """Does not contain the specified string (case-insensitive).""" - notIncludesInsensitive: ConstructiveInternalTypeEmail +"""A connection to a list of `Invite` values.""" +type InviteConnection { + """A list of `Invite` objects.""" + nodes: [Invite]! - """Starts with the specified string (case-sensitive).""" - startsWith: String + """ + A list of edges which contains the `Invite` and cursor to aid in pagination. + """ + edges: [InviteEdge]! - """Does not start with the specified string (case-sensitive).""" - notStartsWith: String + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Starts with the specified string (case-insensitive).""" - startsWithInsensitive: ConstructiveInternalTypeEmail + """The count of *all* `Invite` you could get from the connection.""" + totalCount: Int! +} - """Does not start with the specified string (case-insensitive).""" - notStartsWithInsensitive: ConstructiveInternalTypeEmail +""" +Invitation records sent to prospective members via email, with token-based redemption and expiration +""" +type Invite { + id: UUID! - """Ends with the specified string (case-sensitive).""" - endsWith: String + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail - """Does not end with the specified string (case-sensitive).""" - notEndsWith: String + """User ID of the member who sent this invitation""" + senderId: UUID! - """Ends with the specified string (case-insensitive).""" - endsWithInsensitive: ConstructiveInternalTypeEmail + """Unique random hex token used to redeem this invitation""" + inviteToken: String! - """Does not end with the specified string (case-insensitive).""" - notEndsWithInsensitive: ConstructiveInternalTypeEmail + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean! - """ - 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 + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int! - """ - 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 + """Running count of how many times this invite has been claimed""" + inviteCount: Int! - """ - 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 + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean! - """ - 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 + """Optional JSON payload of additional invite metadata""" + data: JSON - """Equal to the specified value (case-insensitive).""" - equalToInsensitive: ConstructiveInternalTypeEmail + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime! + createdAt: Datetime + updatedAt: Datetime - """Not equal to the specified value (case-insensitive).""" - notEqualToInsensitive: ConstructiveInternalTypeEmail + """Reads a single `User` that is related to this `Invite`.""" + sender: User """ - Not equal to the specified value, treating null like an ordinary value (case-insensitive). + TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. """ - distinctFromInsensitive: ConstructiveInternalTypeEmail + inviteTokenTrgmSimilarity: Float """ - Equal to the specified value, treating null like an ordinary value (case-insensitive). + 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. """ - notDistinctFromInsensitive: ConstructiveInternalTypeEmail - - """Included in the specified list (case-insensitive).""" - inInsensitive: [ConstructiveInternalTypeEmail!] - - """Not included in the specified list (case-insensitive).""" - notInInsensitive: [ConstructiveInternalTypeEmail!] - - """Less than the specified value (case-insensitive).""" - lessThanInsensitive: ConstructiveInternalTypeEmail - - """Less than or equal to the specified value (case-insensitive).""" - lessThanOrEqualToInsensitive: ConstructiveInternalTypeEmail + searchScore: Float +} - """Greater than the specified value (case-insensitive).""" - greaterThanInsensitive: ConstructiveInternalTypeEmail +"""A `Invite` edge in the connection.""" +type InviteEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Greater than or equal to the specified value (case-insensitive).""" - greaterThanOrEqualToInsensitive: ConstructiveInternalTypeEmail + """The `Invite` at the end of the edge.""" + node: Invite } """Methods to use when ordering `Invite`.""" @@ -20764,6 +23015,10 @@ 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.""" @@ -20816,59 +23071,6 @@ type ClaimedInviteEdge { node: ClaimedInvite } -""" -A condition to be used against `ClaimedInvite` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input ClaimedInviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID - - """Checks for equality with the object’s `receiverId` field.""" - receiverId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -A filter to be used against `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ -""" -input ClaimedInviteFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `senderId` field.""" - senderId: UUIDFilter - - """Filter by the object’s `receiverId` field.""" - receiverId: 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: [ClaimedInviteFilter!] - - """Checks for any expressions in this list.""" - or: [ClaimedInviteFilter!] - - """Negates the expression.""" - not: ClaimedInviteFilter -} - """Methods to use when ordering `ClaimedInvite`.""" enum ClaimedInviteOrderBy { NATURAL @@ -20950,6 +23152,16 @@ 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.""" @@ -20961,107 +23173,6 @@ type OrgInviteEdge { node: OrgInvite } -""" -A condition to be used against `OrgInvite` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input OrgInviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `email` field.""" - email: ConstructiveInternalTypeEmail - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID - - """Checks for equality with the object’s `receiverId` field.""" - receiverId: UUID - - """Checks for equality with the object’s `inviteToken` field.""" - inviteToken: String - - """Checks for equality with the object’s `inviteValid` field.""" - inviteValid: Boolean - - """Checks for equality with the object’s `inviteLimit` field.""" - inviteLimit: Int - - """Checks for equality with the object’s `inviteCount` field.""" - inviteCount: Int - - """Checks for equality with the object’s `multiple` field.""" - multiple: Boolean - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `expiresAt` field.""" - expiresAt: Datetime - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - -""" -A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ -""" -input OrgInviteFilter { - """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 `receiverId` field.""" - receiverId: 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 - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [OrgInviteFilter!] - - """Checks for any expressions in this list.""" - or: [OrgInviteFilter!] - - """Negates the expression.""" - not: OrgInviteFilter -} - """Methods to use when ordering `OrgInvite`.""" enum OrgInviteOrderBy { NATURAL @@ -21085,6 +23196,10 @@ 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.""" @@ -21143,65 +23258,6 @@ type OrgClaimedInviteEdge { node: OrgClaimedInvite } -""" -A condition to be used against `OrgClaimedInvite` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgClaimedInviteCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `data` field.""" - data: JSON - - """Checks for equality with the object’s `senderId` field.""" - senderId: UUID - - """Checks for equality with the object’s `receiverId` field.""" - receiverId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - -""" -A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ -""" -input OrgClaimedInviteFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `senderId` field.""" - senderId: UUIDFilter - - """Filter by the object’s `receiverId` field.""" - receiverId: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [OrgClaimedInviteFilter!] - - """Checks for any expressions in this list.""" - or: [OrgClaimedInviteFilter!] - - """Negates the expression.""" - not: OrgClaimedInviteFilter -} - """Methods to use when ordering `OrgClaimedInvite`.""" enum OrgClaimedInviteOrderBy { NATURAL @@ -21246,6 +23302,16 @@ 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.""" @@ -21257,26 +23323,6 @@ type RefEdge { node: Ref } -""" -A condition to be used against `Ref` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input RefCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `storeId` field.""" - storeId: UUID - - """Checks for equality with the object’s `commitId` field.""" - commitId: UUID -} - """ A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ """ @@ -21304,6 +23350,17 @@ 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`.""" @@ -21317,6 +23374,10 @@ 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.""" @@ -21350,6 +23411,16 @@ 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.""" @@ -21361,26 +23432,6 @@ type StoreEdge { node: Store } -""" -A condition to be used against `Store` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input StoreCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `hash` field.""" - hash: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime -} - """ A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ """ @@ -21408,6 +23459,17 @@ 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`.""" @@ -21419,6 +23481,10 @@ 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.""" @@ -21446,58 +23512,174 @@ Stores the default permission bitmask assigned to new members upon joining type AppPermissionDefault { id: UUID! - """Default permission bitmask applied to new members""" - permissions: BitString! + """Default permission bitmask applied to new members""" + permissions: BitString! +} + +"""A `AppPermissionDefault` edge in the connection.""" +type AppPermissionDefaultEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppPermissionDefault` at the end of the edge.""" + node: AppPermissionDefault +} + +""" +A filter to be used against `AppPermissionDefault` object types. All fields are combined with a logical ‘and.’ +""" +input AppPermissionDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Checks for all expressions in this list.""" + and: [AppPermissionDefaultFilter!] + + """Checks for any expressions in this list.""" + or: [AppPermissionDefaultFilter!] + + """Negates the expression.""" + not: AppPermissionDefaultFilter +} + +"""Methods to use when ordering `AppPermissionDefault`.""" +enum AppPermissionDefaultOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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 `AppPermissionDefault` edge in the connection.""" -type AppPermissionDefaultEdge { +"""A `CryptoAddress` edge in the connection.""" +type CryptoAddressEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `AppPermissionDefault` at the end of the edge.""" - node: AppPermissionDefault -} - -""" -A condition to be used against `AppPermissionDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input AppPermissionDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString + """The `CryptoAddress` at the end of the edge.""" + node: CryptoAddress } """ -A filter to be used against `AppPermissionDefault` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ """ -input AppPermissionDefaultFilter { +input CryptoAddressFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter + """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: [AppPermissionDefaultFilter!] + and: [CryptoAddressFilter!] """Checks for any expressions in this list.""" - or: [AppPermissionDefaultFilter!] + or: [CryptoAddressFilter!] """Negates the expression.""" - not: AppPermissionDefaultFilter + 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 `AppPermissionDefault`.""" -enum AppPermissionDefaultOrderBy { +"""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.""" @@ -21526,38 +23708,6 @@ type RoleTypeEdge { node: RoleType } -""" -A condition to be used against `RoleType` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input RoleTypeCondition { - """Checks for equality with the object’s `id` field.""" - id: Int - - """Checks for equality with the object’s `name` field.""" - name: String -} - -""" -A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ -""" -input RoleTypeFilter { - """Filter by the object’s `id` field.""" - id: IntFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Checks for all expressions in this list.""" - and: [RoleTypeFilter!] - - """Checks for any expressions in this list.""" - or: [RoleTypeFilter!] - - """Negates the expression.""" - not: RoleTypeFilter -} - """Methods to use when ordering `RoleType`.""" enum RoleTypeOrderBy { NATURAL @@ -21613,21 +23763,6 @@ type OrgPermissionDefaultEdge { node: OrgPermissionDefault } -""" -A condition to be used against `OrgPermissionDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input OrgPermissionDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID -} - """ A filter to be used against `OrgPermissionDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -21649,6 +23784,9 @@ input OrgPermissionDefaultFilter { """Negates the expression.""" not: OrgPermissionDefaultFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter } """Methods to use when ordering `OrgPermissionDefault`.""" @@ -21660,95 +23798,87 @@ enum OrgPermissionDefaultOrderBy { ID_DESC } -"""A connection to a list of `CryptoAddress` values.""" -type CryptoAddressConnection { - """A list of `CryptoAddress` objects.""" - nodes: [CryptoAddress]! +"""A connection to a list of `PhoneNumber` values.""" +type PhoneNumberConnection { + """A list of `PhoneNumber` objects.""" + nodes: [PhoneNumber]! """ - A list of edges which contains the `CryptoAddress` and cursor to aid in pagination. + A list of edges which contains the `PhoneNumber` and cursor to aid in pagination. """ - edges: [CryptoAddressEdge]! + edges: [PhoneNumberEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `CryptoAddress` you could get from the connection.""" + """The count of *all* `PhoneNumber` you could get from the connection.""" totalCount: Int! } """ -Cryptocurrency wallet addresses owned by users, with network-specific validation and verification +User phone numbers with country code, verification, and primary-number management """ -type CryptoAddress { +type PhoneNumber { id: UUID! ownerId: UUID! - """ - The cryptocurrency wallet address, validated against network-specific patterns - """ - address: String! + """Country calling code (e.g. +1, +44)""" + cc: String! - """Whether ownership of this address has been cryptographically verified""" + """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 cryptocurrency 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 `CryptoAddress`.""" + """Reads a single `User` that is related to this `PhoneNumber`.""" 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 -} - -""" -A condition to be used against `CryptoAddress` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input CryptoAddressCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `address` field.""" - address: String + """ + TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. + """ + ccTrgmSimilarity: Float - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean + """ + TRGM similarity when searching `number`. Returns null when no trgm search filter is active. + """ + numberTrgmSimilarity: Float - """Checks for equality with the object’s `isPrimary` field.""" - isPrimary: 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. + """ + searchScore: Float +} - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime +"""A `PhoneNumber` edge in the connection.""" +type PhoneNumberEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime + """The `PhoneNumber` at the end of the edge.""" + node: PhoneNumber } """ -A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ """ -input CryptoAddressFilter { +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 `address` field.""" - address: StringFilter + """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 @@ -21763,28 +23893,51 @@ input CryptoAddressFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [CryptoAddressFilter!] + and: [PhoneNumberFilter!] """Checks for any expressions in this list.""" - or: [CryptoAddressFilter!] + or: [PhoneNumberFilter!] """Negates the expression.""" - not: CryptoAddressFilter + 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 `CryptoAddress`.""" -enum CryptoAddressOrderBy { +"""Methods to use when ordering `PhoneNumber`.""" +enum PhoneNumberOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC ID_ASC ID_DESC - ADDRESS_ASC - ADDRESS_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.""" @@ -21828,21 +23981,6 @@ type AppLimitDefaultEdge { node: AppLimitDefault } -""" -A condition to be used against `AppLimitDefault` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppLimitDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `max` field.""" - max: Int -} - """ A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -21918,21 +24056,6 @@ type OrgLimitDefaultEdge { node: OrgLimitDefault } -""" -A condition to be used against `OrgLimitDefault` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgLimitDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `max` field.""" - max: Int -} - """ A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -22009,6 +24132,21 @@ type ConnectedAccount { """Reads a single `User` that is related to this `ConnectedAccount`.""" owner: User + + """ + TRGM similarity when searching `service`. Returns null when no trgm search filter is active. + """ + serviceTrgmSimilarity: Float + + """ + TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. + """ + identifierTrgmSimilarity: 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 `ConnectedAccount` edge in the connection.""" @@ -22020,36 +24158,6 @@ type ConnectedAccountEdge { node: ConnectedAccount } -""" -A condition to be used against `ConnectedAccount` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input ConnectedAccountCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `service` field.""" - service: String - - """Checks for equality with the object’s `identifier` field.""" - identifier: String - - """Checks for equality with the object’s `details` field.""" - details: JSON - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ """ @@ -22086,6 +24194,23 @@ input 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`.""" @@ -22103,242 +24228,12 @@ enum ConnectedAccountOrderBy { 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 -} - -""" -A condition to be used against `PhoneNumber` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input PhoneNumberCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `cc` field.""" - cc: String - - """Checks for equality with the object’s `number` field.""" - number: String - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean - - """Checks for equality with the object’s `isPrimary` field.""" - isPrimary: Boolean - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - -""" -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 -} - -"""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 -} - -"""A connection to a list of `MembershipType` values.""" -type MembershipTypeConnection { - """A list of `MembershipType` objects.""" - nodes: [MembershipType]! - - """ - A list of edges which contains the `MembershipType` and cursor to aid in pagination. - """ - edges: [MembershipTypeEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `MembershipType` you could get from the connection.""" - totalCount: Int! -} - -""" -Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) -""" -type MembershipType { - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! - - """Human-readable name of the membership type""" - name: String! - - """Description of what this membership type represents""" - description: String! - - """ - Short prefix used to namespace tables and functions for this membership scope - """ - prefix: String! -} - -"""A `MembershipType` edge in the connection.""" -type MembershipTypeEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `MembershipType` at the end of the edge.""" - node: MembershipType -} - -""" -A condition to be used against `MembershipType` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input MembershipTypeCondition { - """Checks for equality with the object’s `id` field.""" - id: Int - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `description` field.""" - description: String - - """Checks for equality with the object’s `prefix` field.""" - prefix: String -} - -""" -A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ -""" -input MembershipTypeFilter { - """Filter by the object’s `id` field.""" - id: IntFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `description` field.""" - description: StringFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Checks for all expressions in this list.""" - and: [MembershipTypeFilter!] - - """Checks for any expressions in this list.""" - or: [MembershipTypeFilter!] - - """Negates the expression.""" - not: MembershipTypeFilter -} - -"""Methods to use when ordering `MembershipType`.""" -enum MembershipTypeOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - NAME_ASC - NAME_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.""" @@ -22394,6 +24289,36 @@ 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.""" @@ -22405,39 +24330,6 @@ type NodeTypeRegistryEdge { node: NodeTypeRegistry } -""" -A condition to be used against `NodeTypeRegistry` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input NodeTypeRegistryCondition { - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `slug` field.""" - slug: String - - """Checks for equality with the object’s `category` field.""" - category: String - - """Checks for equality with the object’s `displayName` field.""" - displayName: String - - """Checks for equality with the object’s `description` field.""" - description: String - - """Checks for equality with the object’s `parameterSchema` field.""" - parameterSchema: JSON - - """Checks for equality with the object’s `tags` field.""" - tags: [String] - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `NodeTypeRegistry` object types. All fields are combined with a logical ‘and.’ """ @@ -22477,6 +24369,29 @@ 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`.""" @@ -22490,27 +24405,137 @@ 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.""" +type MembershipTypeConnection { + """A list of `MembershipType` objects.""" + nodes: [MembershipType]! + + """ + A list of edges which contains the `MembershipType` and cursor to aid in pagination. + """ + edges: [MembershipTypeEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `MembershipType` you could get from the connection.""" + totalCount: Int! } """ -A condition to be used against `AppPermission` object types. All fields are -tested for equality and combined with a logical ‘and.’ +Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) """ -input AppPermissionCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +type MembershipType { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! - """Checks for equality with the object’s `name` field.""" - name: String + """Human-readable name of the membership type""" + name: String! - """Checks for equality with the object’s `bitnum` field.""" - bitnum: Int + """Description of what this membership type represents""" + description: String! - """Checks for equality with the object’s `bitstr` field.""" - bitstr: BitString + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String! - """Checks for equality with the object’s `description` field.""" - description: 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.""" +type MembershipTypeEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `MembershipType` at the end of the edge.""" + node: MembershipType +} + +""" +A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ +""" +input MembershipTypeFilter { + """Filter by the object’s `id` field.""" + id: IntFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `prefix` field.""" + prefix: StringFilter + + """Checks for all expressions in this list.""" + and: [MembershipTypeFilter!] + + """Checks for any expressions in this list.""" + or: [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`.""" +enum MembershipTypeOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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 } """ @@ -22540,6 +24565,17 @@ 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`.""" @@ -22553,27 +24589,10 @@ enum AppPermissionOrderBy { NAME_DESC BITNUM_ASC BITNUM_DESC -} - -""" -A condition to be used against `OrgPermission` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input OrgPermissionCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `bitnum` field.""" - bitnum: Int - - """Checks for equality with the object’s `bitstr` field.""" - bitstr: BitString - - """Checks for equality with the object’s `description` field.""" - description: String + DESCRIPTION_TRGM_SIMILARITY_ASC + DESCRIPTION_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """ @@ -22603,6 +24622,17 @@ 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`.""" @@ -22616,6 +24646,10 @@ 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.""" @@ -22663,33 +24697,6 @@ type AppMembershipDefaultEdge { node: AppMembershipDefault } -""" -A condition to be used against `AppMembershipDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input AppMembershipDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID - - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean -} - """ A filter to be used against `AppMembershipDefault` object types. All fields are combined with a logical ‘and.’ """ @@ -22742,30 +24749,51 @@ enum AppMembershipDefaultOrderBy { UPDATED_BY_DESC } -""" -A condition to be used against `Object` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input ObjectCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID +"""A connection to a list of `RlsModule` values.""" +type RlsModuleConnection { + """A list of `RlsModule` objects.""" + nodes: [RlsModule]! - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID + """ + A list of edges which contains the `RlsModule` and cursor to aid in pagination. + """ + edges: [RlsModuleEdge]! - """Checks for equality with the object’s `kids` field.""" - kids: [UUID] + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Checks for equality with the object’s `ktree` field.""" - ktree: [String] + """The count of *all* `RlsModule` you could get from the connection.""" + totalCount: Int! +} - """Checks for equality with the object’s `data` field.""" - data: JSON +"""A `RlsModule` edge in the connection.""" +type RlsModuleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Checks for equality with the object’s `frzn` field.""" - frzn: Boolean + """The `RlsModule` at the end of the edge.""" + node: RlsModule +} - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime +"""Methods to use when ordering `RlsModule`.""" +enum RlsModuleOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + 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 } """ @@ -22857,6 +24885,16 @@ 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.""" @@ -22868,38 +24906,6 @@ type CommitEdge { node: Commit } -""" -A condition to be used against `Commit` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input CommitCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `message` field.""" - message: String - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `storeId` field.""" - storeId: UUID - - """Checks for equality with the object’s `parentIds` field.""" - parentIds: [UUID] - - """Checks for equality with the object’s `authorId` field.""" - authorId: UUID - - """Checks for equality with the object’s `committerId` field.""" - committerId: UUID - - """Checks for equality with the object’s `treeId` field.""" - treeId: UUID - - """Checks for equality with the object’s `date` field.""" - date: Datetime -} - """ A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ """ @@ -22939,6 +24945,17 @@ 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`.""" @@ -22950,6 +24967,10 @@ enum CommitOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC + MESSAGE_TRGM_SIMILARITY_ASC + MESSAGE_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """A connection to a list of `OrgMembershipDefault` values.""" @@ -22980,84 +25001,6 @@ type OrgMembershipDefaultEdge { node: OrgMembershipDefault } -""" -A condition to be used against `OrgMembershipDefault` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input OrgMembershipDefaultCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID - - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean - - """Checks for equality with the object’s `entityId` field.""" - entityId: UUID - - """ - Checks for equality with the object’s `deleteMemberCascadeGroups` field. - """ - deleteMemberCascadeGroups: Boolean - - """ - Checks for equality with the object’s `createGroupsCascadeMembers` field. - """ - createGroupsCascadeMembers: Boolean -} - -""" -A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ -""" -input OrgMembershipDefaultFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Filter by the object’s `createdBy` field.""" - createdBy: UUIDFilter - - """Filter by the object’s `updatedBy` field.""" - updatedBy: UUIDFilter - - """Filter by the object’s `isApproved` field.""" - isApproved: BooleanFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Filter by the object’s `deleteMemberCascadeGroups` field.""" - deleteMemberCascadeGroups: BooleanFilter - - """Filter by the object’s `createGroupsCascadeMembers` field.""" - createGroupsCascadeMembers: BooleanFilter - - """Checks for all expressions in this list.""" - and: [OrgMembershipDefaultFilter!] - - """Checks for any expressions in this list.""" - or: [OrgMembershipDefaultFilter!] - - """Negates the expression.""" - not: OrgMembershipDefaultFilter -} - """Methods to use when ordering `OrgMembershipDefault`.""" enum OrgMembershipDefaultOrderBy { NATURAL @@ -23077,36 +25020,6 @@ enum OrgMembershipDefaultOrderBy { ENTITY_ID_DESC } -""" -A condition to be used against `AppLevelRequirement` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input AppLevelRequirementCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `level` field.""" - level: String - - """Checks for equality with the object’s `description` field.""" - description: String - - """Checks for equality with the object’s `requiredCount` field.""" - requiredCount: Int - - """Checks for equality with the object’s `priority` field.""" - priority: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ """ @@ -23143,6 +25056,17 @@ 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`.""" @@ -23162,6 +25086,10 @@ 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.""" @@ -23212,6 +25140,16 @@ type AuditLog { """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 @@ -23225,36 +25163,6 @@ type AuditLogEdge { node: AuditLog } -""" -A condition to be used against `AuditLog` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AuditLogCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `event` field.""" - event: String - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `origin` field.""" - origin: ConstructiveInternalTypeOrigin - - """Checks for equality with the object’s `userAgent` field.""" - userAgent: String - - """Checks for equality with the object’s `ipAddress` field.""" - ipAddress: InternetAddress - - """Checks for equality with the object’s `success` field.""" - success: Boolean - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime -} - """ A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ """ @@ -23291,6 +25199,20 @@ input 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 } """ @@ -23491,6 +25413,10 @@ enum AuditLogOrderBy { 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.""" @@ -23532,6 +25458,16 @@ type AppLevel { """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.""" @@ -23543,33 +25479,6 @@ type AppLevelEdge { node: AppLevel } -""" -A condition to be used against `AppLevel` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input AppLevelCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `description` field.""" - description: String - - """Checks for equality with the object’s `image` field.""" - image: ConstructiveInternalTypeImage - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} - """ A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ """ @@ -23603,6 +25512,23 @@ input 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`.""" @@ -23618,292 +25544,303 @@ enum AppLevelOrderBy { 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 `Email` values.""" -type EmailConnection { - """A list of `Email` objects.""" - nodes: [Email]! +"""A connection to a list of `SqlMigration` values.""" +type SqlMigrationConnection { + """A list of `SqlMigration` objects.""" + nodes: [SqlMigration]! """ - A list of edges which contains the `Email` and cursor to aid in pagination. + A list of edges which contains the `SqlMigration` and cursor to aid in pagination. """ - edges: [EmailEdge]! + edges: [SqlMigrationEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `Email` you could get from the connection.""" + """The count of *all* `SqlMigration` you could get from the connection.""" totalCount: Int! } -"""User email addresses with verification and primary-email management""" -type Email { - id: UUID! - ownerId: UUID! +type SqlMigration { + id: Int + name: String + databaseId: UUID + deploy: String + deps: [String] + payload: JSON + content: String + revert: String + verify: String + createdAt: Datetime + action: String + actionId: UUID + actorId: UUID - """The email address""" - email: ConstructiveInternalTypeEmail! + """ + TRGM similarity when searching `name`. Returns null when no trgm search filter is active. + """ + nameTrgmSimilarity: Float - """Whether the email address has been verified via confirmation link""" - isVerified: Boolean! + """ + TRGM similarity when searching `deploy`. Returns null when no trgm search filter is active. + """ + deployTrgmSimilarity: Float - """Whether this is the user's primary email address""" - isPrimary: Boolean! - createdAt: Datetime - updatedAt: Datetime + """ + TRGM similarity when searching `content`. Returns null when no trgm search filter is active. + """ + contentTrgmSimilarity: Float - """Reads a single `User` that is related to this `Email`.""" - owner: User + """ + 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 `Email` edge in the connection.""" -type EmailEdge { +"""A `SqlMigration` edge in the connection.""" +type SqlMigrationEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `Email` at the end of the edge.""" - node: Email + """The `SqlMigration` at the end of the edge.""" + node: SqlMigration } """ -A condition to be used against `Email` object types. All fields are tested for equality and combined with a logical ‘and.’ +A filter to be used against `SqlMigration` object types. All fields are combined with a logical ‘and.’ """ -input EmailCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `ownerId` field.""" - ownerId: UUID - - """Checks for equality with the object’s `email` field.""" - email: ConstructiveInternalTypeEmail - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean - - """Checks for equality with the object’s `isPrimary` field.""" - isPrimary: Boolean +input SqlMigrationFilter { + """Filter by the object’s `id` field.""" + id: IntFilter - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime + """Filter by the object’s `name` field.""" + name: StringFilter - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime -} + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter -""" -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 `deploy` field.""" + deploy: StringFilter - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter + """Filter by the object’s `deps` field.""" + deps: StringListFilter - """Filter by the object’s `email` field.""" - email: ConstructiveInternalTypeEmailFilter + """Filter by the object’s `content` field.""" + content: StringFilter - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter + """Filter by the object’s `revert` field.""" + revert: StringFilter - """Filter by the object’s `isPrimary` field.""" - isPrimary: BooleanFilter + """Filter by the object’s `verify` field.""" + verify: StringFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter + """Filter by the object’s `action` field.""" + action: StringFilter + + """Filter by the object’s `actionId` field.""" + actionId: UUIDFilter + + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter """Checks for all expressions in this list.""" - and: [EmailFilter!] + and: [SqlMigrationFilter!] """Checks for any expressions in this list.""" - or: [EmailFilter!] + or: [SqlMigrationFilter!] """Negates the expression.""" - not: EmailFilter + 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 `Email`.""" -enum EmailOrderBy { +"""Methods to use when ordering `SqlMigration`.""" +enum SqlMigrationOrderBy { NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC ID_ASC ID_DESC - EMAIL_ASC - EMAIL_DESC + NAME_ASC + NAME_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + DEPLOY_ASC + DEPLOY_DESC + CONTENT_ASC + CONTENT_DESC + REVERT_ASC + REVERT_DESC + VERIFY_ASC + VERIFY_DESC CREATED_AT_ASC CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC + ACTION_ASC + ACTION_DESC + ACTION_ID_ASC + 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 `SqlMigration` values.""" -type SqlMigrationConnection { - """A list of `SqlMigration` objects.""" - nodes: [SqlMigration]! +"""A connection to a list of `Email` values.""" +type EmailConnection { + """A list of `Email` objects.""" + nodes: [Email]! """ - A list of edges which contains the `SqlMigration` and cursor to aid in pagination. + A list of edges which contains the `Email` and cursor to aid in pagination. """ - edges: [SqlMigrationEdge]! + edges: [EmailEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `SqlMigration` you could get from the connection.""" + """The count of *all* `Email` you could get from the connection.""" totalCount: Int! } -type SqlMigration { - id: Int - name: String - databaseId: UUID - deploy: String - deps: [String] - payload: JSON - content: String - revert: String - verify: String - createdAt: Datetime - action: String - actionId: UUID - actorId: UUID -} - -"""A `SqlMigration` edge in the connection.""" -type SqlMigrationEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `SqlMigration` at the end of the edge.""" - node: SqlMigration -} - -""" -A condition to be used against `SqlMigration` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input SqlMigrationCondition { - """Checks for equality with the object’s `id` field.""" - id: Int - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `deploy` field.""" - deploy: String - - """Checks for equality with the object’s `deps` field.""" - deps: [String] - - """Checks for equality with the object’s `payload` field.""" - payload: JSON - - """Checks for equality with the object’s `content` field.""" - content: String +"""User email addresses with verification and primary-email management""" +type Email { + id: UUID! + ownerId: UUID! - """Checks for equality with the object’s `revert` field.""" - revert: String + """The email address""" + email: ConstructiveInternalTypeEmail! - """Checks for equality with the object’s `verify` field.""" - verify: String + """Whether the email address has been verified via confirmation link""" + isVerified: Boolean! - """Checks for equality with the object’s `createdAt` field.""" + """Whether this is the user's primary email address""" + isPrimary: Boolean! createdAt: Datetime + updatedAt: Datetime - """Checks for equality with the object’s `action` field.""" - action: String + """Reads a single `User` that is related to this `Email`.""" + owner: User +} - """Checks for equality with the object’s `actionId` field.""" - actionId: UUID +"""A `Email` edge in the connection.""" +type EmailEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID + """The `Email` at the end of the edge.""" + node: Email } """ -A filter to be used against `SqlMigration` 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 SqlMigrationFilter { +input EmailFilter { """Filter by the object’s `id` field.""" - id: IntFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `deploy` field.""" - deploy: StringFilter + id: UUIDFilter - """Filter by the object’s `deps` field.""" - deps: StringListFilter + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter - """Filter by the object’s `content` field.""" - content: StringFilter + """Filter by the object’s `email` field.""" + email: ConstructiveInternalTypeEmailFilter - """Filter by the object’s `revert` field.""" - revert: StringFilter + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter - """Filter by the object’s `verify` field.""" - verify: StringFilter + """Filter by the object’s `isPrimary` field.""" + isPrimary: BooleanFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter - """Filter by the object’s `action` field.""" - action: StringFilter - - """Filter by the object’s `actionId` field.""" - actionId: UUIDFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [SqlMigrationFilter!] + and: [EmailFilter!] """Checks for any expressions in this list.""" - or: [SqlMigrationFilter!] + or: [EmailFilter!] """Negates the expression.""" - not: SqlMigrationFilter + not: EmailFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter } -"""Methods to use when ordering `SqlMigration`.""" -enum SqlMigrationOrderBy { +"""Methods to use when ordering `Email`.""" +enum EmailOrderBy { NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC ID_ASC ID_DESC - NAME_ASC - NAME_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - DEPLOY_ASC - DEPLOY_DESC - CONTENT_ASC - CONTENT_DESC - REVERT_ASC - REVERT_DESC - VERIFY_ASC - VERIFY_DESC + EMAIL_ASC + EMAIL_DESC CREATED_AT_ASC CREATED_AT_DESC - ACTION_ASC - ACTION_DESC - ACTION_ID_ASC - ACTION_ID_DESC - ACTOR_ID_ASC - ACTOR_ID_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC } """A connection to a list of `AstMigration` values.""" @@ -23937,6 +25874,16 @@ 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.""" @@ -23948,51 +25895,6 @@ type AstMigrationEdge { node: AstMigration } -""" -A condition to be used against `AstMigration` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AstMigrationCondition { - """Checks for equality with the object’s `id` field.""" - id: Int - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `name` field.""" - name: String - - """Checks for equality with the object’s `requires` field.""" - requires: [String] - - """Checks for equality with the object’s `payload` field.""" - payload: JSON - - """Checks for equality with the object’s `deploys` field.""" - deploys: String - - """Checks for equality with the object’s `deploy` field.""" - deploy: JSON - - """Checks for equality with the object’s `revert` field.""" - revert: JSON - - """Checks for equality with the object’s `verify` field.""" - verify: JSON - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `action` field.""" - action: String - - """Checks for equality with the object’s `actionId` field.""" - actionId: UUID - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID -} - """ A filter to be used against `AstMigration` object types. All fields are combined with a logical ‘and.’ """ @@ -24044,6 +25946,17 @@ 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`.""" @@ -24065,323 +25978,110 @@ 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 `User` values.""" -type UserConnection { - """A list of `User` objects.""" - nodes: [User]! +"""A connection to a list of `AppMembership` values.""" +type AppMembershipConnection { + """A list of `AppMembership` objects.""" + nodes: [AppMembership]! """ - A list of edges which contains the `User` and cursor to aid in pagination. + A list of edges which contains the `AppMembership` and cursor to aid in pagination. """ - edges: [UserEdge]! + edges: [AppMembershipEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `User` you could get from the connection.""" + """The count of *all* `AppMembership` you could get from the connection.""" totalCount: Int! } -"""A `User` edge in the connection.""" -type UserEdge { +"""A `AppMembership` edge in the connection.""" +type AppMembershipEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `User` at the end of the edge.""" - node: User -} - -""" -A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input UserCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `username` field.""" - username: String - - """Checks for equality with the object’s `displayName` field.""" - displayName: String - - """Checks for equality with the object’s `profilePicture` field.""" - profilePicture: ConstructiveInternalTypeImage - - """Checks for equality with the object’s `searchTsv` field.""" - searchTsv: FullText - - """Checks for equality with the object’s `type` field.""" - type: Int - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """ - Full-text search on the `search_tsv` tsvector column using `websearch_to_tsquery`. - """ - fullTextSearchTsv: String -} - -""" -A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ -""" -input UserFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `username` field.""" - username: StringFilter - - """Filter by the object’s `displayName` field.""" - displayName: StringFilter - - """Filter by the object’s `profilePicture` field.""" - profilePicture: ConstructiveInternalTypeImageFilter - - """Filter by the object’s `searchTsv` field.""" - searchTsv: FullTextFilter - - """Filter by the object’s `type` field.""" - type: IntFilter - - """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: [UserFilter!] - - """Checks for any expressions in this list.""" - or: [UserFilter!] - - """Negates the expression.""" - not: UserFilter -} - -""" -A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ -""" -input FullTextFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: FullText - - """Not equal to the specified value.""" - notEqualTo: FullText - - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: FullText - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: FullText - - """Included in the specified list.""" - in: [FullText!] - - """Not included in the specified list.""" - notIn: [FullText!] - - """Performs a full text search on the field.""" - matches: String + """The `AppMembership` at the end of the edge.""" + node: AppMembership } -"""Methods to use when ordering `User`.""" -enum UserOrderBy { +"""Methods to use when ordering `AppMembership`.""" +enum AppMembershipOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC ID_ASC ID_DESC - USERNAME_ASC - USERNAME_DESC - SEARCH_TSV_ASC - SEARCH_TSV_DESC CREATED_AT_ASC CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - SEARCH_TSV_RANK_ASC - SEARCH_TSV_RANK_DESC + CREATED_BY_ASC + CREATED_BY_DESC + UPDATED_BY_ASC + UPDATED_BY_DESC + IS_OWNER_ASC + IS_OWNER_DESC + IS_ADMIN_ASC + IS_ADMIN_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC + PROFILE_ID_ASC + PROFILE_ID_DESC } -"""A connection to a list of `AppMembership` values.""" -type AppMembershipConnection { - """A list of `AppMembership` objects.""" - nodes: [AppMembership]! +"""A connection to a list of `User` values.""" +type UserConnection { + """A list of `User` objects.""" + nodes: [User]! """ - A list of edges which contains the `AppMembership` and cursor to aid in pagination. + A list of edges which contains the `User` and cursor to aid in pagination. """ - edges: [AppMembershipEdge]! + edges: [UserEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `AppMembership` you could get from the connection.""" + """The count of *all* `User` you could get from the connection.""" totalCount: Int! } -"""A `AppMembership` edge in the connection.""" -type AppMembershipEdge { +"""A `User` edge in the connection.""" +type UserEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `AppMembership` at the end of the edge.""" - node: AppMembership -} - -""" -A condition to be used against `AppMembership` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input AppMembershipCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime - - """Checks for equality with the object’s `updatedAt` field.""" - updatedAt: Datetime - - """Checks for equality with the object’s `createdBy` field.""" - createdBy: UUID - - """Checks for equality with the object’s `updatedBy` field.""" - updatedBy: UUID - - """Checks for equality with the object’s `isApproved` field.""" - isApproved: Boolean - - """Checks for equality with the object’s `isBanned` field.""" - isBanned: Boolean - - """Checks for equality with the object’s `isDisabled` field.""" - isDisabled: Boolean - - """Checks for equality with the object’s `isVerified` field.""" - isVerified: Boolean - - """Checks for equality with the object’s `isActive` field.""" - isActive: Boolean - - """Checks for equality with the object’s `isOwner` field.""" - isOwner: Boolean - - """Checks for equality with the object’s `isAdmin` field.""" - isAdmin: Boolean - - """Checks for equality with the object’s `permissions` field.""" - permissions: BitString - - """Checks for equality with the object’s `granted` field.""" - granted: BitString - - """Checks for equality with the object’s `actorId` field.""" - actorId: UUID - - """Checks for equality with the object’s `profileId` field.""" - profileId: UUID -} - -""" -A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ -""" -input AppMembershipFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Filter by the object’s `createdBy` field.""" - createdBy: UUIDFilter - - """Filter by the object’s `updatedBy` field.""" - updatedBy: UUIDFilter - - """Filter by the object’s `isApproved` field.""" - isApproved: BooleanFilter - - """Filter by the object’s `isBanned` field.""" - isBanned: BooleanFilter - - """Filter by the object’s `isDisabled` field.""" - isDisabled: BooleanFilter - - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter - - """Filter by the object’s `isActive` field.""" - isActive: BooleanFilter - - """Filter by the object’s `isOwner` field.""" - isOwner: BooleanFilter - - """Filter by the object’s `isAdmin` field.""" - isAdmin: BooleanFilter - - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter - - """Filter by the object’s `granted` field.""" - granted: BitStringFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `profileId` field.""" - profileId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [AppMembershipFilter!] - - """Checks for any expressions in this list.""" - or: [AppMembershipFilter!] - - """Negates the expression.""" - not: AppMembershipFilter + """The `User` at the end of the edge.""" + node: User } -"""Methods to use when ordering `AppMembership`.""" -enum AppMembershipOrderBy { +"""Methods to use when ordering `User`.""" +enum UserOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC ID_ASC ID_DESC + USERNAME_ASC + USERNAME_DESC + SEARCH_TSV_ASC + SEARCH_TSV_DESC CREATED_AT_ASC CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - CREATED_BY_ASC - CREATED_BY_DESC - UPDATED_BY_ASC - UPDATED_BY_DESC - IS_OWNER_ASC - IS_OWNER_DESC - IS_ADMIN_ASC - IS_ADMIN_DESC - ACTOR_ID_ASC - ACTOR_ID_DESC - PROFILE_ID_ASC - PROFILE_ID_DESC + SEARCH_TSV_RANK_ASC + SEARCH_TSV_RANK_DESC + DISPLAY_NAME_TRGM_SIMILARITY_ASC + DISPLAY_NAME_TRGM_SIMILARITY_DESC + SEARCH_SCORE_ASC + SEARCH_SCORE_DESC } """A connection to a list of `HierarchyModule` values.""" @@ -24412,150 +26112,6 @@ type HierarchyModuleEdge { node: HierarchyModule } -""" -A condition to be used against `HierarchyModule` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input HierarchyModuleCondition { - """Checks for equality with the object’s `id` field.""" - id: UUID - - """Checks for equality with the object’s `databaseId` field.""" - databaseId: UUID - - """Checks for equality with the object’s `schemaId` field.""" - schemaId: UUID - - """Checks for equality with the object’s `privateSchemaId` field.""" - privateSchemaId: UUID - - """Checks for equality with the object’s `chartEdgesTableId` field.""" - chartEdgesTableId: UUID - - """Checks for equality with the object’s `chartEdgesTableName` field.""" - chartEdgesTableName: String - - """Checks for equality with the object’s `hierarchySprtTableId` field.""" - hierarchySprtTableId: UUID - - """Checks for equality with the object’s `hierarchySprtTableName` field.""" - hierarchySprtTableName: String - - """Checks for equality with the object’s `chartEdgeGrantsTableId` field.""" - chartEdgeGrantsTableId: UUID - - """ - Checks for equality with the object’s `chartEdgeGrantsTableName` field. - """ - chartEdgeGrantsTableName: String - - """Checks for equality with the object’s `entityTableId` field.""" - entityTableId: UUID - - """Checks for equality with the object’s `usersTableId` field.""" - usersTableId: UUID - - """Checks for equality with the object’s `prefix` field.""" - prefix: String - - """Checks for equality with the object’s `privateSchemaName` field.""" - privateSchemaName: String - - """Checks for equality with the object’s `sprtTableName` field.""" - sprtTableName: String - - """ - Checks for equality with the object’s `rebuildHierarchyFunction` field. - """ - rebuildHierarchyFunction: String - - """Checks for equality with the object’s `getSubordinatesFunction` field.""" - getSubordinatesFunction: String - - """Checks for equality with the object’s `getManagersFunction` field.""" - getManagersFunction: String - - """Checks for equality with the object’s `isManagerOfFunction` field.""" - isManagerOfFunction: String - - """Checks for equality with the object’s `createdAt` field.""" - createdAt: Datetime -} - -""" -A filter to be used against `HierarchyModule` object types. All fields are combined with a logical ‘and.’ -""" -input HierarchyModuleFilter { - """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 `privateSchemaId` field.""" - privateSchemaId: UUIDFilter - - """Filter by the object’s `chartEdgesTableId` field.""" - chartEdgesTableId: UUIDFilter - - """Filter by the object’s `chartEdgesTableName` field.""" - chartEdgesTableName: StringFilter - - """Filter by the object’s `hierarchySprtTableId` field.""" - hierarchySprtTableId: UUIDFilter - - """Filter by the object’s `hierarchySprtTableName` field.""" - hierarchySprtTableName: StringFilter - - """Filter by the object’s `chartEdgeGrantsTableId` field.""" - chartEdgeGrantsTableId: UUIDFilter - - """Filter by the object’s `chartEdgeGrantsTableName` field.""" - chartEdgeGrantsTableName: StringFilter - - """Filter by the object’s `entityTableId` field.""" - entityTableId: UUIDFilter - - """Filter by the object’s `usersTableId` field.""" - usersTableId: UUIDFilter - - """Filter by the object’s `prefix` field.""" - prefix: StringFilter - - """Filter by the object’s `privateSchemaName` field.""" - privateSchemaName: StringFilter - - """Filter by the object’s `sprtTableName` field.""" - sprtTableName: StringFilter - - """Filter by the object’s `rebuildHierarchyFunction` field.""" - rebuildHierarchyFunction: StringFilter - - """Filter by the object’s `getSubordinatesFunction` field.""" - getSubordinatesFunction: StringFilter - - """Filter by the object’s `getManagersFunction` field.""" - getManagersFunction: StringFilter - - """Filter by the object’s `isManagerOfFunction` field.""" - isManagerOfFunction: StringFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [HierarchyModuleFilter!] - - """Checks for any expressions in this list.""" - or: [HierarchyModuleFilter!] - - """Negates the expression.""" - not: HierarchyModuleFilter -} - """Methods to use when ordering `HierarchyModule`.""" enum HierarchyModuleOrderBy { NATURAL @@ -24565,6 +26121,28 @@ 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""" @@ -24783,18 +26361,18 @@ type Mutation { """ 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 bootstrapUser( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ input: BootstrapUserInput! ): BootstrapUserPayload + 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. @@ -24938,14 +26516,6 @@ type Mutation { input: CreateOrgMemberInput! ): CreateOrgMemberPayload - """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 `Ref`.""" createRef( """ @@ -24954,14 +26524,6 @@ type Mutation { input: CreateRefInput! ): CreateRefPayload - """Creates a single `Store`.""" - createStore( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateStoreInput! - ): CreateStorePayload - """Creates a single `EncryptedSecretsModule`.""" createEncryptedSecretsModule( """ @@ -24994,6 +26556,30 @@ type Mutation { 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateStoreInput! + ): CreateStorePayload + + """Creates a single `ViewRule`.""" + createViewRule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateViewRuleInput! + ): CreateViewRulePayload + """Creates a single `AppPermissionDefault`.""" createAppPermissionDefault( """ @@ -25034,14 +26620,6 @@ type Mutation { input: CreateTriggerFunctionInput! ): CreateTriggerFunctionPayload - """Creates a single `ViewRule`.""" - createViewRule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateViewRuleInput! - ): CreateViewRulePayload - """Creates a single `AppAdminGrant`.""" createAppAdminGrant( """ @@ -25058,22 +26636,6 @@ type Mutation { input: CreateAppOwnerGrantInput! ): CreateAppOwnerGrantPayload - """Creates a single `RoleType`.""" - createRoleType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateRoleTypeInput! - ): CreateRoleTypePayload - - """Creates a single `OrgPermissionDefault`.""" - createOrgPermissionDefault( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateOrgPermissionDefaultInput! - ): CreateOrgPermissionDefaultPayload - """Creates a single `DefaultPrivilege`.""" createDefaultPrivilege( """ @@ -25154,21 +26716,21 @@ type Mutation { input: CreateCryptoAddressInput! ): CreateCryptoAddressPayload - """Creates a single `AppLimitDefault`.""" - createAppLimitDefault( + """Creates a single `RoleType`.""" + createRoleType( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateAppLimitDefaultInput! - ): CreateAppLimitDefaultPayload + input: CreateRoleTypeInput! + ): CreateRoleTypePayload - """Creates a single `OrgLimitDefault`.""" - createOrgLimitDefault( + """Creates a single `OrgPermissionDefault`.""" + createOrgPermissionDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateOrgLimitDefaultInput! - ): CreateOrgLimitDefaultPayload + input: CreateOrgPermissionDefaultInput! + ): CreateOrgPermissionDefaultPayload """Creates a single `Database`.""" createDatabase( @@ -25186,14 +26748,6 @@ 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( """ @@ -25202,29 +26756,37 @@ type Mutation { input: CreatePhoneNumberInput! ): CreatePhoneNumberPayload - """Creates a single `MembershipType`.""" - createMembershipType( + """Creates a single `AppLimitDefault`.""" + createAppLimitDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateMembershipTypeInput! - ): CreateMembershipTypePayload + input: CreateAppLimitDefaultInput! + ): CreateAppLimitDefaultPayload - """Creates a single `FieldModule`.""" - createFieldModule( + """Creates a single `OrgLimitDefault`.""" + createOrgLimitDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateFieldModuleInput! - ): CreateFieldModulePayload + 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 `TableModule`.""" - createTableModule( + """Creates a single `FieldModule`.""" + createFieldModule( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateTableModuleInput! - ): CreateTableModulePayload + input: CreateFieldModuleInput! + ): CreateFieldModulePayload """Creates a single `TableTemplateModule`.""" createTableTemplateModule( @@ -25250,6 +26812,14 @@ type Mutation { input: CreateNodeTypeRegistryInput! ): CreateNodeTypeRegistryPayload + """Creates a single `MembershipType`.""" + createMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateMembershipTypeInput! + ): CreateMembershipTypePayload + """Creates a single `TableGrant`.""" createTableGrant( """ @@ -25322,6 +26892,22 @@ type Mutation { input: CreateSiteMetadatumInput! ): CreateSiteMetadatumPayload + """Creates a single `RlsModule`.""" + createRlsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateRlsModuleInput! + ): CreateRlsModulePayload + + """Creates a single `SessionsModule`.""" + createSessionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSessionsModuleInput! + ): CreateSessionsModulePayload + """Creates a single `Object`.""" createObject( """ @@ -25386,14 +26972,6 @@ type Mutation { input: CreateDomainInput! ): CreateDomainPayload - """Creates a single `SessionsModule`.""" - createSessionsModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateSessionsModuleInput! - ): CreateSessionsModulePayload - """Creates a single `OrgGrant`.""" createOrgGrant( """ @@ -25410,14 +26988,6 @@ type Mutation { input: CreateOrgMembershipDefaultInput! ): CreateOrgMembershipDefaultPayload - """Creates a single `RlsModule`.""" - createRlsModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateRlsModuleInput! - ): CreateRlsModulePayload - """Creates a single `AppLevelRequirement`.""" createAppLevelRequirement( """ @@ -25442,22 +27012,6 @@ type Mutation { input: CreateAppLevelInput! ): CreateAppLevelPayload - """Creates a single `Email`.""" - createEmail( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateEmailInput! - ): CreateEmailPayload - - """Creates a single `DenormalizedTableField`.""" - createDenormalizedTableField( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateDenormalizedTableFieldInput! - ): CreateDenormalizedTableFieldPayload - """Creates a single `SqlMigration`.""" createSqlMigration( """ @@ -25490,6 +27044,22 @@ type Mutation { input: CreateInvitesModuleInput! ): CreateInvitesModulePayload + """Creates a single `DenormalizedTableField`.""" + createDenormalizedTableField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDenormalizedTableFieldInput! + ): CreateDenormalizedTableFieldPayload + + """Creates a single `Email`.""" + createEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateEmailInput! + ): CreateEmailPayload + """Creates a single `View`.""" createView( """ @@ -25506,37 +27076,37 @@ type Mutation { input: CreatePermissionsModuleInput! ): CreatePermissionsModulePayload - """Creates a single `SecureTableProvision`.""" - createSecureTableProvision( + """Creates a single `LimitsModule`.""" + createLimitsModule( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateSecureTableProvisionInput! - ): CreateSecureTableProvisionPayload + input: CreateLimitsModuleInput! + ): CreateLimitsModulePayload - """Creates a single `AstMigration`.""" - createAstMigration( + """Creates a single `ProfilesModule`.""" + createProfilesModule( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateAstMigrationInput! - ): CreateAstMigrationPayload + input: CreateProfilesModuleInput! + ): CreateProfilesModulePayload - """Creates a single `Trigger`.""" - createTrigger( + """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: CreateTriggerInput! - ): CreateTriggerPayload + input: CreateSecureTableProvisionInput! + ): CreateSecureTableProvisionPayload - """Creates a single `PrimaryKeyConstraint`.""" - createPrimaryKeyConstraint( + """Creates a single `Trigger`.""" + createTrigger( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreatePrimaryKeyConstraintInput! - ): CreatePrimaryKeyConstraintPayload + input: CreateTriggerInput! + ): CreateTriggerPayload """Creates a single `UniqueConstraint`.""" createUniqueConstraint( @@ -25546,6 +27116,14 @@ type Mutation { input: CreateUniqueConstraintInput! ): CreateUniqueConstraintPayload + """Creates a single `PrimaryKeyConstraint`.""" + createPrimaryKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePrimaryKeyConstraintInput! + ): CreatePrimaryKeyConstraintPayload + """Creates a single `CheckConstraint`.""" createCheckConstraint( """ @@ -25562,6 +27140,38 @@ type Mutation { input: CreatePolicyInput! ): CreatePolicyPayload + """Creates a single `AstMigration`.""" + createAstMigration( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAstMigrationInput! + ): CreateAstMigrationPayload + + """Creates a single `AppMembership`.""" + createAppMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateAppMembershipInput! + ): CreateAppMembershipPayload + + """Creates a single `OrgMembership`.""" + createOrgMembership( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateOrgMembershipInput! + ): CreateOrgMembershipPayload + + """Creates a single `Schema`.""" + createSchema( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSchemaInput! + ): CreateSchemaPayload + """Creates a single `App`.""" createApp( """ @@ -25586,45 +27196,13 @@ type Mutation { input: CreateUserInput! ): CreateUserPayload - """Creates a single `LimitsModule`.""" - createLimitsModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateLimitsModuleInput! - ): CreateLimitsModulePayload - - """Creates a single `ProfilesModule`.""" - createProfilesModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateProfilesModuleInput! - ): CreateProfilesModulePayload - - """Creates a single `Index`.""" - createIndex( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateIndexInput! - ): CreateIndexPayload - - """Creates a single `AppMembership`.""" - createAppMembership( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateAppMembershipInput! - ): CreateAppMembershipPayload - - """Creates a single `OrgMembership`.""" - createOrgMembership( + """Creates a single `HierarchyModule`.""" + createHierarchyModule( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateOrgMembershipInput! - ): CreateOrgMembershipPayload + input: CreateHierarchyModuleInput! + ): CreateHierarchyModulePayload """Creates a single `Invite`.""" createInvite( @@ -25634,21 +27212,21 @@ type Mutation { input: CreateInviteInput! ): CreateInvitePayload - """Creates a single `Schema`.""" - createSchema( + """Creates a single `Index`.""" + createIndex( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateSchemaInput! - ): CreateSchemaPayload + input: CreateIndexInput! + ): CreateIndexPayload - """Creates a single `HierarchyModule`.""" - createHierarchyModule( + """Creates a single `ForeignKeyConstraint`.""" + createForeignKeyConstraint( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CreateHierarchyModuleInput! - ): CreateHierarchyModulePayload + input: CreateForeignKeyConstraintInput! + ): CreateForeignKeyConstraintPayload """Creates a single `OrgInvite`.""" createOrgInvite( @@ -25658,14 +27236,6 @@ type Mutation { input: CreateOrgInviteInput! ): CreateOrgInvitePayload - """Creates a single `ForeignKeyConstraint`.""" - createForeignKeyConstraint( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateForeignKeyConstraintInput! - ): CreateForeignKeyConstraintPayload - """Creates a single `Table`.""" createTable( """ @@ -25690,14 +27260,6 @@ type Mutation { input: CreateUserAuthModuleInput! ): CreateUserAuthModulePayload - """Creates a single `Field`.""" - createField( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateFieldInput! - ): CreateFieldPayload - """Creates a single `RelationProvision`.""" createRelationProvision( """ @@ -25706,6 +27268,14 @@ type Mutation { input: CreateRelationProvisionInput! ): CreateRelationProvisionPayload + """Creates a single `Field`.""" + createField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateFieldInput! + ): CreateFieldPayload + """Creates a single `MembershipsModule`.""" createMembershipsModule( """ @@ -25746,14 +27316,6 @@ type Mutation { input: UpdateOrgMemberInput! ): UpdateOrgMemberPayload - """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 `Ref` using a unique key and a patch.""" updateRef( """ @@ -25762,14 +27324,6 @@ type Mutation { input: UpdateRefInput! ): UpdateRefPayload - """Updates a single `Store` using a unique key and a patch.""" - updateStore( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateStoreInput! - ): UpdateStorePayload - """ Updates a single `EncryptedSecretsModule` using a unique key and a patch. """ @@ -25806,6 +27360,30 @@ type Mutation { 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateStoreInput! + ): UpdateStorePayload + + """Updates a single `ViewRule` using a unique key and a patch.""" + updateViewRule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateViewRuleInput! + ): UpdateViewRulePayload + """ Updates a single `AppPermissionDefault` using a unique key and a patch. """ @@ -25848,14 +27426,6 @@ type Mutation { input: UpdateTriggerFunctionInput! ): UpdateTriggerFunctionPayload - """Updates a single `ViewRule` using a unique key and a patch.""" - updateViewRule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateViewRuleInput! - ): UpdateViewRulePayload - """Updates a single `AppAdminGrant` using a unique key and a patch.""" updateAppAdminGrant( """ @@ -25872,24 +27442,6 @@ type Mutation { input: UpdateAppOwnerGrantInput! ): UpdateAppOwnerGrantPayload - """Updates a single `RoleType` using a unique key and a patch.""" - updateRoleType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateRoleTypeInput! - ): UpdateRoleTypePayload - - """ - Updates a single `OrgPermissionDefault` using a unique key and a patch. - """ - updateOrgPermissionDefault( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateOrgPermissionDefaultInput! - ): UpdateOrgPermissionDefaultPayload - """Updates a single `DefaultPrivilege` using a unique key and a patch.""" updateDefaultPrivilege( """ @@ -25972,21 +27524,23 @@ type Mutation { input: UpdateCryptoAddressInput! ): UpdateCryptoAddressPayload - """Updates a single `AppLimitDefault` using a unique key and a patch.""" - updateAppLimitDefault( + """Updates a single `RoleType` using a unique key and a patch.""" + updateRoleType( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateAppLimitDefaultInput! - ): UpdateAppLimitDefaultPayload + input: UpdateRoleTypeInput! + ): UpdateRoleTypePayload - """Updates a single `OrgLimitDefault` using a unique key and a patch.""" - updateOrgLimitDefault( + """ + Updates a single `OrgPermissionDefault` using a unique key and a patch. + """ + updateOrgPermissionDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateOrgLimitDefaultInput! - ): UpdateOrgLimitDefaultPayload + input: UpdateOrgPermissionDefaultInput! + ): UpdateOrgPermissionDefaultPayload """Updates a single `Database` using a unique key and a patch.""" updateDatabase( @@ -26006,14 +27560,6 @@ 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( """ @@ -26022,29 +27568,37 @@ type Mutation { input: UpdatePhoneNumberInput! ): UpdatePhoneNumberPayload - """Updates a single `MembershipType` using a unique key and a patch.""" - updateMembershipType( + """Updates a single `AppLimitDefault` using a unique key and a patch.""" + updateAppLimitDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateMembershipTypeInput! - ): UpdateMembershipTypePayload + input: UpdateAppLimitDefaultInput! + ): UpdateAppLimitDefaultPayload - """Updates a single `FieldModule` using a unique key and a patch.""" - updateFieldModule( + """Updates a single `OrgLimitDefault` using a unique key and a patch.""" + updateOrgLimitDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateFieldModuleInput! - ): UpdateFieldModulePayload + input: UpdateOrgLimitDefaultInput! + ): UpdateOrgLimitDefaultPayload - """Updates a single `TableModule` using a unique key and a patch.""" - updateTableModule( + """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: UpdateTableModuleInput! - ): UpdateTableModulePayload + input: UpdateConnectedAccountInput! + ): UpdateConnectedAccountPayload + + """Updates a single `FieldModule` using a unique key and a patch.""" + updateFieldModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateFieldModuleInput! + ): UpdateFieldModulePayload """Updates a single `TableTemplateModule` using a unique key and a patch.""" updateTableTemplateModule( @@ -26070,6 +27624,14 @@ type Mutation { input: UpdateNodeTypeRegistryInput! ): UpdateNodeTypeRegistryPayload + """Updates a single `MembershipType` using a unique key and a patch.""" + updateMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateMembershipTypeInput! + ): UpdateMembershipTypePayload + """Updates a single `TableGrant` using a unique key and a patch.""" updateTableGrant( """ @@ -26144,6 +27706,22 @@ type Mutation { input: UpdateSiteMetadatumInput! ): UpdateSiteMetadatumPayload + """Updates a single `RlsModule` using a unique key and a patch.""" + updateRlsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateRlsModuleInput! + ): UpdateRlsModulePayload + + """Updates a single `SessionsModule` using a unique key and a patch.""" + updateSessionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSessionsModuleInput! + ): UpdateSessionsModulePayload + """Updates a single `Object` using a unique key and a patch.""" updateObject( """ @@ -26208,14 +27786,6 @@ type Mutation { input: UpdateDomainInput! ): UpdateDomainPayload - """Updates a single `SessionsModule` using a unique key and a patch.""" - updateSessionsModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateSessionsModuleInput! - ): UpdateSessionsModulePayload - """Updates a single `OrgGrant` using a unique key and a patch.""" updateOrgGrant( """ @@ -26234,14 +27804,6 @@ type Mutation { input: UpdateOrgMembershipDefaultInput! ): UpdateOrgMembershipDefaultPayload - """Updates a single `RlsModule` using a unique key and a patch.""" - updateRlsModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateRlsModuleInput! - ): UpdateRlsModulePayload - """Updates a single `AppLevelRequirement` using a unique key and a patch.""" updateAppLevelRequirement( """ @@ -26266,24 +27828,6 @@ type Mutation { input: UpdateAppLevelInput! ): UpdateAppLevelPayload - """Updates a single `Email` using a unique key and a patch.""" - updateEmail( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateEmailInput! - ): UpdateEmailPayload - - """ - Updates a single `DenormalizedTableField` using a unique key and a patch. - """ - updateDenormalizedTableField( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateDenormalizedTableFieldInput! - ): UpdateDenormalizedTableFieldPayload - """Updates a single `CryptoAuthModule` using a unique key and a patch.""" updateCryptoAuthModule( """ @@ -26310,6 +27854,24 @@ type Mutation { input: UpdateInvitesModuleInput! ): UpdateInvitesModulePayload + """ + Updates a single `DenormalizedTableField` using a unique key and a patch. + """ + updateDenormalizedTableField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDenormalizedTableFieldInput! + ): UpdateDenormalizedTableFieldPayload + + """Updates a single `Email` using a unique key and a patch.""" + updateEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateEmailInput! + ): UpdateEmailPayload + """Updates a single `View` using a unique key and a patch.""" updateView( """ @@ -26326,6 +27888,22 @@ type Mutation { input: UpdatePermissionsModuleInput! ): UpdatePermissionsModulePayload + """Updates a single `LimitsModule` using a unique key and a patch.""" + updateLimitsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateLimitsModuleInput! + ): UpdateLimitsModulePayload + + """Updates a single `ProfilesModule` using a unique key and a patch.""" + updateProfilesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateProfilesModuleInput! + ): UpdateProfilesModulePayload + """ Updates a single `SecureTableProvision` using a unique key and a patch. """ @@ -26344,6 +27922,14 @@ type Mutation { input: UpdateTriggerInput! ): UpdateTriggerPayload + """Updates a single `UniqueConstraint` using a unique key and a patch.""" + updateUniqueConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateUniqueConstraintInput! + ): UpdateUniqueConstraintPayload + """ Updates a single `PrimaryKeyConstraint` using a unique key and a patch. """ @@ -26354,14 +27940,6 @@ type Mutation { input: UpdatePrimaryKeyConstraintInput! ): UpdatePrimaryKeyConstraintPayload - """Updates a single `UniqueConstraint` using a unique key and a patch.""" - updateUniqueConstraint( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateUniqueConstraintInput! - ): UpdateUniqueConstraintPayload - """Updates a single `CheckConstraint` using a unique key and a patch.""" updateCheckConstraint( """ @@ -26378,69 +27956,61 @@ type Mutation { input: UpdatePolicyInput! ): UpdatePolicyPayload - """Updates a single `App` using a unique key and a patch.""" - updateApp( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateAppInput! - ): UpdateAppPayload - - """Updates a single `Site` using a unique key and a patch.""" - updateSite( + """Updates a single `AppMembership` using a unique key and a patch.""" + updateAppMembership( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateSiteInput! - ): UpdateSitePayload + input: UpdateAppMembershipInput! + ): UpdateAppMembershipPayload - """Updates a single `User` using a unique key and a patch.""" - updateUser( + """Updates a single `OrgMembership` using a unique key and a patch.""" + updateOrgMembership( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateUserInput! - ): UpdateUserPayload + input: UpdateOrgMembershipInput! + ): UpdateOrgMembershipPayload - """Updates a single `LimitsModule` using a unique key and a patch.""" - updateLimitsModule( + """Updates a single `Schema` using a unique key and a patch.""" + updateSchema( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateLimitsModuleInput! - ): UpdateLimitsModulePayload + input: UpdateSchemaInput! + ): UpdateSchemaPayload - """Updates a single `ProfilesModule` using a unique key and a patch.""" - updateProfilesModule( + """Updates a single `App` using a unique key and a patch.""" + updateApp( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateProfilesModuleInput! - ): UpdateProfilesModulePayload + input: UpdateAppInput! + ): UpdateAppPayload - """Updates a single `Index` using a unique key and a patch.""" - updateIndex( + """Updates a single `Site` using a unique key and a patch.""" + updateSite( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateIndexInput! - ): UpdateIndexPayload + input: UpdateSiteInput! + ): UpdateSitePayload - """Updates a single `AppMembership` using a unique key and a patch.""" - updateAppMembership( + """Updates a single `User` using a unique key and a patch.""" + updateUser( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateAppMembershipInput! - ): UpdateAppMembershipPayload + input: UpdateUserInput! + ): UpdateUserPayload - """Updates a single `OrgMembership` using a unique key and a patch.""" - updateOrgMembership( + """Updates a single `HierarchyModule` using a unique key and a patch.""" + updateHierarchyModule( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateOrgMembershipInput! - ): UpdateOrgMembershipPayload + input: UpdateHierarchyModuleInput! + ): UpdateHierarchyModulePayload """Updates a single `Invite` using a unique key and a patch.""" updateInvite( @@ -26450,21 +28020,23 @@ type Mutation { input: UpdateInviteInput! ): UpdateInvitePayload - """Updates a single `Schema` using a unique key and a patch.""" - updateSchema( + """Updates a single `Index` using a unique key and a patch.""" + updateIndex( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateSchemaInput! - ): UpdateSchemaPayload + input: UpdateIndexInput! + ): UpdateIndexPayload - """Updates a single `HierarchyModule` using a unique key and a patch.""" - updateHierarchyModule( + """ + Updates a single `ForeignKeyConstraint` using a unique key and a patch. + """ + updateForeignKeyConstraint( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: UpdateHierarchyModuleInput! - ): UpdateHierarchyModulePayload + input: UpdateForeignKeyConstraintInput! + ): UpdateForeignKeyConstraintPayload """Updates a single `OrgInvite` using a unique key and a patch.""" updateOrgInvite( @@ -26474,16 +28046,6 @@ type Mutation { input: UpdateOrgInviteInput! ): UpdateOrgInvitePayload - """ - Updates a single `ForeignKeyConstraint` using a unique key and a patch. - """ - updateForeignKeyConstraint( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateForeignKeyConstraintInput! - ): UpdateForeignKeyConstraintPayload - """Updates a single `Table` using a unique key and a patch.""" updateTable( """ @@ -26508,14 +28070,6 @@ type Mutation { input: UpdateUserAuthModuleInput! ): UpdateUserAuthModulePayload - """Updates a single `Field` using a unique key and a patch.""" - updateField( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateFieldInput! - ): UpdateFieldPayload - """Updates a single `RelationProvision` using a unique key and a patch.""" updateRelationProvision( """ @@ -26524,6 +28078,14 @@ type Mutation { input: UpdateRelationProvisionInput! ): UpdateRelationProvisionPayload + """Updates a single `Field` using a unique key and a patch.""" + updateField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateFieldInput! + ): UpdateFieldPayload + """Updates a single `MembershipsModule` using a unique key and a patch.""" updateMembershipsModule( """ @@ -26564,14 +28126,6 @@ type Mutation { input: DeleteOrgMemberInput! ): DeleteOrgMemberPayload - """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 `Ref` using a unique key.""" deleteRef( """ @@ -26580,14 +28134,6 @@ type Mutation { input: DeleteRefInput! ): DeleteRefPayload - """Deletes a single `Store` using a unique key.""" - deleteStore( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteStoreInput! - ): DeleteStorePayload - """Deletes a single `EncryptedSecretsModule` using a unique key.""" deleteEncryptedSecretsModule( """ @@ -26620,6 +28166,30 @@ type Mutation { 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( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteStoreInput! + ): DeleteStorePayload + + """Deletes a single `ViewRule` using a unique key.""" + deleteViewRule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteViewRuleInput! + ): DeleteViewRulePayload + """Deletes a single `AppPermissionDefault` using a unique key.""" deleteAppPermissionDefault( """ @@ -26660,14 +28230,6 @@ type Mutation { input: DeleteTriggerFunctionInput! ): DeleteTriggerFunctionPayload - """Deletes a single `ViewRule` using a unique key.""" - deleteViewRule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteViewRuleInput! - ): DeleteViewRulePayload - """Deletes a single `AppAdminGrant` using a unique key.""" deleteAppAdminGrant( """ @@ -26684,22 +28246,6 @@ type Mutation { input: DeleteAppOwnerGrantInput! ): DeleteAppOwnerGrantPayload - """Deletes a single `RoleType` using a unique key.""" - deleteRoleType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteRoleTypeInput! - ): DeleteRoleTypePayload - - """Deletes a single `OrgPermissionDefault` using a unique key.""" - deleteOrgPermissionDefault( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteOrgPermissionDefaultInput! - ): DeleteOrgPermissionDefaultPayload - """Deletes a single `DefaultPrivilege` using a unique key.""" deleteDefaultPrivilege( """ @@ -26780,21 +28326,21 @@ type Mutation { input: DeleteCryptoAddressInput! ): DeleteCryptoAddressPayload - """Deletes a single `AppLimitDefault` using a unique key.""" - deleteAppLimitDefault( + """Deletes a single `RoleType` using a unique key.""" + deleteRoleType( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteAppLimitDefaultInput! - ): DeleteAppLimitDefaultPayload + input: DeleteRoleTypeInput! + ): DeleteRoleTypePayload - """Deletes a single `OrgLimitDefault` using a unique key.""" - deleteOrgLimitDefault( + """Deletes a single `OrgPermissionDefault` using a unique key.""" + deleteOrgPermissionDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteOrgLimitDefaultInput! - ): DeleteOrgLimitDefaultPayload + input: DeleteOrgPermissionDefaultInput! + ): DeleteOrgPermissionDefaultPayload """Deletes a single `Database` using a unique key.""" deleteDatabase( @@ -26812,14 +28358,6 @@ 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( """ @@ -26828,29 +28366,37 @@ type Mutation { input: DeletePhoneNumberInput! ): DeletePhoneNumberPayload - """Deletes a single `MembershipType` using a unique key.""" - deleteMembershipType( + """Deletes a single `AppLimitDefault` using a unique key.""" + deleteAppLimitDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteMembershipTypeInput! - ): DeleteMembershipTypePayload + input: DeleteAppLimitDefaultInput! + ): DeleteAppLimitDefaultPayload - """Deletes a single `FieldModule` using a unique key.""" - deleteFieldModule( + """Deletes a single `OrgLimitDefault` using a unique key.""" + deleteOrgLimitDefault( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteFieldModuleInput! - ): DeleteFieldModulePayload + input: DeleteOrgLimitDefaultInput! + ): DeleteOrgLimitDefaultPayload - """Deletes a single `TableModule` using a unique key.""" - deleteTableModule( + """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: DeleteTableModuleInput! - ): DeleteTableModulePayload + input: DeleteConnectedAccountInput! + ): DeleteConnectedAccountPayload + + """Deletes a single `FieldModule` using a unique key.""" + deleteFieldModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteFieldModuleInput! + ): DeleteFieldModulePayload """Deletes a single `TableTemplateModule` using a unique key.""" deleteTableTemplateModule( @@ -26876,6 +28422,14 @@ type Mutation { input: DeleteNodeTypeRegistryInput! ): DeleteNodeTypeRegistryPayload + """Deletes a single `MembershipType` using a unique key.""" + deleteMembershipType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteMembershipTypeInput! + ): DeleteMembershipTypePayload + """Deletes a single `TableGrant` using a unique key.""" deleteTableGrant( """ @@ -26948,6 +28502,22 @@ type Mutation { input: DeleteSiteMetadatumInput! ): DeleteSiteMetadatumPayload + """Deletes a single `RlsModule` using a unique key.""" + deleteRlsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteRlsModuleInput! + ): DeleteRlsModulePayload + + """Deletes a single `SessionsModule` using a unique key.""" + deleteSessionsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSessionsModuleInput! + ): DeleteSessionsModulePayload + """Deletes a single `Object` using a unique key.""" deleteObject( """ @@ -27012,14 +28582,6 @@ type Mutation { input: DeleteDomainInput! ): DeleteDomainPayload - """Deletes a single `SessionsModule` using a unique key.""" - deleteSessionsModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteSessionsModuleInput! - ): DeleteSessionsModulePayload - """Deletes a single `OrgGrant` using a unique key.""" deleteOrgGrant( """ @@ -27036,14 +28598,6 @@ type Mutation { input: DeleteOrgMembershipDefaultInput! ): DeleteOrgMembershipDefaultPayload - """Deletes a single `RlsModule` using a unique key.""" - deleteRlsModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteRlsModuleInput! - ): DeleteRlsModulePayload - """Deletes a single `AppLevelRequirement` using a unique key.""" deleteAppLevelRequirement( """ @@ -27068,22 +28622,6 @@ type Mutation { input: DeleteAppLevelInput! ): DeleteAppLevelPayload - """Deletes a single `Email` using a unique key.""" - deleteEmail( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteEmailInput! - ): DeleteEmailPayload - - """Deletes a single `DenormalizedTableField` using a unique key.""" - deleteDenormalizedTableField( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteDenormalizedTableFieldInput! - ): DeleteDenormalizedTableFieldPayload - """Deletes a single `CryptoAuthModule` using a unique key.""" deleteCryptoAuthModule( """ @@ -27108,6 +28646,22 @@ type Mutation { input: DeleteInvitesModuleInput! ): DeleteInvitesModulePayload + """Deletes a single `DenormalizedTableField` using a unique key.""" + deleteDenormalizedTableField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDenormalizedTableFieldInput! + ): DeleteDenormalizedTableFieldPayload + + """Deletes a single `Email` using a unique key.""" + deleteEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteEmailInput! + ): DeleteEmailPayload + """Deletes a single `View` using a unique key.""" deleteView( """ @@ -27124,6 +28678,22 @@ type Mutation { input: DeletePermissionsModuleInput! ): DeletePermissionsModulePayload + """Deletes a single `LimitsModule` using a unique key.""" + deleteLimitsModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteLimitsModuleInput! + ): DeleteLimitsModulePayload + + """Deletes a single `ProfilesModule` using a unique key.""" + deleteProfilesModule( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteProfilesModuleInput! + ): DeleteProfilesModulePayload + """Deletes a single `SecureTableProvision` using a unique key.""" deleteSecureTableProvision( """ @@ -27140,14 +28710,6 @@ type Mutation { input: DeleteTriggerInput! ): DeleteTriggerPayload - """Deletes a single `PrimaryKeyConstraint` using a unique key.""" - deletePrimaryKeyConstraint( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePrimaryKeyConstraintInput! - ): DeletePrimaryKeyConstraintPayload - """Deletes a single `UniqueConstraint` using a unique key.""" deleteUniqueConstraint( """ @@ -27156,6 +28718,14 @@ type Mutation { input: DeleteUniqueConstraintInput! ): DeleteUniqueConstraintPayload + """Deletes a single `PrimaryKeyConstraint` using a unique key.""" + deletePrimaryKeyConstraint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePrimaryKeyConstraintInput! + ): DeletePrimaryKeyConstraintPayload + """Deletes a single `CheckConstraint` using a unique key.""" deleteCheckConstraint( """ @@ -27172,69 +28742,61 @@ type Mutation { input: DeletePolicyInput! ): DeletePolicyPayload - """Deletes a single `App` using a unique key.""" - deleteApp( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteAppInput! - ): DeleteAppPayload - - """Deletes a single `Site` using a unique key.""" - deleteSite( + """Deletes a single `AppMembership` using a unique key.""" + deleteAppMembership( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteSiteInput! - ): DeleteSitePayload + input: DeleteAppMembershipInput! + ): DeleteAppMembershipPayload - """Deletes a single `User` using a unique key.""" - deleteUser( + """Deletes a single `OrgMembership` using a unique key.""" + deleteOrgMembership( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteUserInput! - ): DeleteUserPayload + input: DeleteOrgMembershipInput! + ): DeleteOrgMembershipPayload - """Deletes a single `LimitsModule` using a unique key.""" - deleteLimitsModule( + """Deletes a single `Schema` using a unique key.""" + deleteSchema( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteLimitsModuleInput! - ): DeleteLimitsModulePayload + input: DeleteSchemaInput! + ): DeleteSchemaPayload - """Deletes a single `ProfilesModule` using a unique key.""" - deleteProfilesModule( + """Deletes a single `App` using a unique key.""" + deleteApp( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteProfilesModuleInput! - ): DeleteProfilesModulePayload + input: DeleteAppInput! + ): DeleteAppPayload - """Deletes a single `Index` using a unique key.""" - deleteIndex( + """Deletes a single `Site` using a unique key.""" + deleteSite( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteIndexInput! - ): DeleteIndexPayload + input: DeleteSiteInput! + ): DeleteSitePayload - """Deletes a single `AppMembership` using a unique key.""" - deleteAppMembership( + """Deletes a single `User` using a unique key.""" + deleteUser( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteAppMembershipInput! - ): DeleteAppMembershipPayload + input: DeleteUserInput! + ): DeleteUserPayload - """Deletes a single `OrgMembership` using a unique key.""" - deleteOrgMembership( + """Deletes a single `HierarchyModule` using a unique key.""" + deleteHierarchyModule( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteOrgMembershipInput! - ): DeleteOrgMembershipPayload + input: DeleteHierarchyModuleInput! + ): DeleteHierarchyModulePayload """Deletes a single `Invite` using a unique key.""" deleteInvite( @@ -27244,21 +28806,21 @@ type Mutation { input: DeleteInviteInput! ): DeleteInvitePayload - """Deletes a single `Schema` using a unique key.""" - deleteSchema( + """Deletes a single `Index` using a unique key.""" + deleteIndex( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteSchemaInput! - ): DeleteSchemaPayload + input: DeleteIndexInput! + ): DeleteIndexPayload - """Deletes a single `HierarchyModule` using a unique key.""" - deleteHierarchyModule( + """Deletes a single `ForeignKeyConstraint` using a unique key.""" + deleteForeignKeyConstraint( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: DeleteHierarchyModuleInput! - ): DeleteHierarchyModulePayload + input: DeleteForeignKeyConstraintInput! + ): DeleteForeignKeyConstraintPayload """Deletes a single `OrgInvite` using a unique key.""" deleteOrgInvite( @@ -27268,14 +28830,6 @@ type Mutation { input: DeleteOrgInviteInput! ): DeleteOrgInvitePayload - """Deletes a single `ForeignKeyConstraint` using a unique key.""" - deleteForeignKeyConstraint( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteForeignKeyConstraintInput! - ): DeleteForeignKeyConstraintPayload - """Deletes a single `Table` using a unique key.""" deleteTable( """ @@ -27300,14 +28854,6 @@ type Mutation { input: DeleteUserAuthModuleInput! ): DeleteUserAuthModulePayload - """Deletes a single `Field` using a unique key.""" - deleteField( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteFieldInput! - ): DeleteFieldPayload - """Deletes a single `RelationProvision` using a unique key.""" deleteRelationProvision( """ @@ -27316,6 +28862,14 @@ type Mutation { input: DeleteRelationProvisionInput! ): DeleteRelationProvisionPayload + """Deletes a single `Field` using a unique key.""" + deleteField( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteFieldInput! + ): DeleteFieldPayload + """Deletes a single `MembershipsModule` using a unique key.""" deleteMembershipsModule( """ @@ -27601,33 +29155,6 @@ input ResetPasswordInput { newPassword: String } -"""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. - """ - query: Query -} - -"""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 - dbId: UUID - root: UUID - path: [String] -} - """The output of our `bootstrapUser` mutation.""" type BootstrapUserPayload { """ @@ -27652,6 +29179,31 @@ type BootstrapUserRecord { outIsOwner: Boolean outIsSudo: Boolean outApiKey: String + + """ + TRGM similarity when searching `outEmail`. Returns null when no trgm search filter is active. + """ + outEmailTrgmSimilarity: Float + + """ + 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. + """ + outDisplayNameTrgmSimilarity: Float + + """ + TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. + """ + outApiKeyTrgmSimilarity: 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 `bootstrapUser` mutation.""" @@ -27670,6 +29222,33 @@ input BootstrapUserInput { returnApiKey: Boolean } +"""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. + """ + query: Query +} + +"""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 + dbId: UUID + root: UUID + path: [String] +} + """The output of our `setDataAtPath` mutation.""" type SetDataAtPathPayload { """ @@ -27745,6 +29324,16 @@ type ProvisionDatabaseWithUserPayload { type ProvisionDatabaseWithUserRecord { outDatabaseId: UUID outApiKey: String + + """ + TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. + """ + outApiKeyTrgmSimilarity: 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 `provisionDatabaseWithUser` mutation.""" @@ -27783,6 +29372,16 @@ 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.""" @@ -27880,6 +29479,16 @@ 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.""" @@ -27918,6 +29527,16 @@ 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.""" @@ -28223,6 +29842,26 @@ 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.""" @@ -28443,58 +30082,6 @@ input OrgMemberInput { entityId: 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 `Ref` mutation.""" type CreateRefPayload { """ @@ -28542,57 +30129,6 @@ input RefInput { commitId: UUID } -"""The output of our create `Store` mutation.""" -type CreateStorePayload { - """ - 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 `Store` that was created by this mutation.""" - store: Store - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Store`. May be used by Relay 1.""" - storeEdge( - """The method to use when ordering `Store`.""" - orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] - ): StoreEdge -} - -"""All input for the create `Store` mutation.""" -input CreateStoreInput { - """ - 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 `Store` to be created by this mutation.""" - store: StoreInput! -} - -"""An input for mutations affecting `Store`""" -input StoreInput { - """The primary unique identifier for the store.""" - id: UUID - - """The name of the store (e.g., metaschema, migrations).""" - name: String! - - """The database this store belongs to.""" - databaseId: UUID! - - """The current head tree_id for this store.""" - hash: UUID - createdAt: Datetime -} - """The output of our create `EncryptedSecretsModule` mutation.""" type CreateEncryptedSecretsModulePayload { """ @@ -28769,6 +30305,158 @@ input UuidModuleInput { 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 { + """ + 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 `Store` that was created by this mutation.""" + store: Store + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Store`. May be used by Relay 1.""" + storeEdge( + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] + ): StoreEdge +} + +"""All input for the create `Store` mutation.""" +input CreateStoreInput { + """ + 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 `Store` to be created by this mutation.""" + store: StoreInput! +} + +"""An input for mutations affecting `Store`""" +input StoreInput { + """The primary unique identifier for the store.""" + id: UUID + + """The name of the store (e.g., metaschema, migrations).""" + name: String! + + """The database this store belongs to.""" + databaseId: UUID! + + """The current head tree_id for this store.""" + hash: UUID + createdAt: Datetime +} + +"""The output of our create `ViewRule` mutation.""" +type CreateViewRulePayload { + """ + 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 `ViewRule` that was created by this mutation.""" + viewRule: ViewRule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewRule`. May be used by Relay 1.""" + viewRuleEdge( + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewRuleEdge +} + +"""All input for the create `ViewRule` mutation.""" +input CreateViewRuleInput { + """ + 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 `ViewRule` to be created by this mutation.""" + viewRule: ViewRuleInput! +} + +"""An input for mutations affecting `ViewRule`""" +input ViewRuleInput { + id: UUID + databaseId: UUID + viewId: UUID! + name: String! + + """INSERT, UPDATE, or DELETE""" + event: String! + + """NOTHING (for read-only) or custom action""" + action: String +} + """The output of our create `AppPermissionDefault` mutation.""" type CreateAppPermissionDefaultPayload { """ @@ -29008,55 +30696,6 @@ input TriggerFunctionInput { updatedAt: Datetime } -"""The output of our create `ViewRule` mutation.""" -type CreateViewRulePayload { - """ - 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 `ViewRule` that was created by this mutation.""" - viewRule: ViewRule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `ViewRule`. May be used by Relay 1.""" - viewRuleEdge( - """The method to use when ordering `ViewRule`.""" - orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): ViewRuleEdge -} - -"""All input for the create `ViewRule` mutation.""" -input CreateViewRuleInput { - """ - 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 `ViewRule` to be created by this mutation.""" - viewRule: ViewRuleInput! -} - -"""An input for mutations affecting `ViewRule`""" -input ViewRuleInput { - id: UUID - databaseId: UUID - viewId: UUID! - name: String! - - """INSERT, UPDATE, or DELETE""" - event: String! - - """NOTHING (for read-only) or custom action""" - action: String -} - """The output of our create `AppAdminGrant` mutation.""" type CreateAppAdminGrantPayload { """ @@ -29155,93 +30794,6 @@ input AppOwnerGrantInput { updatedAt: Datetime } -"""The output of our create `RoleType` mutation.""" -type CreateRoleTypePayload { - """ - 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 `RoleType` that was created by this mutation.""" - roleType: RoleType - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RoleType`. May be used by Relay 1.""" - roleTypeEdge( - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): RoleTypeEdge -} - -"""All input for the create `RoleType` mutation.""" -input CreateRoleTypeInput { - """ - 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 `RoleType` to be created by this mutation.""" - roleType: RoleTypeInput! -} - -"""An input for mutations affecting `RoleType`""" -input RoleTypeInput { - id: Int! - name: String! -} - -"""The output of our create `OrgPermissionDefault` mutation.""" -type CreateOrgPermissionDefaultPayload { - """ - 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 `OrgPermissionDefault` that was created by this mutation.""" - orgPermissionDefault: OrgPermissionDefault - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" - orgPermissionDefaultEdge( - """The method to use when ordering `OrgPermissionDefault`.""" - orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgPermissionDefaultEdge -} - -"""All input for the create `OrgPermissionDefault` mutation.""" -input CreateOrgPermissionDefaultInput { - """ - 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 `OrgPermissionDefault` to be created by this mutation.""" - orgPermissionDefault: OrgPermissionDefaultInput! -} - -"""An input for mutations affecting `OrgPermissionDefault`""" -input OrgPermissionDefaultInput { - id: UUID - - """Default permission bitmask applied to new members""" - permissions: BitString - - """References the entity these default permissions apply to""" - entityId: UUID! -} - """The output of our create `DefaultPrivilege` mutation.""" type CreateDefaultPrivilegePayload { """ @@ -29735,96 +31287,91 @@ input CryptoAddressInput { updatedAt: Datetime } -"""The output of our create `AppLimitDefault` mutation.""" -type CreateAppLimitDefaultPayload { +"""The output of our create `RoleType` mutation.""" +type CreateRoleTypePayload { """ 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 `AppLimitDefault` that was created by this mutation.""" - appLimitDefault: AppLimitDefault + """The `RoleType` that was created by this mutation.""" + roleType: RoleType """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppLimitDefault`. May be used by Relay 1.""" - appLimitDefaultEdge( - """The method to use when ordering `AppLimitDefault`.""" - orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppLimitDefaultEdge + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge } -"""All input for the create `AppLimitDefault` mutation.""" -input CreateAppLimitDefaultInput { +"""All input for the create `RoleType` mutation.""" +input CreateRoleTypeInput { """ 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 `AppLimitDefault` to be created by this mutation.""" - appLimitDefault: AppLimitDefaultInput! + """The `RoleType` to be created by this mutation.""" + roleType: RoleTypeInput! } -"""An input for mutations affecting `AppLimitDefault`""" -input AppLimitDefaultInput { - id: UUID - - """Name identifier of the limit this default applies to""" +"""An input for mutations affecting `RoleType`""" +input RoleTypeInput { + id: Int! name: String! - - """Default maximum usage allowed for this limit""" - max: Int } -"""The output of our create `OrgLimitDefault` mutation.""" -type CreateOrgLimitDefaultPayload { +"""The output of our create `OrgPermissionDefault` mutation.""" +type CreateOrgPermissionDefaultPayload { """ 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 `OrgLimitDefault` that was created by this mutation.""" - orgLimitDefault: OrgLimitDefault + """The `OrgPermissionDefault` that was created by this mutation.""" + orgPermissionDefault: OrgPermissionDefault """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" - orgLimitDefaultEdge( - """The method to use when ordering `OrgLimitDefault`.""" - orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgLimitDefaultEdge + """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" + orgPermissionDefaultEdge( + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultEdge } -"""All input for the create `OrgLimitDefault` mutation.""" -input CreateOrgLimitDefaultInput { +"""All input for the create `OrgPermissionDefault` mutation.""" +input CreateOrgPermissionDefaultInput { """ 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 `OrgLimitDefault` to be created by this mutation.""" - orgLimitDefault: OrgLimitDefaultInput! + """The `OrgPermissionDefault` to be created by this mutation.""" + orgPermissionDefault: OrgPermissionDefaultInput! } -"""An input for mutations affecting `OrgLimitDefault`""" -input OrgLimitDefaultInput { +"""An input for mutations affecting `OrgPermissionDefault`""" +input OrgPermissionDefaultInput { id: UUID - """Name identifier of the limit this default applies to""" - name: String! + """Default permission bitmask applied to new members""" + permissions: BitString - """Default maximum usage allowed for this limit""" - max: Int + """References the entity these default permissions apply to""" + entityId: UUID! } """The output of our create `Database` mutation.""" @@ -29921,6 +31468,153 @@ input CryptoAddressesModuleInput { cryptoNetwork: String } +"""The output of our create `PhoneNumber` mutation.""" +type CreatePhoneNumberPayload { + """ + 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 `PhoneNumber` that was created by this mutation.""" + phoneNumber: PhoneNumber + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumber`. May be used by Relay 1.""" + phoneNumberEdge( + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumberEdge +} + +"""All input for the create `PhoneNumber` mutation.""" +input CreatePhoneNumberInput { + """ + 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 `PhoneNumber` to be created by this mutation.""" + phoneNumber: PhoneNumberInput! +} + +"""An input for mutations affecting `PhoneNumber`""" +input PhoneNumberInput { + 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 +} + +"""The output of our create `AppLimitDefault` mutation.""" +type CreateAppLimitDefaultPayload { + """ + 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 `AppLimitDefault` that was created by this mutation.""" + appLimitDefault: AppLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimitDefault`. May be used by Relay 1.""" + appLimitDefaultEdge( + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitDefaultEdge +} + +"""All input for the create `AppLimitDefault` mutation.""" +input CreateAppLimitDefaultInput { + """ + 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 `AppLimitDefault` to be created by this mutation.""" + appLimitDefault: AppLimitDefaultInput! +} + +"""An input for mutations affecting `AppLimitDefault`""" +input AppLimitDefaultInput { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String! + + """Default maximum usage allowed for this limit""" + max: Int +} + +"""The output of our create `OrgLimitDefault` mutation.""" +type CreateOrgLimitDefaultPayload { + """ + 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 `OrgLimitDefault` that was created by this mutation.""" + orgLimitDefault: OrgLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" + orgLimitDefaultEdge( + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultEdge +} + +"""All input for the create `OrgLimitDefault` mutation.""" +input CreateOrgLimitDefaultInput { + """ + 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 `OrgLimitDefault` to be created by this mutation.""" + orgLimitDefault: OrgLimitDefaultInput! +} + +"""An input for mutations affecting `OrgLimitDefault`""" +input OrgLimitDefaultInput { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String! + + """Default maximum usage allowed for this limit""" + max: Int +} + """The output of our create `ConnectedAccount` mutation.""" type CreateConnectedAccountPayload { """ @@ -29976,115 +31670,6 @@ input ConnectedAccountInput { updatedAt: Datetime } -"""The output of our create `PhoneNumber` mutation.""" -type CreatePhoneNumberPayload { - """ - 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 `PhoneNumber` that was created by this mutation.""" - phoneNumber: PhoneNumber - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `PhoneNumber`. May be used by Relay 1.""" - phoneNumberEdge( - """The method to use when ordering `PhoneNumber`.""" - orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] - ): PhoneNumberEdge -} - -"""All input for the create `PhoneNumber` mutation.""" -input CreatePhoneNumberInput { - """ - 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 `PhoneNumber` to be created by this mutation.""" - phoneNumber: PhoneNumberInput! -} - -"""An input for mutations affecting `PhoneNumber`""" -input PhoneNumberInput { - 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 -} - -"""The output of our create `MembershipType` mutation.""" -type CreateMembershipTypePayload { - """ - 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 `MembershipType` that was created by this mutation.""" - membershipType: MembershipType - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `MembershipType`. May be used by Relay 1.""" - membershipTypeEdge( - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipTypeEdge -} - -"""All input for the create `MembershipType` mutation.""" -input CreateMembershipTypeInput { - """ - 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 `MembershipType` to be created by this mutation.""" - membershipType: MembershipTypeInput! -} - -"""An input for mutations affecting `MembershipType`""" -input MembershipTypeInput { - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! - - """Human-readable name of the membership type""" - name: String! - - """Description of what this membership type represents""" - description: String! - - """ - Short prefix used to namespace tables and functions for this membership scope - """ - prefix: String! -} - """The output of our create `FieldModule` mutation.""" type CreateFieldModulePayload { """ @@ -30133,54 +31718,6 @@ input FieldModuleInput { functions: [String] } -"""The output of our create `TableModule` mutation.""" -type CreateTableModulePayload { - """ - 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 `TableModule` that was created by this mutation.""" - tableModule: TableModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `TableModule`. May be used by Relay 1.""" - tableModuleEdge( - """The method to use when ordering `TableModule`.""" - orderBy: [TableModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): TableModuleEdge -} - -"""All input for the create `TableModule` mutation.""" -input CreateTableModuleInput { - """ - 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 `TableModule` to be created by this mutation.""" - tableModule: TableModuleInput! -} - -"""An input for mutations affecting `TableModule`""" -input TableModuleInput { - id: UUID - databaseId: UUID! - schemaId: UUID - tableId: UUID - tableName: String - nodeType: String! - useRls: Boolean - data: JSON - fields: [UUID] -} - """The output of our create `TableTemplateModule` mutation.""" type CreateTableTemplateModulePayload { """ @@ -30362,6 +31899,60 @@ input NodeTypeRegistryInput { updatedAt: Datetime } +"""The output of our create `MembershipType` mutation.""" +type CreateMembershipTypePayload { + """ + 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 `MembershipType` that was created by this mutation.""" + membershipType: MembershipType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge +} + +"""All input for the create `MembershipType` mutation.""" +input CreateMembershipTypeInput { + """ + 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 `MembershipType` to be created by this mutation.""" + membershipType: MembershipTypeInput! +} + +"""An input for mutations affecting `MembershipType`""" +input MembershipTypeInput { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! + + """Human-readable name of the membership type""" + name: String! + + """Description of what this membership type represents""" + description: String! + + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String! +} + """The output of our create `TableGrant` mutation.""" type CreateTableGrantPayload { """ @@ -30829,6 +32420,106 @@ input SiteMetadatumInput { ogImage: ConstructiveInternalTypeImage } +"""The output of our create `RlsModule` mutation.""" +type CreateRlsModulePayload { + """ + 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 `RlsModule` that was created by this mutation.""" + rlsModule: RlsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RlsModule`. May be used by Relay 1.""" + rlsModuleEdge( + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): RlsModuleEdge +} + +"""All input for the create `RlsModule` mutation.""" +input CreateRlsModuleInput { + """ + 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 `RlsModule` to be created by this mutation.""" + rlsModule: RlsModuleInput! +} + +"""An input for mutations affecting `RlsModule`""" +input RlsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + sessionCredentialsTableId: UUID + sessionsTableId: UUID + usersTableId: UUID + authenticate: String + authenticateStrict: String + currentRole: String + currentRoleId: String +} + +"""The output of our create `SessionsModule` mutation.""" +type CreateSessionsModulePayload { + """ + 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 `SessionsModule` that was created by this mutation.""" + sessionsModule: SessionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SessionsModule`. May be used by Relay 1.""" + sessionsModuleEdge( + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SessionsModuleEdge +} + +"""All input for the create `SessionsModule` mutation.""" +input CreateSessionsModuleInput { + """ + 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 `SessionsModule` to be created by this mutation.""" + sessionsModule: SessionsModuleInput! +} + +"""An input for mutations affecting `SessionsModule`""" +input SessionsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + authSettingsTableId: UUID + usersTableId: UUID + sessionsDefaultExpiration: IntervalInput + sessionsTable: String + sessionCredentialsTable: String + authSettingsTable: String +} + """The output of our create `Object` mutation.""" type CreateObjectPayload { """ @@ -31256,56 +32947,6 @@ input DomainInput { domain: ConstructiveInternalTypeHostname } -"""The output of our create `SessionsModule` mutation.""" -type CreateSessionsModulePayload { - """ - 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 `SessionsModule` that was created by this mutation.""" - sessionsModule: SessionsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SessionsModule`. May be used by Relay 1.""" - sessionsModuleEdge( - """The method to use when ordering `SessionsModule`.""" - orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): SessionsModuleEdge -} - -"""All input for the create `SessionsModule` mutation.""" -input CreateSessionsModuleInput { - """ - 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 `SessionsModule` to be created by this mutation.""" - sessionsModule: SessionsModuleInput! -} - -"""An input for mutations affecting `SessionsModule`""" -input SessionsModuleInput { - id: UUID - databaseId: UUID! - schemaId: UUID - sessionsTableId: UUID - sessionCredentialsTableId: UUID - authSettingsTableId: UUID - usersTableId: UUID - sessionsDefaultExpiration: IntervalInput - sessionsTable: String - sessionCredentialsTable: String - authSettingsTable: String -} - """The output of our create `OrgGrant` mutation.""" type CreateOrgGrantPayload { """ @@ -31421,57 +33062,6 @@ input OrgMembershipDefaultInput { createGroupsCascadeMembers: Boolean } -"""The output of our create `RlsModule` mutation.""" -type CreateRlsModulePayload { - """ - 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 `RlsModule` that was created by this mutation.""" - rlsModule: RlsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RlsModule`. May be used by Relay 1.""" - rlsModuleEdge( - """The method to use when ordering `RlsModule`.""" - orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): RlsModuleEdge -} - -"""All input for the create `RlsModule` mutation.""" -input CreateRlsModuleInput { - """ - 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 `RlsModule` to be created by this mutation.""" - rlsModule: RlsModuleInput! -} - -"""An input for mutations affecting `RlsModule`""" -input RlsModuleInput { - id: UUID - databaseId: UUID! - apiId: UUID - schemaId: UUID - privateSchemaId: UUID - sessionCredentialsTableId: UUID - sessionsTableId: UUID - usersTableId: UUID - authenticate: String - authenticateStrict: String - currentRole: String - currentRoleId: String -} - """The output of our create `AppLevelRequirement` mutation.""" type CreateAppLevelRequirementPayload { """ @@ -31646,109 +33236,6 @@ input AppLevelInput { updatedAt: Datetime } -"""The output of our create `Email` mutation.""" -type CreateEmailPayload { - """ - 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 `Email` that was created by this mutation.""" - email: Email - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Email`. May be used by Relay 1.""" - emailEdge( - """The method to use when ordering `Email`.""" - orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] - ): EmailEdge -} - -"""All input for the create `Email` mutation.""" -input CreateEmailInput { - """ - 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 `Email` to be created by this mutation.""" - email: EmailInput! -} - -"""An input for mutations affecting `Email`""" -input EmailInput { - 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 -} - -"""The output of our create `DenormalizedTableField` mutation.""" -type CreateDenormalizedTableFieldPayload { - """ - 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 `DenormalizedTableField` that was created by this mutation.""" - denormalizedTableField: DenormalizedTableField - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" - denormalizedTableFieldEdge( - """The method to use when ordering `DenormalizedTableField`.""" - orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] - ): DenormalizedTableFieldEdge -} - -"""All input for the create `DenormalizedTableField` mutation.""" -input CreateDenormalizedTableFieldInput { - """ - 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 `DenormalizedTableField` to be created by this mutation.""" - denormalizedTableField: DenormalizedTableFieldInput! -} - -"""An input for mutations affecting `DenormalizedTableField`""" -input DenormalizedTableFieldInput { - id: UUID - databaseId: UUID! - tableId: UUID! - fieldId: UUID! - setIds: [UUID] - refTableId: UUID! - refFieldId: UUID! - refIds: [UUID] - useUpdates: Boolean - updateDefaults: Boolean - funcName: String - funcOrder: Int -} - """The output of our create `SqlMigration` mutation.""" type CreateSqlMigrationPayload { """ @@ -31954,26 +33441,129 @@ input CreateInvitesModuleInput { """ clientMutationId: String - """The `InvitesModule` to be created by this mutation.""" - invitesModule: InvitesModuleInput! -} + """The `InvitesModule` to be created by this mutation.""" + invitesModule: InvitesModuleInput! +} + +"""An input for mutations affecting `InvitesModule`""" +input InvitesModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + emailsTableId: UUID + usersTableId: UUID + invitesTableId: UUID + claimedInvitesTableId: UUID + invitesTableName: String + claimedInvitesTableName: String + submitInviteCodeFunction: String + prefix: String + membershipType: Int! + entityTableId: UUID +} + +"""The output of our create `DenormalizedTableField` mutation.""" +type CreateDenormalizedTableFieldPayload { + """ + 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 `DenormalizedTableField` that was created by this mutation.""" + denormalizedTableField: DenormalizedTableField + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" + denormalizedTableFieldEdge( + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldEdge +} + +"""All input for the create `DenormalizedTableField` mutation.""" +input CreateDenormalizedTableFieldInput { + """ + 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 `DenormalizedTableField` to be created by this mutation.""" + denormalizedTableField: DenormalizedTableFieldInput! +} + +"""An input for mutations affecting `DenormalizedTableField`""" +input DenormalizedTableFieldInput { + id: UUID + databaseId: UUID! + tableId: UUID! + fieldId: UUID! + setIds: [UUID] + refTableId: UUID! + refFieldId: UUID! + refIds: [UUID] + useUpdates: Boolean + updateDefaults: Boolean + funcName: String + funcOrder: Int +} + +"""The output of our create `Email` mutation.""" +type CreateEmailPayload { + """ + 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 `Email` that was created by this mutation.""" + email: Email + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Email`. May be used by Relay 1.""" + emailEdge( + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailEdge +} + +"""All input for the create `Email` mutation.""" +input CreateEmailInput { + """ + 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 `Email` to be created by this mutation.""" + email: EmailInput! +} + +"""An input for mutations affecting `Email`""" +input EmailInput { + id: UUID + ownerId: UUID + + """The email address""" + email: ConstructiveInternalTypeEmail! + + """Whether the email address has been verified via confirmation link""" + isVerified: Boolean -"""An input for mutations affecting `InvitesModule`""" -input InvitesModuleInput { - id: UUID - databaseId: UUID! - schemaId: UUID - privateSchemaId: UUID - emailsTableId: UUID - usersTableId: UUID - invitesTableId: UUID - claimedInvitesTableId: UUID - invitesTableName: String - claimedInvitesTableName: String - submitInviteCodeFunction: String - prefix: String - membershipType: Int! - entityTableId: UUID + """Whether this is the user's primary email address""" + isPrimary: Boolean + createdAt: Datetime + updatedAt: Datetime } """The output of our create `View` mutation.""" @@ -32087,6 +33677,120 @@ input PermissionsModuleInput { getMaskByName: String } +"""The output of our create `LimitsModule` mutation.""" +type CreateLimitsModulePayload { + """ + 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 created 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 `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 create `LimitsModule` mutation.""" +input CreateLimitsModuleInput { + """ + 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 `LimitsModule` to be created by this mutation.""" + limitsModule: LimitsModuleInput! +} + +"""An input for mutations affecting `LimitsModule`""" +input LimitsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + defaultTableId: UUID + defaultTableName: String + limitIncrementFunction: String + limitDecrementFunction: String + limitIncrementTrigger: String + limitDecrementTrigger: String + limitUpdateTrigger: String + limitCheckFunction: String + prefix: String + membershipType: Int! + entityTableId: UUID + actorTableId: UUID +} + +"""The output of our create `ProfilesModule` mutation.""" +type CreateProfilesModulePayload { + """ + 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 created 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 `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 create `ProfilesModule` mutation.""" +input CreateProfilesModuleInput { + """ + 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 `ProfilesModule` to be created by this mutation.""" + profilesModule: ProfilesModuleInput! +} + +"""An input for mutations affecting `ProfilesModule`""" +input ProfilesModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + profilePermissionsTableId: UUID + profilePermissionsTableName: String + profileGrantsTableId: UUID + profileGrantsTableName: String + profileDefinitionGrantsTableId: UUID + profileDefinitionGrantsTableName: String + membershipType: Int! + entityTableId: UUID + actorTableId: UUID + permissionsTableId: UUID + membershipsTableId: UUID + prefix: String +} + """The output of our create `SecureTableProvision` mutation.""" type CreateSecureTableProvisionPayload { """ @@ -32160,6 +33864,11 @@ input SecureTableProvisionInput { """ 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']. """ @@ -32206,52 +33915,6 @@ input SecureTableProvisionInput { outFields: [UUID] } -"""The output of our create `AstMigration` mutation.""" -type CreateAstMigrationPayload { - """ - 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 `AstMigration` that was created by this mutation.""" - astMigration: AstMigration - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} - -"""All input for the create `AstMigration` mutation.""" -input CreateAstMigrationInput { - """ - 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 `AstMigration` to be created by this mutation.""" - astMigration: AstMigrationInput! -} - -"""An input for mutations affecting `AstMigration`""" -input AstMigrationInput { - id: Int - databaseId: UUID - name: String - requires: [String] - payload: JSON - deploys: String - deploy: JSON - revert: JSON - verify: JSON - createdAt: Datetime - action: String - actionId: UUID - actorId: UUID -} - """The output of our create `Trigger` mutation.""" type CreateTriggerPayload { """ @@ -32304,58 +33967,6 @@ input TriggerInput { updatedAt: Datetime } -"""The output of our create `PrimaryKeyConstraint` mutation.""" -type CreatePrimaryKeyConstraintPayload { - """ - 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 `PrimaryKeyConstraint` that was created by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraint - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" - primaryKeyConstraintEdge( - """The method to use when ordering `PrimaryKeyConstraint`.""" - orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] - ): PrimaryKeyConstraintEdge -} - -"""All input for the create `PrimaryKeyConstraint` mutation.""" -input CreatePrimaryKeyConstraintInput { - """ - 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 `PrimaryKeyConstraint` to be created by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraintInput! -} - -"""An input for mutations affecting `PrimaryKeyConstraint`""" -input PrimaryKeyConstraintInput { - id: UUID - databaseId: UUID - tableId: UUID! - name: String - type: String - fieldIds: [UUID]! - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] - createdAt: Datetime - updatedAt: Datetime -} - """The output of our create `UniqueConstraint` mutation.""" type CreateUniqueConstraintPayload { """ @@ -32409,462 +34020,211 @@ input UniqueConstraintInput { updatedAt: Datetime } -"""The output of our create `CheckConstraint` mutation.""" -type CreateCheckConstraintPayload { - """ - 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 `CheckConstraint` that was created by this mutation.""" - checkConstraint: CheckConstraint - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `CheckConstraint`. May be used by Relay 1.""" - checkConstraintEdge( - """The method to use when ordering `CheckConstraint`.""" - orderBy: [CheckConstraintOrderBy!]! = [PRIMARY_KEY_ASC] - ): CheckConstraintEdge -} - -"""All input for the create `CheckConstraint` mutation.""" -input CreateCheckConstraintInput { - """ - 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 `CheckConstraint` to be created by this mutation.""" - checkConstraint: CheckConstraintInput! -} - -"""An input for mutations affecting `CheckConstraint`""" -input CheckConstraintInput { - id: UUID - databaseId: UUID - tableId: UUID! - name: String - type: String - fieldIds: [UUID]! - expr: JSON - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] - createdAt: Datetime - updatedAt: Datetime -} - -"""The output of our create `Policy` mutation.""" -type CreatePolicyPayload { - """ - 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 `Policy` that was created by this mutation.""" - policy: Policy - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Policy`. May be used by Relay 1.""" - policyEdge( - """The method to use when ordering `Policy`.""" - orderBy: [PolicyOrderBy!]! = [PRIMARY_KEY_ASC] - ): PolicyEdge -} - -"""All input for the create `Policy` mutation.""" -input CreatePolicyInput { - """ - 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 `Policy` to be created by this mutation.""" - policy: PolicyInput! -} - -"""An input for mutations affecting `Policy`""" -input PolicyInput { - id: UUID - databaseId: UUID - tableId: UUID! - name: String - granteeName: String - privilege: String - permissive: Boolean - disabled: Boolean - policyType: String - data: JSON - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] - createdAt: Datetime - updatedAt: Datetime -} - -"""The output of our create `App` mutation.""" -type CreateAppPayload { - """ - 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 `App` that was created by this mutation.""" - app: App - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `App`. May be used by Relay 1.""" - appEdge( - """The method to use when ordering `App`.""" - orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppEdge -} - -"""All input for the create `App` mutation.""" -input CreateAppInput { - """ - 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 `App` to be created by this mutation.""" - app: AppInput! -} - -"""An input for mutations affecting `App`""" -input AppInput { - """Unique identifier for this app""" - id: UUID - - """Reference to the metaschema database this app belongs to""" - databaseId: UUID! - - """Site this app is associated with (one app per site)""" - siteId: UUID! - - """Display name of the app""" - name: String - - """App icon or promotional image""" - appImage: ConstructiveInternalTypeImage - - """URL to the Apple App Store listing""" - appStoreLink: ConstructiveInternalTypeUrl - - """Apple App Store application identifier""" - appStoreId: String - - """ - Apple App ID prefix (Team ID) for universal links and associated domains - """ - appIdPrefix: String - - """URL to the Google Play Store listing""" - playStoreLink: ConstructiveInternalTypeUrl -} - -"""The output of our create `Site` mutation.""" -type CreateSitePayload { - """ - 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 `Site` that was created by this mutation.""" - site: Site - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Site`. May be used by Relay 1.""" - siteEdge( - """The method to use when ordering `Site`.""" - orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] - ): SiteEdge -} - -"""All input for the create `Site` mutation.""" -input CreateSiteInput { - """ - 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 `Site` to be created by this mutation.""" - site: SiteInput! -} - -"""An input for mutations affecting `Site`""" -input SiteInput { - """Unique identifier for this site""" - id: UUID - - """Reference to the metaschema database this site belongs to""" - databaseId: UUID! - - """Display title for the site (max 120 characters)""" - title: String - - """Short description of the site (max 120 characters)""" - description: String - - """Open Graph image used for social media link previews""" - ogImage: ConstructiveInternalTypeImage - - """Browser favicon attachment""" - favicon: ConstructiveInternalTypeAttachment - - """Apple touch icon for iOS home screen bookmarks""" - appleTouchIcon: ConstructiveInternalTypeImage - - """Primary logo image for the site""" - logo: ConstructiveInternalTypeImage - - """PostgreSQL database name this site connects to""" - dbname: String -} - -"""The output of our create `User` mutation.""" -type CreateUserPayload { +"""The output of our create `PrimaryKeyConstraint` mutation.""" +type CreatePrimaryKeyConstraintPayload { """ 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 `User` that was created by this mutation.""" - user: User + """The `PrimaryKeyConstraint` that was created by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraint """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `User`. May be used by Relay 1.""" - userEdge( - """The method to use when ordering `User`.""" - orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] - ): UserEdge + """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" + primaryKeyConstraintEdge( + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintEdge } -"""All input for the create `User` mutation.""" -input CreateUserInput { +"""All input for the create `PrimaryKeyConstraint` mutation.""" +input CreatePrimaryKeyConstraintInput { """ 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 `User` to be created by this mutation.""" - user: UserInput! + """The `PrimaryKeyConstraint` to be created by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraintInput! } - -"""An input for mutations affecting `User`""" -input UserInput { + +"""An input for mutations affecting `PrimaryKeyConstraint`""" +input PrimaryKeyConstraintInput { id: UUID - username: String - displayName: String - profilePicture: ConstructiveInternalTypeImage - searchTsv: FullText - type: Int + databaseId: UUID + tableId: UUID! + name: String + type: String + fieldIds: [UUID]! + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] createdAt: Datetime updatedAt: Datetime } -"""The output of our create `LimitsModule` mutation.""" -type CreateLimitsModulePayload { +"""The output of our create `CheckConstraint` mutation.""" +type CreateCheckConstraintPayload { """ 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 created by this mutation.""" - limitsModule: LimitsModule + """The `CheckConstraint` that was created by this mutation.""" + checkConstraint: CheckConstraint """ 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 `CheckConstraint`. May be used by Relay 1.""" + checkConstraintEdge( + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): CheckConstraintEdge } -"""All input for the create `LimitsModule` mutation.""" -input CreateLimitsModuleInput { +"""All input for the create `CheckConstraint` mutation.""" +input CreateCheckConstraintInput { """ 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 `LimitsModule` to be created by this mutation.""" - limitsModule: LimitsModuleInput! + """The `CheckConstraint` to be created by this mutation.""" + checkConstraint: CheckConstraintInput! } -"""An input for mutations affecting `LimitsModule`""" -input LimitsModuleInput { +"""An input for mutations affecting `CheckConstraint`""" +input CheckConstraintInput { id: UUID - databaseId: UUID! - schemaId: UUID - privateSchemaId: UUID - tableId: UUID - tableName: String - defaultTableId: UUID - defaultTableName: String - limitIncrementFunction: String - limitDecrementFunction: String - limitIncrementTrigger: String - limitDecrementTrigger: String - limitUpdateTrigger: String - limitCheckFunction: String - prefix: String - membershipType: Int! - entityTableId: UUID - actorTableId: UUID + databaseId: UUID + tableId: UUID! + name: String + type: String + fieldIds: [UUID]! + expr: JSON + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime } -"""The output of our create `ProfilesModule` mutation.""" -type CreateProfilesModulePayload { +"""The output of our create `Policy` mutation.""" +type CreatePolicyPayload { """ 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 created by this mutation.""" - profilesModule: ProfilesModule + """The `Policy` that was created by this mutation.""" + policy: Policy """ 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 `Policy`. May be used by Relay 1.""" + policyEdge( + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!]! = [PRIMARY_KEY_ASC] + ): PolicyEdge } -"""All input for the create `ProfilesModule` mutation.""" -input CreateProfilesModuleInput { +"""All input for the create `Policy` mutation.""" +input CreatePolicyInput { """ 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 `ProfilesModule` to be created by this mutation.""" - profilesModule: ProfilesModuleInput! + """The `Policy` to be created by this mutation.""" + policy: PolicyInput! } -"""An input for mutations affecting `ProfilesModule`""" -input ProfilesModuleInput { +"""An input for mutations affecting `Policy`""" +input PolicyInput { id: UUID - databaseId: UUID! - schemaId: UUID - privateSchemaId: UUID - tableId: UUID - tableName: String - profilePermissionsTableId: UUID - profilePermissionsTableName: String - profileGrantsTableId: UUID - profileGrantsTableName: String - profileDefinitionGrantsTableId: UUID - profileDefinitionGrantsTableName: String - membershipType: Int! - entityTableId: UUID - actorTableId: UUID - permissionsTableId: UUID - membershipsTableId: UUID - prefix: String + databaseId: UUID + tableId: UUID! + name: String + granteeName: String + privilege: String + permissive: Boolean + disabled: Boolean + policyType: String + data: JSON + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime } -"""The output of our create `Index` mutation.""" -type CreateIndexPayload { +"""The output of our create `AstMigration` mutation.""" +type CreateAstMigrationPayload { """ 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 `Index` that was created by this mutation.""" - index: Index + """The `AstMigration` that was created by this mutation.""" + astMigration: AstMigration """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our `Index`. May be used by Relay 1.""" - indexEdge( - """The method to use when ordering `Index`.""" - orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] - ): IndexEdge } -"""All input for the create `Index` mutation.""" -input CreateIndexInput { +"""All input for the create `AstMigration` mutation.""" +input CreateAstMigrationInput { """ 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 `Index` to be created by this mutation.""" - index: IndexInput! + """The `AstMigration` to be created by this mutation.""" + astMigration: AstMigrationInput! } -"""An input for mutations affecting `Index`""" -input IndexInput { - id: UUID - databaseId: UUID! - tableId: UUID! +"""An input for mutations affecting `AstMigration`""" +input AstMigrationInput { + id: Int + databaseId: UUID name: String - fieldIds: [UUID] - includeFieldIds: [UUID] - accessMethod: String - indexParams: JSON - whereClause: JSON - isUnique: Boolean - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] + requires: [String] + payload: JSON + deploys: String + deploy: JSON + revert: JSON + verify: JSON createdAt: Datetime - updatedAt: Datetime + action: String + actionId: UUID + actorId: UUID } """The output of our create `AppMembership` mutation.""" @@ -33029,124 +34389,234 @@ input OrgMembershipInput { profileId: UUID } -"""The output of our create `Invite` mutation.""" -type CreateInvitePayload { +"""The output of our create `Schema` mutation.""" +type CreateSchemaPayload { """ 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 `Invite` that was created by this mutation.""" - invite: Invite + """The `Schema` that was created by this mutation.""" + schema: Schema """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Invite`. May be used by Relay 1.""" - inviteEdge( - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] - ): InviteEdge + """An edge for our `Schema`. May be used by Relay 1.""" + schemaEdge( + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaEdge } -"""All input for the create `Invite` mutation.""" -input CreateInviteInput { +"""All input for the create `Schema` mutation.""" +input CreateSchemaInput { """ 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 `Invite` to be created by this mutation.""" - invite: InviteInput! + """The `Schema` to be created by this mutation.""" + schema: SchemaInput! } -"""An input for mutations affecting `Invite`""" -input InviteInput { +"""An input for mutations affecting `Schema`""" +input SchemaInput { id: UUID + databaseId: UUID! + name: String! + schemaName: String! + label: String + description: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + isPublic: Boolean + createdAt: Datetime + updatedAt: Datetime +} - """Email address of the invited recipient""" - email: ConstructiveInternalTypeEmail +"""The output of our create `App` mutation.""" +type CreateAppPayload { + """ + 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 - """User ID of the member who sent this invitation""" - senderId: UUID + """The `App` that was created by this mutation.""" + app: App - """Unique random hex token used to redeem this invitation""" - inviteToken: String + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Whether this invitation is still valid and can be redeemed""" - inviteValid: Boolean + """An edge for our `App`. May be used by Relay 1.""" + appEdge( + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppEdge +} - """Maximum number of times this invite can be claimed; -1 means unlimited""" - inviteLimit: Int +"""All input for the create `App` mutation.""" +input CreateAppInput { + """ + 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 - """Running count of how many times this invite has been claimed""" - inviteCount: Int + """The `App` to be created by this mutation.""" + app: AppInput! +} - """Whether this invite can be claimed by multiple recipients""" - multiple: Boolean +"""An input for mutations affecting `App`""" +input AppInput { + """Unique identifier for this app""" + id: UUID - """Optional JSON payload of additional invite metadata""" - data: JSON + """Reference to the metaschema database this app belongs to""" + databaseId: UUID! - """Timestamp after which this invitation can no longer be redeemed""" - expiresAt: Datetime - createdAt: Datetime - updatedAt: Datetime + """Site this app is associated with (one app per site)""" + siteId: UUID! + + """Display name of the app""" + name: String + + """App icon or promotional image""" + appImage: ConstructiveInternalTypeImage + + """URL to the Apple App Store listing""" + appStoreLink: ConstructiveInternalTypeUrl + + """Apple App Store application identifier""" + appStoreId: String + + """ + Apple App ID prefix (Team ID) for universal links and associated domains + """ + appIdPrefix: String + + """URL to the Google Play Store listing""" + playStoreLink: ConstructiveInternalTypeUrl } -"""The output of our create `Schema` mutation.""" -type CreateSchemaPayload { +"""The output of our create `Site` mutation.""" +type CreateSitePayload { """ 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 `Schema` that was created by this mutation.""" - schema: Schema + """The `Site` that was created by this mutation.""" + site: Site """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Schema`. May be used by Relay 1.""" - schemaEdge( - """The method to use when ordering `Schema`.""" - orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] - ): SchemaEdge + """An edge for our `Site`. May be used by Relay 1.""" + siteEdge( + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteEdge } -"""All input for the create `Schema` mutation.""" -input CreateSchemaInput { +"""All input for the create `Site` mutation.""" +input CreateSiteInput { """ 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 `Schema` to be created by this mutation.""" - schema: SchemaInput! + """The `Site` to be created by this mutation.""" + site: SiteInput! } -"""An input for mutations affecting `Schema`""" -input SchemaInput { +"""An input for mutations affecting `Site`""" +input SiteInput { + """Unique identifier for this site""" id: UUID + + """Reference to the metaschema database this site belongs to""" databaseId: UUID! - name: String! - schemaName: String! - label: String + + """Display title for the site (max 120 characters)""" + title: String + + """Short description of the site (max 120 characters)""" description: String - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] - isPublic: Boolean + + """Open Graph image used for social media link previews""" + ogImage: ConstructiveInternalTypeImage + + """Browser favicon attachment""" + favicon: ConstructiveInternalTypeAttachment + + """Apple touch icon for iOS home screen bookmarks""" + appleTouchIcon: ConstructiveInternalTypeImage + + """Primary logo image for the site""" + logo: ConstructiveInternalTypeImage + + """PostgreSQL database name this site connects to""" + dbname: String +} + +"""The output of our create `User` mutation.""" +type CreateUserPayload { + """ + 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 `User` that was created by this mutation.""" + user: User + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `User`. May be used by Relay 1.""" + userEdge( + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserEdge +} + +"""All input for the create `User` mutation.""" +input CreateUserInput { + """ + 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 `User` to be created by this mutation.""" + user: UserInput! +} + +"""An input for mutations affecting `User`""" +input UserInput { + id: UUID + username: String + displayName: String + profilePicture: ConstructiveInternalTypeImage + searchTsv: FullText + type: Int createdAt: Datetime updatedAt: Datetime } @@ -33210,43 +34680,43 @@ input HierarchyModuleInput { createdAt: Datetime } -"""The output of our create `OrgInvite` mutation.""" -type CreateOrgInvitePayload { +"""The output of our create `Invite` mutation.""" +type CreateInvitePayload { """ 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 `OrgInvite` that was created by this mutation.""" - orgInvite: OrgInvite + """The `Invite` that was created by this mutation.""" + invite: Invite """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgInvite`. May be used by Relay 1.""" - orgInviteEdge( - """The method to use when ordering `OrgInvite`.""" - orderBy: [OrgInviteOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgInviteEdge + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge } -"""All input for the create `OrgInvite` mutation.""" -input CreateOrgInviteInput { +"""All input for the create `Invite` mutation.""" +input CreateInviteInput { """ 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 `OrgInvite` to be created by this mutation.""" - orgInvite: OrgInviteInput! + """The `Invite` to be created by this mutation.""" + invite: InviteInput! } -"""An input for mutations affecting `OrgInvite`""" -input OrgInviteInput { +"""An input for mutations affecting `Invite`""" +input InviteInput { id: UUID """Email address of the invited recipient""" @@ -33255,9 +34725,6 @@ input OrgInviteInput { """User ID of the member who sent this invitation""" senderId: UUID - """User ID of the intended recipient, if targeting a specific user""" - receiverId: UUID - """Unique random hex token used to redeem this invitation""" inviteToken: String @@ -33280,7 +34747,64 @@ input OrgInviteInput { expiresAt: Datetime createdAt: Datetime updatedAt: Datetime - entityId: UUID! +} + +"""The output of our create `Index` mutation.""" +type CreateIndexPayload { + """ + 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 `Index` that was created by this mutation.""" + index: Index + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Index`. May be used by Relay 1.""" + indexEdge( + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] + ): IndexEdge +} + +"""All input for the create `Index` mutation.""" +input CreateIndexInput { + """ + 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 `Index` to be created by this mutation.""" + index: IndexInput! +} + +"""An input for mutations affecting `Index`""" +input IndexInput { + id: UUID + databaseId: UUID! + tableId: UUID! + name: String + fieldIds: [UUID] + includeFieldIds: [UUID] + accessMethod: String + indexParams: JSON + whereClause: JSON + isUnique: Boolean + options: JSON + opClasses: [String] + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime } """The output of our create `ForeignKeyConstraint` mutation.""" @@ -33340,6 +34864,79 @@ input ForeignKeyConstraintInput { updatedAt: Datetime } +"""The output of our create `OrgInvite` mutation.""" +type CreateOrgInvitePayload { + """ + 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 `OrgInvite` that was created by this mutation.""" + orgInvite: OrgInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgInvite`. May be used by Relay 1.""" + orgInviteEdge( + """The method to use when ordering `OrgInvite`.""" + orderBy: [OrgInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgInviteEdge +} + +"""All input for the create `OrgInvite` mutation.""" +input CreateOrgInviteInput { + """ + 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 `OrgInvite` to be created by this mutation.""" + orgInvite: OrgInviteInput! +} + +"""An input for mutations affecting `OrgInvite`""" +input OrgInviteInput { + id: UUID + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID + + """User ID of the intended recipient, if targeting a specific user""" + receiverId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int + + """Running count of how many times this invite has been claimed""" + inviteCount: Int + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime + entityId: UUID! +} + """The output of our create `Table` mutation.""" type CreateTablePayload { """ @@ -33528,69 +35125,6 @@ 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 - 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 `RelationProvision` mutation.""" type CreateRelationProvisionPayload { """ @@ -33812,6 +35346,69 @@ 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 { """ @@ -34087,65 +35684,6 @@ input OrgMemberPatch { entityId: 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 `Ref` mutation.""" type UpdateRefPayload { """ @@ -34199,64 +35737,6 @@ input RefPatch { commitId: UUID } -"""The output of our update `Store` mutation.""" -type UpdateStorePayload { - """ - 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 `Store` that was updated by this mutation.""" - store: Store - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Store`. May be used by Relay 1.""" - storeEdge( - """The method to use when ordering `Store`.""" - orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] - ): StoreEdge -} - -"""All input for the `updateStore` mutation.""" -input UpdateStoreInput { - """ - 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 primary unique identifier for the store.""" - id: UUID! - - """ - An object where the defined keys will be set on the `Store` being updated. - """ - storePatch: StorePatch! -} - -""" -Represents an update to a `Store`. Fields that are set will be updated. -""" -input StorePatch { - """The primary unique identifier for the store.""" - id: UUID - - """The name of the store (e.g., metaschema, migrations).""" - name: String - - """The database this store belongs to.""" - databaseId: UUID - - """The current head tree_id for this store.""" - hash: UUID - createdAt: Datetime -} - """The output of our update `EncryptedSecretsModule` mutation.""" type UpdateEncryptedSecretsModulePayload { """ @@ -34453,6 +35933,177 @@ input UuidModulePatch { 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 { + """ + 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 `Store` that was updated by this mutation.""" + store: Store + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Store`. May be used by Relay 1.""" + storeEdge( + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] + ): StoreEdge +} + +"""All input for the `updateStore` mutation.""" +input UpdateStoreInput { + """ + 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 primary unique identifier for the store.""" + id: UUID! + + """ + An object where the defined keys will be set on the `Store` being updated. + """ + storePatch: StorePatch! +} + +""" +Represents an update to a `Store`. Fields that are set will be updated. +""" +input StorePatch { + """The primary unique identifier for the store.""" + id: UUID + + """The name of the store (e.g., metaschema, migrations).""" + name: String + + """The database this store belongs to.""" + databaseId: UUID + + """The current head tree_id for this store.""" + hash: UUID + createdAt: Datetime +} + +"""The output of our update `ViewRule` mutation.""" +type UpdateViewRulePayload { + """ + 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 `ViewRule` that was updated by this mutation.""" + viewRule: ViewRule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewRule`. May be used by Relay 1.""" + viewRuleEdge( + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewRuleEdge +} + +"""All input for the `updateViewRule` mutation.""" +input UpdateViewRuleInput { + """ + 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 `ViewRule` being updated. + """ + viewRulePatch: ViewRulePatch! +} + +""" +Represents an update to a `ViewRule`. Fields that are set will be updated. +""" +input ViewRulePatch { + id: UUID + databaseId: UUID + viewId: UUID + name: String + + """INSERT, UPDATE, or DELETE""" + event: String + + """NOTHING (for read-only) or custom action""" + action: String +} + """The output of our update `AppPermissionDefault` mutation.""" type UpdateAppPermissionDefaultPayload { """ @@ -34721,60 +36372,6 @@ input TriggerFunctionPatch { updatedAt: Datetime } -"""The output of our update `ViewRule` mutation.""" -type UpdateViewRulePayload { - """ - 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 `ViewRule` that was updated by this mutation.""" - viewRule: ViewRule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `ViewRule`. May be used by Relay 1.""" - viewRuleEdge( - """The method to use when ordering `ViewRule`.""" - orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): ViewRuleEdge -} - -"""All input for the `updateViewRule` mutation.""" -input UpdateViewRuleInput { - """ - 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 `ViewRule` being updated. - """ - viewRulePatch: ViewRulePatch! -} - -""" -Represents an update to a `ViewRule`. Fields that are set will be updated. -""" -input ViewRulePatch { - id: UUID - databaseId: UUID - viewId: UUID - name: String - - """INSERT, UPDATE, or DELETE""" - event: String - - """NOTHING (for read-only) or custom action""" - action: String -} - """The output of our update `AppAdminGrant` mutation.""" type UpdateAppAdminGrantPayload { """ @@ -34883,103 +36480,6 @@ input AppOwnerGrantPatch { updatedAt: Datetime } -"""The output of our update `RoleType` mutation.""" -type UpdateRoleTypePayload { - """ - 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 `RoleType` that was updated by this mutation.""" - roleType: RoleType - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RoleType`. May be used by Relay 1.""" - roleTypeEdge( - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): RoleTypeEdge -} - -"""All input for the `updateRoleType` mutation.""" -input UpdateRoleTypeInput { - """ - 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: Int! - - """ - An object where the defined keys will be set on the `RoleType` being updated. - """ - roleTypePatch: RoleTypePatch! -} - -""" -Represents an update to a `RoleType`. Fields that are set will be updated. -""" -input RoleTypePatch { - id: Int - name: String -} - -"""The output of our update `OrgPermissionDefault` mutation.""" -type UpdateOrgPermissionDefaultPayload { - """ - 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 `OrgPermissionDefault` that was updated by this mutation.""" - orgPermissionDefault: OrgPermissionDefault - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" - orgPermissionDefaultEdge( - """The method to use when ordering `OrgPermissionDefault`.""" - orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgPermissionDefaultEdge -} - -"""All input for the `updateOrgPermissionDefault` mutation.""" -input UpdateOrgPermissionDefaultInput { - """ - 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 `OrgPermissionDefault` being updated. - """ - orgPermissionDefaultPatch: OrgPermissionDefaultPatch! -} - -""" -Represents an update to a `OrgPermissionDefault`. Fields that are set will be updated. -""" -input OrgPermissionDefaultPatch { - id: UUID - - """Default permission bitmask applied to new members""" - permissions: BitString - - """References the entity these default permissions apply to""" - entityId: UUID -} - """The output of our update `DefaultPrivilege` mutation.""" type UpdateDefaultPrivilegePayload { """ @@ -35523,82 +37023,77 @@ input CryptoAddressPatch { updatedAt: Datetime } -"""The output of our update `AppLimitDefault` mutation.""" -type UpdateAppLimitDefaultPayload { +"""The output of our update `RoleType` mutation.""" +type UpdateRoleTypePayload { """ 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 `AppLimitDefault` that was updated by this mutation.""" - appLimitDefault: AppLimitDefault + """The `RoleType` that was updated by this mutation.""" + roleType: RoleType """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppLimitDefault`. May be used by Relay 1.""" - appLimitDefaultEdge( - """The method to use when ordering `AppLimitDefault`.""" - orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppLimitDefaultEdge + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge } -"""All input for the `updateAppLimitDefault` mutation.""" -input UpdateAppLimitDefaultInput { +"""All input for the `updateRoleType` mutation.""" +input UpdateRoleTypeInput { """ 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! + id: Int! """ - An object where the defined keys will be set on the `AppLimitDefault` being updated. + An object where the defined keys will be set on the `RoleType` being updated. """ - appLimitDefaultPatch: AppLimitDefaultPatch! + roleTypePatch: RoleTypePatch! } """ -Represents an update to a `AppLimitDefault`. Fields that are set will be updated. +Represents an update to a `RoleType`. Fields that are set will be updated. """ -input AppLimitDefaultPatch { - id: UUID - - """Name identifier of the limit this default applies to""" +input RoleTypePatch { + id: Int name: String - - """Default maximum usage allowed for this limit""" - max: Int } -"""The output of our update `OrgLimitDefault` mutation.""" -type UpdateOrgLimitDefaultPayload { +"""The output of our update `OrgPermissionDefault` mutation.""" +type UpdateOrgPermissionDefaultPayload { """ 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 `OrgLimitDefault` that was updated by this mutation.""" - orgLimitDefault: OrgLimitDefault + """The `OrgPermissionDefault` that was updated by this mutation.""" + orgPermissionDefault: OrgPermissionDefault """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" - orgLimitDefaultEdge( - """The method to use when ordering `OrgLimitDefault`.""" - orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgLimitDefaultEdge + """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" + orgPermissionDefaultEdge( + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultEdge } -"""All input for the `updateOrgLimitDefault` mutation.""" -input UpdateOrgLimitDefaultInput { +"""All input for the `updateOrgPermissionDefault` mutation.""" +input UpdateOrgPermissionDefaultInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -35607,22 +37102,22 @@ input UpdateOrgLimitDefaultInput { id: UUID! """ - An object where the defined keys will be set on the `OrgLimitDefault` being updated. + An object where the defined keys will be set on the `OrgPermissionDefault` being updated. """ - orgLimitDefaultPatch: OrgLimitDefaultPatch! + orgPermissionDefaultPatch: OrgPermissionDefaultPatch! } """ -Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. +Represents an update to a `OrgPermissionDefault`. Fields that are set will be updated. """ -input OrgLimitDefaultPatch { +input OrgPermissionDefaultPatch { id: UUID - """Name identifier of the limit this default applies to""" - name: String + """Default permission bitmask applied to new members""" + permissions: BitString - """Default maximum usage allowed for this limit""" - max: Int + """References the entity these default permissions apply to""" + entityId: UUID } """The output of our update `Database` mutation.""" @@ -35729,6 +37224,168 @@ input CryptoAddressesModulePatch { cryptoNetwork: String } +"""The output of our update `PhoneNumber` mutation.""" +type UpdatePhoneNumberPayload { + """ + 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 `PhoneNumber` that was updated by this mutation.""" + phoneNumber: PhoneNumber + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PhoneNumber`. May be used by Relay 1.""" + phoneNumberEdge( + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumberEdge +} + +"""All input for the `updatePhoneNumber` mutation.""" +input UpdatePhoneNumberInput { + """ + 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 `PhoneNumber` being updated. + """ + phoneNumberPatch: PhoneNumberPatch! +} + +""" +Represents an update to a `PhoneNumber`. Fields that are set will be updated. +""" +input PhoneNumberPatch { + 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 +} + +"""The output of our update `AppLimitDefault` mutation.""" +type UpdateAppLimitDefaultPayload { + """ + 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 `AppLimitDefault` that was updated by this mutation.""" + appLimitDefault: AppLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `AppLimitDefault`. May be used by Relay 1.""" + appLimitDefaultEdge( + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitDefaultEdge +} + +"""All input for the `updateAppLimitDefault` mutation.""" +input UpdateAppLimitDefaultInput { + """ + 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 `AppLimitDefault` being updated. + """ + appLimitDefaultPatch: AppLimitDefaultPatch! +} + +""" +Represents an update to a `AppLimitDefault`. Fields that are set will be updated. +""" +input AppLimitDefaultPatch { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String + + """Default maximum usage allowed for this limit""" + max: Int +} + +"""The output of our update `OrgLimitDefault` mutation.""" +type UpdateOrgLimitDefaultPayload { + """ + 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 `OrgLimitDefault` that was updated by this mutation.""" + orgLimitDefault: OrgLimitDefault + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" + orgLimitDefaultEdge( + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultEdge +} + +"""All input for the `updateOrgLimitDefault` mutation.""" +input UpdateOrgLimitDefaultInput { + """ + 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 `OrgLimitDefault` being updated. + """ + orgLimitDefaultPatch: OrgLimitDefaultPatch! +} + +""" +Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. +""" +input OrgLimitDefaultPatch { + id: UUID + + """Name identifier of the limit this default applies to""" + name: String + + """Default maximum usage allowed for this limit""" + max: Int +} + """The output of our update `ConnectedAccount` mutation.""" type UpdateConnectedAccountPayload { """ @@ -35789,129 +37446,6 @@ input ConnectedAccountPatch { updatedAt: Datetime } -"""The output of our update `PhoneNumber` mutation.""" -type UpdatePhoneNumberPayload { - """ - 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 `PhoneNumber` that was updated by this mutation.""" - phoneNumber: PhoneNumber - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `PhoneNumber`. May be used by Relay 1.""" - phoneNumberEdge( - """The method to use when ordering `PhoneNumber`.""" - orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] - ): PhoneNumberEdge -} - -"""All input for the `updatePhoneNumber` mutation.""" -input UpdatePhoneNumberInput { - """ - 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 `PhoneNumber` being updated. - """ - phoneNumberPatch: PhoneNumberPatch! -} - -""" -Represents an update to a `PhoneNumber`. Fields that are set will be updated. -""" -input PhoneNumberPatch { - 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 -} - -"""The output of our update `MembershipType` mutation.""" -type UpdateMembershipTypePayload { - """ - 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 `MembershipType` that was updated by this mutation.""" - membershipType: MembershipType - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `MembershipType`. May be used by Relay 1.""" - membershipTypeEdge( - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipTypeEdge -} - -"""All input for the `updateMembershipType` mutation.""" -input UpdateMembershipTypeInput { - """ - 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 - - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! - - """ - An object where the defined keys will be set on the `MembershipType` being updated. - """ - membershipTypePatch: MembershipTypePatch! -} - -""" -Represents an update to a `MembershipType`. Fields that are set will be updated. -""" -input MembershipTypePatch { - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int - - """Human-readable name of the membership type""" - name: String - - """Description of what this membership type represents""" - description: String - - """ - Short prefix used to namespace tables and functions for this membership scope - """ - prefix: String -} - """The output of our update `FieldModule` mutation.""" type UpdateFieldModulePayload { """ @@ -35965,59 +37499,6 @@ input FieldModulePatch { functions: [String] } -"""The output of our update `TableModule` mutation.""" -type UpdateTableModulePayload { - """ - 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 `TableModule` that was updated by this mutation.""" - tableModule: TableModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `TableModule`. May be used by Relay 1.""" - tableModuleEdge( - """The method to use when ordering `TableModule`.""" - orderBy: [TableModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): TableModuleEdge -} - -"""All input for the `updateTableModule` mutation.""" -input UpdateTableModuleInput { - """ - 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 `TableModule` being updated. - """ - tableModulePatch: TableModulePatch! -} - -""" -Represents an update to a `TableModule`. Fields that are set will be updated. -""" -input TableModulePatch { - id: UUID - databaseId: UUID - schemaId: UUID - tableId: UUID - tableName: String - nodeType: String - useRls: Boolean - data: JSON - fields: [UUID] -} - """The output of our update `TableTemplateModule` mutation.""" type UpdateTableTemplateModulePayload { """ @@ -36218,6 +37699,69 @@ input NodeTypeRegistryPatch { updatedAt: Datetime } +"""The output of our update `MembershipType` mutation.""" +type UpdateMembershipTypePayload { + """ + 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 `MembershipType` that was updated by this mutation.""" + membershipType: MembershipType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge +} + +"""All input for the `updateMembershipType` mutation.""" +input UpdateMembershipTypeInput { + """ + 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 + + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! + + """ + An object where the defined keys will be set on the `MembershipType` being updated. + """ + membershipTypePatch: MembershipTypePatch! +} + +""" +Represents an update to a `MembershipType`. Fields that are set will be updated. +""" +input MembershipTypePatch { + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int + + """Human-readable name of the membership type""" + name: String + + """Description of what this membership type represents""" + description: String + + """ + Short prefix used to namespace tables and functions for this membership scope + """ + prefix: String +} + """The output of our update `TableGrant` mutation.""" type UpdateTableGrantPayload { """ @@ -36738,6 +38282,116 @@ input SiteMetadatumPatch { """The `Upload` scalar type represents a file upload.""" scalar Upload +"""The output of our update `RlsModule` mutation.""" +type UpdateRlsModulePayload { + """ + 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 `RlsModule` that was updated by this mutation.""" + rlsModule: RlsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RlsModule`. May be used by Relay 1.""" + rlsModuleEdge( + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): RlsModuleEdge +} + +"""All input for the `updateRlsModule` mutation.""" +input UpdateRlsModuleInput { + """ + 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 `RlsModule` being updated. + """ + rlsModulePatch: RlsModulePatch! +} + +""" +Represents an update to a `RlsModule`. Fields that are set will be updated. +""" +input RlsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + sessionCredentialsTableId: UUID + sessionsTableId: UUID + usersTableId: UUID + authenticate: String + authenticateStrict: String + currentRole: String + currentRoleId: String +} + +"""The output of our update `SessionsModule` mutation.""" +type UpdateSessionsModulePayload { + """ + 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 `SessionsModule` that was updated by this mutation.""" + sessionsModule: SessionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SessionsModule`. May be used by Relay 1.""" + sessionsModuleEdge( + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SessionsModuleEdge +} + +"""All input for the `updateSessionsModule` mutation.""" +input UpdateSessionsModuleInput { + """ + 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 `SessionsModule` being updated. + """ + sessionsModulePatch: SessionsModulePatch! +} + +""" +Represents an update to a `SessionsModule`. Fields that are set will be updated. +""" +input SessionsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + sessionsTableId: UUID + sessionCredentialsTableId: UUID + authSettingsTableId: UUID + usersTableId: UUID + sessionsDefaultExpiration: IntervalInput + sessionsTable: String + sessionCredentialsTable: String + authSettingsTable: String +} + """The output of our update `Object` mutation.""" type UpdateObjectPayload { """ @@ -37213,61 +38867,6 @@ input DomainPatch { domain: ConstructiveInternalTypeHostname } -"""The output of our update `SessionsModule` mutation.""" -type UpdateSessionsModulePayload { - """ - 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 `SessionsModule` that was updated by this mutation.""" - sessionsModule: SessionsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SessionsModule`. May be used by Relay 1.""" - sessionsModuleEdge( - """The method to use when ordering `SessionsModule`.""" - orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): SessionsModuleEdge -} - -"""All input for the `updateSessionsModule` mutation.""" -input UpdateSessionsModuleInput { - """ - 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 `SessionsModule` being updated. - """ - sessionsModulePatch: SessionsModulePatch! -} - -""" -Represents an update to a `SessionsModule`. Fields that are set will be updated. -""" -input SessionsModulePatch { - id: UUID - databaseId: UUID - schemaId: UUID - sessionsTableId: UUID - sessionCredentialsTableId: UUID - authSettingsTableId: UUID - usersTableId: UUID - sessionsDefaultExpiration: IntervalInput - sessionsTable: String - sessionCredentialsTable: String - authSettingsTable: String -} - """The output of our update `OrgGrant` mutation.""" type UpdateOrgGrantPayload { """ @@ -37393,62 +38992,6 @@ input OrgMembershipDefaultPatch { createGroupsCascadeMembers: Boolean } -"""The output of our update `RlsModule` mutation.""" -type UpdateRlsModulePayload { - """ - 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 `RlsModule` that was updated by this mutation.""" - rlsModule: RlsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RlsModule`. May be used by Relay 1.""" - rlsModuleEdge( - """The method to use when ordering `RlsModule`.""" - orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): RlsModuleEdge -} - -"""All input for the `updateRlsModule` mutation.""" -input UpdateRlsModuleInput { - """ - 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 `RlsModule` being updated. - """ - rlsModulePatch: RlsModulePatch! -} - -""" -Represents an update to a `RlsModule`. Fields that are set will be updated. -""" -input RlsModulePatch { - id: UUID - databaseId: UUID - apiId: UUID - schemaId: UUID - privateSchemaId: UUID - sessionCredentialsTableId: UUID - sessionsTableId: UUID - usersTableId: UUID - authenticate: String - authenticateStrict: String - currentRole: String - currentRoleId: String -} - """The output of our update `AppLevelRequirement` mutation.""" type UpdateAppLevelRequirementPayload { """ @@ -37641,119 +39184,6 @@ input AppLevelPatch { imageUpload: Upload } -"""The output of our update `Email` mutation.""" -type UpdateEmailPayload { - """ - 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 `Email` that was updated by this mutation.""" - email: Email - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Email`. May be used by Relay 1.""" - emailEdge( - """The method to use when ordering `Email`.""" - orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] - ): EmailEdge -} - -"""All input for the `updateEmail` mutation.""" -input UpdateEmailInput { - """ - 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 `Email` being updated. - """ - emailPatch: EmailPatch! -} - -""" -Represents an update to a `Email`. Fields that are set will be updated. -""" -input EmailPatch { - 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 -} - -"""The output of our update `DenormalizedTableField` mutation.""" -type UpdateDenormalizedTableFieldPayload { - """ - 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 `DenormalizedTableField` that was updated by this mutation.""" - denormalizedTableField: DenormalizedTableField - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" - denormalizedTableFieldEdge( - """The method to use when ordering `DenormalizedTableField`.""" - orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] - ): DenormalizedTableFieldEdge -} - -"""All input for the `updateDenormalizedTableField` mutation.""" -input UpdateDenormalizedTableFieldInput { - """ - 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 `DenormalizedTableField` being updated. - """ - denormalizedTableFieldPatch: DenormalizedTableFieldPatch! -} - -""" -Represents an update to a `DenormalizedTableField`. Fields that are set will be updated. -""" -input DenormalizedTableFieldPatch { - id: UUID - databaseId: UUID - tableId: UUID - fieldId: UUID - setIds: [UUID] - refTableId: UUID - refFieldId: UUID - refIds: [UUID] - useUpdates: Boolean - updateDefaults: Boolean - funcName: String - funcOrder: Int -} - """The output of our update `CryptoAuthModule` mutation.""" type UpdateCryptoAuthModulePayload { """ @@ -37950,6 +39380,119 @@ input InvitesModulePatch { entityTableId: UUID } +"""The output of our update `DenormalizedTableField` mutation.""" +type UpdateDenormalizedTableFieldPayload { + """ + 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 `DenormalizedTableField` that was updated by this mutation.""" + denormalizedTableField: DenormalizedTableField + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" + denormalizedTableFieldEdge( + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldEdge +} + +"""All input for the `updateDenormalizedTableField` mutation.""" +input UpdateDenormalizedTableFieldInput { + """ + 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 `DenormalizedTableField` being updated. + """ + denormalizedTableFieldPatch: DenormalizedTableFieldPatch! +} + +""" +Represents an update to a `DenormalizedTableField`. Fields that are set will be updated. +""" +input DenormalizedTableFieldPatch { + id: UUID + databaseId: UUID + tableId: UUID + fieldId: UUID + setIds: [UUID] + refTableId: UUID + refFieldId: UUID + refIds: [UUID] + useUpdates: Boolean + updateDefaults: Boolean + funcName: String + funcOrder: Int +} + +"""The output of our update `Email` mutation.""" +type UpdateEmailPayload { + """ + 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 `Email` that was updated by this mutation.""" + email: Email + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Email`. May be used by Relay 1.""" + emailEdge( + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailEdge +} + +"""All input for the `updateEmail` mutation.""" +input UpdateEmailInput { + """ + 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 `Email` being updated. + """ + emailPatch: EmailPatch! +} + +""" +Represents an update to a `Email`. Fields that are set will be updated. +""" +input EmailPatch { + 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 +} + """The output of our update `View` mutation.""" type UpdateViewPayload { """ @@ -37995,44 +39538,167 @@ input ViewPatch { schemaId: UUID name: String tableId: UUID - viewType: String - data: JSON - filterType: String - filterData: JSON - securityInvoker: Boolean - isReadOnly: Boolean - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] + viewType: String + data: JSON + filterType: String + filterData: JSON + securityInvoker: Boolean + isReadOnly: Boolean + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] +} + +"""The output of our update `PermissionsModule` mutation.""" +type UpdatePermissionsModulePayload { + """ + 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 `PermissionsModule` that was updated by this mutation.""" + permissionsModule: PermissionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `PermissionsModule`. May be used by Relay 1.""" + permissionsModuleEdge( + """The method to use when ordering `PermissionsModule`.""" + orderBy: [PermissionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): PermissionsModuleEdge +} + +"""All input for the `updatePermissionsModule` mutation.""" +input UpdatePermissionsModuleInput { + """ + 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 `PermissionsModule` being updated. + """ + permissionsModulePatch: PermissionsModulePatch! +} + +""" +Represents an update to a `PermissionsModule`. Fields that are set will be updated. +""" +input PermissionsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + defaultTableId: UUID + defaultTableName: String + bitlen: Int + membershipType: Int + entityTableId: UUID + actorTableId: UUID + prefix: String + getPaddedMask: String + getMask: String + getByMask: String + getMaskByName: String +} + +"""The output of our update `LimitsModule` mutation.""" +type UpdateLimitsModulePayload { + """ + 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 updated 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 `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 `updateLimitsModule` mutation.""" +input UpdateLimitsModuleInput { + """ + 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 `LimitsModule` being updated. + """ + limitsModulePatch: LimitsModulePatch! +} + +""" +Represents an update to a `LimitsModule`. Fields that are set will be updated. +""" +input LimitsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + tableId: UUID + tableName: String + defaultTableId: UUID + defaultTableName: String + limitIncrementFunction: String + limitDecrementFunction: String + limitIncrementTrigger: String + limitDecrementTrigger: String + limitUpdateTrigger: String + limitCheckFunction: String + prefix: String + membershipType: Int + entityTableId: UUID + actorTableId: UUID } -"""The output of our update `PermissionsModule` mutation.""" -type UpdatePermissionsModulePayload { +"""The output of our update `ProfilesModule` mutation.""" +type UpdateProfilesModulePayload { """ 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 `PermissionsModule` that was updated by this mutation.""" - permissionsModule: PermissionsModule + """The `ProfilesModule` that was updated 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 `PermissionsModule`. May be used by Relay 1.""" - permissionsModuleEdge( - """The method to use when ordering `PermissionsModule`.""" - orderBy: [PermissionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): PermissionsModuleEdge + """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 `updatePermissionsModule` mutation.""" -input UpdatePermissionsModuleInput { +"""All input for the `updateProfilesModule` mutation.""" +input UpdateProfilesModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -38041,32 +39707,33 @@ input UpdatePermissionsModuleInput { id: UUID! """ - An object where the defined keys will be set on the `PermissionsModule` being updated. + An object where the defined keys will be set on the `ProfilesModule` being updated. """ - permissionsModulePatch: PermissionsModulePatch! + profilesModulePatch: ProfilesModulePatch! } """ -Represents an update to a `PermissionsModule`. Fields that are set will be updated. +Represents an update to a `ProfilesModule`. Fields that are set will be updated. """ -input PermissionsModulePatch { +input ProfilesModulePatch { id: UUID databaseId: UUID schemaId: UUID privateSchemaId: UUID tableId: UUID tableName: String - defaultTableId: UUID - defaultTableName: String - bitlen: Int + profilePermissionsTableId: UUID + profilePermissionsTableName: String + profileGrantsTableId: UUID + profileGrantsTableName: String + profileDefinitionGrantsTableId: UUID + profileDefinitionGrantsTableName: String membershipType: Int entityTableId: UUID actorTableId: UUID + permissionsTableId: UUID + membershipsTableId: UUID prefix: String - getPaddedMask: String - getMask: String - getByMask: String - getMaskByName: String } """The output of our update `SecureTableProvision` mutation.""" @@ -38149,6 +39816,11 @@ input SecureTableProvisionPatch { """ 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']. """ @@ -38252,63 +39924,6 @@ input TriggerPatch { updatedAt: Datetime } -"""The output of our update `PrimaryKeyConstraint` mutation.""" -type UpdatePrimaryKeyConstraintPayload { - """ - 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 `PrimaryKeyConstraint` that was updated by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraint - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" - primaryKeyConstraintEdge( - """The method to use when ordering `PrimaryKeyConstraint`.""" - orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] - ): PrimaryKeyConstraintEdge -} - -"""All input for the `updatePrimaryKeyConstraint` mutation.""" -input UpdatePrimaryKeyConstraintInput { - """ - 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 `PrimaryKeyConstraint` being updated. - """ - primaryKeyConstraintPatch: PrimaryKeyConstraintPatch! -} - -""" -Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. -""" -input PrimaryKeyConstraintPatch { - id: UUID - databaseId: UUID - tableId: UUID - name: String - type: String - fieldIds: [UUID] - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] - createdAt: Datetime - updatedAt: Datetime -} - """The output of our update `UniqueConstraint` mutation.""" type UpdateUniqueConstraintPayload { """ @@ -38367,31 +39982,31 @@ input UniqueConstraintPatch { updatedAt: Datetime } -"""The output of our update `CheckConstraint` mutation.""" -type UpdateCheckConstraintPayload { +"""The output of our update `PrimaryKeyConstraint` mutation.""" +type UpdatePrimaryKeyConstraintPayload { """ 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 `CheckConstraint` that was updated by this mutation.""" - checkConstraint: CheckConstraint + """The `PrimaryKeyConstraint` that was updated by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraint """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `CheckConstraint`. May be used by Relay 1.""" - checkConstraintEdge( - """The method to use when ordering `CheckConstraint`.""" - orderBy: [CheckConstraintOrderBy!]! = [PRIMARY_KEY_ASC] - ): CheckConstraintEdge + """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" + primaryKeyConstraintEdge( + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintEdge } -"""All input for the `updateCheckConstraint` mutation.""" -input UpdateCheckConstraintInput { +"""All input for the `updatePrimaryKeyConstraint` mutation.""" +input UpdatePrimaryKeyConstraintInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -38400,83 +40015,21 @@ input UpdateCheckConstraintInput { id: UUID! """ - An object where the defined keys will be set on the `CheckConstraint` being updated. + An object where the defined keys will be set on the `PrimaryKeyConstraint` being updated. """ - checkConstraintPatch: CheckConstraintPatch! + primaryKeyConstraintPatch: PrimaryKeyConstraintPatch! } """ -Represents an update to a `CheckConstraint`. Fields that are set will be updated. +Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. """ -input CheckConstraintPatch { +input PrimaryKeyConstraintPatch { id: UUID databaseId: UUID tableId: UUID name: String type: String fieldIds: [UUID] - expr: JSON - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] - createdAt: Datetime - updatedAt: Datetime -} - -"""The output of our update `Policy` mutation.""" -type UpdatePolicyPayload { - """ - 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 `Policy` that was updated by this mutation.""" - policy: Policy - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Policy`. May be used by Relay 1.""" - policyEdge( - """The method to use when ordering `Policy`.""" - orderBy: [PolicyOrderBy!]! = [PRIMARY_KEY_ASC] - ): PolicyEdge -} - -"""All input for the `updatePolicy` mutation.""" -input UpdatePolicyInput { - """ - 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 `Policy` being updated. - """ - policyPatch: PolicyPatch! -} - -""" -Represents an update to a `Policy`. Fields that are set will be updated. -""" -input PolicyPatch { - id: UUID - databaseId: UUID - tableId: UUID - name: String - granteeName: String - privilege: String - permissive: Boolean - disabled: Boolean - policyType: String - data: JSON smartTags: JSON category: ObjectCategory module: String @@ -38486,303 +40039,31 @@ input PolicyPatch { updatedAt: Datetime } -"""The output of our update `App` mutation.""" -type UpdateAppPayload { - """ - 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 `App` that was updated by this mutation.""" - app: App - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `App`. May be used by Relay 1.""" - appEdge( - """The method to use when ordering `App`.""" - orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppEdge -} - -"""All input for the `updateApp` mutation.""" -input UpdateAppInput { - """ - 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 app""" - id: UUID! - - """ - An object where the defined keys will be set on the `App` being updated. - """ - appPatch: AppPatch! -} - -"""Represents an update to a `App`. Fields that are set will be updated.""" -input AppPatch { - """Unique identifier for this app""" - id: UUID - - """Reference to the metaschema database this app belongs to""" - databaseId: UUID - - """Site this app is associated with (one app per site)""" - siteId: UUID - - """Display name of the app""" - name: String - - """App icon or promotional image""" - appImage: ConstructiveInternalTypeImage - - """URL to the Apple App Store listing""" - appStoreLink: ConstructiveInternalTypeUrl - - """Apple App Store application identifier""" - appStoreId: String - - """ - Apple App ID prefix (Team ID) for universal links and associated domains - """ - appIdPrefix: String - - """URL to the Google Play Store listing""" - playStoreLink: ConstructiveInternalTypeUrl - - """Upload for App icon or promotional image""" - appImageUpload: Upload -} - -"""The output of our update `Site` mutation.""" -type UpdateSitePayload { - """ - 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 `Site` that was updated by this mutation.""" - site: Site - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Site`. May be used by Relay 1.""" - siteEdge( - """The method to use when ordering `Site`.""" - orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] - ): SiteEdge -} - -"""All input for the `updateSite` mutation.""" -input UpdateSiteInput { - """ - 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 site""" - id: UUID! - - """ - An object where the defined keys will be set on the `Site` being updated. - """ - sitePatch: SitePatch! -} - -"""Represents an update to a `Site`. Fields that are set will be updated.""" -input SitePatch { - """Unique identifier for this site""" - id: UUID - - """Reference to the metaschema database this site belongs to""" - databaseId: UUID - - """Display title for the site (max 120 characters)""" - title: String - - """Short description of the site (max 120 characters)""" - description: String - - """Open Graph image used for social media link previews""" - ogImage: ConstructiveInternalTypeImage - - """Browser favicon attachment""" - favicon: ConstructiveInternalTypeAttachment - - """Apple touch icon for iOS home screen bookmarks""" - appleTouchIcon: ConstructiveInternalTypeImage - - """Primary logo image for the site""" - logo: ConstructiveInternalTypeImage - - """PostgreSQL database name this site connects to""" - dbname: String - - """Upload for Open Graph image used for social media link previews""" - ogImageUpload: Upload - - """Upload for Browser favicon attachment""" - faviconUpload: Upload - - """Upload for Apple touch icon for iOS home screen bookmarks""" - appleTouchIconUpload: Upload - - """Upload for Primary logo image for the site""" - logoUpload: Upload -} - -"""The output of our update `User` mutation.""" -type UpdateUserPayload { - """ - 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 `User` that was updated by this mutation.""" - user: User - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `User`. May be used by Relay 1.""" - userEdge( - """The method to use when ordering `User`.""" - orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] - ): UserEdge -} - -"""All input for the `updateUser` mutation.""" -input UpdateUserInput { - """ - 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 `User` being updated. - """ - userPatch: UserPatch! -} - -"""Represents an update to a `User`. Fields that are set will be updated.""" -input UserPatch { - id: UUID - username: String - displayName: String - profilePicture: ConstructiveInternalTypeImage - searchTsv: FullText - type: Int - createdAt: Datetime - updatedAt: Datetime - - """File upload for the `profilePicture` field.""" - profilePictureUpload: Upload -} - -"""The output of our update `LimitsModule` mutation.""" -type UpdateLimitsModulePayload { - """ - 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 updated 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 `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 `updateLimitsModule` mutation.""" -input UpdateLimitsModuleInput { - """ - 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 `LimitsModule` being updated. - """ - limitsModulePatch: LimitsModulePatch! -} - -""" -Represents an update to a `LimitsModule`. Fields that are set will be updated. -""" -input LimitsModulePatch { - id: UUID - databaseId: UUID - schemaId: UUID - privateSchemaId: UUID - tableId: UUID - tableName: String - defaultTableId: UUID - defaultTableName: String - limitIncrementFunction: String - limitDecrementFunction: String - limitIncrementTrigger: String - limitDecrementTrigger: String - limitUpdateTrigger: String - limitCheckFunction: String - prefix: String - membershipType: Int - entityTableId: UUID - actorTableId: UUID -} - -"""The output of our update `ProfilesModule` mutation.""" -type UpdateProfilesModulePayload { +"""The output of our update `CheckConstraint` mutation.""" +type UpdateCheckConstraintPayload { """ 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 updated by this mutation.""" - profilesModule: ProfilesModule + """The `CheckConstraint` that was updated by this mutation.""" + checkConstraint: CheckConstraint """ 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 `CheckConstraint`. May be used by Relay 1.""" + checkConstraintEdge( + """The method to use when ordering `CheckConstraint`.""" + orderBy: [CheckConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): CheckConstraintEdge } -"""All input for the `updateProfilesModule` mutation.""" -input UpdateProfilesModuleInput { +"""All input for the `updateCheckConstraint` mutation.""" +input UpdateCheckConstraintInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -38791,60 +40072,56 @@ input UpdateProfilesModuleInput { id: UUID! """ - An object where the defined keys will be set on the `ProfilesModule` being updated. + An object where the defined keys will be set on the `CheckConstraint` being updated. """ - profilesModulePatch: ProfilesModulePatch! + checkConstraintPatch: CheckConstraintPatch! } """ -Represents an update to a `ProfilesModule`. Fields that are set will be updated. +Represents an update to a `CheckConstraint`. Fields that are set will be updated. """ -input ProfilesModulePatch { +input CheckConstraintPatch { id: UUID databaseId: UUID - schemaId: UUID - privateSchemaId: UUID tableId: UUID - tableName: String - profilePermissionsTableId: UUID - profilePermissionsTableName: String - profileGrantsTableId: UUID - profileGrantsTableName: String - profileDefinitionGrantsTableId: UUID - profileDefinitionGrantsTableName: String - membershipType: Int - entityTableId: UUID - actorTableId: UUID - permissionsTableId: UUID - membershipsTableId: UUID - prefix: String + name: String + type: String + fieldIds: [UUID] + expr: JSON + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime } -"""The output of our update `Index` mutation.""" -type UpdateIndexPayload { +"""The output of our update `Policy` mutation.""" +type UpdatePolicyPayload { """ 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 `Index` that was updated by this mutation.""" - index: Index + """The `Policy` that was updated by this mutation.""" + policy: Policy """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Index`. May be used by Relay 1.""" - indexEdge( - """The method to use when ordering `Index`.""" - orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] - ): IndexEdge + """An edge for our `Policy`. May be used by Relay 1.""" + policyEdge( + """The method to use when ordering `Policy`.""" + orderBy: [PolicyOrderBy!]! = [PRIMARY_KEY_ASC] + ): PolicyEdge } -"""All input for the `updateIndex` mutation.""" -input UpdateIndexInput { +"""All input for the `updatePolicy` mutation.""" +input UpdatePolicyInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -38853,25 +40130,25 @@ input UpdateIndexInput { id: UUID! """ - An object where the defined keys will be set on the `Index` being updated. + An object where the defined keys will be set on the `Policy` being updated. """ - indexPatch: IndexPatch! + policyPatch: PolicyPatch! } """ -Represents an update to a `Index`. Fields that are set will be updated. +Represents an update to a `Policy`. Fields that are set will be updated. """ -input IndexPatch { +input PolicyPatch { id: UUID databaseId: UUID tableId: UUID name: String - fieldIds: [UUID] - includeFieldIds: [UUID] - accessMethod: String - indexParams: JSON - whereClause: JSON - isUnique: Boolean + granteeName: String + privilege: String + permissive: Boolean + disabled: Boolean + policyType: String + data: JSON smartTags: JSON category: ObjectCategory module: String @@ -39053,31 +40330,31 @@ input OrgMembershipPatch { profileId: UUID } -"""The output of our update `Invite` mutation.""" -type UpdateInvitePayload { +"""The output of our update `Schema` mutation.""" +type UpdateSchemaPayload { """ 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 `Invite` that was updated by this mutation.""" - invite: Invite + """The `Schema` that was updated by this mutation.""" + schema: Schema """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Invite`. May be used by Relay 1.""" - inviteEdge( - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] - ): InviteEdge + """An edge for our `Schema`. May be used by Relay 1.""" + schemaEdge( + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaEdge } -"""All input for the `updateInvite` mutation.""" -input UpdateInviteInput { +"""All input for the `updateSchema` mutation.""" +input UpdateSchemaInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -39086,103 +40363,239 @@ input UpdateInviteInput { id: UUID! """ - An object where the defined keys will be set on the `Invite` being updated. + An object where the defined keys will be set on the `Schema` being updated. """ - invitePatch: InvitePatch! + schemaPatch: SchemaPatch! } """ -Represents an update to a `Invite`. Fields that are set will be updated. +Represents an update to a `Schema`. Fields that are set will be updated. """ -input InvitePatch { +input SchemaPatch { id: UUID + databaseId: UUID + name: String + schemaName: String + label: String + description: String + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + isPublic: Boolean + createdAt: Datetime + updatedAt: Datetime +} - """Email address of the invited recipient""" - email: ConstructiveInternalTypeEmail +"""The output of our update `App` mutation.""" +type UpdateAppPayload { + """ + 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 - """User ID of the member who sent this invitation""" - senderId: UUID + """The `App` that was updated by this mutation.""" + app: App - """Unique random hex token used to redeem this invitation""" - inviteToken: String + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Whether this invitation is still valid and can be redeemed""" - inviteValid: Boolean + """An edge for our `App`. May be used by Relay 1.""" + appEdge( + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppEdge +} - """Maximum number of times this invite can be claimed; -1 means unlimited""" - inviteLimit: Int +"""All input for the `updateApp` mutation.""" +input UpdateAppInput { + """ + 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 - """Running count of how many times this invite has been claimed""" - inviteCount: Int + """Unique identifier for this app""" + id: UUID! - """Whether this invite can be claimed by multiple recipients""" - multiple: Boolean + """ + An object where the defined keys will be set on the `App` being updated. + """ + appPatch: AppPatch! +} - """Optional JSON payload of additional invite metadata""" - data: JSON +"""Represents an update to a `App`. Fields that are set will be updated.""" +input AppPatch { + """Unique identifier for this app""" + id: UUID - """Timestamp after which this invitation can no longer be redeemed""" - expiresAt: Datetime - createdAt: Datetime - updatedAt: Datetime + """Reference to the metaschema database this app belongs to""" + databaseId: UUID + + """Site this app is associated with (one app per site)""" + siteId: UUID + + """Display name of the app""" + name: String + + """App icon or promotional image""" + appImage: ConstructiveInternalTypeImage + + """URL to the Apple App Store listing""" + appStoreLink: ConstructiveInternalTypeUrl + + """Apple App Store application identifier""" + appStoreId: String + + """ + Apple App ID prefix (Team ID) for universal links and associated domains + """ + appIdPrefix: String + + """URL to the Google Play Store listing""" + playStoreLink: ConstructiveInternalTypeUrl + + """Upload for App icon or promotional image""" + appImageUpload: Upload } -"""The output of our update `Schema` mutation.""" -type UpdateSchemaPayload { +"""The output of our update `Site` mutation.""" +type UpdateSitePayload { """ 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 `Schema` that was updated by this mutation.""" - schema: Schema + """The `Site` that was updated by this mutation.""" + site: Site """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Schema`. May be used by Relay 1.""" - schemaEdge( - """The method to use when ordering `Schema`.""" - orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] - ): SchemaEdge + """An edge for our `Site`. May be used by Relay 1.""" + siteEdge( + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteEdge } -"""All input for the `updateSchema` mutation.""" -input UpdateSchemaInput { +"""All input for the `updateSite` mutation.""" +input UpdateSiteInput { """ 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 site""" id: UUID! """ - An object where the defined keys will be set on the `Schema` being updated. + An object where the defined keys will be set on the `Site` being updated. """ - schemaPatch: SchemaPatch! + sitePatch: SitePatch! } -""" -Represents an update to a `Schema`. Fields that are set will be updated. -""" -input SchemaPatch { +"""Represents an update to a `Site`. Fields that are set will be updated.""" +input SitePatch { + """Unique identifier for this site""" id: UUID + + """Reference to the metaschema database this site belongs to""" databaseId: UUID - name: String - schemaName: String - label: String + + """Display title for the site (max 120 characters)""" + title: String + + """Short description of the site (max 120 characters)""" description: String - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] - isPublic: Boolean + + """Open Graph image used for social media link previews""" + ogImage: ConstructiveInternalTypeImage + + """Browser favicon attachment""" + favicon: ConstructiveInternalTypeAttachment + + """Apple touch icon for iOS home screen bookmarks""" + appleTouchIcon: ConstructiveInternalTypeImage + + """Primary logo image for the site""" + logo: ConstructiveInternalTypeImage + + """PostgreSQL database name this site connects to""" + dbname: String + + """Upload for Open Graph image used for social media link previews""" + ogImageUpload: Upload + + """Upload for Browser favicon attachment""" + faviconUpload: Upload + + """Upload for Apple touch icon for iOS home screen bookmarks""" + appleTouchIconUpload: Upload + + """Upload for Primary logo image for the site""" + logoUpload: Upload +} + +"""The output of our update `User` mutation.""" +type UpdateUserPayload { + """ + 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 `User` that was updated by this mutation.""" + user: User + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `User`. May be used by Relay 1.""" + userEdge( + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserEdge +} + +"""All input for the `updateUser` mutation.""" +input UpdateUserInput { + """ + 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 `User` being updated. + """ + userPatch: UserPatch! +} + +"""Represents an update to a `User`. Fields that are set will be updated.""" +input UserPatch { + id: UUID + username: String + displayName: String + profilePicture: ConstructiveInternalTypeImage + searchTsv: FullText + type: Int createdAt: Datetime updatedAt: Datetime + + """File upload for the `profilePicture` field.""" + profilePictureUpload: Upload } """The output of our update `HierarchyModule` mutation.""" @@ -39249,31 +40662,31 @@ input HierarchyModulePatch { createdAt: Datetime } -"""The output of our update `OrgInvite` mutation.""" -type UpdateOrgInvitePayload { +"""The output of our update `Invite` mutation.""" +type UpdateInvitePayload { """ 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 `OrgInvite` that was updated by this mutation.""" - orgInvite: OrgInvite + """The `Invite` that was updated by this mutation.""" + invite: Invite """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgInvite`. May be used by Relay 1.""" - orgInviteEdge( - """The method to use when ordering `OrgInvite`.""" - orderBy: [OrgInviteOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgInviteEdge + """An edge for our `Invite`. May be used by Relay 1.""" + inviteEdge( + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): InviteEdge } -"""All input for the `updateOrgInvite` mutation.""" -input UpdateOrgInviteInput { +"""All input for the `updateInvite` mutation.""" +input UpdateInviteInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -39282,15 +40695,15 @@ input UpdateOrgInviteInput { id: UUID! """ - An object where the defined keys will be set on the `OrgInvite` being updated. + An object where the defined keys will be set on the `Invite` being updated. """ - orgInvitePatch: OrgInvitePatch! + invitePatch: InvitePatch! } """ -Represents an update to a `OrgInvite`. Fields that are set will be updated. +Represents an update to a `Invite`. Fields that are set will be updated. """ -input OrgInvitePatch { +input InvitePatch { id: UUID """Email address of the invited recipient""" @@ -39299,9 +40712,6 @@ input OrgInvitePatch { """User ID of the member who sent this invitation""" senderId: UUID - """User ID of the intended recipient, if targeting a specific user""" - receiverId: UUID - """Unique random hex token used to redeem this invitation""" inviteToken: String @@ -39324,7 +40734,69 @@ input OrgInvitePatch { expiresAt: Datetime createdAt: Datetime updatedAt: Datetime - entityId: UUID +} + +"""The output of our update `Index` mutation.""" +type UpdateIndexPayload { + """ + 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 `Index` that was updated by this mutation.""" + index: Index + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Index`. May be used by Relay 1.""" + indexEdge( + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] + ): IndexEdge +} + +"""All input for the `updateIndex` mutation.""" +input UpdateIndexInput { + """ + 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 `Index` being updated. + """ + indexPatch: IndexPatch! +} + +""" +Represents an update to a `Index`. Fields that are set will be updated. +""" +input IndexPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + fieldIds: [UUID] + includeFieldIds: [UUID] + accessMethod: String + indexParams: JSON + whereClause: JSON + isUnique: Boolean + options: JSON + opClasses: [String] + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] + createdAt: Datetime + updatedAt: Datetime } """The output of our update `ForeignKeyConstraint` mutation.""" @@ -39389,6 +40861,84 @@ input ForeignKeyConstraintPatch { updatedAt: Datetime } +"""The output of our update `OrgInvite` mutation.""" +type UpdateOrgInvitePayload { + """ + 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 `OrgInvite` that was updated by this mutation.""" + orgInvite: OrgInvite + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `OrgInvite`. May be used by Relay 1.""" + orgInviteEdge( + """The method to use when ordering `OrgInvite`.""" + orderBy: [OrgInviteOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgInviteEdge +} + +"""All input for the `updateOrgInvite` mutation.""" +input UpdateOrgInviteInput { + """ + 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 `OrgInvite` being updated. + """ + orgInvitePatch: OrgInvitePatch! +} + +""" +Represents an update to a `OrgInvite`. Fields that are set will be updated. +""" +input OrgInvitePatch { + id: UUID + + """Email address of the invited recipient""" + email: ConstructiveInternalTypeEmail + + """User ID of the member who sent this invitation""" + senderId: UUID + + """User ID of the intended recipient, if targeting a specific user""" + receiverId: UUID + + """Unique random hex token used to redeem this invitation""" + inviteToken: String + + """Whether this invitation is still valid and can be redeemed""" + inviteValid: Boolean + + """Maximum number of times this invite can be claimed; -1 means unlimited""" + inviteLimit: Int + + """Running count of how many times this invite has been claimed""" + inviteCount: Int + + """Whether this invite can be claimed by multiple recipients""" + multiple: Boolean + + """Optional JSON payload of additional invite metadata""" + data: JSON + + """Timestamp after which this invitation can no longer be redeemed""" + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime + entityId: UUID +} + """The output of our update `Table` mutation.""" type UpdateTablePayload { """ @@ -39592,74 +41142,6 @@ 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 - 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 `RelationProvision` mutation.""" type UpdateRelationProvisionPayload { """ @@ -39888,6 +41370,74 @@ 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 { """ @@ -40097,41 +41647,6 @@ input DeleteOrgMemberInput { 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 `Ref` mutation.""" type DeleteRefPayload { """ @@ -40168,41 +41683,6 @@ input DeleteRefInput { databaseId: UUID! } -"""The output of our delete `Store` mutation.""" -type DeleteStorePayload { - """ - 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 `Store` that was deleted by this mutation.""" - store: Store - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Store`. May be used by Relay 1.""" - storeEdge( - """The method to use when ordering `Store`.""" - orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] - ): StoreEdge -} - -"""All input for the `deleteStore` mutation.""" -input DeleteStoreInput { - """ - 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 primary unique identifier for the store.""" - id: UUID! -} - """The output of our delete `EncryptedSecretsModule` mutation.""" type DeleteEncryptedSecretsModulePayload { """ @@ -40335,6 +41815,109 @@ input DeleteUuidModuleInput { 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 { + """ + 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 `Store` that was deleted by this mutation.""" + store: Store + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Store`. May be used by Relay 1.""" + storeEdge( + """The method to use when ordering `Store`.""" + orderBy: [StoreOrderBy!]! = [PRIMARY_KEY_ASC] + ): StoreEdge +} + +"""All input for the `deleteStore` mutation.""" +input DeleteStoreInput { + """ + 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 primary unique identifier for the store.""" + id: UUID! +} + +"""The output of our delete `ViewRule` mutation.""" +type DeleteViewRulePayload { + """ + 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 `ViewRule` that was deleted by this mutation.""" + viewRule: ViewRule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ViewRule`. May be used by Relay 1.""" + viewRuleEdge( + """The method to use when ordering `ViewRule`.""" + orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ViewRuleEdge +} + +"""All input for the `deleteViewRule` mutation.""" +input DeleteViewRuleInput { + """ + 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 `AppPermissionDefault` mutation.""" type DeleteAppPermissionDefaultPayload { """ @@ -40504,39 +42087,6 @@ input DeleteTriggerFunctionInput { id: UUID! } -"""The output of our delete `ViewRule` mutation.""" -type DeleteViewRulePayload { - """ - 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 `ViewRule` that was deleted by this mutation.""" - viewRule: ViewRule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `ViewRule`. May be used by Relay 1.""" - viewRuleEdge( - """The method to use when ordering `ViewRule`.""" - orderBy: [ViewRuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): ViewRuleEdge -} - -"""All input for the `deleteViewRule` mutation.""" -input DeleteViewRuleInput { - """ - 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 `AppAdminGrant` mutation.""" type DeleteAppAdminGrantPayload { """ @@ -40603,72 +42153,6 @@ input DeleteAppOwnerGrantInput { id: UUID! } -"""The output of our delete `RoleType` mutation.""" -type DeleteRoleTypePayload { - """ - 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 `RoleType` that was deleted by this mutation.""" - roleType: RoleType - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RoleType`. May be used by Relay 1.""" - roleTypeEdge( - """The method to use when ordering `RoleType`.""" - orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): RoleTypeEdge -} - -"""All input for the `deleteRoleType` mutation.""" -input DeleteRoleTypeInput { - """ - 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: Int! -} - -"""The output of our delete `OrgPermissionDefault` mutation.""" -type DeleteOrgPermissionDefaultPayload { - """ - 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 `OrgPermissionDefault` that was deleted by this mutation.""" - orgPermissionDefault: OrgPermissionDefault - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" - orgPermissionDefaultEdge( - """The method to use when ordering `OrgPermissionDefault`.""" - orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgPermissionDefaultEdge -} - -"""All input for the `deleteOrgPermissionDefault` mutation.""" -input DeleteOrgPermissionDefaultInput { - """ - 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 `DefaultPrivilege` mutation.""" type DeleteDefaultPrivilegePayload { """ @@ -41001,64 +42485,64 @@ input DeleteCryptoAddressInput { id: UUID! } -"""The output of our delete `AppLimitDefault` mutation.""" -type DeleteAppLimitDefaultPayload { +"""The output of our delete `RoleType` mutation.""" +type DeleteRoleTypePayload { """ 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 `AppLimitDefault` that was deleted by this mutation.""" - appLimitDefault: AppLimitDefault + """The `RoleType` that was deleted by this mutation.""" + roleType: RoleType """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppLimitDefault`. May be used by Relay 1.""" - appLimitDefaultEdge( - """The method to use when ordering `AppLimitDefault`.""" - orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppLimitDefaultEdge + """An edge for our `RoleType`. May be used by Relay 1.""" + roleTypeEdge( + """The method to use when ordering `RoleType`.""" + orderBy: [RoleTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): RoleTypeEdge } -"""All input for the `deleteAppLimitDefault` mutation.""" -input DeleteAppLimitDefaultInput { +"""All input for the `deleteRoleType` mutation.""" +input DeleteRoleTypeInput { """ 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! + id: Int! } -"""The output of our delete `OrgLimitDefault` mutation.""" -type DeleteOrgLimitDefaultPayload { +"""The output of our delete `OrgPermissionDefault` mutation.""" +type DeleteOrgPermissionDefaultPayload { """ 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 `OrgLimitDefault` that was deleted by this mutation.""" - orgLimitDefault: OrgLimitDefault + """The `OrgPermissionDefault` that was deleted by this mutation.""" + orgPermissionDefault: OrgPermissionDefault """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" - orgLimitDefaultEdge( - """The method to use when ordering `OrgLimitDefault`.""" - orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgLimitDefaultEdge + """An edge for our `OrgPermissionDefault`. May be used by Relay 1.""" + orgPermissionDefaultEdge( + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultEdge } -"""All input for the `deleteOrgLimitDefault` mutation.""" -input DeleteOrgLimitDefaultInput { +"""All input for the `deleteOrgPermissionDefault` mutation.""" +input DeleteOrgPermissionDefaultInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -41133,31 +42617,31 @@ input DeleteCryptoAddressesModuleInput { id: UUID! } -"""The output of our delete `ConnectedAccount` mutation.""" -type DeleteConnectedAccountPayload { +"""The output of our delete `PhoneNumber` mutation.""" +type DeletePhoneNumberPayload { """ 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 + """The `PhoneNumber` that was deleted by this mutation.""" + phoneNumber: PhoneNumber """ 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 + """An edge for our `PhoneNumber`. May be used by Relay 1.""" + phoneNumberEdge( + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] + ): PhoneNumberEdge } -"""All input for the `deleteConnectedAccount` mutation.""" -input DeleteConnectedAccountInput { +"""All input for the `deletePhoneNumber` mutation.""" +input DeletePhoneNumberInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -41166,31 +42650,31 @@ input DeleteConnectedAccountInput { id: UUID! } -"""The output of our delete `PhoneNumber` mutation.""" -type DeletePhoneNumberPayload { +"""The output of our delete `AppLimitDefault` mutation.""" +type DeleteAppLimitDefaultPayload { """ 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 `PhoneNumber` that was deleted by this mutation.""" - phoneNumber: PhoneNumber + """The `AppLimitDefault` that was deleted by this mutation.""" + appLimitDefault: AppLimitDefault """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `PhoneNumber`. May be used by Relay 1.""" - phoneNumberEdge( - """The method to use when ordering `PhoneNumber`.""" - orderBy: [PhoneNumberOrderBy!]! = [PRIMARY_KEY_ASC] - ): PhoneNumberEdge + """An edge for our `AppLimitDefault`. May be used by Relay 1.""" + appLimitDefaultEdge( + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppLimitDefaultEdge } -"""All input for the `deletePhoneNumber` mutation.""" -input DeletePhoneNumberInput { +"""All input for the `deleteAppLimitDefault` mutation.""" +input DeleteAppLimitDefaultInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -41199,68 +42683,64 @@ input DeletePhoneNumberInput { id: UUID! } -"""The output of our delete `MembershipType` mutation.""" -type DeleteMembershipTypePayload { +"""The output of our delete `OrgLimitDefault` mutation.""" +type DeleteOrgLimitDefaultPayload { """ 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 `MembershipType` that was deleted by this mutation.""" - membershipType: MembershipType + """The `OrgLimitDefault` that was deleted by this mutation.""" + orgLimitDefault: OrgLimitDefault """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `MembershipType`. May be used by Relay 1.""" - membershipTypeEdge( - """The method to use when ordering `MembershipType`.""" - orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipTypeEdge + """An edge for our `OrgLimitDefault`. May be used by Relay 1.""" + orgLimitDefaultEdge( + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultEdge } -"""All input for the `deleteMembershipType` mutation.""" -input DeleteMembershipTypeInput { +"""All input for the `deleteOrgLimitDefault` mutation.""" +input DeleteOrgLimitDefaultInput { """ 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 - - """ - Integer identifier for the membership type (1=App, 2=Organization, 3=Group) - """ - id: Int! + id: UUID! } -"""The output of our delete `FieldModule` mutation.""" -type DeleteFieldModulePayload { +"""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 `FieldModule` that was deleted by this mutation.""" - fieldModule: FieldModule + """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 `FieldModule`. May be used by Relay 1.""" - fieldModuleEdge( - """The method to use when ordering `FieldModule`.""" - orderBy: [FieldModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): FieldModuleEdge + """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 `deleteFieldModule` mutation.""" -input DeleteFieldModuleInput { +"""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. @@ -41269,31 +42749,31 @@ input DeleteFieldModuleInput { id: UUID! } -"""The output of our delete `TableModule` mutation.""" -type DeleteTableModulePayload { +"""The output of our delete `FieldModule` mutation.""" +type DeleteFieldModulePayload { """ 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 `TableModule` that was deleted by this mutation.""" - tableModule: TableModule + """The `FieldModule` that was deleted by this mutation.""" + fieldModule: FieldModule """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `TableModule`. May be used by Relay 1.""" - tableModuleEdge( - """The method to use when ordering `TableModule`.""" - orderBy: [TableModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): TableModuleEdge + """An edge for our `FieldModule`. May be used by Relay 1.""" + fieldModuleEdge( + """The method to use when ordering `FieldModule`.""" + orderBy: [FieldModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): FieldModuleEdge } -"""All input for the `deleteTableModule` mutation.""" -input DeleteTableModuleInput { +"""All input for the `deleteFieldModule` mutation.""" +input DeleteFieldModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -41405,6 +42885,43 @@ input DeleteNodeTypeRegistryInput { name: String! } +"""The output of our delete `MembershipType` mutation.""" +type DeleteMembershipTypePayload { + """ + 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 `MembershipType` that was deleted by this mutation.""" + membershipType: MembershipType + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipType`. May be used by Relay 1.""" + membershipTypeEdge( + """The method to use when ordering `MembershipType`.""" + orderBy: [MembershipTypeOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipTypeEdge +} + +"""All input for the `deleteMembershipType` mutation.""" +input DeleteMembershipTypeInput { + """ + 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 + + """ + Integer identifier for the membership type (1=App, 2=Organization, 3=Group) + """ + id: Int! +} + """The output of our delete `TableGrant` mutation.""" type DeleteTableGrantPayload { """ @@ -41704,6 +43221,72 @@ input DeleteSiteMetadatumInput { id: UUID! } +"""The output of our delete `RlsModule` mutation.""" +type DeleteRlsModulePayload { + """ + 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 `RlsModule` that was deleted by this mutation.""" + rlsModule: RlsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RlsModule`. May be used by Relay 1.""" + rlsModuleEdge( + """The method to use when ordering `RlsModule`.""" + orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): RlsModuleEdge +} + +"""All input for the `deleteRlsModule` mutation.""" +input DeleteRlsModuleInput { + """ + 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 `SessionsModule` mutation.""" +type DeleteSessionsModulePayload { + """ + 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 `SessionsModule` that was deleted by this mutation.""" + sessionsModule: SessionsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SessionsModule`. May be used by Relay 1.""" + sessionsModuleEdge( + """The method to use when ordering `SessionsModule`.""" + orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): SessionsModuleEdge +} + +"""All input for the `deleteSessionsModule` mutation.""" +input DeleteSessionsModuleInput { + """ + 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 `Object` mutation.""" type DeleteObjectPayload { """ @@ -41976,39 +43559,6 @@ input DeleteDomainInput { id: UUID! } -"""The output of our delete `SessionsModule` mutation.""" -type DeleteSessionsModulePayload { - """ - 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 `SessionsModule` that was deleted by this mutation.""" - sessionsModule: SessionsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SessionsModule`. May be used by Relay 1.""" - sessionsModuleEdge( - """The method to use when ordering `SessionsModule`.""" - orderBy: [SessionsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): SessionsModuleEdge -} - -"""All input for the `deleteSessionsModule` mutation.""" -input DeleteSessionsModuleInput { - """ - 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 `OrgGrant` mutation.""" type DeleteOrgGrantPayload { """ @@ -42075,39 +43625,6 @@ input DeleteOrgMembershipDefaultInput { id: UUID! } -"""The output of our delete `RlsModule` mutation.""" -type DeleteRlsModulePayload { - """ - 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 `RlsModule` that was deleted by this mutation.""" - rlsModule: RlsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RlsModule`. May be used by Relay 1.""" - rlsModuleEdge( - """The method to use when ordering `RlsModule`.""" - orderBy: [RlsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): RlsModuleEdge -} - -"""All input for the `deleteRlsModule` mutation.""" -input DeleteRlsModuleInput { - """ - 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 `AppLevelRequirement` mutation.""" type DeleteAppLevelRequirementPayload { """ @@ -42207,31 +43724,31 @@ input DeleteAppLevelInput { id: UUID! } -"""The output of our delete `Email` mutation.""" -type DeleteEmailPayload { +"""The output of our delete `CryptoAuthModule` mutation.""" +type DeleteCryptoAuthModulePayload { """ 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 `Email` that was deleted by this mutation.""" - email: Email + """The `CryptoAuthModule` that was deleted by this mutation.""" + cryptoAuthModule: CryptoAuthModule """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Email`. May be used by Relay 1.""" - emailEdge( - """The method to use when ordering `Email`.""" - orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] - ): EmailEdge + """An edge for our `CryptoAuthModule`. May be used by Relay 1.""" + cryptoAuthModuleEdge( + """The method to use when ordering `CryptoAuthModule`.""" + orderBy: [CryptoAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): CryptoAuthModuleEdge } -"""All input for the `deleteEmail` mutation.""" -input DeleteEmailInput { +"""All input for the `deleteCryptoAuthModule` mutation.""" +input DeleteCryptoAuthModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42240,31 +43757,31 @@ input DeleteEmailInput { id: UUID! } -"""The output of our delete `DenormalizedTableField` mutation.""" -type DeleteDenormalizedTableFieldPayload { +"""The output of our delete `DatabaseProvisionModule` mutation.""" +type DeleteDatabaseProvisionModulePayload { """ 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 `DenormalizedTableField` that was deleted by this mutation.""" - denormalizedTableField: DenormalizedTableField + """The `DatabaseProvisionModule` that was deleted by this mutation.""" + databaseProvisionModule: DatabaseProvisionModule """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" - denormalizedTableFieldEdge( - """The method to use when ordering `DenormalizedTableField`.""" - orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] - ): DenormalizedTableFieldEdge + """An edge for our `DatabaseProvisionModule`. May be used by Relay 1.""" + databaseProvisionModuleEdge( + """The method to use when ordering `DatabaseProvisionModule`.""" + orderBy: [DatabaseProvisionModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseProvisionModuleEdge } -"""All input for the `deleteDenormalizedTableField` mutation.""" -input DeleteDenormalizedTableFieldInput { +"""All input for the `deleteDatabaseProvisionModule` mutation.""" +input DeleteDatabaseProvisionModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42273,31 +43790,31 @@ input DeleteDenormalizedTableFieldInput { id: UUID! } -"""The output of our delete `CryptoAuthModule` mutation.""" -type DeleteCryptoAuthModulePayload { +"""The output of our delete `InvitesModule` mutation.""" +type DeleteInvitesModulePayload { """ 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 `CryptoAuthModule` that was deleted by this mutation.""" - cryptoAuthModule: CryptoAuthModule + """The `InvitesModule` that was deleted by this mutation.""" + invitesModule: InvitesModule """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `CryptoAuthModule`. May be used by Relay 1.""" - cryptoAuthModuleEdge( - """The method to use when ordering `CryptoAuthModule`.""" - orderBy: [CryptoAuthModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): CryptoAuthModuleEdge + """An edge for our `InvitesModule`. May be used by Relay 1.""" + invitesModuleEdge( + """The method to use when ordering `InvitesModule`.""" + orderBy: [InvitesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): InvitesModuleEdge } -"""All input for the `deleteCryptoAuthModule` mutation.""" -input DeleteCryptoAuthModuleInput { +"""All input for the `deleteInvitesModule` mutation.""" +input DeleteInvitesModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42306,31 +43823,31 @@ input DeleteCryptoAuthModuleInput { id: UUID! } -"""The output of our delete `DatabaseProvisionModule` mutation.""" -type DeleteDatabaseProvisionModulePayload { +"""The output of our delete `DenormalizedTableField` mutation.""" +type DeleteDenormalizedTableFieldPayload { """ 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 `DatabaseProvisionModule` that was deleted by this mutation.""" - databaseProvisionModule: DatabaseProvisionModule + """The `DenormalizedTableField` that was deleted by this mutation.""" + denormalizedTableField: DenormalizedTableField """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `DatabaseProvisionModule`. May be used by Relay 1.""" - databaseProvisionModuleEdge( - """The method to use when ordering `DatabaseProvisionModule`.""" - orderBy: [DatabaseProvisionModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): DatabaseProvisionModuleEdge + """An edge for our `DenormalizedTableField`. May be used by Relay 1.""" + denormalizedTableFieldEdge( + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldEdge } -"""All input for the `deleteDatabaseProvisionModule` mutation.""" -input DeleteDatabaseProvisionModuleInput { +"""All input for the `deleteDenormalizedTableField` mutation.""" +input DeleteDenormalizedTableFieldInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42339,31 +43856,31 @@ input DeleteDatabaseProvisionModuleInput { id: UUID! } -"""The output of our delete `InvitesModule` mutation.""" -type DeleteInvitesModulePayload { +"""The output of our delete `Email` mutation.""" +type DeleteEmailPayload { """ 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 `InvitesModule` that was deleted by this mutation.""" - invitesModule: InvitesModule + """The `Email` that was deleted by this mutation.""" + email: Email """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `InvitesModule`. May be used by Relay 1.""" - invitesModuleEdge( - """The method to use when ordering `InvitesModule`.""" - orderBy: [InvitesModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): InvitesModuleEdge + """An edge for our `Email`. May be used by Relay 1.""" + emailEdge( + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmailEdge } -"""All input for the `deleteInvitesModule` mutation.""" -input DeleteInvitesModuleInput { +"""All input for the `deleteEmail` mutation.""" +input DeleteEmailInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42438,6 +43955,72 @@ input DeletePermissionsModuleInput { id: UUID! } +"""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 `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 `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 `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. + """ + clientMutationId: String + id: UUID! +} + +"""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 `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 `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 `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 + id: UUID! +} + """The output of our delete `SecureTableProvision` mutation.""" type DeleteSecureTableProvisionPayload { """ @@ -42506,31 +44089,31 @@ input DeleteTriggerInput { id: UUID! } -"""The output of our delete `PrimaryKeyConstraint` mutation.""" -type DeletePrimaryKeyConstraintPayload { +"""The output of our delete `UniqueConstraint` mutation.""" +type DeleteUniqueConstraintPayload { """ 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 `PrimaryKeyConstraint` that was deleted by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraint + """The `UniqueConstraint` that was deleted by this mutation.""" + uniqueConstraint: UniqueConstraint """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" - primaryKeyConstraintEdge( - """The method to use when ordering `PrimaryKeyConstraint`.""" - orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] - ): PrimaryKeyConstraintEdge + """An edge for our `UniqueConstraint`. May be used by Relay 1.""" + uniqueConstraintEdge( + """The method to use when ordering `UniqueConstraint`.""" + orderBy: [UniqueConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): UniqueConstraintEdge } -"""All input for the `deletePrimaryKeyConstraint` mutation.""" -input DeletePrimaryKeyConstraintInput { +"""All input for the `deleteUniqueConstraint` mutation.""" +input DeleteUniqueConstraintInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42539,31 +44122,31 @@ input DeletePrimaryKeyConstraintInput { id: UUID! } -"""The output of our delete `UniqueConstraint` mutation.""" -type DeleteUniqueConstraintPayload { +"""The output of our delete `PrimaryKeyConstraint` mutation.""" +type DeletePrimaryKeyConstraintPayload { """ 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 `UniqueConstraint` that was deleted by this mutation.""" - uniqueConstraint: UniqueConstraint + """The `PrimaryKeyConstraint` that was deleted by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraint """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `UniqueConstraint`. May be used by Relay 1.""" - uniqueConstraintEdge( - """The method to use when ordering `UniqueConstraint`.""" - orderBy: [UniqueConstraintOrderBy!]! = [PRIMARY_KEY_ASC] - ): UniqueConstraintEdge + """An edge for our `PrimaryKeyConstraint`. May be used by Relay 1.""" + primaryKeyConstraintEdge( + """The method to use when ordering `PrimaryKeyConstraint`.""" + orderBy: [PrimaryKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): PrimaryKeyConstraintEdge } -"""All input for the `deleteUniqueConstraint` mutation.""" -input DeleteUniqueConstraintInput { +"""All input for the `deletePrimaryKeyConstraint` mutation.""" +input DeletePrimaryKeyConstraintInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42638,101 +44221,97 @@ input DeletePolicyInput { id: UUID! } -"""The output of our delete `App` mutation.""" -type DeleteAppPayload { +"""The output of our delete `AppMembership` mutation.""" +type DeleteAppMembershipPayload { """ 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 `App` that was deleted by this mutation.""" - app: App + """The `AppMembership` that was deleted by this mutation.""" + appMembership: AppMembership """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `App`. May be used by Relay 1.""" - appEdge( - """The method to use when ordering `App`.""" - orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppEdge + """An edge for our `AppMembership`. May be used by Relay 1.""" + appMembershipEdge( + """The method to use when ordering `AppMembership`.""" + orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppMembershipEdge } -"""All input for the `deleteApp` mutation.""" -input DeleteAppInput { +"""All input for the `deleteAppMembership` mutation.""" +input DeleteAppMembershipInput { """ 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 app""" id: UUID! } -"""The output of our delete `Site` mutation.""" -type DeleteSitePayload { +"""The output of our delete `OrgMembership` mutation.""" +type DeleteOrgMembershipPayload { """ 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 `Site` that was deleted by this mutation.""" - site: Site + """The `OrgMembership` that was deleted by this mutation.""" + orgMembership: OrgMembership """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Site`. May be used by Relay 1.""" - siteEdge( - """The method to use when ordering `Site`.""" - orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] - ): SiteEdge + """An edge for our `OrgMembership`. May be used by Relay 1.""" + orgMembershipEdge( + """The method to use when ordering `OrgMembership`.""" + orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] + ): OrgMembershipEdge } -"""All input for the `deleteSite` mutation.""" -input DeleteSiteInput { +"""All input for the `deleteOrgMembership` mutation.""" +input DeleteOrgMembershipInput { """ 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 site""" id: UUID! } -"""The output of our delete `User` mutation.""" -type DeleteUserPayload { +"""The output of our delete `Schema` mutation.""" +type DeleteSchemaPayload { """ 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 `User` that was deleted by this mutation.""" - user: User + """The `Schema` that was deleted by this mutation.""" + schema: Schema """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `User`. May be used by Relay 1.""" - userEdge( - """The method to use when ordering `User`.""" - orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] - ): UserEdge + """An edge for our `Schema`. May be used by Relay 1.""" + schemaEdge( + """The method to use when ordering `Schema`.""" + orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] + ): SchemaEdge } -"""All input for the `deleteUser` mutation.""" -input DeleteUserInput { +"""All input for the `deleteSchema` mutation.""" +input DeleteSchemaInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42741,130 +44320,101 @@ input DeleteUserInput { id: UUID! } -"""The output of our delete `LimitsModule` mutation.""" -type DeleteLimitsModulePayload { +"""The output of our delete `App` mutation.""" +type DeleteAppPayload { """ 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 `App` that was deleted by this mutation.""" + app: App """ 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 `App`. May be used by Relay 1.""" + appEdge( + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!]! = [PRIMARY_KEY_ASC] + ): AppEdge } -"""All input for the `deleteLimitsModule` mutation.""" -input DeleteLimitsModuleInput { +"""All input for the `deleteApp` mutation.""" +input DeleteAppInput { """ 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 `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 `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 `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 `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 app""" id: UUID! } -"""The output of our delete `Index` mutation.""" -type DeleteIndexPayload { +"""The output of our delete `Site` mutation.""" +type DeleteSitePayload { """ 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 `Index` that was deleted by this mutation.""" - index: Index + """The `Site` that was deleted by this mutation.""" + site: Site """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Index`. May be used by Relay 1.""" - indexEdge( - """The method to use when ordering `Index`.""" - orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] - ): IndexEdge + """An edge for our `Site`. May be used by Relay 1.""" + siteEdge( + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteEdge } -"""All input for the `deleteIndex` mutation.""" -input DeleteIndexInput { +"""All input for the `deleteSite` mutation.""" +input DeleteSiteInput { """ 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 site""" id: UUID! } -"""The output of our delete `AppMembership` mutation.""" -type DeleteAppMembershipPayload { +"""The output of our delete `User` mutation.""" +type DeleteUserPayload { """ 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 `AppMembership` that was deleted by this mutation.""" - appMembership: AppMembership + """The `User` that was deleted by this mutation.""" + user: User """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `AppMembership`. May be used by Relay 1.""" - appMembershipEdge( - """The method to use when ordering `AppMembership`.""" - orderBy: [AppMembershipOrderBy!]! = [PRIMARY_KEY_ASC] - ): AppMembershipEdge + """An edge for our `User`. May be used by Relay 1.""" + userEdge( + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!]! = [PRIMARY_KEY_ASC] + ): UserEdge } -"""All input for the `deleteAppMembership` mutation.""" -input DeleteAppMembershipInput { +"""All input for the `deleteUser` mutation.""" +input DeleteUserInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42873,31 +44423,31 @@ input DeleteAppMembershipInput { id: UUID! } -"""The output of our delete `OrgMembership` mutation.""" -type DeleteOrgMembershipPayload { +"""The output of our delete `HierarchyModule` mutation.""" +type DeleteHierarchyModulePayload { """ 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 `OrgMembership` that was deleted by this mutation.""" - orgMembership: OrgMembership + """The `HierarchyModule` that was deleted by this mutation.""" + hierarchyModule: HierarchyModule """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `OrgMembership`. May be used by Relay 1.""" - orgMembershipEdge( - """The method to use when ordering `OrgMembership`.""" - orderBy: [OrgMembershipOrderBy!]! = [PRIMARY_KEY_ASC] - ): OrgMembershipEdge + """An edge for our `HierarchyModule`. May be used by Relay 1.""" + hierarchyModuleEdge( + """The method to use when ordering `HierarchyModule`.""" + orderBy: [HierarchyModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): HierarchyModuleEdge } -"""All input for the `deleteOrgMembership` mutation.""" -input DeleteOrgMembershipInput { +"""All input for the `deleteHierarchyModule` mutation.""" +input DeleteHierarchyModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42939,31 +44489,31 @@ input DeleteInviteInput { id: UUID! } -"""The output of our delete `Schema` mutation.""" -type DeleteSchemaPayload { +"""The output of our delete `Index` mutation.""" +type DeleteIndexPayload { """ 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 `Schema` that was deleted by this mutation.""" - schema: Schema + """The `Index` that was deleted by this mutation.""" + index: Index """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `Schema`. May be used by Relay 1.""" - schemaEdge( - """The method to use when ordering `Schema`.""" - orderBy: [SchemaOrderBy!]! = [PRIMARY_KEY_ASC] - ): SchemaEdge + """An edge for our `Index`. May be used by Relay 1.""" + indexEdge( + """The method to use when ordering `Index`.""" + orderBy: [IndexOrderBy!]! = [PRIMARY_KEY_ASC] + ): IndexEdge } -"""All input for the `deleteSchema` mutation.""" -input DeleteSchemaInput { +"""All input for the `deleteIndex` mutation.""" +input DeleteIndexInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -42972,31 +44522,31 @@ input DeleteSchemaInput { id: UUID! } -"""The output of our delete `HierarchyModule` mutation.""" -type DeleteHierarchyModulePayload { +"""The output of our delete `ForeignKeyConstraint` mutation.""" +type DeleteForeignKeyConstraintPayload { """ 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 `HierarchyModule` that was deleted by this mutation.""" - hierarchyModule: HierarchyModule + """The `ForeignKeyConstraint` that was deleted by this mutation.""" + foreignKeyConstraint: ForeignKeyConstraint """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `HierarchyModule`. May be used by Relay 1.""" - hierarchyModuleEdge( - """The method to use when ordering `HierarchyModule`.""" - orderBy: [HierarchyModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): HierarchyModuleEdge + """An edge for our `ForeignKeyConstraint`. May be used by Relay 1.""" + foreignKeyConstraintEdge( + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintEdge } -"""All input for the `deleteHierarchyModule` mutation.""" -input DeleteHierarchyModuleInput { +"""All input for the `deleteForeignKeyConstraint` mutation.""" +input DeleteForeignKeyConstraintInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -43038,39 +44588,6 @@ input DeleteOrgInviteInput { id: UUID! } -"""The output of our delete `ForeignKeyConstraint` mutation.""" -type DeleteForeignKeyConstraintPayload { - """ - 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 `ForeignKeyConstraint` that was deleted by this mutation.""" - foreignKeyConstraint: ForeignKeyConstraint - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `ForeignKeyConstraint`. May be used by Relay 1.""" - foreignKeyConstraintEdge( - """The method to use when ordering `ForeignKeyConstraint`.""" - orderBy: [ForeignKeyConstraintOrderBy!]! = [PRIMARY_KEY_ASC] - ): ForeignKeyConstraintEdge -} - -"""All input for the `deleteForeignKeyConstraint` mutation.""" -input DeleteForeignKeyConstraintInput { - """ - 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 `Table` mutation.""" type DeleteTablePayload { """ @@ -43170,71 +44687,71 @@ input DeleteUserAuthModuleInput { id: UUID! } -"""The output of our delete `Field` mutation.""" -type DeleteFieldPayload { +"""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 `Field` that was deleted by this mutation.""" - field: Field + """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 `Field`. May be used by Relay 1.""" - fieldEdge( - """The method to use when ordering `Field`.""" - orderBy: [FieldOrderBy!]! = [PRIMARY_KEY_ASC] - ): FieldEdge + """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 `deleteField` mutation.""" -input DeleteFieldInput { +"""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 `RelationProvision` mutation.""" -type DeleteRelationProvisionPayload { +"""The output of our delete `Field` mutation.""" +type DeleteFieldPayload { """ 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 + """The `Field` that was deleted 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 `RelationProvision`. May be used by Relay 1.""" - relationProvisionEdge( - """The method to use when ordering `RelationProvision`.""" - orderBy: [RelationProvisionOrderBy!]! = [PRIMARY_KEY_ASC] - ): RelationProvisionEdge + """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 `deleteRelationProvision` mutation.""" -input DeleteRelationProvisionInput { +"""All input for the `deleteField` mutation.""" +input DeleteFieldInput { """ 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! } diff --git a/sdk/constructive-sdk/src/admin/orm/README.md b/sdk/constructive-sdk/src/admin/orm/README.md index 4269dd02c..02cd23d7a 100644 --- a/sdk/constructive-sdk/src/admin/orm/README.md +++ b/sdk/constructive-sdk/src/admin/orm/README.md @@ -35,8 +35,8 @@ const db = createClient({ | `orgOwnerGrant` | findMany, findOne, create, update, delete | | `appLimitDefault` | findMany, findOne, create, update, delete | | `orgLimitDefault` | findMany, findOne, create, update, delete | -| `membershipType` | findMany, findOne, create, update, delete | | `orgChartEdgeGrant` | findMany, findOne, create, update, delete | +| `membershipType` | findMany, findOne, create, update, delete | | `appLimit` | findMany, findOne, create, update, delete | | `appAchievement` | findMany, findOne, create, update, delete | | `appStep` | findMany, findOne, create, update, delete | @@ -48,10 +48,10 @@ const db = createClient({ | `orgGrant` | findMany, findOne, create, update, delete | | `orgChartEdge` | findMany, findOne, create, update, delete | | `orgMembershipDefault` | findMany, findOne, create, update, delete | -| `invite` | findMany, findOne, create, update, delete | -| `appLevel` | findMany, findOne, create, update, delete | | `appMembership` | findMany, findOne, create, update, delete | | `orgMembership` | findMany, findOne, create, update, delete | +| `invite` | findMany, findOne, create, update, delete | +| `appLevel` | findMany, findOne, create, update, delete | | `orgInvite` | findMany, findOne, create, update, delete | ## Table Operations @@ -129,18 +129,20 @@ CRUD operations for AppPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appPermission records -const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -162,18 +164,20 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgPermission records -const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -198,18 +202,20 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevelRequirement records -const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute(); +const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -511,73 +517,78 @@ const updated = await db.orgLimitDefault.update({ where: { id: '' }, data const deleted = await db.orgLimitDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.membershipType` +### `db.orgChartEdgeGrant` -CRUD operations for MembershipType records. +CRUD operations for OrgChartEdgeGrant records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | -| `description` | String | Yes | -| `prefix` | String | Yes | +| `id` | UUID | No | +| `entityId` | UUID | Yes | +| `childId` | UUID | Yes | +| `parentId` | UUID | Yes | +| `grantorId` | UUID | Yes | +| `isGrant` | Boolean | Yes | +| `positionTitle` | String | Yes | +| `positionLevel` | Int | Yes | +| `createdAt` | Datetime | No | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all membershipType records -const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true } }).execute(); +// List all orgChartEdgeGrant records +const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true } }).execute(); +const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); +const deleted = await db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute(); ``` -### `db.orgChartEdgeGrant` +### `db.membershipType` -CRUD operations for OrgChartEdgeGrant records. +CRUD operations for MembershipType records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `entityId` | UUID | Yes | -| `childId` | UUID | Yes | -| `parentId` | UUID | Yes | -| `grantorId` | UUID | Yes | -| `isGrant` | Boolean | Yes | -| `positionTitle` | String | Yes | -| `positionLevel` | Int | Yes | -| `createdAt` | Datetime | No | +| `id` | Int | No | +| `name` | String | Yes | +| `description` | String | Yes | +| `prefix` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all orgChartEdgeGrant records -const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +// List all membershipType records +const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); +const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute(); +const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` ### `db.appLimit` @@ -906,18 +917,20 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | Yes | | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdge records -const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -963,167 +976,171 @@ const updated = await db.orgMembershipDefault.update({ where: { id: '' }, const deleted = await db.orgMembershipDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.invite` +### `db.appMembership` -CRUD operations for Invite records. +CRUD operations for AppMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `email` | ConstructiveInternalTypeEmail | Yes | -| `senderId` | UUID | Yes | -| `inviteToken` | String | Yes | -| `inviteValid` | Boolean | Yes | -| `inviteLimit` | Int | Yes | -| `inviteCount` | Int | Yes | -| `multiple` | Boolean | Yes | -| `data` | JSON | Yes | -| `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isVerified` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all invite records -const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +// List all appMembership records +const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Get one by id -const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Create -const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute(); +const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); +const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.invite.delete({ where: { id: '' } }).execute(); +const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appLevel` +### `db.orgMembership` -CRUD operations for AppLevel records. +CRUD operations for OrgMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `name` | String | Yes | -| `description` | String | Yes | -| `image` | ConstructiveInternalTypeImage | Yes | -| `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `entityId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all appLevel records -const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +// List all orgMembership records +const items = await db.orgMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); // Get one by id -const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.orgMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); // Create -const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute(); +const created = await db.orgMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.orgMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); +const deleted = await db.orgMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembership` +### `db.invite` -CRUD operations for AppMembership records. +CRUD operations for Invite records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `email` | ConstructiveInternalTypeEmail | Yes | +| `senderId` | UUID | Yes | +| `inviteToken` | String | Yes | +| `inviteValid` | Boolean | Yes | +| `inviteLimit` | Int | Yes | +| `inviteCount` | Int | Yes | +| `multiple` | Boolean | Yes | +| `data` | JSON | Yes | +| `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isVerified` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembership records -const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +// List all invite records +const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.invite.delete({ where: { id: '' } }).execute(); ``` -### `db.orgMembership` +### `db.appLevel` -CRUD operations for OrgMembership records. +CRUD operations for AppLevel records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `name` | String | Yes | +| `description` | String | Yes | +| `image` | ConstructiveInternalTypeImage | Yes | +| `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `entityId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all orgMembership records -const items = await db.orgMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); +// List all appLevel records +const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, entityId: true, profileId: true } }).execute(); +const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', entityId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.orgMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.orgMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); ``` ### `db.orgInvite` @@ -1148,18 +1165,20 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `entityId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgInvite records -const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute(); +const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-sdk/src/admin/orm/index.ts b/sdk/constructive-sdk/src/admin/orm/index.ts index 524d28db3..e7f526c6c 100644 --- a/sdk/constructive-sdk/src/admin/orm/index.ts +++ b/sdk/constructive-sdk/src/admin/orm/index.ts @@ -19,8 +19,8 @@ import { OrgAdminGrantModel } from './models/orgAdminGrant'; import { OrgOwnerGrantModel } from './models/orgOwnerGrant'; import { AppLimitDefaultModel } from './models/appLimitDefault'; import { OrgLimitDefaultModel } from './models/orgLimitDefault'; -import { MembershipTypeModel } from './models/membershipType'; import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant'; +import { MembershipTypeModel } from './models/membershipType'; import { AppLimitModel } from './models/appLimit'; import { AppAchievementModel } from './models/appAchievement'; import { AppStepModel } from './models/appStep'; @@ -32,10 +32,10 @@ import { OrgClaimedInviteModel } from './models/orgClaimedInvite'; import { OrgGrantModel } from './models/orgGrant'; import { OrgChartEdgeModel } from './models/orgChartEdge'; import { OrgMembershipDefaultModel } from './models/orgMembershipDefault'; -import { InviteModel } from './models/invite'; -import { AppLevelModel } from './models/appLevel'; import { AppMembershipModel } from './models/appMembership'; import { OrgMembershipModel } from './models/orgMembership'; +import { InviteModel } from './models/invite'; +import { AppLevelModel } from './models/appLevel'; import { OrgInviteModel } from './models/orgInvite'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -86,8 +86,8 @@ export function createClient(config: OrmClientConfig) { orgOwnerGrant: new OrgOwnerGrantModel(client), appLimitDefault: new AppLimitDefaultModel(client), orgLimitDefault: new OrgLimitDefaultModel(client), - membershipType: new MembershipTypeModel(client), orgChartEdgeGrant: new OrgChartEdgeGrantModel(client), + membershipType: new MembershipTypeModel(client), appLimit: new AppLimitModel(client), appAchievement: new AppAchievementModel(client), appStep: new AppStepModel(client), @@ -99,10 +99,10 @@ export function createClient(config: OrmClientConfig) { orgGrant: new OrgGrantModel(client), orgChartEdge: new OrgChartEdgeModel(client), orgMembershipDefault: new OrgMembershipDefaultModel(client), - invite: new InviteModel(client), - appLevel: new AppLevelModel(client), appMembership: new AppMembershipModel(client), orgMembership: new OrgMembershipModel(client), + invite: new InviteModel(client), + appLevel: new AppLevelModel(client), orgInvite: new OrgInviteModel(client), query: createQueryOperations(client), mutation: createMutationOperations(client), diff --git a/sdk/constructive-sdk/src/admin/orm/input-types.ts b/sdk/constructive-sdk/src/admin/orm/input-types.ts index e6d8e8279..7948bd36c 100644 --- a/sdk/constructive-sdk/src/admin/orm/input-types.ts +++ b/sdk/constructive-sdk/src/admin/orm/input-types.ts @@ -253,6 +253,10 @@ export interface AppPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface OrgPermission { @@ -265,6 +269,10 @@ export interface OrgPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines the specific requirements that must be met to achieve a level */ export interface AppLevelRequirement { @@ -281,6 +289,10 @@ export interface AppLevelRequirement { priority?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Simplified view of active members in an entity, used for listing who belongs to an org or group */ export interface OrgMember { @@ -370,17 +382,6 @@ export interface OrgLimitDefault { /** Default maximum usage allowed for this limit */ max?: number | null; } -/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ -export interface MembershipType { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ - name?: string | null; - /** Description of what this membership type represents */ - description?: string | null; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string | null; -} /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */ export interface OrgChartEdgeGrant { id: string; @@ -400,6 +401,27 @@ export interface OrgChartEdgeGrant { positionLevel?: number | null; /** Timestamp when this grant or revocation was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ +export interface MembershipType { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name?: string | null; + /** Description of what this membership type represents */ + description?: string | null; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface AppLimit { @@ -528,6 +550,10 @@ export interface OrgChartEdge { positionTitle?: string | null; /** Numeric seniority level for this position (higher = more senior) */ positionLevel?: number | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface OrgMembershipDefault { @@ -545,44 +571,6 @@ export interface OrgMembershipDefault { /** When a group is created, whether to auto-add existing org members as group members */ createGroupsCascadeMembers?: boolean | null; } -/** Invitation records sent to prospective members via email, with token-based redemption and expiration */ -export interface Invite { - id: string; - /** Email address of the invited recipient */ - email?: ConstructiveInternalTypeEmail | null; - /** User ID of the member who sent this invitation */ - senderId?: string | null; - /** Unique random hex token used to redeem this invitation */ - inviteToken?: string | null; - /** Whether this invitation is still valid and can be redeemed */ - inviteValid?: boolean | null; - /** Maximum number of times this invite can be claimed; -1 means unlimited */ - inviteLimit?: number | null; - /** Running count of how many times this invite has been claimed */ - inviteCount?: number | null; - /** Whether this invite can be claimed by multiple recipients */ - multiple?: boolean | null; - /** Optional JSON payload of additional invite metadata */ - data?: Record | null; - /** Timestamp after which this invitation can no longer be redeemed */ - expiresAt?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} -/** Defines available levels that users can achieve by completing requirements */ -export interface AppLevel { - id: string; - /** Unique name of the level */ - name?: string | null; - /** Human-readable description of what this level represents */ - description?: string | null; - /** Badge or icon image associated with this level */ - image?: ConstructiveInternalTypeImage | null; - /** Optional owner (actor) who created or manages this level */ - ownerId?: string | null; - createdAt?: string | null; - updatedAt?: string | null; -} /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */ export interface AppMembership { id: string; @@ -642,6 +630,52 @@ export interface OrgMembership { profileId?: string | null; } /** Invitation records sent to prospective members via email, with token-based redemption and expiration */ +export interface Invite { + id: string; + /** Email address of the invited recipient */ + email?: ConstructiveInternalTypeEmail | null; + /** User ID of the member who sent this invitation */ + senderId?: string | null; + /** Unique random hex token used to redeem this invitation */ + inviteToken?: string | null; + /** Whether this invitation is still valid and can be redeemed */ + inviteValid?: boolean | null; + /** Maximum number of times this invite can be claimed; -1 means unlimited */ + inviteLimit?: number | null; + /** Running count of how many times this invite has been claimed */ + inviteCount?: number | null; + /** Whether this invite can be claimed by multiple recipients */ + multiple?: boolean | null; + /** Optional JSON payload of additional invite metadata */ + data?: Record | null; + /** Timestamp after which this invitation can no longer be redeemed */ + expiresAt?: string | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines available levels that users can achieve by completing requirements */ +export interface AppLevel { + id: string; + /** Unique name of the level */ + name?: string | null; + /** Human-readable description of what this level represents */ + description?: string | null; + /** Badge or icon image associated with this level */ + image?: ConstructiveInternalTypeImage | null; + /** Optional owner (actor) who created or manages this level */ + ownerId?: string | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Invitation records sent to prospective members via email, with token-based redemption and expiration */ export interface OrgInvite { id: string; /** Email address of the invited recipient */ @@ -667,6 +701,10 @@ export interface OrgInvite { createdAt?: string | null; updatedAt?: string | null; entityId?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -695,8 +733,8 @@ export interface OrgAdminGrantRelations {} export interface OrgOwnerGrantRelations {} export interface AppLimitDefaultRelations {} export interface OrgLimitDefaultRelations {} -export interface MembershipTypeRelations {} export interface OrgChartEdgeGrantRelations {} +export interface MembershipTypeRelations {} export interface AppLimitRelations {} export interface AppAchievementRelations {} export interface AppStepRelations {} @@ -708,10 +746,10 @@ export interface OrgClaimedInviteRelations {} export interface OrgGrantRelations {} export interface OrgChartEdgeRelations {} export interface OrgMembershipDefaultRelations {} -export interface InviteRelations {} -export interface AppLevelRelations {} export interface AppMembershipRelations {} export interface OrgMembershipRelations {} +export interface InviteRelations {} +export interface AppLevelRelations {} export interface OrgInviteRelations {} // ============ Entity Types With Relations ============ export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & @@ -732,8 +770,8 @@ export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations; export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations; export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations; export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations; -export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations; +export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type AppLimitWithRelations = AppLimit & AppLimitRelations; export type AppAchievementWithRelations = AppAchievement & AppAchievementRelations; export type AppStepWithRelations = AppStep & AppStepRelations; @@ -747,10 +785,10 @@ export type OrgGrantWithRelations = OrgGrant & OrgGrantRelations; export type OrgChartEdgeWithRelations = OrgChartEdge & OrgChartEdgeRelations; export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations; -export type InviteWithRelations = Invite & InviteRelations; -export type AppLevelWithRelations = AppLevel & AppLevelRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations; +export type InviteWithRelations = Invite & InviteRelations; +export type AppLevelWithRelations = AppLevel & AppLevelRelations; export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -767,6 +805,8 @@ export type AppPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgPermissionSelect = { id?: boolean; @@ -774,6 +814,8 @@ export type OrgPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppLevelRequirementSelect = { id?: boolean; @@ -784,6 +826,8 @@ export type AppLevelRequirementSelect = { priority?: boolean; createdAt?: boolean; updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMemberSelect = { id?: boolean; @@ -844,12 +888,6 @@ export type OrgLimitDefaultSelect = { name?: boolean; max?: boolean; }; -export type MembershipTypeSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - prefix?: boolean; -}; export type OrgChartEdgeGrantSelect = { id?: boolean; entityId?: boolean; @@ -860,6 +898,17 @@ export type OrgChartEdgeGrantSelect = { positionTitle?: boolean; positionLevel?: boolean; createdAt?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type MembershipTypeSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + prefix?: boolean; + descriptionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppLimitSelect = { id?: boolean; @@ -946,6 +995,8 @@ export type OrgChartEdgeSelect = { parentId?: boolean; positionTitle?: boolean; positionLevel?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMembershipDefaultSelect = { id?: boolean; @@ -958,29 +1009,6 @@ export type OrgMembershipDefaultSelect = { deleteMemberCascadeGroups?: boolean; createGroupsCascadeMembers?: boolean; }; -export type InviteSelect = { - id?: boolean; - email?: boolean; - senderId?: boolean; - inviteToken?: boolean; - inviteValid?: boolean; - inviteLimit?: boolean; - inviteCount?: boolean; - multiple?: boolean; - data?: boolean; - expiresAt?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; -export type AppLevelSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - image?: boolean; - ownerId?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; export type AppMembershipSelect = { id?: boolean; createdAt?: boolean; @@ -1017,6 +1045,33 @@ export type OrgMembershipSelect = { entityId?: boolean; profileId?: boolean; }; +export type InviteSelect = { + id?: boolean; + email?: boolean; + senderId?: boolean; + inviteToken?: boolean; + inviteValid?: boolean; + inviteLimit?: boolean; + inviteCount?: boolean; + multiple?: boolean; + data?: boolean; + expiresAt?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type AppLevelSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + image?: boolean; + ownerId?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; export type OrgInviteSelect = { id?: boolean; email?: boolean; @@ -1032,6 +1087,8 @@ export type OrgInviteSelect = { createdAt?: boolean; updatedAt?: boolean; entityId?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; // ============ Table Filter Types ============ export interface OrgGetManagersRecordFilter { @@ -1054,6 +1111,8 @@ export interface AppPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppPermissionFilter[]; or?: AppPermissionFilter[]; not?: AppPermissionFilter; @@ -1064,6 +1123,8 @@ export interface OrgPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgPermissionFilter[]; or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; @@ -1077,6 +1138,8 @@ export interface AppLevelRequirementFilter { priority?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelRequirementFilter[]; or?: AppLevelRequirementFilter[]; not?: AppLevelRequirementFilter; @@ -1167,15 +1230,6 @@ export interface OrgLimitDefaultFilter { or?: OrgLimitDefaultFilter[]; not?: OrgLimitDefaultFilter; } -export interface MembershipTypeFilter { - id?: IntFilter; - name?: StringFilter; - description?: StringFilter; - prefix?: StringFilter; - and?: MembershipTypeFilter[]; - or?: MembershipTypeFilter[]; - not?: MembershipTypeFilter; -} export interface OrgChartEdgeGrantFilter { id?: UUIDFilter; entityId?: UUIDFilter; @@ -1186,10 +1240,24 @@ export interface OrgChartEdgeGrantFilter { positionTitle?: StringFilter; positionLevel?: IntFilter; createdAt?: DatetimeFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeGrantFilter[]; or?: OrgChartEdgeGrantFilter[]; not?: OrgChartEdgeGrantFilter; } +export interface MembershipTypeFilter { + id?: IntFilter; + name?: StringFilter; + description?: StringFilter; + prefix?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: MembershipTypeFilter[]; + or?: MembershipTypeFilter[]; + not?: MembershipTypeFilter; +} export interface AppLimitFilter { id?: UUIDFilter; name?: StringFilter; @@ -1302,6 +1370,8 @@ export interface OrgChartEdgeFilter { parentId?: UUIDFilter; positionTitle?: StringFilter; positionLevel?: IntFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeFilter[]; or?: OrgChartEdgeFilter[]; not?: OrgChartEdgeFilter; @@ -1320,35 +1390,6 @@ export interface OrgMembershipDefaultFilter { or?: OrgMembershipDefaultFilter[]; not?: OrgMembershipDefaultFilter; } -export interface InviteFilter { - id?: UUIDFilter; - email?: StringFilter; - senderId?: UUIDFilter; - inviteToken?: StringFilter; - inviteValid?: BooleanFilter; - inviteLimit?: IntFilter; - inviteCount?: IntFilter; - multiple?: BooleanFilter; - data?: JSONFilter; - expiresAt?: DatetimeFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: InviteFilter[]; - or?: InviteFilter[]; - not?: InviteFilter; -} -export interface AppLevelFilter { - id?: UUIDFilter; - name?: StringFilter; - description?: StringFilter; - image?: StringFilter; - ownerId?: UUIDFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: AppLevelFilter[]; - or?: AppLevelFilter[]; - not?: AppLevelFilter; -} export interface AppMembershipFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -1391,6 +1432,39 @@ export interface OrgMembershipFilter { or?: OrgMembershipFilter[]; not?: OrgMembershipFilter; } +export interface InviteFilter { + id?: UUIDFilter; + email?: StringFilter; + senderId?: UUIDFilter; + inviteToken?: StringFilter; + inviteValid?: BooleanFilter; + inviteLimit?: IntFilter; + inviteCount?: IntFilter; + multiple?: BooleanFilter; + data?: JSONFilter; + expiresAt?: DatetimeFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: InviteFilter[]; + or?: InviteFilter[]; + not?: InviteFilter; +} +export interface AppLevelFilter { + id?: UUIDFilter; + name?: StringFilter; + description?: StringFilter; + image?: StringFilter; + ownerId?: UUIDFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: AppLevelFilter[]; + or?: AppLevelFilter[]; + not?: AppLevelFilter; +} export interface OrgInviteFilter { id?: UUIDFilter; email?: StringFilter; @@ -1406,6 +1480,8 @@ export interface OrgInviteFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; entityId?: UUIDFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgInviteFilter[]; or?: OrgInviteFilter[]; not?: OrgInviteFilter; @@ -1440,7 +1516,11 @@ export type AppPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1454,7 +1534,11 @@ export type OrgPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLevelRequirementOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1474,7 +1558,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMemberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1593,19 +1681,7 @@ export type OrgLimitDefaultOrderBy = | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC'; -export type MembershipTypeOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'PREFIX_ASC' - | 'PREFIX_DESC'; -export type OrgChartEdgeGrantOrderBy = +export type OrgChartEdgeGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' @@ -1626,7 +1702,29 @@ export type OrgChartEdgeGrantOrderBy = | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +export type MembershipTypeOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'PREFIX_ASC' + | 'PREFIX_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'PREFIX_TRGM_SIMILARITY_ASC' + | 'PREFIX_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLimitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1798,7 +1896,11 @@ export type OrgChartEdgeOrderBy = | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' - | 'POSITION_LEVEL_DESC'; + | 'POSITION_LEVEL_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1821,52 +1923,6 @@ export type OrgMembershipDefaultOrderBy = | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC'; -export type InviteOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'EMAIL_ASC' - | 'EMAIL_DESC' - | 'SENDER_ID_ASC' - | 'SENDER_ID_DESC' - | 'INVITE_TOKEN_ASC' - | 'INVITE_TOKEN_DESC' - | 'INVITE_VALID_ASC' - | 'INVITE_VALID_DESC' - | 'INVITE_LIMIT_ASC' - | 'INVITE_LIMIT_DESC' - | 'INVITE_COUNT_ASC' - | 'INVITE_COUNT_DESC' - | 'MULTIPLE_ASC' - | 'MULTIPLE_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'EXPIRES_AT_ASC' - | 'EXPIRES_AT_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type AppLevelOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'IMAGE_ASC' - | 'IMAGE_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; export type AppMembershipOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1939,6 +1995,60 @@ export type OrgMembershipOrderBy = | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +export type InviteOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'EMAIL_ASC' + | 'EMAIL_DESC' + | 'SENDER_ID_ASC' + | 'SENDER_ID_DESC' + | 'INVITE_TOKEN_ASC' + | 'INVITE_TOKEN_DESC' + | 'INVITE_VALID_ASC' + | 'INVITE_VALID_DESC' + | 'INVITE_LIMIT_ASC' + | 'INVITE_LIMIT_DESC' + | 'INVITE_COUNT_ASC' + | 'INVITE_COUNT_DESC' + | 'MULTIPLE_ASC' + | 'MULTIPLE_DESC' + | 'DATA_ASC' + | 'DATA_DESC' + | 'EXPIRES_AT_ASC' + | 'EXPIRES_AT_DESC' + | 'CREATED_AT_ASC' + | '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'; +export type AppLevelOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'IMAGE_ASC' + | 'IMAGE_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'; export type OrgInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -1970,7 +2080,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ export interface CreateOrgGetManagersRecordInput { clientMutationId?: string; @@ -2026,6 +2140,8 @@ export interface AppPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppPermissionInput { clientMutationId?: string; @@ -2050,6 +2166,8 @@ export interface OrgPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgPermissionInput { clientMutationId?: string; @@ -2076,6 +2194,8 @@ export interface AppLevelRequirementPatch { description?: string | null; requiredCount?: number | null; priority?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelRequirementInput { clientMutationId?: string; @@ -2278,28 +2398,6 @@ export interface DeleteOrgLimitDefaultInput { clientMutationId?: string; id: string; } -export interface CreateMembershipTypeInput { - clientMutationId?: string; - membershipType: { - name: string; - description: string; - prefix: string; - }; -} -export interface MembershipTypePatch { - name?: string | null; - description?: string | null; - prefix?: string | null; -} -export interface UpdateMembershipTypeInput { - clientMutationId?: string; - id: number; - membershipTypePatch: MembershipTypePatch; -} -export interface DeleteMembershipTypeInput { - clientMutationId?: string; - id: number; -} export interface CreateOrgChartEdgeGrantInput { clientMutationId?: string; orgChartEdgeGrant: { @@ -2320,6 +2418,8 @@ export interface OrgChartEdgeGrantPatch { isGrant?: boolean | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeGrantInput { clientMutationId?: string; @@ -2330,6 +2430,31 @@ export interface DeleteOrgChartEdgeGrantInput { clientMutationId?: string; id: string; } +export interface CreateMembershipTypeInput { + clientMutationId?: string; + membershipType: { + name: string; + description: string; + prefix: string; + }; +} +export interface MembershipTypePatch { + name?: string | null; + description?: string | null; + prefix?: string | null; + descriptionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateMembershipTypeInput { + clientMutationId?: string; + id: number; + membershipTypePatch: MembershipTypePatch; +} +export interface DeleteMembershipTypeInput { + clientMutationId?: string; + id: number; +} export interface CreateAppLimitInput { clientMutationId?: string; appLimit: { @@ -2560,6 +2685,8 @@ export interface OrgChartEdgePatch { parentId?: string | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeInput { clientMutationId?: string; @@ -2598,64 +2725,6 @@ export interface DeleteOrgMembershipDefaultInput { clientMutationId?: string; id: string; } -export interface CreateInviteInput { - clientMutationId?: string; - invite: { - email?: ConstructiveInternalTypeEmail; - senderId?: string; - inviteToken?: string; - inviteValid?: boolean; - inviteLimit?: number; - inviteCount?: number; - multiple?: boolean; - data?: Record; - expiresAt?: string; - }; -} -export interface InvitePatch { - email?: ConstructiveInternalTypeEmail | null; - senderId?: string | null; - inviteToken?: string | null; - inviteValid?: boolean | null; - inviteLimit?: number | null; - inviteCount?: number | null; - multiple?: boolean | null; - data?: Record | null; - expiresAt?: string | null; -} -export interface UpdateInviteInput { - clientMutationId?: string; - id: string; - invitePatch: InvitePatch; -} -export interface DeleteInviteInput { - clientMutationId?: string; - id: string; -} -export interface CreateAppLevelInput { - clientMutationId?: string; - appLevel: { - name: string; - description?: string; - image?: ConstructiveInternalTypeImage; - ownerId?: string; - }; -} -export interface AppLevelPatch { - name?: string | null; - description?: string | null; - image?: ConstructiveInternalTypeImage | null; - ownerId?: string | null; -} -export interface UpdateAppLevelInput { - clientMutationId?: string; - id: string; - appLevelPatch: AppLevelPatch; -} -export interface DeleteAppLevelInput { - clientMutationId?: string; - id: string; -} export interface CreateAppMembershipInput { clientMutationId?: string; appMembership: { @@ -2740,12 +2809,11 @@ export interface DeleteOrgMembershipInput { clientMutationId?: string; id: string; } -export interface CreateOrgInviteInput { +export interface CreateInviteInput { clientMutationId?: string; - orgInvite: { + invite: { email?: ConstructiveInternalTypeEmail; senderId?: string; - receiverId?: string; inviteToken?: string; inviteValid?: boolean; inviteLimit?: number; @@ -2753,13 +2821,11 @@ export interface CreateOrgInviteInput { multiple?: boolean; data?: Record; expiresAt?: string; - entityId: string; }; } -export interface OrgInvitePatch { +export interface InvitePatch { email?: ConstructiveInternalTypeEmail | null; senderId?: string | null; - receiverId?: string | null; inviteToken?: string | null; inviteValid?: boolean | null; inviteLimit?: number | null; @@ -2767,31 +2833,98 @@ export interface OrgInvitePatch { multiple?: boolean | null; data?: Record | null; expiresAt?: string | null; - entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } -export interface UpdateOrgInviteInput { +export interface UpdateInviteInput { clientMutationId?: string; id: string; - orgInvitePatch: OrgInvitePatch; + invitePatch: InvitePatch; } -export interface DeleteOrgInviteInput { +export interface DeleteInviteInput { clientMutationId?: string; id: string; } -// ============ Connection Fields Map ============ -export const connectionFieldsMap = {} as Record>; -// ============ Custom Input Types (from schema) ============ -export interface SubmitInviteCodeInput { +export interface CreateAppLevelInput { clientMutationId?: string; - token?: string; + appLevel: { + name: string; + description?: string; + image?: ConstructiveInternalTypeImage; + ownerId?: string; + }; } -export interface SubmitOrgInviteCodeInput { +export interface AppLevelPatch { + name?: string | null; + description?: string | null; + image?: ConstructiveInternalTypeImage | null; + ownerId?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateAppLevelInput { clientMutationId?: string; - token?: string; + id: string; + appLevelPatch: AppLevelPatch; } -/** A connection to a list of `AppPermission` values. */ -// ============ Payload/Return Types (for custom operations) ============ -export interface AppPermissionConnection { +export interface DeleteAppLevelInput { + clientMutationId?: string; + id: string; +} +export interface CreateOrgInviteInput { + clientMutationId?: string; + orgInvite: { + email?: ConstructiveInternalTypeEmail; + senderId?: string; + receiverId?: string; + inviteToken?: string; + inviteValid?: boolean; + inviteLimit?: number; + inviteCount?: number; + multiple?: boolean; + data?: Record; + expiresAt?: string; + entityId: string; + }; +} +export interface OrgInvitePatch { + email?: ConstructiveInternalTypeEmail | null; + senderId?: string | null; + receiverId?: string | null; + inviteToken?: string | null; + inviteValid?: boolean | null; + inviteLimit?: number | null; + inviteCount?: number | null; + multiple?: boolean | null; + data?: Record | null; + expiresAt?: string | null; + entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateOrgInviteInput { + clientMutationId?: string; + id: string; + orgInvitePatch: OrgInvitePatch; +} +export interface DeleteOrgInviteInput { + clientMutationId?: string; + id: string; +} +// ============ Connection Fields Map ============ +export const connectionFieldsMap = {} as Record>; +// ============ Custom Input Types (from schema) ============ +export interface SubmitInviteCodeInput { + clientMutationId?: string; + token?: string; +} +export interface SubmitOrgInviteCodeInput { + clientMutationId?: string; + token?: string; +} +/** A connection to a list of `AppPermission` values. */ +// ============ Payload/Return Types (for custom operations) ============ +export interface AppPermissionConnection { nodes: AppPermission[]; edges: AppPermissionEdge[]; pageInfo: PageInfo; @@ -3403,51 +3536,6 @@ export type DeleteOrgLimitDefaultPayloadSelect = { select: OrgLimitDefaultEdgeSelect; }; }; -export interface CreateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was created by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type CreateMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; -export interface UpdateMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was updated by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type UpdateMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; -export interface DeleteMembershipTypePayload { - clientMutationId?: string | null; - /** The `MembershipType` that was deleted by this mutation. */ - membershipType?: MembershipType | null; - membershipTypeEdge?: MembershipTypeEdge | null; -} -export type DeleteMembershipTypePayloadSelect = { - clientMutationId?: boolean; - membershipType?: { - select: MembershipTypeSelect; - }; - membershipTypeEdge?: { - select: MembershipTypeEdgeSelect; - }; -}; export interface CreateOrgChartEdgeGrantPayload { clientMutationId?: string | null; /** The `OrgChartEdgeGrant` that was created by this mutation. */ @@ -3493,6 +3581,51 @@ export type DeleteOrgChartEdgeGrantPayloadSelect = { select: OrgChartEdgeGrantEdgeSelect; }; }; +export interface CreateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was created by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type CreateMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; +export interface UpdateMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was updated by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type UpdateMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; +export interface DeleteMembershipTypePayload { + clientMutationId?: string | null; + /** The `MembershipType` that was deleted by this mutation. */ + membershipType?: MembershipType | null; + membershipTypeEdge?: MembershipTypeEdge | null; +} +export type DeleteMembershipTypePayloadSelect = { + clientMutationId?: boolean; + membershipType?: { + select: MembershipTypeSelect; + }; + membershipTypeEdge?: { + select: MembershipTypeEdgeSelect; + }; +}; export interface CreateAppLimitPayload { clientMutationId?: string | null; /** The `AppLimit` that was created by this mutation. */ @@ -3988,96 +4121,6 @@ export type DeleteOrgMembershipDefaultPayloadSelect = { select: OrgMembershipDefaultEdgeSelect; }; }; -export interface CreateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was created by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type CreateInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface UpdateInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was updated by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type UpdateInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface DeleteInvitePayload { - clientMutationId?: string | null; - /** The `Invite` that was deleted by this mutation. */ - invite?: Invite | null; - inviteEdge?: InviteEdge | null; -} -export type DeleteInvitePayloadSelect = { - clientMutationId?: boolean; - invite?: { - select: InviteSelect; - }; - inviteEdge?: { - select: InviteEdgeSelect; - }; -}; -export interface CreateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was created by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type CreateAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; -export interface UpdateAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was updated by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type UpdateAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; -export interface DeleteAppLevelPayload { - clientMutationId?: string | null; - /** The `AppLevel` that was deleted by this mutation. */ - appLevel?: AppLevel | null; - appLevelEdge?: AppLevelEdge | null; -} -export type DeleteAppLevelPayloadSelect = { - clientMutationId?: boolean; - appLevel?: { - select: AppLevelSelect; - }; - appLevelEdge?: { - select: AppLevelEdgeSelect; - }; -}; export interface CreateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was created by this mutation. */ @@ -4168,6 +4211,96 @@ export type DeleteOrgMembershipPayloadSelect = { select: OrgMembershipEdgeSelect; }; }; +export interface CreateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was created by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type CreateInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface UpdateInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was updated by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type UpdateInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface DeleteInvitePayload { + clientMutationId?: string | null; + /** The `Invite` that was deleted by this mutation. */ + invite?: Invite | null; + inviteEdge?: InviteEdge | null; +} +export type DeleteInvitePayloadSelect = { + clientMutationId?: boolean; + invite?: { + select: InviteSelect; + }; + inviteEdge?: { + select: InviteEdgeSelect; + }; +}; +export interface CreateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was created by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type CreateAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; +export interface UpdateAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was updated by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type UpdateAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; +export interface DeleteAppLevelPayload { + clientMutationId?: string | null; + /** The `AppLevel` that was deleted by this mutation. */ + appLevel?: AppLevel | null; + appLevelEdge?: AppLevelEdge | null; +} +export type DeleteAppLevelPayloadSelect = { + clientMutationId?: boolean; + appLevel?: { + select: AppLevelSelect; + }; + appLevelEdge?: { + select: AppLevelEdgeSelect; + }; +}; export interface CreateOrgInvitePayload { clientMutationId?: string | null; /** The `OrgInvite` that was created by this mutation. */ @@ -4374,18 +4507,6 @@ export type OrgLimitDefaultEdgeSelect = { select: OrgLimitDefaultSelect; }; }; -/** A `MembershipType` edge in the connection. */ -export interface MembershipTypeEdge { - cursor?: string | null; - /** The `MembershipType` at the end of the edge. */ - node?: MembershipType | null; -} -export type MembershipTypeEdgeSelect = { - cursor?: boolean; - node?: { - select: MembershipTypeSelect; - }; -}; /** A `OrgChartEdgeGrant` edge in the connection. */ export interface OrgChartEdgeGrantEdge { cursor?: string | null; @@ -4398,6 +4519,18 @@ export type OrgChartEdgeGrantEdgeSelect = { select: OrgChartEdgeGrantSelect; }; }; +/** A `MembershipType` edge in the connection. */ +export interface MembershipTypeEdge { + cursor?: string | null; + /** The `MembershipType` at the end of the edge. */ + node?: MembershipType | null; +} +export type MembershipTypeEdgeSelect = { + cursor?: boolean; + node?: { + select: MembershipTypeSelect; + }; +}; /** A `AppLimit` edge in the connection. */ export interface AppLimitEdge { cursor?: string | null; @@ -4530,30 +4663,6 @@ export type OrgMembershipDefaultEdgeSelect = { select: OrgMembershipDefaultSelect; }; }; -/** A `Invite` edge in the connection. */ -export interface InviteEdge { - cursor?: string | null; - /** The `Invite` at the end of the edge. */ - node?: Invite | null; -} -export type InviteEdgeSelect = { - cursor?: boolean; - node?: { - select: InviteSelect; - }; -}; -/** A `AppLevel` edge in the connection. */ -export interface AppLevelEdge { - cursor?: string | null; - /** The `AppLevel` at the end of the edge. */ - node?: AppLevel | null; -} -export type AppLevelEdgeSelect = { - cursor?: boolean; - node?: { - select: AppLevelSelect; - }; -}; /** A `AppMembership` edge in the connection. */ export interface AppMembershipEdge { cursor?: string | null; @@ -4578,6 +4687,30 @@ export type OrgMembershipEdgeSelect = { select: OrgMembershipSelect; }; }; +/** A `Invite` edge in the connection. */ +export interface InviteEdge { + cursor?: string | null; + /** The `Invite` at the end of the edge. */ + node?: Invite | null; +} +export type InviteEdgeSelect = { + cursor?: boolean; + node?: { + select: InviteSelect; + }; +}; +/** A `AppLevel` edge in the connection. */ +export interface AppLevelEdge { + cursor?: string | null; + /** The `AppLevel` at the end of the edge. */ + node?: AppLevel | null; +} +export type AppLevelEdgeSelect = { + cursor?: boolean; + node?: { + select: AppLevelSelect; + }; +}; /** A `OrgInvite` edge in the connection. */ export interface OrgInviteEdge { cursor?: string | null; diff --git a/sdk/constructive-sdk/src/admin/orm/models/appAchievement.ts b/sdk/constructive-sdk/src/admin/orm/models/appAchievement.ts index c26bd04df..b6b13c6ca 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appAchievement.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appAchievement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAchievementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appAdminGrant.ts b/sdk/constructive-sdk/src/admin/orm/models/appAdminGrant.ts index 994dcd67d..e109a5074 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appAdminGrant.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appGrant.ts b/sdk/constructive-sdk/src/admin/orm/models/appGrant.ts index df4f3ac72..d6c381d48 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appGrant.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appLevel.ts b/sdk/constructive-sdk/src/admin/orm/models/appLevel.ts index 16a46df57..69e6100e0 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appLevel.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appLevel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appLevelRequirement.ts b/sdk/constructive-sdk/src/admin/orm/models/appLevelRequirement.ts index a67824ec2..085346af5 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appLevelRequirement.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appLevelRequirement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelRequirementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appLimit.ts b/sdk/constructive-sdk/src/admin/orm/models/appLimit.ts index 6671f9d37..667cf913e 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appLimit.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appLimitDefault.ts b/sdk/constructive-sdk/src/admin/orm/models/appLimitDefault.ts index 8d926da0a..b2ca4d794 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appLimitDefault.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appMembership.ts b/sdk/constructive-sdk/src/admin/orm/models/appMembership.ts index 2631ec415..fe22a66c1 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appMembership.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appMembershipDefault.ts b/sdk/constructive-sdk/src/admin/orm/models/appMembershipDefault.ts index ba0c3ce53..333231b61 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appMembershipDefault.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appOwnerGrant.ts b/sdk/constructive-sdk/src/admin/orm/models/appOwnerGrant.ts index a18dd21c4..0c2e436d0 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appOwnerGrant.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appPermission.ts b/sdk/constructive-sdk/src/admin/orm/models/appPermission.ts index ab24d7bfc..c1740e8cc 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appPermission.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appPermissionDefault.ts b/sdk/constructive-sdk/src/admin/orm/models/appPermissionDefault.ts index 3951ef4bb..926a76f55 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appPermissionDefault.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/appStep.ts b/sdk/constructive-sdk/src/admin/orm/models/appStep.ts index 7c4ab983c..a6895d488 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/appStep.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/appStep.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppStepModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/claimedInvite.ts b/sdk/constructive-sdk/src/admin/orm/models/claimedInvite.ts index 9a679a488..2acbbcddc 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/claimedInvite.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/claimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/index.ts b/sdk/constructive-sdk/src/admin/orm/models/index.ts index f20a6d0a4..e04c1406f 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/index.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/index.ts @@ -17,8 +17,8 @@ export { OrgAdminGrantModel } from './orgAdminGrant'; export { OrgOwnerGrantModel } from './orgOwnerGrant'; export { AppLimitDefaultModel } from './appLimitDefault'; export { OrgLimitDefaultModel } from './orgLimitDefault'; -export { MembershipTypeModel } from './membershipType'; export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant'; +export { MembershipTypeModel } from './membershipType'; export { AppLimitModel } from './appLimit'; export { AppAchievementModel } from './appAchievement'; export { AppStepModel } from './appStep'; @@ -30,8 +30,8 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite'; export { OrgGrantModel } from './orgGrant'; export { OrgChartEdgeModel } from './orgChartEdge'; export { OrgMembershipDefaultModel } from './orgMembershipDefault'; -export { InviteModel } from './invite'; -export { AppLevelModel } from './appLevel'; export { AppMembershipModel } from './appMembership'; export { OrgMembershipModel } from './orgMembership'; +export { InviteModel } from './invite'; +export { AppLevelModel } from './appLevel'; export { OrgInviteModel } from './orgInvite'; diff --git a/sdk/constructive-sdk/src/admin/orm/models/invite.ts b/sdk/constructive-sdk/src/admin/orm/models/invite.ts index ffacfa690..7cb652492 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/invite.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/invite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/membershipType.ts b/sdk/constructive-sdk/src/admin/orm/models/membershipType.ts index c8f385b4e..9bb48d29b 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/membershipType.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/membershipType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgAdminGrant.ts b/sdk/constructive-sdk/src/admin/orm/models/orgAdminGrant.ts index ad34ec08c..5547eb6b9 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgAdminGrant.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgChartEdge.ts b/sdk/constructive-sdk/src/admin/orm/models/orgChartEdge.ts index 3ff845429..00b00dfc8 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgChartEdge.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgChartEdge.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgChartEdgeGrant.ts b/sdk/constructive-sdk/src/admin/orm/models/orgChartEdgeGrant.ts index 40dba3391..be92222db 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgChartEdgeGrant.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgChartEdgeGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgClaimedInvite.ts b/sdk/constructive-sdk/src/admin/orm/models/orgClaimedInvite.ts index 7b1a668ce..3f4277848 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgClaimedInvite.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgClaimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgGetManagersRecord.ts b/sdk/constructive-sdk/src/admin/orm/models/orgGetManagersRecord.ts index 9a0cefa8a..e8f5a29ec 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgGetManagersRecord.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgGetManagersRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetManagersRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgGetSubordinatesRecord.ts b/sdk/constructive-sdk/src/admin/orm/models/orgGetSubordinatesRecord.ts index 5eeec50ca..be9fa6a62 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgGetSubordinatesRecord.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgGetSubordinatesRecord.ts @@ -37,7 +37,12 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetSubordinatesRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs< + S, + OrgGetSubordinatesRecordFilter, + never, + OrgGetSubordinatesRecordsOrderBy + > & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgGrant.ts b/sdk/constructive-sdk/src/admin/orm/models/orgGrant.ts index 51ffe25e0..7142f7a22 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgGrant.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgInvite.ts b/sdk/constructive-sdk/src/admin/orm/models/orgInvite.ts index 351f866ab..abf2f2e35 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgInvite.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgLimit.ts b/sdk/constructive-sdk/src/admin/orm/models/orgLimit.ts index 787dd2e18..4fa9be97a 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgLimit.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgLimitDefault.ts b/sdk/constructive-sdk/src/admin/orm/models/orgLimitDefault.ts index b66e270b4..d0e0a1a77 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgLimitDefault.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgMember.ts b/sdk/constructive-sdk/src/admin/orm/models/orgMember.ts index 9045b10e0..4e8e3b6e5 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgMember.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgMember.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMemberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgMembership.ts b/sdk/constructive-sdk/src/admin/orm/models/orgMembership.ts index 7c5133b07..9ae89014b 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgMembership.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgMembershipDefault.ts b/sdk/constructive-sdk/src/admin/orm/models/orgMembershipDefault.ts index c4863e35b..c4afaaad7 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgMembershipDefault.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgOwnerGrant.ts b/sdk/constructive-sdk/src/admin/orm/models/orgOwnerGrant.ts index 57596aecd..d62bd3ab3 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgOwnerGrant.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgPermission.ts b/sdk/constructive-sdk/src/admin/orm/models/orgPermission.ts index 9a2c0461f..6c4cbf204 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgPermission.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/models/orgPermissionDefault.ts b/sdk/constructive-sdk/src/admin/orm/models/orgPermissionDefault.ts index d6c204515..92af6e0db 100644 --- a/sdk/constructive-sdk/src/admin/orm/models/orgPermissionDefault.ts +++ b/sdk/constructive-sdk/src/admin/orm/models/orgPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/admin/orm/query-builder.ts b/sdk/constructive-sdk/src/admin/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-sdk/src/admin/orm/query-builder.ts +++ b/sdk/constructive-sdk/src/admin/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/sdk/constructive-sdk/src/auth/orm/README.md b/sdk/constructive-sdk/src/auth/orm/README.md index 19b4a6b78..a9eb59719 100644 --- a/sdk/constructive-sdk/src/auth/orm/README.md +++ b/sdk/constructive-sdk/src/auth/orm/README.md @@ -21,8 +21,8 @@ const db = createClient({ | Model | Operations | |-------|------------| -| `roleType` | findMany, findOne, create, update, delete | | `cryptoAddress` | findMany, findOne, create, update, delete | +| `roleType` | findMany, findOne, create, update, delete | | `phoneNumber` | findMany, findOne, create, update, delete | | `connectedAccount` | findMany, findOne, create, update, delete | | `auditLog` | findMany, findOne, create, update, delete | @@ -31,69 +31,71 @@ const db = createClient({ ## Table Operations -### `db.roleType` +### `db.cryptoAddress` -CRUD operations for RoleType records. +CRUD operations for CryptoAddress records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `address` | String | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | +| `createdAt` | Datetime | No | +| `updatedAt` | Datetime | No | +| `addressTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all roleType records -const items = await db.roleType.findMany({ select: { id: true, name: true } }).execute(); +// List all cryptoAddress records +const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.roleType.findOne({ id: '', select: { id: true, name: true } }).execute(); +const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.roleType.create({ data: { name: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.roleType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.roleType.delete({ where: { id: '' } }).execute(); +const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); ``` -### `db.cryptoAddress` +### `db.roleType` -CRUD operations for CryptoAddress records. +CRUD operations for RoleType records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `address` | String | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | -| `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | +| `id` | Int | No | +| `name` | String | Yes | **Operations:** ```typescript -// List all cryptoAddress records -const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all roleType records +const items = await db.roleType.findMany({ select: { id: true, name: true } }).execute(); // Get one by id -const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.roleType.findOne({ id: '', select: { id: true, name: true } }).execute(); // Create -const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.roleType.create({ data: { name: '' }, select: { id: true } }).execute(); // Update -const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.roleType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +const deleted = await db.roleType.delete({ where: { id: '' } }).execute(); ``` ### `db.phoneNumber` @@ -112,18 +114,21 @@ CRUD operations for PhoneNumber records. | `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `ccTrgmSimilarity` | Float | Yes | +| `numberTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all phoneNumber records -const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -148,18 +153,21 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `serviceTrgmSimilarity` | Float | Yes | +| `identifierTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccount records -const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -184,18 +192,20 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | Yes | | `success` | Boolean | Yes | | `createdAt` | Datetime | No | +| `userAgentTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all auditLog records -const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute(); +const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute(); @@ -256,18 +266,20 @@ CRUD operations for User records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `searchTsvRank` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all user records -const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute(); +const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-sdk/src/auth/orm/index.ts b/sdk/constructive-sdk/src/auth/orm/index.ts index 3718b175a..51b7e07ae 100644 --- a/sdk/constructive-sdk/src/auth/orm/index.ts +++ b/sdk/constructive-sdk/src/auth/orm/index.ts @@ -5,8 +5,8 @@ */ import { OrmClient } from './client'; import type { OrmClientConfig } from './client'; -import { RoleTypeModel } from './models/roleType'; import { CryptoAddressModel } from './models/cryptoAddress'; +import { RoleTypeModel } from './models/roleType'; import { PhoneNumberModel } from './models/phoneNumber'; import { ConnectedAccountModel } from './models/connectedAccount'; import { AuditLogModel } from './models/auditLog'; @@ -47,8 +47,8 @@ export { createMutationOperations } from './mutation'; export function createClient(config: OrmClientConfig) { const client = new OrmClient(config); return { - roleType: new RoleTypeModel(client), cryptoAddress: new CryptoAddressModel(client), + roleType: new RoleTypeModel(client), phoneNumber: new PhoneNumberModel(client), connectedAccount: new ConnectedAccountModel(client), auditLog: new AuditLogModel(client), diff --git a/sdk/constructive-sdk/src/auth/orm/input-types.ts b/sdk/constructive-sdk/src/auth/orm/input-types.ts index 94ef7c3b0..0f48b534f 100644 --- a/sdk/constructive-sdk/src/auth/orm/input-types.ts +++ b/sdk/constructive-sdk/src/auth/orm/input-types.ts @@ -234,12 +234,8 @@ export interface UUIDListFilter { export type ConstructiveInternalTypeEmail = unknown; export type ConstructiveInternalTypeImage = unknown; export type ConstructiveInternalTypeOrigin = unknown; -// ============ Entity Types ============ -export interface RoleType { - id: number; - name?: string | null; -} /** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ +// ============ Entity Types ============ export interface CryptoAddress { id: string; ownerId?: string | null; @@ -251,6 +247,14 @@ export interface CryptoAddress { isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `address`. Returns null when no trgm search filter is active. */ + addressTrgmSimilarity?: number | null; + /** 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?: number | null; +} +export interface RoleType { + id: number; + name?: string | null; } /** User phone numbers with country code, verification, and primary-number management */ export interface PhoneNumber { @@ -266,6 +270,12 @@ export interface PhoneNumber { isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. */ + ccTrgmSimilarity?: number | null; + /** TRGM similarity when searching `number`. Returns null when no trgm search filter is active. */ + numberTrgmSimilarity?: number | null; + /** 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?: number | null; } /** OAuth and social login connections linking external service accounts to users */ export interface ConnectedAccount { @@ -281,6 +291,12 @@ export interface ConnectedAccount { isVerified?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `service`. Returns null when no trgm search filter is active. */ + serviceTrgmSimilarity?: number | null; + /** TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. */ + identifierTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) */ export interface AuditLog { @@ -299,6 +315,10 @@ export interface AuditLog { success?: boolean | null; /** Timestamp when the audit event was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. */ + userAgentTrgmSimilarity?: number | null; + /** 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?: number | null; } /** User email addresses with verification and primary-email management */ export interface Email { @@ -322,8 +342,12 @@ export interface User { type?: number | null; createdAt?: string | null; updatedAt?: string | null; - /** Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. */ + /** TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. */ searchTsvRank?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -338,10 +362,10 @@ export interface PageInfo { endCursor?: string | null; } // ============ Entity Relation Types ============ -export interface RoleTypeRelations {} export interface CryptoAddressRelations { owner?: User | null; } +export interface RoleTypeRelations {} export interface PhoneNumberRelations { owner?: User | null; } @@ -358,18 +382,14 @@ export interface UserRelations { roleType?: RoleType | null; } // ============ Entity Types With Relations ============ -export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; +export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; export type AuditLogWithRelations = AuditLog & AuditLogRelations; export type EmailWithRelations = Email & EmailRelations; export type UserWithRelations = User & UserRelations; // ============ Entity Select Types ============ -export type RoleTypeSelect = { - id?: boolean; - name?: boolean; -}; export type CryptoAddressSelect = { id?: boolean; ownerId?: boolean; @@ -378,10 +398,16 @@ export type CryptoAddressSelect = { isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + addressTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; }; +export type RoleTypeSelect = { + id?: boolean; + name?: boolean; +}; export type PhoneNumberSelect = { id?: boolean; ownerId?: boolean; @@ -391,6 +417,9 @@ export type PhoneNumberSelect = { isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + ccTrgmSimilarity?: boolean; + numberTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -404,6 +433,9 @@ export type ConnectedAccountSelect = { isVerified?: boolean; createdAt?: boolean; updatedAt?: boolean; + serviceTrgmSimilarity?: boolean; + identifierTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -417,6 +449,8 @@ export type AuditLogSelect = { ipAddress?: boolean; success?: boolean; createdAt?: boolean; + userAgentTrgmSimilarity?: boolean; + searchScore?: boolean; actor?: { select: UserSelect; }; @@ -443,18 +477,13 @@ export type UserSelect = { createdAt?: boolean; updatedAt?: boolean; searchTsvRank?: boolean; + displayNameTrgmSimilarity?: boolean; + searchScore?: boolean; roleType?: { select: RoleTypeSelect; }; }; // ============ Table Filter Types ============ -export interface RoleTypeFilter { - id?: IntFilter; - name?: StringFilter; - and?: RoleTypeFilter[]; - or?: RoleTypeFilter[]; - not?: RoleTypeFilter; -} export interface CryptoAddressFilter { id?: UUIDFilter; ownerId?: UUIDFilter; @@ -463,10 +492,19 @@ export interface CryptoAddressFilter { isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + addressTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAddressFilter[]; or?: CryptoAddressFilter[]; not?: CryptoAddressFilter; } +export interface RoleTypeFilter { + id?: IntFilter; + name?: StringFilter; + and?: RoleTypeFilter[]; + or?: RoleTypeFilter[]; + not?: RoleTypeFilter; +} export interface PhoneNumberFilter { id?: UUIDFilter; ownerId?: UUIDFilter; @@ -476,6 +514,9 @@ export interface PhoneNumberFilter { isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + ccTrgmSimilarity?: FloatFilter; + numberTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PhoneNumberFilter[]; or?: PhoneNumberFilter[]; not?: PhoneNumberFilter; @@ -489,6 +530,9 @@ export interface ConnectedAccountFilter { isVerified?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + serviceTrgmSimilarity?: FloatFilter; + identifierTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountFilter[]; or?: ConnectedAccountFilter[]; not?: ConnectedAccountFilter; @@ -502,6 +546,8 @@ export interface AuditLogFilter { ipAddress?: InternetAddressFilter; success?: BooleanFilter; createdAt?: DatetimeFilter; + userAgentTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AuditLogFilter[]; or?: AuditLogFilter[]; not?: AuditLogFilter; @@ -528,19 +574,13 @@ export interface UserFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; searchTsvRank?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UserFilter[]; or?: UserFilter[]; not?: UserFilter; } // ============ OrderBy Types ============ -export type RoleTypeOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'NAME_ASC' - | 'NAME_DESC'; export type CryptoAddressOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -558,7 +598,19 @@ export type CryptoAddressOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'ADDRESS_TRGM_SIMILARITY_ASC' + | 'ADDRESS_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; +export type RoleTypeOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'NAME_ASC' + | 'NAME_DESC'; export type PhoneNumberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -578,7 +630,13 @@ export type PhoneNumberOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ConnectedAccountOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -598,7 +656,13 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type AuditLogOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -618,7 +682,11 @@ export type AuditLogOrderBy = | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EmailOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -658,26 +726,12 @@ export type UserOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ -export interface CreateRoleTypeInput { - clientMutationId?: string; - roleType: { - name: string; - }; -} -export interface RoleTypePatch { - name?: string | null; -} -export interface UpdateRoleTypeInput { - clientMutationId?: string; - id: number; - roleTypePatch: RoleTypePatch; -} -export interface DeleteRoleTypeInput { - clientMutationId?: string; - id: number; -} export interface CreateCryptoAddressInput { clientMutationId?: string; cryptoAddress: { @@ -692,6 +746,8 @@ export interface CryptoAddressPatch { address?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + addressTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAddressInput { clientMutationId?: string; @@ -702,6 +758,24 @@ export interface DeleteCryptoAddressInput { clientMutationId?: string; id: string; } +export interface CreateRoleTypeInput { + clientMutationId?: string; + roleType: { + name: string; + }; +} +export interface RoleTypePatch { + name?: string | null; +} +export interface UpdateRoleTypeInput { + clientMutationId?: string; + id: number; + roleTypePatch: RoleTypePatch; +} +export interface DeleteRoleTypeInput { + clientMutationId?: string; + id: number; +} export interface CreatePhoneNumberInput { clientMutationId?: string; phoneNumber: { @@ -718,6 +792,9 @@ export interface PhoneNumberPatch { number?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + ccTrgmSimilarity?: number | null; + numberTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePhoneNumberInput { clientMutationId?: string; @@ -744,6 +821,9 @@ export interface ConnectedAccountPatch { identifier?: string | null; details?: Record | null; isVerified?: boolean | null; + serviceTrgmSimilarity?: number | null; + identifierTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountInput { clientMutationId?: string; @@ -772,6 +852,8 @@ export interface AuditLogPatch { userAgent?: string | null; ipAddress?: string | null; success?: boolean | null; + userAgentTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAuditLogInput { clientMutationId?: string; @@ -823,6 +905,8 @@ export interface UserPatch { searchTsv?: string | null; type?: number | null; searchTsvRank?: number | null; + displayNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUserInput { clientMutationId?: string; @@ -1069,51 +1153,6 @@ export type VerifyTotpPayloadSelect = { select: SessionSelect; }; }; -export interface CreateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was created by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type CreateRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; -export interface UpdateRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was updated by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type UpdateRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; -export interface DeleteRoleTypePayload { - clientMutationId?: string | null; - /** The `RoleType` that was deleted by this mutation. */ - roleType?: RoleType | null; - roleTypeEdge?: RoleTypeEdge | null; -} -export type DeleteRoleTypePayloadSelect = { - clientMutationId?: boolean; - roleType?: { - select: RoleTypeSelect; - }; - roleTypeEdge?: { - select: RoleTypeEdgeSelect; - }; -}; export interface CreateCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was created by this mutation. */ @@ -1159,6 +1198,51 @@ export type DeleteCryptoAddressPayloadSelect = { select: CryptoAddressEdgeSelect; }; }; +export interface CreateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was created by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type CreateRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; +export interface UpdateRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was updated by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type UpdateRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; +export interface DeleteRoleTypePayload { + clientMutationId?: string | null; + /** The `RoleType` that was deleted by this mutation. */ + roleType?: RoleType | null; + roleTypeEdge?: RoleTypeEdge | null; +} +export type DeleteRoleTypePayloadSelect = { + clientMutationId?: boolean; + roleType?: { + select: RoleTypeSelect; + }; + roleTypeEdge?: { + select: RoleTypeEdgeSelect; + }; +}; export interface CreatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was created by this mutation. */ @@ -1391,6 +1475,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInOneTimeTokenRecordSelect = { id?: boolean; @@ -1399,6 +1487,8 @@ export type SignInOneTimeTokenRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignInRecord { id?: string | null; @@ -1407,6 +1497,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInRecordSelect = { id?: boolean; @@ -1415,6 +1509,8 @@ export type SignInRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignUpRecord { id?: string | null; @@ -1423,6 +1519,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignUpRecordSelect = { id?: boolean; @@ -1431,6 +1531,8 @@ export type SignUpRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ExtendTokenExpiresRecord { id?: string | null; @@ -1469,6 +1571,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SessionSelect = { id?: boolean; @@ -1485,18 +1595,10 @@ export type SessionSelect = { csrfSecret?: boolean; createdAt?: boolean; updatedAt?: boolean; -}; -/** A `RoleType` edge in the connection. */ -export interface RoleTypeEdge { - cursor?: string | null; - /** The `RoleType` at the end of the edge. */ - node?: RoleType | null; -} -export type RoleTypeEdgeSelect = { - cursor?: boolean; - node?: { - select: RoleTypeSelect; - }; + uagentTrgmSimilarity?: boolean; + fingerprintModeTrgmSimilarity?: boolean; + csrfSecretTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** A `CryptoAddress` edge in the connection. */ export interface CryptoAddressEdge { @@ -1510,6 +1612,18 @@ export type CryptoAddressEdgeSelect = { select: CryptoAddressSelect; }; }; +/** A `RoleType` edge in the connection. */ +export interface RoleTypeEdge { + cursor?: string | null; + /** The `RoleType` at the end of the edge. */ + node?: RoleType | null; +} +export type RoleTypeEdgeSelect = { + cursor?: boolean; + node?: { + select: RoleTypeSelect; + }; +}; /** A `PhoneNumber` edge in the connection. */ export interface PhoneNumberEdge { cursor?: string | null; diff --git a/sdk/constructive-sdk/src/auth/orm/models/auditLog.ts b/sdk/constructive-sdk/src/auth/orm/models/auditLog.ts index 3d6aacb4e..6923d2902 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/auditLog.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/auditLog.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AuditLogModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/auth/orm/models/connectedAccount.ts b/sdk/constructive-sdk/src/auth/orm/models/connectedAccount.ts index 0f2523553..2c68e0072 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/connectedAccount.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/connectedAccount.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/auth/orm/models/cryptoAddress.ts b/sdk/constructive-sdk/src/auth/orm/models/cryptoAddress.ts index 8d0c9b387..612da9a59 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/cryptoAddress.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/cryptoAddress.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/auth/orm/models/email.ts b/sdk/constructive-sdk/src/auth/orm/models/email.ts index d03c2180b..c73b51b9d 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/email.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/email.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/auth/orm/models/index.ts b/sdk/constructive-sdk/src/auth/orm/models/index.ts index 67ded861a..5ef4dde11 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/index.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/index.ts @@ -3,8 +3,8 @@ * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ -export { RoleTypeModel } from './roleType'; export { CryptoAddressModel } from './cryptoAddress'; +export { RoleTypeModel } from './roleType'; export { PhoneNumberModel } from './phoneNumber'; export { ConnectedAccountModel } from './connectedAccount'; export { AuditLogModel } from './auditLog'; diff --git a/sdk/constructive-sdk/src/auth/orm/models/phoneNumber.ts b/sdk/constructive-sdk/src/auth/orm/models/phoneNumber.ts index 8122dff00..8b59ca891 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/phoneNumber.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/phoneNumber.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/auth/orm/models/roleType.ts b/sdk/constructive-sdk/src/auth/orm/models/roleType.ts index dce555ddb..90a0b01dc 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/roleType.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/roleType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RoleTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/auth/orm/models/user.ts b/sdk/constructive-sdk/src/auth/orm/models/user.ts index 7adeca16a..bc2dacdba 100644 --- a/sdk/constructive-sdk/src/auth/orm/models/user.ts +++ b/sdk/constructive-sdk/src/auth/orm/models/user.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/auth/orm/query-builder.ts b/sdk/constructive-sdk/src/auth/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-sdk/src/auth/orm/query-builder.ts +++ b/sdk/constructive-sdk/src/auth/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/sdk/constructive-sdk/src/objects/orm/README.md b/sdk/constructive-sdk/src/objects/orm/README.md index fcdcb1d99..21100fb3f 100644 --- a/sdk/constructive-sdk/src/objects/orm/README.md +++ b/sdk/constructive-sdk/src/objects/orm/README.md @@ -108,18 +108,20 @@ CRUD operations for Ref records. | `databaseId` | UUID | Yes | | `storeId` | UUID | Yes | | `commitId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all ref records -const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute(); +const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -141,18 +143,20 @@ CRUD operations for Store records. | `databaseId` | UUID | Yes | | `hash` | UUID | Yes | | `createdAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all store records -const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -178,18 +182,20 @@ CRUD operations for Commit records. | `committerId` | UUID | Yes | | `treeId` | UUID | Yes | | `date` | Datetime | Yes | +| `messageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all commit records -const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute(); +const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-sdk/src/objects/orm/input-types.ts b/sdk/constructive-sdk/src/objects/orm/input-types.ts index ac3146648..89e77a3f8 100644 --- a/sdk/constructive-sdk/src/objects/orm/input-types.ts +++ b/sdk/constructive-sdk/src/objects/orm/input-types.ts @@ -254,6 +254,10 @@ export interface Ref { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A store represents an isolated object repository within a database. */ export interface Store { @@ -266,6 +270,10 @@ export interface Store { /** The current head tree_id for this store. */ hash?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A commit records changes to the repository. */ export interface Commit { @@ -285,6 +293,10 @@ export interface Commit { /** The root of the tree */ treeId?: string | null; date?: string | null; + /** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */ + messageTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -331,6 +343,8 @@ export type RefSelect = { databaseId?: boolean; storeId?: boolean; commitId?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type StoreSelect = { id?: boolean; @@ -338,6 +352,8 @@ export type StoreSelect = { databaseId?: boolean; hash?: boolean; createdAt?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type CommitSelect = { id?: boolean; @@ -349,6 +365,8 @@ export type CommitSelect = { committerId?: boolean; treeId?: boolean; date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; }; // ============ Table Filter Types ============ export interface GetAllRecordFilter { @@ -377,6 +395,8 @@ export interface RefFilter { databaseId?: UUIDFilter; storeId?: UUIDFilter; commitId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RefFilter[]; or?: RefFilter[]; not?: RefFilter; @@ -387,6 +407,8 @@ export interface StoreFilter { databaseId?: UUIDFilter; hash?: UUIDFilter; createdAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: StoreFilter[]; or?: StoreFilter[]; not?: StoreFilter; @@ -401,6 +423,8 @@ export interface CommitFilter { committerId?: UUIDFilter; treeId?: UUIDFilter; date?: DatetimeFilter; + messageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CommitFilter[]; or?: CommitFilter[]; not?: CommitFilter; @@ -447,7 +471,11 @@ export type RefOrderBy = | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' - | 'COMMIT_ID_DESC'; + | 'COMMIT_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type StoreOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -461,7 +489,11 @@ export type StoreOrderBy = | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type CommitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -483,7 +515,11 @@ export type CommitOrderBy = | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' - | 'DATE_DESC'; + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; // ============ CRUD Input Types ============ export interface CreateGetAllRecordInput { clientMutationId?: string; @@ -546,6 +582,8 @@ export interface RefPatch { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRefInput { clientMutationId?: string; @@ -568,6 +606,8 @@ export interface StorePatch { name?: string | null; databaseId?: string | null; hash?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateStoreInput { clientMutationId?: string; @@ -600,6 +640,8 @@ export interface CommitPatch { committerId?: string | null; treeId?: string | null; date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCommitInput { clientMutationId?: string; diff --git a/sdk/constructive-sdk/src/objects/orm/models/commit.ts b/sdk/constructive-sdk/src/objects/orm/models/commit.ts index 257e233ae..ea9aa22d2 100644 --- a/sdk/constructive-sdk/src/objects/orm/models/commit.ts +++ b/sdk/constructive-sdk/src/objects/orm/models/commit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CommitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/objects/orm/models/getAllRecord.ts b/sdk/constructive-sdk/src/objects/orm/models/getAllRecord.ts index 53873a0f3..94a06bdd9 100644 --- a/sdk/constructive-sdk/src/objects/orm/models/getAllRecord.ts +++ b/sdk/constructive-sdk/src/objects/orm/models/getAllRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class GetAllRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/objects/orm/models/object.ts b/sdk/constructive-sdk/src/objects/orm/models/object.ts index 72f7b0da4..e6ffa470b 100644 --- a/sdk/constructive-sdk/src/objects/orm/models/object.ts +++ b/sdk/constructive-sdk/src/objects/orm/models/object.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ObjectModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/objects/orm/models/ref.ts b/sdk/constructive-sdk/src/objects/orm/models/ref.ts index ec666a8e7..bbbefc91f 100644 --- a/sdk/constructive-sdk/src/objects/orm/models/ref.ts +++ b/sdk/constructive-sdk/src/objects/orm/models/ref.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RefModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/objects/orm/models/store.ts b/sdk/constructive-sdk/src/objects/orm/models/store.ts index d6f5e0450..5481b44b9 100644 --- a/sdk/constructive-sdk/src/objects/orm/models/store.ts +++ b/sdk/constructive-sdk/src/objects/orm/models/store.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class StoreModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/objects/orm/query-builder.ts b/sdk/constructive-sdk/src/objects/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-sdk/src/objects/orm/query-builder.ts +++ b/sdk/constructive-sdk/src/objects/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/sdk/constructive-sdk/src/public/README.md b/sdk/constructive-sdk/src/public/README.md index c3a4634e2..5d1fc62b9 100644 --- a/sdk/constructive-sdk/src/public/README.md +++ b/sdk/constructive-sdk/src/public/README.md @@ -8,7 +8,7 @@ ## Overview -- **Tables:** 104 +- **Tables:** 103 - **Custom queries:** 19 - **Custom mutations:** 31 diff --git a/sdk/constructive-sdk/src/public/orm/README.md b/sdk/constructive-sdk/src/public/orm/README.md index dbb346bd5..091da1716 100644 --- a/sdk/constructive-sdk/src/public/orm/README.md +++ b/sdk/constructive-sdk/src/public/orm/README.md @@ -45,7 +45,6 @@ const db = createClient({ | `viewTable` | findMany, findOne, create, update, delete | | `viewGrant` | findMany, findOne, create, update, delete | | `viewRule` | findMany, findOne, create, update, delete | -| `tableModule` | findMany, findOne, create, update, delete | | `tableTemplateModule` | findMany, findOne, create, update, delete | | `secureTableProvision` | findMany, findOne, create, update, delete | | `relationProvision` | findMany, findOne, create, update, delete | @@ -77,7 +76,6 @@ const db = createClient({ | `permissionsModule` | findMany, findOne, create, update, delete | | `phoneNumbersModule` | findMany, findOne, create, update, delete | | `profilesModule` | findMany, findOne, create, update, delete | -| `rlsModule` | findMany, findOne, create, update, delete | | `secretsModule` | findMany, findOne, create, update, delete | | `sessionsModule` | findMany, findOne, create, update, delete | | `userAuthModule` | findMany, findOne, create, update, delete | @@ -105,25 +103,26 @@ const db = createClient({ | `ref` | findMany, findOne, create, update, delete | | `store` | findMany, findOne, create, update, delete | | `appPermissionDefault` | findMany, findOne, create, update, delete | +| `cryptoAddress` | findMany, findOne, create, update, delete | | `roleType` | findMany, findOne, create, update, delete | | `orgPermissionDefault` | findMany, findOne, create, update, delete | -| `cryptoAddress` | findMany, findOne, create, update, delete | +| `phoneNumber` | findMany, findOne, create, update, delete | | `appLimitDefault` | findMany, findOne, create, update, delete | | `orgLimitDefault` | findMany, findOne, create, update, delete | | `connectedAccount` | findMany, findOne, create, update, delete | -| `phoneNumber` | findMany, findOne, create, update, delete | -| `membershipType` | findMany, findOne, create, update, delete | | `nodeTypeRegistry` | findMany, findOne, create, update, delete | +| `membershipType` | findMany, findOne, create, update, delete | | `appMembershipDefault` | findMany, findOne, create, update, delete | +| `rlsModule` | findMany, findOne, create, update, delete | | `commit` | findMany, findOne, create, update, delete | | `orgMembershipDefault` | findMany, findOne, create, update, delete | | `auditLog` | findMany, findOne, create, update, delete | | `appLevel` | findMany, findOne, create, update, delete | -| `email` | findMany, findOne, create, update, delete | | `sqlMigration` | findMany, findOne, create, update, delete | +| `email` | findMany, findOne, create, update, delete | | `astMigration` | findMany, findOne, create, update, delete | -| `user` | findMany, findOne, create, update, delete | | `appMembership` | findMany, findOne, create, update, delete | +| `user` | findMany, findOne, create, update, delete | | `hierarchyModule` | findMany, findOne, create, update, delete | ## Table Operations @@ -231,18 +230,20 @@ CRUD operations for AppPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appPermission records -const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.appPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.appPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -264,18 +265,20 @@ CRUD operations for OrgPermission records. | `bitnum` | Int | Yes | | `bitstr` | BitString | Yes | | `description` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgPermission records -const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const items = await db.orgPermission.findMany({ select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true } }).execute(); +const item = await db.orgPermission.findOne({ id: '', select: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute(); +const created = await db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -336,18 +339,20 @@ CRUD operations for AppLevelRequirement records. | `priority` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevelRequirement records -const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevelRequirement.findMany({ select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevelRequirement.findOne({ id: '', select: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute(); +const created = await db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -372,18 +377,22 @@ CRUD operations for Database records. | `hash` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `schemaHashTrgmSimilarity` | Float | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all database records -const items = await db.database.findMany({ select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.database.findMany({ select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.database.findOne({ id: '', select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.database.findOne({ id: '', select: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '', schemaHashTrgmSimilarity: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.database.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -414,18 +423,24 @@ CRUD operations for Schema records. | `isPublic` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `schemaNameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all schema records -const items = await db.schema.findMany({ select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.schema.findMany({ select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.schema.findOne({ id: '', select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.schema.findOne({ id: '', select: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '' }, select: { id: true } }).execute(); +const created = await db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '', nameTrgmSimilarity: '', schemaNameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.schema.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -461,18 +476,25 @@ CRUD operations for Table records. | `inheritsId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `pluralNameTrgmSimilarity` | Float | Yes | +| `singularNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all table records -const items = await db.table.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.table.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.table.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.table.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '' }, select: { id: true } }).execute(); +const created = await db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', pluralNameTrgmSimilarity: '', singularNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.table.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -503,18 +525,22 @@ CRUD operations for CheckConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all checkConstraint records -const items = await db.checkConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.checkConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.checkConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.checkConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.checkConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -555,18 +581,25 @@ CRUD operations for Field records. | `scope` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `labelTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `defaultValueTrgmSimilarity` | Float | Yes | +| `regexpTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all field records -const items = await db.field.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.field.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.field.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.field.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '' }, select: { id: true } }).execute(); +const created = await db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', defaultValueTrgmSimilarity: '', regexpTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.field.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -601,18 +634,25 @@ CRUD operations for ForeignKeyConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `deleteActionTrgmSimilarity` | Float | Yes | +| `updateActionTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all foreignKeyConstraint records -const items = await db.foreignKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.foreignKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.foreignKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.foreignKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', deleteActionTrgmSimilarity: '', updateActionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.foreignKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -676,6 +716,8 @@ CRUD operations for Index records. | `indexParams` | JSON | Yes | | `whereClause` | JSON | Yes | | `isUnique` | Boolean | Yes | +| `options` | JSON | Yes | +| `opClasses` | String | Yes | | `smartTags` | JSON | Yes | | `category` | ObjectCategory | Yes | | `module` | String | Yes | @@ -683,18 +725,22 @@ CRUD operations for Index records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `accessMethodTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all index records -const items = await db.index.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.index.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.index.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.index.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', options: '', opClasses: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', accessMethodTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.index.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -728,18 +774,24 @@ CRUD operations for Policy records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all policy records -const items = await db.policy.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.policy.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.policy.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.policy.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.policy.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -769,18 +821,22 @@ CRUD operations for PrimaryKeyConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all primaryKeyConstraint records -const items = await db.primaryKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.primaryKeyConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.primaryKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.primaryKeyConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.primaryKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -806,18 +862,21 @@ CRUD operations for TableGrant records. | `isGrant` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `privilegeTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all tableGrant records -const items = await db.tableGrant.findMany({ select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.tableGrant.findMany({ select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.tableGrant.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.tableGrant.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.tableGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -847,18 +906,23 @@ CRUD operations for Trigger records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `eventTrgmSimilarity` | Float | Yes | +| `functionNameTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all trigger records -const items = await db.trigger.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.trigger.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.trigger.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.trigger.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', functionNameTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.trigger.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -889,18 +953,23 @@ CRUD operations for UniqueConstraint records. | `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `typeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all uniqueConstraint records -const items = await db.uniqueConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.uniqueConstraint.findMany({ select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.uniqueConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.uniqueConstraint.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.uniqueConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -933,18 +1002,23 @@ CRUD operations for View records. | `module` | String | Yes | | `scope` | Int | Yes | | `tags` | String | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `viewTypeTrgmSimilarity` | Float | Yes | +| `filterTypeTrgmSimilarity` | Float | Yes | +| `moduleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all view records -const items = await db.view.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }).execute(); +const items = await db.view.findMany({ select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.view.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }).execute(); +const item = await db.view.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute(); +const created = await db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', viewTypeTrgmSimilarity: '', filterTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.view.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1000,18 +1074,21 @@ CRUD operations for ViewGrant records. | `privilege` | String | Yes | | `withGrantOption` | Boolean | Yes | | `isGrant` | Boolean | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all viewGrant records -const items = await db.viewGrant.findMany({ select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }).execute(); +const items = await db.viewGrant.findMany({ select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.viewGrant.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }).execute(); +const item = await db.viewGrant.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.viewGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1034,18 +1111,22 @@ CRUD operations for ViewRule records. | `name` | String | Yes | | `event` | String | Yes | | `action` | String | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `eventTrgmSimilarity` | Float | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all viewRule records -const items = await db.viewRule.findMany({ select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }).execute(); +const items = await db.viewRule.findMany({ select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.viewRule.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }).execute(); +const item = await db.viewRule.findOne({ id: '', select: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '' }, select: { id: true } }).execute(); +const created = await db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.viewRule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1054,43 +1135,6 @@ const updated = await db.viewRule.update({ where: { id: '' }, data: { dat const deleted = await db.viewRule.delete({ where: { id: '' } }).execute(); ``` -### `db.tableModule` - -CRUD operations for TableModule records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `schemaId` | UUID | Yes | -| `tableId` | UUID | Yes | -| `tableName` | String | Yes | -| `nodeType` | String | Yes | -| `useRls` | Boolean | Yes | -| `data` | JSON | Yes | -| `fields` | UUID | Yes | - -**Operations:** - -```typescript -// List all tableModule records -const items = await db.tableModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }).execute(); - -// Get one by id -const item = await db.tableModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, data: true, fields: true } }).execute(); - -// Create -const created = await db.tableModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', data: '', fields: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.tableModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.tableModule.delete({ where: { id: '' } }).execute(); -``` - ### `db.tableTemplateModule` CRUD operations for TableTemplateModule records. @@ -1108,18 +1152,21 @@ CRUD operations for TableTemplateModule records. | `tableName` | String | Yes | | `nodeType` | String | Yes | | `data` | JSON | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all tableTemplateModule records -const items = await db.tableTemplateModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }).execute(); +const items = await db.tableTemplateModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.tableTemplateModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }).execute(); +const item = await db.tableTemplateModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '' }, select: { id: true } }).execute(); +const created = await db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.tableTemplateModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1144,6 +1191,7 @@ CRUD operations for SecureTableProvision records. | `nodeType` | String | Yes | | `useRls` | Boolean | Yes | | `nodeData` | JSON | Yes | +| `fields` | JSON | Yes | | `grantRoles` | String | Yes | | `grantPrivileges` | JSON | Yes | | `policyType` | String | Yes | @@ -1153,18 +1201,24 @@ CRUD operations for SecureTableProvision records. | `policyName` | String | Yes | | `policyData` | JSON | Yes | | `outFields` | UUID | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `policyRoleTrgmSimilarity` | Float | Yes | +| `policyNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all secureTableProvision records -const items = await db.secureTableProvision.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }).execute(); +const items = await db.secureTableProvision.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.secureTableProvision.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }).execute(); +const item = await db.secureTableProvision.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '' }, select: { id: true } }).execute(); +const created = await db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', fields: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.secureTableProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1209,18 +1263,29 @@ CRUD operations for RelationProvision records. | `outJunctionTableId` | UUID | Yes | | `outSourceFieldId` | UUID | Yes | | `outTargetFieldId` | UUID | Yes | +| `relationTypeTrgmSimilarity` | Float | Yes | +| `fieldNameTrgmSimilarity` | Float | Yes | +| `deleteActionTrgmSimilarity` | Float | Yes | +| `junctionTableNameTrgmSimilarity` | Float | Yes | +| `sourceFieldNameTrgmSimilarity` | Float | Yes | +| `targetFieldNameTrgmSimilarity` | Float | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `policyTypeTrgmSimilarity` | Float | Yes | +| `policyRoleTrgmSimilarity` | Float | Yes | +| `policyNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all relationProvision records -const items = await db.relationProvision.findMany({ select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }).execute(); +const items = await db.relationProvision.findMany({ select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.relationProvision.findOne({ id: '', select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }).execute(); +const item = await db.relationProvision.findOne({ id: '', select: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '' }, select: { id: true } }).execute(); +const created = await db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '', relationTypeTrgmSimilarity: '', fieldNameTrgmSimilarity: '', deleteActionTrgmSimilarity: '', junctionTableNameTrgmSimilarity: '', sourceFieldNameTrgmSimilarity: '', targetFieldNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.relationProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1243,18 +1308,20 @@ CRUD operations for SchemaGrant records. | `granteeName` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all schemaGrant records -const items = await db.schemaGrant.findMany({ select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.schemaGrant.findMany({ select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.schemaGrant.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.schemaGrant.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '' }, select: { id: true } }).execute(); +const created = await db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.schemaGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1278,18 +1345,22 @@ CRUD operations for DefaultPrivilege records. | `privilege` | String | Yes | | `granteeName` | String | Yes | | `isGrant` | Boolean | Yes | +| `objectTypeTrgmSimilarity` | Float | Yes | +| `privilegeTrgmSimilarity` | Float | Yes | +| `granteeNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all defaultPrivilege records -const items = await db.defaultPrivilege.findMany({ select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }).execute(); +const items = await db.defaultPrivilege.findMany({ select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.defaultPrivilege.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }).execute(); +const item = await db.defaultPrivilege.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '' }, select: { id: true } }).execute(); +const created = await db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '', objectTypeTrgmSimilarity: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.defaultPrivilege.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1343,18 +1414,20 @@ CRUD operations for ApiModule records. | `apiId` | UUID | Yes | | `name` | String | Yes | | `data` | JSON | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all apiModule records -const items = await db.apiModule.findMany({ select: { id: true, databaseId: true, apiId: true, name: true, data: true } }).execute(); +const items = await db.apiModule.findMany({ select: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.apiModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, name: true, data: true } }).execute(); +const item = await db.apiModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '' }, select: { id: true } }).execute(); +const created = await db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.apiModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1411,18 +1484,21 @@ CRUD operations for SiteMetadatum records. | `title` | String | Yes | | `description` | String | Yes | | `ogImage` | ConstructiveInternalTypeImage | Yes | +| `titleTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all siteMetadatum records -const items = await db.siteMetadatum.findMany({ select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }).execute(); +const items = await db.siteMetadatum.findMany({ select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.siteMetadatum.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }).execute(); +const item = await db.siteMetadatum.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '' }, select: { id: true } }).execute(); +const created = await db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.siteMetadatum.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1444,18 +1520,20 @@ CRUD operations for SiteModule records. | `siteId` | UUID | Yes | | `name` | String | Yes | | `data` | JSON | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all siteModule records -const items = await db.siteModule.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, data: true } }).execute(); +const items = await db.siteModule.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.siteModule.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, data: true } }).execute(); +const item = await db.siteModule.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '' }, select: { id: true } }).execute(); +const created = await db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.siteModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1510,18 +1588,21 @@ CRUD operations for TriggerFunction records. | `code` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `codeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all triggerFunction records -const items = await db.triggerFunction.findMany({ select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.triggerFunction.findMany({ select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.triggerFunction.findOne({ id: '', select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.triggerFunction.findOne({ id: '', select: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.triggerFunction.create({ data: { databaseId: '', name: '', code: '' }, select: { id: true } }).execute(); +const created = await db.triggerFunction.create({ data: { databaseId: '', name: '', code: '', nameTrgmSimilarity: '', codeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.triggerFunction.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1545,18 +1626,23 @@ CRUD operations for Api records. | `roleName` | String | Yes | | `anonRole` | String | Yes | | `isPublic` | Boolean | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `dbnameTrgmSimilarity` | Float | Yes | +| `roleNameTrgmSimilarity` | Float | Yes | +| `anonRoleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all api records -const items = await db.api.findMany({ select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }).execute(); +const items = await db.api.findMany({ select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.api.findOne({ id: '', select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }).execute(); +const item = await db.api.findOne({ id: '', select: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '' }, select: { id: true } }).execute(); +const created = await db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '', nameTrgmSimilarity: '', dbnameTrgmSimilarity: '', roleNameTrgmSimilarity: '', anonRoleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.api.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1582,18 +1668,22 @@ CRUD operations for Site records. | `appleTouchIcon` | ConstructiveInternalTypeImage | Yes | | `logo` | ConstructiveInternalTypeImage | Yes | | `dbname` | String | Yes | +| `titleTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `dbnameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all site records -const items = await db.site.findMany({ select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }).execute(); +const items = await db.site.findMany({ select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.site.findOne({ id: '', select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }).execute(); +const item = await db.site.findOne({ id: '', select: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '' }, select: { id: true } }).execute(); +const created = await db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', dbnameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.site.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1619,18 +1709,22 @@ CRUD operations for App records. | `appStoreId` | String | Yes | | `appIdPrefix` | String | Yes | | `playStoreLink` | ConstructiveInternalTypeUrl | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `appStoreIdTrgmSimilarity` | Float | Yes | +| `appIdPrefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all app records -const items = await db.app.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }).execute(); +const items = await db.app.findMany({ select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.app.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }).execute(); +const item = await db.app.findOne({ id: '', select: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '' }, select: { id: true } }).execute(); +const created = await db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '', nameTrgmSimilarity: '', appStoreIdTrgmSimilarity: '', appIdPrefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.app.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1654,18 +1748,20 @@ CRUD operations for ConnectedAccountsModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccountsModule records -const items = await db.connectedAccountsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.connectedAccountsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccountsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.connectedAccountsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccountsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1690,18 +1786,21 @@ CRUD operations for CryptoAddressesModule records. | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | | `cryptoNetwork` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `cryptoNetworkTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all cryptoAddressesModule records -const items = await db.cryptoAddressesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }).execute(); +const items = await db.cryptoAddressesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAddressesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }).execute(); +const item = await db.cryptoAddressesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '', tableNameTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.cryptoAddressesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1732,18 +1831,25 @@ CRUD operations for CryptoAuthModule records. | `signInRecordFailure` | String | Yes | | `signUpWithKey` | String | Yes | | `signInWithChallenge` | String | Yes | +| `userFieldTrgmSimilarity` | Float | Yes | +| `cryptoNetworkTrgmSimilarity` | Float | Yes | +| `signInRequestChallengeTrgmSimilarity` | Float | Yes | +| `signInRecordFailureTrgmSimilarity` | Float | Yes | +| `signUpWithKeyTrgmSimilarity` | Float | Yes | +| `signInWithChallengeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all cryptoAuthModule records -const items = await db.cryptoAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }).execute(); +const items = await db.cryptoAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }).execute(); +const item = await db.cryptoAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '' }, select: { id: true } }).execute(); +const created = await db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '', userFieldTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', signInRequestChallengeTrgmSimilarity: '', signInRecordFailureTrgmSimilarity: '', signUpWithKeyTrgmSimilarity: '', signInWithChallengeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.cryptoAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1802,18 +1908,20 @@ CRUD operations for DenormalizedTableField records. | `updateDefaults` | Boolean | Yes | | `funcName` | String | Yes | | `funcOrder` | Int | Yes | +| `funcNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all denormalizedTableField records -const items = await db.denormalizedTableField.findMany({ select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }).execute(); +const items = await db.denormalizedTableField.findMany({ select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.denormalizedTableField.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }).execute(); +const item = await db.denormalizedTableField.findOne({ id: '', select: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '' }, select: { id: true } }).execute(); +const created = await db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '', funcNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.denormalizedTableField.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1837,18 +1945,20 @@ CRUD operations for EmailsModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all emailsModule records -const items = await db.emailsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.emailsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.emailsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.emailsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.emailsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1870,18 +1980,20 @@ CRUD operations for EncryptedSecretsModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all encryptedSecretsModule records -const items = await db.encryptedSecretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.encryptedSecretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.encryptedSecretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.encryptedSecretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.encryptedSecretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1907,18 +2019,20 @@ CRUD operations for FieldModule records. | `data` | JSON | Yes | | `triggers` | String | Yes | | `functions` | String | Yes | +| `nodeTypeTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all fieldModule records -const items = await db.fieldModule.findMany({ select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }).execute(); +const items = await db.fieldModule.findMany({ select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.fieldModule.findOne({ id: '', select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }).execute(); +const item = await db.fieldModule.findOne({ id: '', select: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '' }, select: { id: true } }).execute(); +const created = await db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.fieldModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -1949,18 +2063,23 @@ CRUD operations for InvitesModule records. | `prefix` | String | Yes | | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | +| `invitesTableNameTrgmSimilarity` | Float | Yes | +| `claimedInvitesTableNameTrgmSimilarity` | Float | Yes | +| `submitInviteCodeFunctionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all invitesModule records -const items = await db.invitesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }).execute(); +const items = await db.invitesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.invitesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }).execute(); +const item = await db.invitesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '' }, select: { id: true } }).execute(); +const created = await db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '', invitesTableNameTrgmSimilarity: '', claimedInvitesTableNameTrgmSimilarity: '', submitInviteCodeFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.invitesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2003,18 +2122,34 @@ CRUD operations for LevelsModule records. | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | | `actorTableId` | UUID | Yes | +| `stepsTableNameTrgmSimilarity` | Float | Yes | +| `achievementsTableNameTrgmSimilarity` | Float | Yes | +| `levelsTableNameTrgmSimilarity` | Float | Yes | +| `levelRequirementsTableNameTrgmSimilarity` | Float | Yes | +| `completedStepTrgmSimilarity` | Float | Yes | +| `incompletedStepTrgmSimilarity` | Float | Yes | +| `tgAchievementTrgmSimilarity` | Float | Yes | +| `tgAchievementToggleTrgmSimilarity` | Float | Yes | +| `tgAchievementToggleBooleanTrgmSimilarity` | Float | Yes | +| `tgAchievementBooleanTrgmSimilarity` | Float | Yes | +| `upsertAchievementTrgmSimilarity` | Float | Yes | +| `tgUpdateAchievementsTrgmSimilarity` | Float | Yes | +| `stepsRequiredTrgmSimilarity` | Float | Yes | +| `levelAchievedTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all levelsModule records -const items = await db.levelsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const items = await db.levelsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.levelsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const item = await db.levelsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute(); +const created = await db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', stepsTableNameTrgmSimilarity: '', achievementsTableNameTrgmSimilarity: '', levelsTableNameTrgmSimilarity: '', levelRequirementsTableNameTrgmSimilarity: '', completedStepTrgmSimilarity: '', incompletedStepTrgmSimilarity: '', tgAchievementTrgmSimilarity: '', tgAchievementToggleTrgmSimilarity: '', tgAchievementToggleBooleanTrgmSimilarity: '', tgAchievementBooleanTrgmSimilarity: '', upsertAchievementTrgmSimilarity: '', tgUpdateAchievementsTrgmSimilarity: '', stepsRequiredTrgmSimilarity: '', levelAchievedTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.levelsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2049,18 +2184,28 @@ CRUD operations for LimitsModule records. | `membershipType` | Int | Yes | | `entityTableId` | UUID | Yes | | `actorTableId` | UUID | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `defaultTableNameTrgmSimilarity` | Float | Yes | +| `limitIncrementFunctionTrgmSimilarity` | Float | Yes | +| `limitDecrementFunctionTrgmSimilarity` | Float | Yes | +| `limitIncrementTriggerTrgmSimilarity` | Float | Yes | +| `limitDecrementTriggerTrgmSimilarity` | Float | Yes | +| `limitUpdateTriggerTrgmSimilarity` | Float | Yes | +| `limitCheckFunctionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all limitsModule records -const items = await db.limitsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const items = await db.limitsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.limitsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }).execute(); +const item = await db.limitsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute(); +const created = await db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', limitIncrementFunctionTrgmSimilarity: '', limitDecrementFunctionTrgmSimilarity: '', limitIncrementTriggerTrgmSimilarity: '', limitDecrementTriggerTrgmSimilarity: '', limitUpdateTriggerTrgmSimilarity: '', limitCheckFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.limitsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2082,18 +2227,20 @@ CRUD operations for MembershipTypesModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipTypesModule records -const items = await db.membershipTypesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.membershipTypesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipTypesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.membershipTypesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipTypesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2141,18 +2288,31 @@ CRUD operations for MembershipsModule records. | `entityIdsByMask` | String | Yes | | `entityIdsByPerm` | String | Yes | | `entityIdsFunction` | String | Yes | +| `membershipsTableNameTrgmSimilarity` | Float | Yes | +| `membersTableNameTrgmSimilarity` | Float | Yes | +| `membershipDefaultsTableNameTrgmSimilarity` | Float | Yes | +| `grantsTableNameTrgmSimilarity` | Float | Yes | +| `adminGrantsTableNameTrgmSimilarity` | Float | Yes | +| `ownerGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `actorMaskCheckTrgmSimilarity` | Float | Yes | +| `actorPermCheckTrgmSimilarity` | Float | Yes | +| `entityIdsByMaskTrgmSimilarity` | Float | Yes | +| `entityIdsByPermTrgmSimilarity` | Float | Yes | +| `entityIdsFunctionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipsModule records -const items = await db.membershipsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }).execute(); +const items = await db.membershipsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }).execute(); +const item = await db.membershipsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '' }, select: { id: true } }).execute(); +const created = await db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '', membershipsTableNameTrgmSimilarity: '', membersTableNameTrgmSimilarity: '', membershipDefaultsTableNameTrgmSimilarity: '', grantsTableNameTrgmSimilarity: '', adminGrantsTableNameTrgmSimilarity: '', ownerGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', actorMaskCheckTrgmSimilarity: '', actorPermCheckTrgmSimilarity: '', entityIdsByMaskTrgmSimilarity: '', entityIdsByPermTrgmSimilarity: '', entityIdsFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2186,18 +2346,26 @@ CRUD operations for PermissionsModule records. | `getMask` | String | Yes | | `getByMask` | String | Yes | | `getMaskByName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `defaultTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `getPaddedMaskTrgmSimilarity` | Float | Yes | +| `getMaskTrgmSimilarity` | Float | Yes | +| `getByMaskTrgmSimilarity` | Float | Yes | +| `getMaskByNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all permissionsModule records -const items = await db.permissionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }).execute(); +const items = await db.permissionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.permissionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }).execute(); +const item = await db.permissionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '' }, select: { id: true } }).execute(); +const created = await db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', getPaddedMaskTrgmSimilarity: '', getMaskTrgmSimilarity: '', getByMaskTrgmSimilarity: '', getMaskByNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.permissionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2221,18 +2389,20 @@ CRUD operations for PhoneNumbersModule records. | `tableId` | UUID | Yes | | `ownerTableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all phoneNumbersModule records -const items = await db.phoneNumbersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const items = await db.phoneNumbersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.phoneNumbersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }).execute(); +const item = await db.phoneNumbersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.phoneNumbersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2267,18 +2437,24 @@ CRUD operations for ProfilesModule records. | `permissionsTableId` | UUID | Yes | | `membershipsTableId` | UUID | Yes | | `prefix` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `profilePermissionsTableNameTrgmSimilarity` | Float | Yes | +| `profileGrantsTableNameTrgmSimilarity` | Float | Yes | +| `profileDefinitionGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all profilesModule records -const items = await db.profilesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }).execute(); +const items = await db.profilesModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.profilesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }).execute(); +const item = await db.profilesModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '', tableNameTrgmSimilarity: '', profilePermissionsTableNameTrgmSimilarity: '', profileGrantsTableNameTrgmSimilarity: '', profileDefinitionGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.profilesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2287,46 +2463,6 @@ const updated = await db.profilesModule.update({ where: { id: '' }, data: const deleted = await db.profilesModule.delete({ where: { id: '' } }).execute(); ``` -### `db.rlsModule` - -CRUD operations for RlsModule records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `apiId` | UUID | Yes | -| `schemaId` | UUID | Yes | -| `privateSchemaId` | UUID | Yes | -| `sessionCredentialsTableId` | UUID | Yes | -| `sessionsTableId` | UUID | Yes | -| `usersTableId` | UUID | Yes | -| `authenticate` | String | Yes | -| `authenticateStrict` | String | Yes | -| `currentRole` | String | Yes | -| `currentRoleId` | String | Yes | - -**Operations:** - -```typescript -// List all rlsModule records -const items = await db.rlsModule.findMany({ select: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }).execute(); - -// Get one by id -const item = await db.rlsModule.findOne({ id: '', select: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }).execute(); - -// Create -const created = await db.rlsModule.create({ data: { databaseId: '', apiId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.rlsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); -``` - ### `db.secretsModule` CRUD operations for SecretsModule records. @@ -2340,18 +2476,20 @@ CRUD operations for SecretsModule records. | `schemaId` | UUID | Yes | | `tableId` | UUID | Yes | | `tableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all secretsModule records -const items = await db.secretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const items = await db.secretsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.secretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }).execute(); +const item = await db.secretsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute(); +const created = await db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.secretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2379,18 +2517,22 @@ CRUD operations for SessionsModule records. | `sessionsTable` | String | Yes | | `sessionCredentialsTable` | String | Yes | | `authSettingsTable` | String | Yes | +| `sessionsTableTrgmSimilarity` | Float | Yes | +| `sessionCredentialsTableTrgmSimilarity` | Float | Yes | +| `authSettingsTableTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all sessionsModule records -const items = await db.sessionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }).execute(); +const items = await db.sessionsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.sessionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }).execute(); +const item = await db.sessionsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '' }, select: { id: true } }).execute(); +const created = await db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '', sessionsTableTrgmSimilarity: '', sessionCredentialsTableTrgmSimilarity: '', authSettingsTableTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.sessionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2433,18 +2575,35 @@ CRUD operations for UserAuthModule records. | `signInOneTimeTokenFunction` | String | Yes | | `oneTimeTokenFunction` | String | Yes | | `extendTokenExpires` | String | Yes | +| `auditsTableNameTrgmSimilarity` | Float | Yes | +| `signInFunctionTrgmSimilarity` | Float | Yes | +| `signUpFunctionTrgmSimilarity` | Float | Yes | +| `signOutFunctionTrgmSimilarity` | Float | Yes | +| `setPasswordFunctionTrgmSimilarity` | Float | Yes | +| `resetPasswordFunctionTrgmSimilarity` | Float | Yes | +| `forgotPasswordFunctionTrgmSimilarity` | Float | Yes | +| `sendVerificationEmailFunctionTrgmSimilarity` | Float | Yes | +| `verifyEmailFunctionTrgmSimilarity` | Float | Yes | +| `verifyPasswordFunctionTrgmSimilarity` | Float | Yes | +| `checkPasswordFunctionTrgmSimilarity` | Float | Yes | +| `sendAccountDeletionEmailFunctionTrgmSimilarity` | Float | Yes | +| `deleteAccountFunctionTrgmSimilarity` | Float | Yes | +| `signInOneTimeTokenFunctionTrgmSimilarity` | Float | Yes | +| `oneTimeTokenFunctionTrgmSimilarity` | Float | Yes | +| `extendTokenExpiresTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all userAuthModule records -const items = await db.userAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }).execute(); +const items = await db.userAuthModule.findMany({ select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.userAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }).execute(); +const item = await db.userAuthModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '' }, select: { id: true } }).execute(); +const created = await db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '', auditsTableNameTrgmSimilarity: '', signInFunctionTrgmSimilarity: '', signUpFunctionTrgmSimilarity: '', signOutFunctionTrgmSimilarity: '', setPasswordFunctionTrgmSimilarity: '', resetPasswordFunctionTrgmSimilarity: '', forgotPasswordFunctionTrgmSimilarity: '', sendVerificationEmailFunctionTrgmSimilarity: '', verifyEmailFunctionTrgmSimilarity: '', verifyPasswordFunctionTrgmSimilarity: '', checkPasswordFunctionTrgmSimilarity: '', sendAccountDeletionEmailFunctionTrgmSimilarity: '', deleteAccountFunctionTrgmSimilarity: '', signInOneTimeTokenFunctionTrgmSimilarity: '', oneTimeTokenFunctionTrgmSimilarity: '', extendTokenExpiresTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.userAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2468,18 +2627,21 @@ CRUD operations for UsersModule records. | `tableName` | String | Yes | | `typeTableId` | UUID | Yes | | `typeTableName` | String | Yes | +| `tableNameTrgmSimilarity` | Float | Yes | +| `typeTableNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all usersModule records -const items = await db.usersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }).execute(); +const items = await db.usersModule.findMany({ select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.usersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }).execute(); +const item = await db.usersModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '' }, select: { id: true } }).execute(); +const created = await db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '', tableNameTrgmSimilarity: '', typeTableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.usersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2501,18 +2663,21 @@ CRUD operations for UuidModule records. | `schemaId` | UUID | Yes | | `uuidFunction` | String | Yes | | `uuidSeed` | String | Yes | +| `uuidFunctionTrgmSimilarity` | Float | Yes | +| `uuidSeedTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all uuidModule records -const items = await db.uuidModule.findMany({ select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }).execute(); +const items = await db.uuidModule.findMany({ select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.uuidModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }).execute(); +const item = await db.uuidModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '' }, select: { id: true } }).execute(); +const created = await db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '', uuidFunctionTrgmSimilarity: '', uuidSeedTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.uuidModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -2543,18 +2708,24 @@ CRUD operations for DatabaseProvisionModule records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `completedAt` | Datetime | Yes | +| `databaseNameTrgmSimilarity` | Float | Yes | +| `subdomainTrgmSimilarity` | Float | Yes | +| `domainTrgmSimilarity` | Float | Yes | +| `statusTrgmSimilarity` | Float | Yes | +| `errorMessageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all databaseProvisionModule records -const items = await db.databaseProvisionModule.findMany({ select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }).execute(); +const items = await db.databaseProvisionModule.findMany({ select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.databaseProvisionModule.findOne({ id: '', select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }).execute(); +const item = await db.databaseProvisionModule.findOne({ id: '', select: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '' }, select: { id: true } }).execute(); +const created = await db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '', databaseNameTrgmSimilarity: '', subdomainTrgmSimilarity: '', domainTrgmSimilarity: '', statusTrgmSimilarity: '', errorMessageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.databaseProvisionModule.update({ where: { id: '' }, data: { databaseName: '' }, select: { id: true } }).execute(); @@ -2864,18 +3035,20 @@ CRUD operations for OrgChartEdge records. | `parentId` | UUID | Yes | | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdge records -const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const items = await db.orgChartEdge.findMany({ select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }).execute(); +const item = await db.orgChartEdge.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -2901,18 +3074,20 @@ CRUD operations for OrgChartEdgeGrant records. | `positionTitle` | String | Yes | | `positionLevel` | Int | Yes | | `createdAt` | Datetime | No | +| `positionTitleTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgChartEdgeGrant records -const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const items = await db.orgChartEdgeGrant.findMany({ select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }).execute(); +const item = await db.orgChartEdgeGrant.findOne({ id: '', select: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute(); +const created = await db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute(); @@ -3076,18 +3251,20 @@ CRUD operations for Invite records. | `expiresAt` | Datetime | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all invite records -const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.invite.findMany({ select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.invite.findOne({ id: '', select: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute(); +const created = await db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); @@ -3152,18 +3329,20 @@ CRUD operations for OrgInvite records. | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | | `entityId` | UUID | Yes | +| `inviteTokenTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all orgInvite records -const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const items = await db.orgInvite.findMany({ select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }).execute(); +const item = await db.orgInvite.findOne({ id: '', select: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute(); +const created = await db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute(); @@ -3220,18 +3399,20 @@ CRUD operations for Ref records. | `databaseId` | UUID | Yes | | `storeId` | UUID | Yes | | `commitId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all ref records -const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const items = await db.ref.findMany({ select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }).execute(); +const item = await db.ref.findOne({ id: '', select: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute(); +const created = await db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3253,18 +3434,20 @@ CRUD operations for Store records. | `databaseId` | UUID | Yes | | `hash` | UUID | Yes | | `createdAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all store records -const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const items = await db.store.findMany({ select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }).execute(); +const item = await db.store.findOne({ id: '', select: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute(); +const created = await db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3303,6 +3486,43 @@ const updated = await db.appPermissionDefault.update({ where: { id: '' }, const deleted = await db.appPermissionDefault.delete({ where: { id: '' } }).execute(); ``` +### `db.cryptoAddress` + +CRUD operations for CryptoAddress records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `address` | String | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | +| `createdAt` | Datetime | No | +| `updatedAt` | Datetime | No | +| `addressTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | + +**Operations:** + +```typescript +// List all cryptoAddress records +const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); + +// Get one by id +const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); + +// Update +const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); + +// Delete +const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +``` + ### `db.roleType` CRUD operations for RoleType records. @@ -3364,9 +3584,9 @@ const updated = await db.orgPermissionDefault.update({ where: { id: '' }, const deleted = await db.orgPermissionDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.cryptoAddress` +### `db.phoneNumber` -CRUD operations for CryptoAddress records. +CRUD operations for PhoneNumber records. **Fields:** @@ -3374,29 +3594,33 @@ CRUD operations for CryptoAddress records. |-------|------|----------| | `id` | UUID | No | | `ownerId` | UUID | Yes | -| `address` | String | Yes | +| `cc` | String | Yes | +| `number` | String | Yes | | `isVerified` | Boolean | Yes | | `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `ccTrgmSimilarity` | Float | Yes | +| `numberTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all cryptoAddress records -const items = await db.cryptoAddress.findMany({ select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all phoneNumber records +const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.cryptoAddress.findOne({ id: '', select: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.cryptoAddress.delete({ where: { id: '' } }).execute(); +const deleted = await db.phoneNumber.delete({ where: { id: '' } }).execute(); ``` ### `db.appLimitDefault` @@ -3477,18 +3701,21 @@ CRUD operations for ConnectedAccount records. | `isVerified` | Boolean | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `serviceTrgmSimilarity` | Float | Yes | +| `identifierTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all connectedAccount records -const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.connectedAccount.findMany({ select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.connectedAccount.findOne({ id: '', select: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); @@ -3497,40 +3724,47 @@ const updated = await db.connectedAccount.update({ where: { id: '' }, dat const deleted = await db.connectedAccount.delete({ where: { id: '' } }).execute(); ``` -### `db.phoneNumber` +### `db.nodeTypeRegistry` -CRUD operations for PhoneNumber records. +CRUD operations for NodeTypeRegistry records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `cc` | String | Yes | -| `number` | String | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | +| `name` | String | No | +| `slug` | String | Yes | +| `category` | String | Yes | +| `displayName` | String | Yes | +| `description` | String | Yes | +| `parameterSchema` | JSON | Yes | +| `tags` | String | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `nameTrgmSimilarity` | Float | Yes | +| `slugTrgmSimilarity` | Float | Yes | +| `categoryTrgmSimilarity` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all phoneNumber records -const items = await db.phoneNumber.findMany({ select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all nodeTypeRegistry records +const items = await db.nodeTypeRegistry.findMany({ select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); -// Get one by id -const item = await db.phoneNumber.findOne({ id: '', select: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// Get one by name +const item = await db.nodeTypeRegistry.findOne({ name: '', select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '', nameTrgmSimilarity: '', slugTrgmSimilarity: '', categoryTrgmSimilarity: '', displayNameTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { name: true } }).execute(); // Update -const updated = await db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.nodeTypeRegistry.update({ where: { name: '' }, data: { slug: '' }, select: { name: true } }).execute(); // Delete -const deleted = await db.phoneNumber.delete({ where: { id: '' } }).execute(); +const deleted = await db.nodeTypeRegistry.delete({ where: { name: '' } }).execute(); ``` ### `db.membershipType` @@ -3545,18 +3779,21 @@ CRUD operations for MembershipType records. | `name` | String | Yes | | `description` | String | Yes | | `prefix` | String | Yes | +| `descriptionTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all membershipType records -const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true } }).execute(); +const items = await db.membershipType.findMany({ select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true } }).execute(); +const item = await db.membershipType.findOne({ id: '', select: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute(); +const created = await db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3565,76 +3802,83 @@ const updated = await db.membershipType.update({ where: { id: '' }, data: const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` -### `db.nodeTypeRegistry` +### `db.appMembershipDefault` -CRUD operations for NodeTypeRegistry records. +CRUD operations for AppMembershipDefault records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `name` | String | No | -| `slug` | String | Yes | -| `category` | String | Yes | -| `displayName` | String | Yes | -| `description` | String | Yes | -| `parameterSchema` | JSON | Yes | -| `tags` | String | Yes | +| `id` | UUID | No | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isVerified` | Boolean | Yes | **Operations:** ```typescript -// List all nodeTypeRegistry records -const items = await db.nodeTypeRegistry.findMany({ select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +// List all appMembershipDefault records +const items = await db.appMembershipDefault.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); -// Get one by name -const item = await db.nodeTypeRegistry.findOne({ name: '', select: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }).execute(); +// Get one by id +const item = await db.appMembershipDefault.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); // Create -const created = await db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '' }, select: { name: true } }).execute(); +const created = await db.appMembershipDefault.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isVerified: '' }, select: { id: true } }).execute(); // Update -const updated = await db.nodeTypeRegistry.update({ where: { name: '' }, data: { slug: '' }, select: { name: true } }).execute(); +const updated = await db.appMembershipDefault.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.nodeTypeRegistry.delete({ where: { name: '' } }).execute(); +const deleted = await db.appMembershipDefault.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembershipDefault` +### `db.rlsModule` -CRUD operations for AppMembershipDefault records. +CRUD operations for RlsModule records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isVerified` | Boolean | Yes | +| `databaseId` | UUID | Yes | +| `schemaId` | UUID | Yes | +| `privateSchemaId` | UUID | Yes | +| `sessionCredentialsTableId` | UUID | Yes | +| `sessionsTableId` | UUID | Yes | +| `usersTableId` | UUID | Yes | +| `authenticate` | String | Yes | +| `authenticateStrict` | String | Yes | +| `currentRole` | String | Yes | +| `currentRoleId` | String | Yes | +| `authenticateTrgmSimilarity` | Float | Yes | +| `authenticateStrictTrgmSimilarity` | Float | Yes | +| `currentRoleTrgmSimilarity` | Float | Yes | +| `currentRoleIdTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembershipDefault records -const items = await db.appMembershipDefault.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); +// List all rlsModule records +const items = await db.rlsModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembershipDefault.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isVerified: true } }).execute(); +const item = await db.rlsModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembershipDefault.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isVerified: '' }, select: { id: true } }).execute(); +const created = await db.rlsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '', authenticateTrgmSimilarity: '', authenticateStrictTrgmSimilarity: '', currentRoleTrgmSimilarity: '', currentRoleIdTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembershipDefault.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.rlsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembershipDefault.delete({ where: { id: '' } }).execute(); +const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); ``` ### `db.commit` @@ -3654,18 +3898,20 @@ CRUD operations for Commit records. | `committerId` | UUID | Yes | | `treeId` | UUID | Yes | | `date` | Datetime | Yes | +| `messageTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all commit records -const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const items = await db.commit.findMany({ select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }).execute(); +const item = await db.commit.findOne({ id: '', select: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute(); +const created = await db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute(); @@ -3727,18 +3973,20 @@ CRUD operations for AuditLog records. | `ipAddress` | InternetAddress | Yes | | `success` | Boolean | Yes | | `createdAt` | Datetime | No | +| `userAgentTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all auditLog records -const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const items = await db.auditLog.findMany({ select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }).execute(); +const item = await db.auditLog.findOne({ id: '', select: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute(); +const created = await db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute(); @@ -3762,18 +4010,20 @@ CRUD operations for AppLevel records. | `ownerId` | UUID | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | +| `descriptionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all appLevel records -const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const items = await db.appLevel.findMany({ select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.appLevel.findOne({ id: '', select: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute(); +const created = await db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); @@ -3782,80 +4032,87 @@ const updated = await db.appLevel.update({ where: { id: '' }, data: { nam const deleted = await db.appLevel.delete({ where: { id: '' } }).execute(); ``` -### `db.email` +### `db.sqlMigration` -CRUD operations for Email records. +CRUD operations for SqlMigration records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | UUID | No | -| `ownerId` | UUID | Yes | -| `email` | ConstructiveInternalTypeEmail | Yes | -| `isVerified` | Boolean | Yes | -| `isPrimary` | Boolean | Yes | +| `id` | Int | No | +| `name` | String | Yes | +| `databaseId` | UUID | Yes | +| `deploy` | String | Yes | +| `deps` | String | Yes | +| `payload` | JSON | Yes | +| `content` | String | Yes | +| `revert` | String | Yes | +| `verify` | String | Yes | | `createdAt` | Datetime | No | -| `updatedAt` | Datetime | No | +| `action` | String | Yes | +| `actionId` | UUID | Yes | +| `actorId` | UUID | Yes | +| `nameTrgmSimilarity` | Float | Yes | +| `deployTrgmSimilarity` | Float | Yes | +| `contentTrgmSimilarity` | Float | Yes | +| `revertTrgmSimilarity` | Float | Yes | +| `verifyTrgmSimilarity` | Float | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all email records -const items = await db.email.findMany({ select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +// List all sqlMigration records +const items = await db.sqlMigration.findMany({ select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.email.findOne({ id: '', select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); +const item = await db.sqlMigration.findOne({ id: '', select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.email.create({ data: { ownerId: '', email: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); +const created = await db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '', nameTrgmSimilarity: '', deployTrgmSimilarity: '', contentTrgmSimilarity: '', revertTrgmSimilarity: '', verifyTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.email.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); +const updated = await db.sqlMigration.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.email.delete({ where: { id: '' } }).execute(); +const deleted = await db.sqlMigration.delete({ where: { id: '' } }).execute(); ``` -### `db.sqlMigration` +### `db.email` -CRUD operations for SqlMigration records. +CRUD operations for Email records. **Fields:** | Field | Type | Editable | |-------|------|----------| -| `id` | Int | No | -| `name` | String | Yes | -| `databaseId` | UUID | Yes | -| `deploy` | String | Yes | -| `deps` | String | Yes | -| `payload` | JSON | Yes | -| `content` | String | Yes | -| `revert` | String | Yes | -| `verify` | String | Yes | +| `id` | UUID | No | +| `ownerId` | UUID | Yes | +| `email` | ConstructiveInternalTypeEmail | Yes | +| `isVerified` | Boolean | Yes | +| `isPrimary` | Boolean | Yes | | `createdAt` | Datetime | No | -| `action` | String | Yes | -| `actionId` | UUID | Yes | -| `actorId` | UUID | Yes | +| `updatedAt` | Datetime | No | **Operations:** ```typescript -// List all sqlMigration records -const items = await db.sqlMigration.findMany({ select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +// List all email records +const items = await db.email.findMany({ select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.sqlMigration.findOne({ id: '', select: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const item = await db.email.findOne({ id: '', select: { id: true, ownerId: true, email: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }).execute(); // Create -const created = await db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute(); +const created = await db.email.create({ data: { ownerId: '', email: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute(); // Update -const updated = await db.sqlMigration.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute(); +const updated = await db.email.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.sqlMigration.delete({ where: { id: '' } }).execute(); +const deleted = await db.email.delete({ where: { id: '' } }).execute(); ``` ### `db.astMigration` @@ -3879,18 +4136,20 @@ CRUD operations for AstMigration records. | `action` | String | Yes | | `actionId` | UUID | Yes | | `actorId` | UUID | Yes | +| `actionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all astMigration records -const items = await db.astMigration.findMany({ select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const items = await db.astMigration.findMany({ select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.astMigration.findOne({ id: '', select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }).execute(); +const item = await db.astMigration.findOne({ id: '', select: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute(); +const created = await db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.astMigration.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -3899,85 +4158,87 @@ const updated = await db.astMigration.update({ where: { id: '' }, data: { const deleted = await db.astMigration.delete({ where: { id: '' } }).execute(); ``` -### `db.user` +### `db.appMembership` -CRUD operations for User records. +CRUD operations for AppMembership records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | -| `username` | String | Yes | -| `displayName` | String | Yes | -| `profilePicture` | ConstructiveInternalTypeImage | Yes | -| `searchTsv` | FullText | Yes | -| `type` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `searchTsvRank` | Float | Yes | +| `createdBy` | UUID | Yes | +| `updatedBy` | UUID | Yes | +| `isApproved` | Boolean | Yes | +| `isBanned` | Boolean | Yes | +| `isDisabled` | Boolean | Yes | +| `isVerified` | Boolean | Yes | +| `isActive` | Boolean | Yes | +| `isOwner` | Boolean | Yes | +| `isAdmin` | Boolean | Yes | +| `permissions` | BitString | Yes | +| `granted` | BitString | Yes | +| `actorId` | UUID | Yes | +| `profileId` | UUID | Yes | **Operations:** ```typescript -// List all user records -const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +// List all appMembership records +const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Get one by id -const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }).execute(); +const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); // Create -const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute(); +const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); // Update -const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); +const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.user.delete({ where: { id: '' } }).execute(); +const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.appMembership` +### `db.user` -CRUD operations for AppMembership records. +CRUD operations for User records. **Fields:** | Field | Type | Editable | |-------|------|----------| | `id` | UUID | No | +| `username` | String | Yes | +| `displayName` | String | Yes | +| `profilePicture` | ConstructiveInternalTypeImage | Yes | +| `searchTsv` | FullText | Yes | +| `type` | Int | Yes | | `createdAt` | Datetime | No | | `updatedAt` | Datetime | No | -| `createdBy` | UUID | Yes | -| `updatedBy` | UUID | Yes | -| `isApproved` | Boolean | Yes | -| `isBanned` | Boolean | Yes | -| `isDisabled` | Boolean | Yes | -| `isVerified` | Boolean | Yes | -| `isActive` | Boolean | Yes | -| `isOwner` | Boolean | Yes | -| `isAdmin` | Boolean | Yes | -| `permissions` | BitString | Yes | -| `granted` | BitString | Yes | -| `actorId` | UUID | Yes | -| `profileId` | UUID | Yes | +| `searchTsvRank` | Float | Yes | +| `displayNameTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript -// List all appMembership records -const items = await db.appMembership.findMany({ select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +// List all user records +const items = await db.user.findMany({ select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.appMembership.findOne({ id: '', select: { id: true, createdAt: true, updatedAt: true, createdBy: true, updatedBy: true, isApproved: true, isBanned: true, isDisabled: true, isVerified: true, isActive: true, isOwner: true, isAdmin: true, permissions: true, granted: true, actorId: true, profileId: true } }).execute(); +const item = await db.user.findOne({ id: '', select: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.appMembership.create({ data: { createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }, select: { id: true } }).execute(); +const created = await db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update -const updated = await db.appMembership.update({ where: { id: '' }, data: { createdBy: '' }, select: { id: true } }).execute(); +const updated = await db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute(); // Delete -const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); +const deleted = await db.user.delete({ where: { id: '' } }).execute(); ``` ### `db.hierarchyModule` @@ -4008,18 +4269,29 @@ CRUD operations for HierarchyModule records. | `getManagersFunction` | String | Yes | | `isManagerOfFunction` | String | Yes | | `createdAt` | Datetime | No | +| `chartEdgesTableNameTrgmSimilarity` | Float | Yes | +| `hierarchySprtTableNameTrgmSimilarity` | Float | Yes | +| `chartEdgeGrantsTableNameTrgmSimilarity` | Float | Yes | +| `prefixTrgmSimilarity` | Float | Yes | +| `privateSchemaNameTrgmSimilarity` | Float | Yes | +| `sprtTableNameTrgmSimilarity` | Float | Yes | +| `rebuildHierarchyFunctionTrgmSimilarity` | Float | Yes | +| `getSubordinatesFunctionTrgmSimilarity` | Float | Yes | +| `getManagersFunctionTrgmSimilarity` | Float | Yes | +| `isManagerOfFunctionTrgmSimilarity` | Float | Yes | +| `searchScore` | Float | Yes | **Operations:** ```typescript // List all hierarchyModule records -const items = await db.hierarchyModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }).execute(); +const items = await db.hierarchyModule.findMany({ select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Get one by id -const item = await db.hierarchyModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }).execute(); +const item = await db.hierarchyModule.findOne({ id: '', select: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }).execute(); // Create -const created = await db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '' }, select: { id: true } }).execute(); +const created = await db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '', chartEdgesTableNameTrgmSimilarity: '', hierarchySprtTableNameTrgmSimilarity: '', chartEdgeGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', privateSchemaNameTrgmSimilarity: '', sprtTableNameTrgmSimilarity: '', rebuildHierarchyFunctionTrgmSimilarity: '', getSubordinatesFunctionTrgmSimilarity: '', getManagersFunctionTrgmSimilarity: '', isManagerOfFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute(); // Update const updated = await db.hierarchyModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute(); @@ -4492,34 +4764,34 @@ resetPassword const result = await db.mutation.resetPassword({ input: '' }).execute(); ``` -### `db.mutation.removeNodeAtPath` +### `db.mutation.bootstrapUser` -removeNodeAtPath +bootstrapUser - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | BootstrapUserInput (required) | ```typescript -const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.bootstrapUser({ input: '' }).execute(); ``` -### `db.mutation.bootstrapUser` +### `db.mutation.removeNodeAtPath` -bootstrapUser +removeNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | BootstrapUserInput (required) | + | `input` | RemoveNodeAtPathInput (required) | ```typescript -const result = await db.mutation.bootstrapUser({ input: '' }).execute(); +const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); ``` ### `db.mutation.setDataAtPath` diff --git a/sdk/constructive-sdk/src/public/orm/index.ts b/sdk/constructive-sdk/src/public/orm/index.ts index 238fd616e..2c747b98e 100644 --- a/sdk/constructive-sdk/src/public/orm/index.ts +++ b/sdk/constructive-sdk/src/public/orm/index.ts @@ -29,7 +29,6 @@ import { ViewModel } from './models/view'; import { ViewTableModel } from './models/viewTable'; import { ViewGrantModel } from './models/viewGrant'; import { ViewRuleModel } from './models/viewRule'; -import { TableModuleModel } from './models/tableModule'; import { TableTemplateModuleModel } from './models/tableTemplateModule'; import { SecureTableProvisionModel } from './models/secureTableProvision'; import { RelationProvisionModel } from './models/relationProvision'; @@ -61,7 +60,6 @@ import { MembershipsModuleModel } from './models/membershipsModule'; import { PermissionsModuleModel } from './models/permissionsModule'; import { PhoneNumbersModuleModel } from './models/phoneNumbersModule'; import { ProfilesModuleModel } from './models/profilesModule'; -import { RlsModuleModel } from './models/rlsModule'; import { SecretsModuleModel } from './models/secretsModule'; import { SessionsModuleModel } from './models/sessionsModule'; import { UserAuthModuleModel } from './models/userAuthModule'; @@ -89,25 +87,26 @@ import { OrgClaimedInviteModel } from './models/orgClaimedInvite'; import { RefModel } from './models/ref'; import { StoreModel } from './models/store'; import { AppPermissionDefaultModel } from './models/appPermissionDefault'; +import { CryptoAddressModel } from './models/cryptoAddress'; import { RoleTypeModel } from './models/roleType'; import { OrgPermissionDefaultModel } from './models/orgPermissionDefault'; -import { CryptoAddressModel } from './models/cryptoAddress'; +import { PhoneNumberModel } from './models/phoneNumber'; import { AppLimitDefaultModel } from './models/appLimitDefault'; import { OrgLimitDefaultModel } from './models/orgLimitDefault'; import { ConnectedAccountModel } from './models/connectedAccount'; -import { PhoneNumberModel } from './models/phoneNumber'; -import { MembershipTypeModel } from './models/membershipType'; import { NodeTypeRegistryModel } from './models/nodeTypeRegistry'; +import { MembershipTypeModel } from './models/membershipType'; import { AppMembershipDefaultModel } from './models/appMembershipDefault'; +import { RlsModuleModel } from './models/rlsModule'; import { CommitModel } from './models/commit'; import { OrgMembershipDefaultModel } from './models/orgMembershipDefault'; import { AuditLogModel } from './models/auditLog'; import { AppLevelModel } from './models/appLevel'; -import { EmailModel } from './models/email'; import { SqlMigrationModel } from './models/sqlMigration'; +import { EmailModel } from './models/email'; import { AstMigrationModel } from './models/astMigration'; -import { UserModel } from './models/user'; import { AppMembershipModel } from './models/appMembership'; +import { UserModel } from './models/user'; import { HierarchyModuleModel } from './models/hierarchyModule'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -168,7 +167,6 @@ export function createClient(config: OrmClientConfig) { viewTable: new ViewTableModel(client), viewGrant: new ViewGrantModel(client), viewRule: new ViewRuleModel(client), - tableModule: new TableModuleModel(client), tableTemplateModule: new TableTemplateModuleModel(client), secureTableProvision: new SecureTableProvisionModel(client), relationProvision: new RelationProvisionModel(client), @@ -200,7 +198,6 @@ export function createClient(config: OrmClientConfig) { permissionsModule: new PermissionsModuleModel(client), phoneNumbersModule: new PhoneNumbersModuleModel(client), profilesModule: new ProfilesModuleModel(client), - rlsModule: new RlsModuleModel(client), secretsModule: new SecretsModuleModel(client), sessionsModule: new SessionsModuleModel(client), userAuthModule: new UserAuthModuleModel(client), @@ -228,25 +225,26 @@ export function createClient(config: OrmClientConfig) { ref: new RefModel(client), store: new StoreModel(client), appPermissionDefault: new AppPermissionDefaultModel(client), + cryptoAddress: new CryptoAddressModel(client), roleType: new RoleTypeModel(client), orgPermissionDefault: new OrgPermissionDefaultModel(client), - cryptoAddress: new CryptoAddressModel(client), + phoneNumber: new PhoneNumberModel(client), appLimitDefault: new AppLimitDefaultModel(client), orgLimitDefault: new OrgLimitDefaultModel(client), connectedAccount: new ConnectedAccountModel(client), - phoneNumber: new PhoneNumberModel(client), - membershipType: new MembershipTypeModel(client), nodeTypeRegistry: new NodeTypeRegistryModel(client), + membershipType: new MembershipTypeModel(client), appMembershipDefault: new AppMembershipDefaultModel(client), + rlsModule: new RlsModuleModel(client), commit: new CommitModel(client), orgMembershipDefault: new OrgMembershipDefaultModel(client), auditLog: new AuditLogModel(client), appLevel: new AppLevelModel(client), - email: new EmailModel(client), sqlMigration: new SqlMigrationModel(client), + email: new EmailModel(client), astMigration: new AstMigrationModel(client), - user: new UserModel(client), appMembership: new AppMembershipModel(client), + user: new UserModel(client), hierarchyModule: new HierarchyModuleModel(client), query: createQueryOperations(client), mutation: createMutationOperations(client), diff --git a/sdk/constructive-sdk/src/public/orm/input-types.ts b/sdk/constructive-sdk/src/public/orm/input-types.ts index fb0771ab1..57cdc3b90 100644 --- a/sdk/constructive-sdk/src/public/orm/input-types.ts +++ b/sdk/constructive-sdk/src/public/orm/input-types.ts @@ -263,6 +263,10 @@ export interface AppPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface OrgPermission { @@ -275,6 +279,10 @@ export interface OrgPermission { bitstr?: string | null; /** Human-readable description of what this permission allows */ description?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Object { hashUuid?: string | null; @@ -301,6 +309,10 @@ export interface AppLevelRequirement { priority?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Database { id: string; @@ -311,6 +323,14 @@ export interface Database { hash?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `schemaHash`. Returns null when no trgm search filter is active. */ + schemaHashTrgmSimilarity?: number | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Schema { id: string; @@ -327,6 +347,18 @@ export interface Schema { isPublic?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `schemaName`. Returns null when no trgm search filter is active. */ + schemaNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Table { id: string; @@ -348,6 +380,20 @@ export interface Table { inheritsId?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `pluralName`. Returns null when no trgm search filter is active. */ + pluralNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `singularName`. Returns null when no trgm search filter is active. */ + singularNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CheckConstraint { id: string; @@ -364,6 +410,14 @@ export interface CheckConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Field { id: string; @@ -390,6 +444,20 @@ export interface Field { scope?: number | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `label`. Returns null when no trgm search filter is active. */ + labelTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultValue`. Returns null when no trgm search filter is active. */ + defaultValueTrgmSimilarity?: number | null; + /** TRGM similarity when searching `regexp`. Returns null when no trgm search filter is active. */ + regexpTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ForeignKeyConstraint { id: string; @@ -410,6 +478,20 @@ export interface ForeignKeyConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. */ + deleteActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `updateAction`. Returns null when no trgm search filter is active. */ + updateActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface FullTextSearch { id: string; @@ -433,6 +515,8 @@ export interface Index { indexParams?: Record | null; whereClause?: Record | null; isUnique?: boolean | null; + options?: Record | null; + opClasses?: string | null; smartTags?: Record | null; category?: ObjectCategory | null; module?: string | null; @@ -440,6 +524,14 @@ export interface Index { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `accessMethod`. Returns null when no trgm search filter is active. */ + accessMethodTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Policy { id: string; @@ -459,6 +551,18 @@ export interface Policy { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PrimaryKeyConstraint { id: string; @@ -474,6 +578,14 @@ export interface PrimaryKeyConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface TableGrant { id: string; @@ -485,6 +597,12 @@ export interface TableGrant { isGrant?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface Trigger { id: string; @@ -500,6 +618,16 @@ export interface Trigger { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `event`. Returns null when no trgm search filter is active. */ + eventTrgmSimilarity?: number | null; + /** TRGM similarity when searching `functionName`. Returns null when no trgm search filter is active. */ + functionNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UniqueConstraint { id: string; @@ -516,6 +644,16 @@ export interface UniqueConstraint { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `type`. Returns null when no trgm search filter is active. */ + typeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface View { id: string; @@ -534,6 +672,16 @@ export interface View { module?: string | null; scope?: number | null; tags?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `viewType`. Returns null when no trgm search filter is active. */ + viewTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `filterType`. Returns null when no trgm search filter is active. */ + filterTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `module`. Returns null when no trgm search filter is active. */ + moduleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Junction table linking views to their joined tables for referential integrity */ export interface ViewTable { @@ -550,6 +698,12 @@ export interface ViewGrant { privilege?: string | null; withGrantOption?: boolean | null; isGrant?: boolean | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** DO INSTEAD rules for views (e.g., read-only enforcement) */ export interface ViewRule { @@ -561,17 +715,14 @@ export interface ViewRule { event?: string | null; /** NOTHING (for read-only) or custom action */ action?: string | null; -} -export interface TableModule { - id: string; - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - data?: Record | null; - fields?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `event`. Returns null when no trgm search filter is active. */ + eventTrgmSimilarity?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface TableTemplateModule { id: string; @@ -583,6 +734,12 @@ export interface TableTemplateModule { tableName?: string | null; nodeType?: string | null; data?: Record | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */ export interface SecureTableProvision { @@ -602,6 +759,8 @@ export interface SecureTableProvision { useRls?: boolean | null; /** 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?: Record | null; + /** 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?: Record | null; /** 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 | null; /** 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. */ @@ -620,6 +779,18 @@ export interface SecureTableProvision { policyData?: Record | null; /** 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?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. */ + policyRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. */ + policyNameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** * Provisions relational structure between tables. Supports four relation types: @@ -755,6 +926,28 @@ export interface RelationProvision { outSourceFieldId?: string | null; /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */ outTargetFieldId?: string | null; + /** TRGM similarity when searching `relationType`. Returns null when no trgm search filter is active. */ + relationTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fieldName`. Returns null when no trgm search filter is active. */ + fieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. */ + deleteActionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `junctionTableName`. Returns null when no trgm search filter is active. */ + junctionTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sourceFieldName`. Returns null when no trgm search filter is active. */ + sourceFieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `targetFieldName`. Returns null when no trgm search filter is active. */ + targetFieldNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. */ + policyTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. */ + policyRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. */ + policyNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SchemaGrant { id: string; @@ -763,6 +956,10 @@ export interface SchemaGrant { granteeName?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface DefaultPrivilege { id: string; @@ -772,6 +969,14 @@ export interface DefaultPrivilege { privilege?: string | null; granteeName?: string | null; isGrant?: boolean | null; + /** TRGM similarity when searching `objectType`. Returns null when no trgm search filter is active. */ + objectTypeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. */ + privilegeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. */ + granteeNameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API */ export interface ApiSchema { @@ -796,6 +1001,10 @@ export interface ApiModule { name?: string | null; /** JSON configuration data for this module */ data?: Record | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site */ export interface Domain { @@ -826,6 +1035,12 @@ export interface SiteMetadatum { description?: string | null; /** Open Graph image for social media previews */ ogImage?: ConstructiveInternalTypeImage | null; + /** TRGM similarity when searching `title`. Returns null when no trgm search filter is active. */ + titleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site */ export interface SiteModule { @@ -839,6 +1054,10 @@ export interface SiteModule { name?: string | null; /** JSON configuration data for this module */ data?: Record | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Theme configuration for a site; stores design tokens, colors, and typography as JSONB */ export interface SiteTheme { @@ -858,6 +1077,12 @@ export interface TriggerFunction { code?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `code`. Returns null when no trgm search filter is active. */ + codeTrgmSimilarity?: number | null; + /** 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?: number | null; } /** API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings */ export interface Api { @@ -875,6 +1100,16 @@ export interface Api { anonRole?: string | null; /** Whether this API is publicly accessible without authentication */ isPublic?: boolean | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. */ + dbnameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `roleName`. Returns null when no trgm search filter is active. */ + roleNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `anonRole`. Returns null when no trgm search filter is active. */ + anonRoleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Top-level site configuration: branding assets, title, and description for a deployed application */ export interface Site { @@ -896,6 +1131,14 @@ export interface Site { logo?: ConstructiveInternalTypeImage | null; /** PostgreSQL database name this site connects to */ dbname?: string | null; + /** TRGM similarity when searching `title`. Returns null when no trgm search filter is active. */ + titleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. */ + dbnameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Mobile and native app configuration linked to a site, including store links and identifiers */ export interface App { @@ -917,6 +1160,14 @@ export interface App { appIdPrefix?: string | null; /** URL to the Google Play Store listing */ playStoreLink?: ConstructiveInternalTypeUrl | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `appStoreId`. Returns null when no trgm search filter is active. */ + appStoreIdTrgmSimilarity?: number | null; + /** TRGM similarity when searching `appIdPrefix`. Returns null when no trgm search filter is active. */ + appIdPrefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ConnectedAccountsModule { id: string; @@ -926,6 +1177,10 @@ export interface ConnectedAccountsModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CryptoAddressesModule { id: string; @@ -936,6 +1191,12 @@ export interface CryptoAddressesModule { ownerTableId?: string | null; tableName?: string | null; cryptoNetwork?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. */ + cryptoNetworkTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface CryptoAuthModule { id: string; @@ -952,6 +1213,20 @@ export interface CryptoAuthModule { signInRecordFailure?: string | null; signUpWithKey?: string | null; signInWithChallenge?: string | null; + /** TRGM similarity when searching `userField`. Returns null when no trgm search filter is active. */ + userFieldTrgmSimilarity?: number | null; + /** TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. */ + cryptoNetworkTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInRequestChallenge`. Returns null when no trgm search filter is active. */ + signInRequestChallengeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInRecordFailure`. Returns null when no trgm search filter is active. */ + signInRecordFailureTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signUpWithKey`. Returns null when no trgm search filter is active. */ + signUpWithKeyTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInWithChallenge`. Returns null when no trgm search filter is active. */ + signInWithChallengeTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface DefaultIdsModule { id: string; @@ -970,6 +1245,10 @@ export interface DenormalizedTableField { updateDefaults?: boolean | null; funcName?: string | null; funcOrder?: number | null; + /** TRGM similarity when searching `funcName`. Returns null when no trgm search filter is active. */ + funcNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface EmailsModule { id: string; @@ -979,6 +1258,10 @@ export interface EmailsModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface EncryptedSecretsModule { id: string; @@ -986,6 +1269,10 @@ export interface EncryptedSecretsModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface FieldModule { id: string; @@ -997,6 +1284,10 @@ export interface FieldModule { data?: Record | null; triggers?: string | null; functions?: string | null; + /** TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. */ + nodeTypeTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface InvitesModule { id: string; @@ -1013,6 +1304,16 @@ export interface InvitesModule { prefix?: string | null; membershipType?: number | null; entityTableId?: string | null; + /** TRGM similarity when searching `invitesTableName`. Returns null when no trgm search filter is active. */ + invitesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `claimedInvitesTableName`. Returns null when no trgm search filter is active. */ + claimedInvitesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `submitInviteCodeFunction`. Returns null when no trgm search filter is active. */ + submitInviteCodeFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface LevelsModule { id: string; @@ -1041,6 +1342,38 @@ export interface LevelsModule { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + /** TRGM similarity when searching `stepsTableName`. Returns null when no trgm search filter is active. */ + stepsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `achievementsTableName`. Returns null when no trgm search filter is active. */ + achievementsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelsTableName`. Returns null when no trgm search filter is active. */ + levelsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelRequirementsTableName`. Returns null when no trgm search filter is active. */ + levelRequirementsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `completedStep`. Returns null when no trgm search filter is active. */ + completedStepTrgmSimilarity?: number | null; + /** TRGM similarity when searching `incompletedStep`. Returns null when no trgm search filter is active. */ + incompletedStepTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievement`. Returns null when no trgm search filter is active. */ + tgAchievementTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementToggle`. Returns null when no trgm search filter is active. */ + tgAchievementToggleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementToggleBoolean`. Returns null when no trgm search filter is active. */ + tgAchievementToggleBooleanTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgAchievementBoolean`. Returns null when no trgm search filter is active. */ + tgAchievementBooleanTrgmSimilarity?: number | null; + /** TRGM similarity when searching `upsertAchievement`. Returns null when no trgm search filter is active. */ + upsertAchievementTrgmSimilarity?: number | null; + /** TRGM similarity when searching `tgUpdateAchievements`. Returns null when no trgm search filter is active. */ + tgUpdateAchievementsTrgmSimilarity?: number | null; + /** TRGM similarity when searching `stepsRequired`. Returns null when no trgm search filter is active. */ + stepsRequiredTrgmSimilarity?: number | null; + /** TRGM similarity when searching `levelAchieved`. Returns null when no trgm search filter is active. */ + levelAchievedTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface LimitsModule { id: string; @@ -1061,6 +1394,26 @@ export interface LimitsModule { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. */ + defaultTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitIncrementFunction`. Returns null when no trgm search filter is active. */ + limitIncrementFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitDecrementFunction`. Returns null when no trgm search filter is active. */ + limitDecrementFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitIncrementTrigger`. Returns null when no trgm search filter is active. */ + limitIncrementTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitDecrementTrigger`. Returns null when no trgm search filter is active. */ + limitDecrementTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitUpdateTrigger`. Returns null when no trgm search filter is active. */ + limitUpdateTriggerTrgmSimilarity?: number | null; + /** TRGM similarity when searching `limitCheckFunction`. Returns null when no trgm search filter is active. */ + limitCheckFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface MembershipTypesModule { id: string; @@ -1068,6 +1421,10 @@ export interface MembershipTypesModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface MembershipsModule { id: string; @@ -1101,6 +1458,32 @@ export interface MembershipsModule { entityIdsByMask?: string | null; entityIdsByPerm?: string | null; entityIdsFunction?: string | null; + /** TRGM similarity when searching `membershipsTableName`. Returns null when no trgm search filter is active. */ + membershipsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `membersTableName`. Returns null when no trgm search filter is active. */ + membersTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `membershipDefaultsTableName`. Returns null when no trgm search filter is active. */ + membershipDefaultsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `grantsTableName`. Returns null when no trgm search filter is active. */ + grantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `adminGrantsTableName`. Returns null when no trgm search filter is active. */ + adminGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `ownerGrantsTableName`. Returns null when no trgm search filter is active. */ + ownerGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `actorMaskCheck`. Returns null when no trgm search filter is active. */ + actorMaskCheckTrgmSimilarity?: number | null; + /** TRGM similarity when searching `actorPermCheck`. Returns null when no trgm search filter is active. */ + actorPermCheckTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsByMask`. Returns null when no trgm search filter is active. */ + entityIdsByMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsByPerm`. Returns null when no trgm search filter is active. */ + entityIdsByPermTrgmSimilarity?: number | null; + /** TRGM similarity when searching `entityIdsFunction`. Returns null when no trgm search filter is active. */ + entityIdsFunctionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PermissionsModule { id: string; @@ -1120,6 +1503,22 @@ export interface PermissionsModule { getMask?: string | null; getByMask?: string | null; getMaskByName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. */ + defaultTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getPaddedMask`. Returns null when no trgm search filter is active. */ + getPaddedMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getMask`. Returns null when no trgm search filter is active. */ + getMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getByMask`. Returns null when no trgm search filter is active. */ + getByMaskTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getMaskByName`. Returns null when no trgm search filter is active. */ + getMaskByNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface PhoneNumbersModule { id: string; @@ -1129,6 +1528,10 @@ export interface PhoneNumbersModule { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface ProfilesModule { id: string; @@ -1149,20 +1552,18 @@ export interface ProfilesModule { permissionsTableId?: string | null; membershipsTableId?: string | null; prefix?: string | null; -} -export interface RlsModule { - id: string; - databaseId?: string | null; - apiId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - sessionCredentialsTableId?: string | null; - sessionsTableId?: string | null; - usersTableId?: string | null; - authenticate?: string | null; - authenticateStrict?: string | null; - currentRole?: string | null; - currentRoleId?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profilePermissionsTableName`. Returns null when no trgm search filter is active. */ + profilePermissionsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profileGrantsTableName`. Returns null when no trgm search filter is active. */ + profileGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `profileDefinitionGrantsTableName`. Returns null when no trgm search filter is active. */ + profileDefinitionGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SecretsModule { id: string; @@ -1170,6 +1571,10 @@ export interface SecretsModule { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SessionsModule { id: string; @@ -1183,6 +1588,14 @@ export interface SessionsModule { sessionsTable?: string | null; sessionCredentialsTable?: string | null; authSettingsTable?: string | null; + /** TRGM similarity when searching `sessionsTable`. Returns null when no trgm search filter is active. */ + sessionsTableTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sessionCredentialsTable`. Returns null when no trgm search filter is active. */ + sessionCredentialsTableTrgmSimilarity?: number | null; + /** TRGM similarity when searching `authSettingsTable`. Returns null when no trgm search filter is active. */ + authSettingsTableTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UserAuthModule { id: string; @@ -1211,6 +1624,40 @@ export interface UserAuthModule { signInOneTimeTokenFunction?: string | null; oneTimeTokenFunction?: string | null; extendTokenExpires?: string | null; + /** TRGM similarity when searching `auditsTableName`. Returns null when no trgm search filter is active. */ + auditsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInFunction`. Returns null when no trgm search filter is active. */ + signInFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signUpFunction`. Returns null when no trgm search filter is active. */ + signUpFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signOutFunction`. Returns null when no trgm search filter is active. */ + signOutFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `setPasswordFunction`. Returns null when no trgm search filter is active. */ + setPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `resetPasswordFunction`. Returns null when no trgm search filter is active. */ + resetPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `forgotPasswordFunction`. Returns null when no trgm search filter is active. */ + forgotPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sendVerificationEmailFunction`. Returns null when no trgm search filter is active. */ + sendVerificationEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verifyEmailFunction`. Returns null when no trgm search filter is active. */ + verifyEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verifyPasswordFunction`. Returns null when no trgm search filter is active. */ + verifyPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `checkPasswordFunction`. Returns null when no trgm search filter is active. */ + checkPasswordFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sendAccountDeletionEmailFunction`. Returns null when no trgm search filter is active. */ + sendAccountDeletionEmailFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deleteAccountFunction`. Returns null when no trgm search filter is active. */ + deleteAccountFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `signInOneTimeTokenFunction`. Returns null when no trgm search filter is active. */ + signInOneTimeTokenFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `oneTimeTokenFunction`. Returns null when no trgm search filter is active. */ + oneTimeTokenFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `extendTokenExpires`. Returns null when no trgm search filter is active. */ + extendTokenExpiresTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UsersModule { id: string; @@ -1220,6 +1667,12 @@ export interface UsersModule { tableName?: string | null; typeTableId?: string | null; typeTableName?: string | null; + /** TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. */ + tableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `typeTableName`. Returns null when no trgm search filter is active. */ + typeTableNameTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface UuidModule { id: string; @@ -1227,6 +1680,12 @@ export interface UuidModule { schemaId?: string | null; uuidFunction?: string | null; uuidSeed?: string | null; + /** TRGM similarity when searching `uuidFunction`. Returns null when no trgm search filter is active. */ + uuidFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `uuidSeed`. Returns null when no trgm search filter is active. */ + uuidSeedTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */ export interface DatabaseProvisionModule { @@ -1253,6 +1712,18 @@ export interface DatabaseProvisionModule { createdAt?: string | null; updatedAt?: string | null; completedAt?: string | null; + /** TRGM similarity when searching `databaseName`. Returns null when no trgm search filter is active. */ + databaseNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `subdomain`. Returns null when no trgm search filter is active. */ + subdomainTrgmSimilarity?: number | null; + /** TRGM similarity when searching `domain`. Returns null when no trgm search filter is active. */ + domainTrgmSimilarity?: number | null; + /** TRGM similarity when searching `status`. Returns null when no trgm search filter is active. */ + statusTrgmSimilarity?: number | null; + /** TRGM similarity when searching `errorMessage`. Returns null when no trgm search filter is active. */ + errorMessageTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of admin role grants and revocations between members */ export interface AppAdminGrant { @@ -1384,6 +1855,10 @@ export interface OrgChartEdge { positionTitle?: string | null; /** Numeric seniority level for this position (higher = more senior) */ positionLevel?: number | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */ export interface OrgChartEdgeGrant { @@ -1404,6 +1879,10 @@ export interface OrgChartEdgeGrant { positionLevel?: number | null; /** Timestamp when this grant or revocation was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */ + positionTitleTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface AppLimit { @@ -1475,6 +1954,10 @@ export interface Invite { expiresAt?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of successfully claimed invitations, linking senders to receivers */ export interface ClaimedInvite { @@ -1514,6 +1997,10 @@ export interface OrgInvite { createdAt?: string | null; updatedAt?: string | null; entityId?: string | null; + /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */ + inviteTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Records of successfully claimed invitations, linking senders to receivers */ export interface OrgClaimedInvite { @@ -1537,6 +2024,10 @@ export interface Ref { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** A store represents an isolated object repository within a database. */ export interface Store { @@ -1549,6 +2040,10 @@ export interface Store { /** The current head tree_id for this store. */ hash?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Stores the default permission bitmask assigned to new members upon joining */ export interface AppPermissionDefault { @@ -1556,6 +2051,23 @@ export interface AppPermissionDefault { /** Default permission bitmask applied to new members */ permissions?: string | null; } +/** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ +export interface CryptoAddress { + id: string; + ownerId?: string | null; + /** The cryptocurrency wallet address, validated against network-specific patterns */ + address?: string | null; + /** Whether ownership of this address has been cryptographically verified */ + isVerified?: boolean | null; + /** Whether this is the user's primary cryptocurrency address */ + isPrimary?: boolean | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TRGM similarity when searching `address`. Returns null when no trgm search filter is active. */ + addressTrgmSimilarity?: number | null; + /** 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?: number | null; +} export interface RoleType { id: number; name?: string | null; @@ -1568,18 +2080,26 @@ export interface OrgPermissionDefault { /** References the entity these default permissions apply to */ entityId?: string | null; } -/** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ -export interface CryptoAddress { +/** User phone numbers with country code, verification, and primary-number management */ +export interface PhoneNumber { id: string; ownerId?: string | null; - /** The cryptocurrency wallet address, validated against network-specific patterns */ - address?: string | null; - /** Whether ownership of this address has been cryptographically verified */ + /** Country calling code (e.g. +1, +44) */ + cc?: string | null; + /** The phone number without country code */ + number?: string | null; + /** Whether the phone number has been verified via SMS code */ isVerified?: boolean | null; - /** Whether this is the user's primary cryptocurrency address */ + /** Whether this is the user's primary phone number */ isPrimary?: boolean | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. */ + ccTrgmSimilarity?: number | null; + /** TRGM similarity when searching `number`. Returns null when no trgm search filter is active. */ + numberTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default maximum values for each named limit, applied when no per-actor override exists */ export interface AppLimitDefault { @@ -1611,32 +2131,12 @@ export interface ConnectedAccount { isVerified?: boolean | null; createdAt?: string | null; updatedAt?: string | null; -} -/** User phone numbers with country code, verification, and primary-number management */ -export interface PhoneNumber { - id: string; - ownerId?: string | null; - /** Country calling code (e.g. +1, +44) */ - cc?: string | null; - /** The phone number without country code */ - number?: string | null; - /** Whether the phone number has been verified via SMS code */ - isVerified?: boolean | null; - /** Whether this is the user's primary phone number */ - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; -} -/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ -export interface MembershipType { - /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ - id: number; - /** Human-readable name of the membership type */ - name?: string | null; - /** Description of what this membership type represents */ - description?: string | null; - /** Short prefix used to namespace tables and functions for this membership scope */ - prefix?: string | null; + /** TRGM similarity when searching `service`. Returns null when no trgm search filter is active. */ + serviceTrgmSimilarity?: number | null; + /** TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. */ + identifierTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). */ export interface NodeTypeRegistry { @@ -1656,6 +2156,35 @@ export interface NodeTypeRegistry { tags?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `slug`. Returns null when no trgm search filter is active. */ + slugTrgmSimilarity?: number | null; + /** TRGM similarity when searching `category`. Returns null when no trgm search filter is active. */ + categoryTrgmSimilarity?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */ +export interface MembershipType { + /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ + id: number; + /** Human-readable name of the membership type */ + name?: string | null; + /** Description of what this membership type represents */ + description?: string | null; + /** Short prefix used to namespace tables and functions for this membership scope */ + prefix?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface AppMembershipDefault { @@ -1669,6 +2198,29 @@ export interface AppMembershipDefault { /** Whether new members are automatically verified upon joining */ isVerified?: boolean | null; } +export interface RlsModule { + id: string; + databaseId?: string | null; + schemaId?: string | null; + privateSchemaId?: string | null; + sessionCredentialsTableId?: string | null; + sessionsTableId?: string | null; + usersTableId?: string | null; + authenticate?: string | null; + authenticateStrict?: string | null; + currentRole?: string | null; + currentRoleId?: string | null; + /** TRGM similarity when searching `authenticate`. Returns null when no trgm search filter is active. */ + authenticateTrgmSimilarity?: number | null; + /** TRGM similarity when searching `authenticateStrict`. Returns null when no trgm search filter is active. */ + authenticateStrictTrgmSimilarity?: number | null; + /** TRGM similarity when searching `currentRole`. Returns null when no trgm search filter is active. */ + currentRoleTrgmSimilarity?: number | null; + /** TRGM similarity when searching `currentRoleId`. Returns null when no trgm search filter is active. */ + currentRoleIdTrgmSimilarity?: number | null; + /** 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?: number | null; +} /** A commit records changes to the repository. */ export interface Commit { /** The primary unique identifier for the commit. */ @@ -1687,6 +2239,10 @@ export interface Commit { /** The root of the tree */ treeId?: string | null; date?: string | null; + /** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */ + messageTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Default membership settings per entity, controlling initial approval and verification state for new members */ export interface OrgMembershipDefault { @@ -1721,6 +2277,10 @@ export interface AuditLog { success?: boolean | null; /** Timestamp when the audit event was recorded */ createdAt?: string | null; + /** TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. */ + userAgentTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Defines available levels that users can achieve by completing requirements */ export interface AppLevel { @@ -1735,19 +2295,10 @@ export interface AppLevel { ownerId?: string | null; createdAt?: string | null; updatedAt?: string | null; -} -/** User email addresses with verification and primary-email management */ -export interface Email { - id: string; - ownerId?: string | null; - /** The email address */ - email?: ConstructiveInternalTypeEmail | null; - /** Whether the email address has been verified via confirmation link */ - isVerified?: boolean | null; - /** Whether this is the user's primary email address */ - isPrimary?: boolean | null; - createdAt?: string | null; - updatedAt?: string | null; + /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */ + descriptionTrgmSimilarity?: number | null; + /** 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?: number | null; } export interface SqlMigration { id: number; @@ -1763,6 +2314,33 @@ export interface SqlMigration { action?: string | null; actionId?: string | null; actorId?: string | null; + /** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */ + nameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `deploy`. Returns null when no trgm search filter is active. */ + deployTrgmSimilarity?: number | null; + /** TRGM similarity when searching `content`. Returns null when no trgm search filter is active. */ + contentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `revert`. Returns null when no trgm search filter is active. */ + revertTrgmSimilarity?: number | null; + /** TRGM similarity when searching `verify`. Returns null when no trgm search filter is active. */ + verifyTrgmSimilarity?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; +} +/** User email addresses with verification and primary-email management */ +export interface Email { + id: string; + ownerId?: string | null; + /** The email address */ + email?: ConstructiveInternalTypeEmail | null; + /** Whether the email address has been verified via confirmation link */ + isVerified?: boolean | null; + /** Whether this is the user's primary email address */ + isPrimary?: boolean | null; + createdAt?: string | null; + updatedAt?: string | null; } export interface AstMigration { id: number; @@ -1778,18 +2356,10 @@ export interface AstMigration { action?: string | null; actionId?: string | null; actorId?: string | null; -} -export interface User { - id: string; - username?: string | null; - displayName?: string | null; - profilePicture?: ConstructiveInternalTypeImage | null; - searchTsv?: string | null; - type?: number | null; - createdAt?: string | null; - updatedAt?: string | null; - /** Full-text search ranking when filtered by `searchTsv`. Returns null when no search condition is active. */ - searchTsvRank?: number | null; + /** TRGM similarity when searching `action`. Returns null when no trgm search filter is active. */ + actionTrgmSimilarity?: number | null; + /** 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?: number | null; } /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */ export interface AppMembership { @@ -1820,6 +2390,22 @@ export interface AppMembership { actorId?: string | null; profileId?: string | null; } +export interface User { + id: string; + username?: string | null; + displayName?: string | null; + profilePicture?: ConstructiveInternalTypeImage | null; + searchTsv?: string | null; + type?: number | null; + createdAt?: string | null; + updatedAt?: string | null; + /** TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. */ + searchTsvRank?: number | null; + /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ + displayNameTrgmSimilarity?: number | null; + /** 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?: number | null; +} export interface HierarchyModule { id: string; databaseId?: string | null; @@ -1841,6 +2427,28 @@ export interface HierarchyModule { getManagersFunction?: string | null; isManagerOfFunction?: string | null; createdAt?: string | null; + /** TRGM similarity when searching `chartEdgesTableName`. Returns null when no trgm search filter is active. */ + chartEdgesTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `hierarchySprtTableName`. Returns null when no trgm search filter is active. */ + hierarchySprtTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `chartEdgeGrantsTableName`. Returns null when no trgm search filter is active. */ + chartEdgeGrantsTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */ + prefixTrgmSimilarity?: number | null; + /** TRGM similarity when searching `privateSchemaName`. Returns null when no trgm search filter is active. */ + privateSchemaNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `sprtTableName`. Returns null when no trgm search filter is active. */ + sprtTableNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `rebuildHierarchyFunction`. Returns null when no trgm search filter is active. */ + rebuildHierarchyFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getSubordinatesFunction`. Returns null when no trgm search filter is active. */ + getSubordinatesFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `getManagersFunction`. Returns null when no trgm search filter is active. */ + getManagersFunctionTrgmSimilarity?: number | null; + /** TRGM similarity when searching `isManagerOfFunction`. Returns null when no trgm search filter is active. */ + isManagerOfFunctionTrgmSimilarity?: number | null; + /** 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?: number | null; } // ============ Relation Helper Types ============ export interface ConnectionResult { @@ -1864,6 +2472,7 @@ export interface ObjectRelations {} export interface AppLevelRequirementRelations {} export interface DatabaseRelations { owner?: User | null; + rlsModule?: RlsModule | null; hierarchyModule?: HierarchyModule | null; schemas?: ConnectionResult; tables?: ConnectionResult
; @@ -1900,7 +2509,6 @@ export interface DatabaseRelations { emailsModules?: ConnectionResult; encryptedSecretsModules?: ConnectionResult; fieldModules?: ConnectionResult; - tableModules?: ConnectionResult; invitesModules?: ConnectionResult; levelsModules?: ConnectionResult; limitsModules?: ConnectionResult; @@ -1909,7 +2517,6 @@ export interface DatabaseRelations { permissionsModules?: ConnectionResult; phoneNumbersModules?: ConnectionResult; profilesModules?: ConnectionResult; - rlsModules?: ConnectionResult; secretsModules?: ConnectionResult; sessionsModules?: ConnectionResult; userAuthModules?: ConnectionResult; @@ -1946,7 +2553,6 @@ export interface TableRelations { uniqueConstraints?: ConnectionResult; views?: ConnectionResult; viewTables?: ConnectionResult; - tableModules?: ConnectionResult; tableTemplateModulesByOwnerTableId?: ConnectionResult; tableTemplateModules?: ConnectionResult; secureTableProvisions?: ConnectionResult; @@ -2014,11 +2620,6 @@ export interface ViewRuleRelations { database?: Database | null; view?: View | null; } -export interface TableModuleRelations { - database?: Database | null; - schema?: Schema | null; - table?: Table | null; -} export interface TableTemplateModuleRelations { database?: Database | null; ownerTable?: Table | null; @@ -2075,7 +2676,6 @@ export interface TriggerFunctionRelations { } export interface ApiRelations { database?: Database | null; - rlsModule?: RlsModule | null; apiModules?: ConnectionResult; apiSchemas?: ConnectionResult; domains?: ConnectionResult; @@ -2223,15 +2823,6 @@ export interface ProfilesModuleRelations { schema?: Schema | null; table?: Table | null; } -export interface RlsModuleRelations { - api?: Api | null; - database?: Database | null; - privateSchema?: Schema | null; - schema?: Schema | null; - sessionCredentialsTable?: Table | null; - sessionsTable?: Table | null; - usersTable?: Table | null; -} export interface SecretsModuleRelations { database?: Database | null; schema?: Schema | null; @@ -2347,11 +2938,14 @@ export interface OrgClaimedInviteRelations { export interface RefRelations {} export interface StoreRelations {} export interface AppPermissionDefaultRelations {} +export interface CryptoAddressRelations { + owner?: User | null; +} export interface RoleTypeRelations {} export interface OrgPermissionDefaultRelations { entity?: User | null; } -export interface CryptoAddressRelations { +export interface PhoneNumberRelations { owner?: User | null; } export interface AppLimitDefaultRelations {} @@ -2359,12 +2953,17 @@ export interface OrgLimitDefaultRelations {} export interface ConnectedAccountRelations { owner?: User | null; } -export interface PhoneNumberRelations { - owner?: User | null; -} -export interface MembershipTypeRelations {} export interface NodeTypeRegistryRelations {} +export interface MembershipTypeRelations {} export interface AppMembershipDefaultRelations {} +export interface RlsModuleRelations { + database?: Database | null; + privateSchema?: Schema | null; + schema?: Schema | null; + sessionCredentialsTable?: Table | null; + sessionsTable?: Table | null; + usersTable?: Table | null; +} export interface CommitRelations {} export interface OrgMembershipDefaultRelations { entity?: User | null; @@ -2375,11 +2974,14 @@ export interface AuditLogRelations { export interface AppLevelRelations { owner?: User | null; } +export interface SqlMigrationRelations {} export interface EmailRelations { owner?: User | null; } -export interface SqlMigrationRelations {} export interface AstMigrationRelations {} +export interface AppMembershipRelations { + actor?: User | null; +} export interface UserRelations { roleType?: RoleType | null; appMembershipByActorId?: AppMembership | null; @@ -2418,9 +3020,6 @@ export interface UserRelations { orgClaimedInvitesByReceiverId?: ConnectionResult; orgClaimedInvitesBySenderId?: ConnectionResult; } -export interface AppMembershipRelations { - actor?: User | null; -} export interface HierarchyModuleRelations { chartEdgeGrantsTable?: Table | null; chartEdgesTable?: Table | null; @@ -2460,7 +3059,6 @@ export type ViewWithRelations = View & ViewRelations; export type ViewTableWithRelations = ViewTable & ViewTableRelations; export type ViewGrantWithRelations = ViewGrant & ViewGrantRelations; export type ViewRuleWithRelations = ViewRule & ViewRuleRelations; -export type TableModuleWithRelations = TableModule & TableModuleRelations; export type TableTemplateModuleWithRelations = TableTemplateModule & TableTemplateModuleRelations; export type SecureTableProvisionWithRelations = SecureTableProvision & SecureTableProvisionRelations; @@ -2498,7 +3096,6 @@ export type MembershipsModuleWithRelations = MembershipsModule & MembershipsModu export type PermissionsModuleWithRelations = PermissionsModule & PermissionsModuleRelations; export type PhoneNumbersModuleWithRelations = PhoneNumbersModule & PhoneNumbersModuleRelations; export type ProfilesModuleWithRelations = ProfilesModule & ProfilesModuleRelations; -export type RlsModuleWithRelations = RlsModule & RlsModuleRelations; export type SecretsModuleWithRelations = SecretsModule & SecretsModuleRelations; export type SessionsModuleWithRelations = SessionsModule & SessionsModuleRelations; export type UserAuthModuleWithRelations = UserAuthModule & UserAuthModuleRelations; @@ -2528,28 +3125,29 @@ export type RefWithRelations = Ref & RefRelations; export type StoreWithRelations = Store & StoreRelations; export type AppPermissionDefaultWithRelations = AppPermissionDefault & AppPermissionDefaultRelations; +export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type OrgPermissionDefaultWithRelations = OrgPermissionDefault & OrgPermissionDefaultRelations; -export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; +export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations; export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations; export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; -export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; -export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations; +export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations; +export type RlsModuleWithRelations = RlsModule & RlsModuleRelations; export type CommitWithRelations = Commit & CommitRelations; export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations; export type AuditLogWithRelations = AuditLog & AuditLogRelations; export type AppLevelWithRelations = AppLevel & AppLevelRelations; -export type EmailWithRelations = Email & EmailRelations; export type SqlMigrationWithRelations = SqlMigration & SqlMigrationRelations; +export type EmailWithRelations = Email & EmailRelations; export type AstMigrationWithRelations = AstMigration & AstMigrationRelations; -export type UserWithRelations = User & UserRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; +export type UserWithRelations = User & UserRelations; export type HierarchyModuleWithRelations = HierarchyModule & HierarchyModuleRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -2570,6 +3168,8 @@ export type AppPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgPermissionSelect = { id?: boolean; @@ -2577,6 +3177,8 @@ export type OrgPermissionSelect = { bitnum?: boolean; bitstr?: boolean; description?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type ObjectSelect = { hashUuid?: boolean; @@ -2597,6 +3199,8 @@ export type AppLevelRequirementSelect = { priority?: boolean; createdAt?: boolean; updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type DatabaseSelect = { id?: boolean; @@ -2607,9 +3211,16 @@ export type DatabaseSelect = { hash?: boolean; createdAt?: boolean; updatedAt?: boolean; + schemaHashTrgmSimilarity?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; + rlsModule?: { + select: RlsModuleSelect; + }; hierarchyModule?: { select: HierarchyModuleSelect; }; @@ -2823,12 +3434,6 @@ export type DatabaseSelect = { filter?: FieldModuleFilter; orderBy?: FieldModuleOrderBy[]; }; - tableModules?: { - select: TableModuleSelect; - first?: number; - filter?: TableModuleFilter; - orderBy?: TableModuleOrderBy[]; - }; invitesModules?: { select: InvitesModuleSelect; first?: number; @@ -2877,12 +3482,6 @@ export type DatabaseSelect = { filter?: ProfilesModuleFilter; orderBy?: ProfilesModuleOrderBy[]; }; - rlsModules?: { - select: RlsModuleSelect; - first?: number; - filter?: RlsModuleFilter; - orderBy?: RlsModuleOrderBy[]; - }; secretsModules?: { select: SecretsModuleSelect; first?: number; @@ -2953,6 +3552,12 @@ export type SchemaSelect = { isPublic?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + schemaNameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3019,6 +3624,13 @@ export type TableSelect = { inheritsId?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + pluralNameTrgmSimilarity?: boolean; + singularNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3100,12 +3712,6 @@ export type TableSelect = { filter?: ViewTableFilter; orderBy?: ViewTableOrderBy[]; }; - tableModules?: { - select: TableModuleSelect; - first?: number; - filter?: TableModuleFilter; - orderBy?: TableModuleOrderBy[]; - }; tableTemplateModulesByOwnerTableId?: { select: TableTemplateModuleSelect; first?: number; @@ -3152,6 +3758,10 @@ export type CheckConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3184,6 +3794,13 @@ export type FieldSelect = { scope?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + labelTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + defaultValueTrgmSimilarity?: boolean; + regexpTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3210,6 +3827,13 @@ export type ForeignKeyConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + deleteActionTrgmSimilarity?: boolean; + updateActionTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3248,6 +3872,8 @@ export type IndexSelect = { indexParams?: boolean; whereClause?: boolean; isUnique?: boolean; + options?: boolean; + opClasses?: boolean; smartTags?: boolean; category?: boolean; module?: boolean; @@ -3255,6 +3881,10 @@ export type IndexSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + accessMethodTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3280,6 +3910,12 @@ export type PolicySelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3301,6 +3937,10 @@ export type PrimaryKeyConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3318,6 +3958,9 @@ export type TableGrantSelect = { isGrant?: boolean; createdAt?: boolean; updatedAt?: boolean; + privilegeTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3339,6 +3982,11 @@ export type TriggerSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + eventTrgmSimilarity?: boolean; + functionNameTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3361,6 +4009,11 @@ export type UniqueConstraintSelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + typeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3385,6 +4038,11 @@ export type ViewSelect = { module?: boolean; scope?: boolean; tags?: boolean; + nameTrgmSimilarity?: boolean; + viewTypeTrgmSimilarity?: boolean; + filterTypeTrgmSimilarity?: boolean; + moduleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3433,6 +4091,9 @@ export type ViewGrantSelect = { privilege?: boolean; withGrantOption?: boolean; isGrant?: boolean; + granteeNameTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3447,6 +4108,10 @@ export type ViewRuleSelect = { name?: boolean; event?: boolean; action?: boolean; + nameTrgmSimilarity?: boolean; + eventTrgmSimilarity?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3454,26 +4119,6 @@ export type ViewRuleSelect = { select: ViewSelect; }; }; -export type TableModuleSelect = { - id?: boolean; - databaseId?: boolean; - schemaId?: boolean; - tableId?: boolean; - tableName?: boolean; - nodeType?: boolean; - useRls?: boolean; - data?: boolean; - fields?: boolean; - database?: { - select: DatabaseSelect; - }; - schema?: { - select: SchemaSelect; - }; - table?: { - select: TableSelect; - }; -}; export type TableTemplateModuleSelect = { id?: boolean; databaseId?: boolean; @@ -3484,6 +4129,9 @@ export type TableTemplateModuleSelect = { tableName?: boolean; nodeType?: boolean; data?: boolean; + tableNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3509,6 +4157,7 @@ export type SecureTableProvisionSelect = { nodeType?: boolean; useRls?: boolean; nodeData?: boolean; + fields?: boolean; grantRoles?: boolean; grantPrivileges?: boolean; policyType?: boolean; @@ -3518,6 +4167,12 @@ export type SecureTableProvisionSelect = { policyName?: boolean; policyData?: boolean; outFields?: boolean; + tableNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + policyRoleTrgmSimilarity?: boolean; + policyNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3557,6 +4212,17 @@ export type RelationProvisionSelect = { outJunctionTableId?: boolean; outSourceFieldId?: boolean; outTargetFieldId?: boolean; + relationTypeTrgmSimilarity?: boolean; + fieldNameTrgmSimilarity?: boolean; + deleteActionTrgmSimilarity?: boolean; + junctionTableNameTrgmSimilarity?: boolean; + sourceFieldNameTrgmSimilarity?: boolean; + targetFieldNameTrgmSimilarity?: boolean; + nodeTypeTrgmSimilarity?: boolean; + policyTypeTrgmSimilarity?: boolean; + policyRoleTrgmSimilarity?: boolean; + policyNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3574,6 +4240,8 @@ export type SchemaGrantSelect = { granteeName?: boolean; createdAt?: boolean; updatedAt?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3589,6 +4257,10 @@ export type DefaultPrivilegeSelect = { privilege?: boolean; granteeName?: boolean; isGrant?: boolean; + objectTypeTrgmSimilarity?: boolean; + privilegeTrgmSimilarity?: boolean; + granteeNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3617,6 +4289,8 @@ export type ApiModuleSelect = { apiId?: boolean; name?: boolean; data?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; api?: { select: ApiSelect; }; @@ -3648,6 +4322,9 @@ export type SiteMetadatumSelect = { title?: boolean; description?: boolean; ogImage?: boolean; + titleTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3661,6 +4338,8 @@ export type SiteModuleSelect = { siteId?: boolean; name?: boolean; data?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3687,6 +4366,9 @@ export type TriggerFunctionSelect = { code?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + codeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3699,12 +4381,14 @@ export type ApiSelect = { roleName?: boolean; anonRole?: boolean; isPublic?: boolean; + nameTrgmSimilarity?: boolean; + dbnameTrgmSimilarity?: boolean; + roleNameTrgmSimilarity?: boolean; + anonRoleTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; - rlsModule?: { - select: RlsModuleSelect; - }; apiModules?: { select: ApiModuleSelect; first?: number; @@ -3734,6 +4418,10 @@ export type SiteSelect = { appleTouchIcon?: boolean; logo?: boolean; dbname?: boolean; + titleTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + dbnameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3775,6 +4463,10 @@ export type AppSelect = { appStoreId?: boolean; appIdPrefix?: boolean; playStoreLink?: boolean; + nameTrgmSimilarity?: boolean; + appStoreIdTrgmSimilarity?: boolean; + appIdPrefixTrgmSimilarity?: boolean; + searchScore?: boolean; site?: { select: SiteSelect; }; @@ -3790,6 +4482,8 @@ export type ConnectedAccountsModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3815,6 +4509,9 @@ export type CryptoAddressesModuleSelect = { ownerTableId?: boolean; tableName?: boolean; cryptoNetwork?: boolean; + tableNameTrgmSimilarity?: boolean; + cryptoNetworkTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3846,6 +4543,13 @@ export type CryptoAuthModuleSelect = { signInRecordFailure?: boolean; signUpWithKey?: boolean; signInWithChallenge?: boolean; + userFieldTrgmSimilarity?: boolean; + cryptoNetworkTrgmSimilarity?: boolean; + signInRequestChallengeTrgmSimilarity?: boolean; + signInRecordFailureTrgmSimilarity?: boolean; + signUpWithKeyTrgmSimilarity?: boolean; + signInWithChallengeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3885,6 +4589,8 @@ export type DenormalizedTableFieldSelect = { updateDefaults?: boolean; funcName?: boolean; funcOrder?: boolean; + funcNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3909,6 +4615,8 @@ export type EmailsModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3931,6 +4639,8 @@ export type EncryptedSecretsModuleSelect = { schemaId?: boolean; tableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3951,6 +4661,8 @@ export type FieldModuleSelect = { data?: boolean; triggers?: boolean; functions?: boolean; + nodeTypeTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -3979,6 +4691,11 @@ export type InvitesModuleSelect = { prefix?: boolean; membershipType?: boolean; entityTableId?: boolean; + invitesTableNameTrgmSimilarity?: boolean; + claimedInvitesTableNameTrgmSimilarity?: boolean; + submitInviteCodeFunctionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; claimedInvitesTable?: { select: TableSelect; }; @@ -4031,6 +4748,22 @@ export type LevelsModuleSelect = { membershipType?: boolean; entityTableId?: boolean; actorTableId?: boolean; + stepsTableNameTrgmSimilarity?: boolean; + achievementsTableNameTrgmSimilarity?: boolean; + levelsTableNameTrgmSimilarity?: boolean; + levelRequirementsTableNameTrgmSimilarity?: boolean; + completedStepTrgmSimilarity?: boolean; + incompletedStepTrgmSimilarity?: boolean; + tgAchievementTrgmSimilarity?: boolean; + tgAchievementToggleTrgmSimilarity?: boolean; + tgAchievementToggleBooleanTrgmSimilarity?: boolean; + tgAchievementBooleanTrgmSimilarity?: boolean; + upsertAchievementTrgmSimilarity?: boolean; + tgUpdateAchievementsTrgmSimilarity?: boolean; + stepsRequiredTrgmSimilarity?: boolean; + levelAchievedTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; achievementsTable?: { select: TableSelect; }; @@ -4078,6 +4811,16 @@ export type LimitsModuleSelect = { membershipType?: boolean; entityTableId?: boolean; actorTableId?: boolean; + tableNameTrgmSimilarity?: boolean; + defaultTableNameTrgmSimilarity?: boolean; + limitIncrementFunctionTrgmSimilarity?: boolean; + limitDecrementFunctionTrgmSimilarity?: boolean; + limitIncrementTriggerTrgmSimilarity?: boolean; + limitDecrementTriggerTrgmSimilarity?: boolean; + limitUpdateTriggerTrgmSimilarity?: boolean; + limitCheckFunctionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4106,6 +4849,8 @@ export type MembershipTypesModuleSelect = { schemaId?: boolean; tableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4148,6 +4893,19 @@ export type MembershipsModuleSelect = { entityIdsByMask?: boolean; entityIdsByPerm?: boolean; entityIdsFunction?: boolean; + membershipsTableNameTrgmSimilarity?: boolean; + membersTableNameTrgmSimilarity?: boolean; + membershipDefaultsTableNameTrgmSimilarity?: boolean; + grantsTableNameTrgmSimilarity?: boolean; + adminGrantsTableNameTrgmSimilarity?: boolean; + ownerGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + actorMaskCheckTrgmSimilarity?: boolean; + actorPermCheckTrgmSimilarity?: boolean; + entityIdsByMaskTrgmSimilarity?: boolean; + entityIdsByPermTrgmSimilarity?: boolean; + entityIdsFunctionTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4212,6 +4970,14 @@ export type PermissionsModuleSelect = { getMask?: boolean; getByMask?: boolean; getMaskByName?: boolean; + tableNameTrgmSimilarity?: boolean; + defaultTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + getPaddedMaskTrgmSimilarity?: boolean; + getMaskTrgmSimilarity?: boolean; + getByMaskTrgmSimilarity?: boolean; + getMaskByNameTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4242,6 +5008,8 @@ export type PhoneNumbersModuleSelect = { tableId?: boolean; ownerTableId?: boolean; tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4277,6 +5045,12 @@ export type ProfilesModuleSelect = { permissionsTableId?: boolean; membershipsTableId?: boolean; prefix?: boolean; + tableNameTrgmSimilarity?: boolean; + profilePermissionsTableNameTrgmSimilarity?: boolean; + profileGrantsTableNameTrgmSimilarity?: boolean; + profileDefinitionGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; actorTable?: { select: TableSelect; }; @@ -4311,47 +5085,14 @@ export type ProfilesModuleSelect = { select: TableSelect; }; }; -export type RlsModuleSelect = { +export type SecretsModuleSelect = { id?: boolean; databaseId?: boolean; - apiId?: boolean; schemaId?: boolean; - privateSchemaId?: boolean; - sessionCredentialsTableId?: boolean; - sessionsTableId?: boolean; - usersTableId?: boolean; - authenticate?: boolean; - authenticateStrict?: boolean; - currentRole?: boolean; - currentRoleId?: boolean; - api?: { - select: ApiSelect; - }; - database?: { - select: DatabaseSelect; - }; - privateSchema?: { - select: SchemaSelect; - }; - schema?: { - select: SchemaSelect; - }; - sessionCredentialsTable?: { - select: TableSelect; - }; - sessionsTable?: { - select: TableSelect; - }; - usersTable?: { - select: TableSelect; - }; -}; -export type SecretsModuleSelect = { - id?: boolean; - databaseId?: boolean; - schemaId?: boolean; - tableId?: boolean; - tableName?: boolean; + tableId?: boolean; + tableName?: boolean; + tableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4374,6 +5115,10 @@ export type SessionsModuleSelect = { sessionsTable?: boolean; sessionCredentialsTable?: boolean; authSettingsTable?: boolean; + sessionsTableTrgmSimilarity?: boolean; + sessionCredentialsTableTrgmSimilarity?: boolean; + authSettingsTableTrgmSimilarity?: boolean; + searchScore?: boolean; authSettingsTableByAuthSettingsTableId?: { select: TableSelect; }; @@ -4420,6 +5165,23 @@ export type UserAuthModuleSelect = { signInOneTimeTokenFunction?: boolean; oneTimeTokenFunction?: boolean; extendTokenExpires?: boolean; + auditsTableNameTrgmSimilarity?: boolean; + signInFunctionTrgmSimilarity?: boolean; + signUpFunctionTrgmSimilarity?: boolean; + signOutFunctionTrgmSimilarity?: boolean; + setPasswordFunctionTrgmSimilarity?: boolean; + resetPasswordFunctionTrgmSimilarity?: boolean; + forgotPasswordFunctionTrgmSimilarity?: boolean; + sendVerificationEmailFunctionTrgmSimilarity?: boolean; + verifyEmailFunctionTrgmSimilarity?: boolean; + verifyPasswordFunctionTrgmSimilarity?: boolean; + checkPasswordFunctionTrgmSimilarity?: boolean; + sendAccountDeletionEmailFunctionTrgmSimilarity?: boolean; + deleteAccountFunctionTrgmSimilarity?: boolean; + signInOneTimeTokenFunctionTrgmSimilarity?: boolean; + oneTimeTokenFunctionTrgmSimilarity?: boolean; + extendTokenExpiresTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4453,6 +5215,9 @@ export type UsersModuleSelect = { tableName?: boolean; typeTableId?: boolean; typeTableName?: boolean; + tableNameTrgmSimilarity?: boolean; + typeTableNameTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4472,6 +5237,9 @@ export type UuidModuleSelect = { schemaId?: boolean; uuidFunction?: boolean; uuidSeed?: boolean; + uuidFunctionTrgmSimilarity?: boolean; + uuidSeedTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4494,6 +5262,12 @@ export type DatabaseProvisionModuleSelect = { createdAt?: boolean; updatedAt?: boolean; completedAt?: boolean; + databaseNameTrgmSimilarity?: boolean; + subdomainTrgmSimilarity?: boolean; + domainTrgmSimilarity?: boolean; + statusTrgmSimilarity?: boolean; + errorMessageTrgmSimilarity?: boolean; + searchScore?: boolean; database?: { select: DatabaseSelect; }; @@ -4641,6 +5415,8 @@ export type OrgChartEdgeSelect = { parentId?: boolean; positionTitle?: boolean; positionLevel?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; child?: { select: UserSelect; }; @@ -4661,6 +5437,8 @@ export type OrgChartEdgeGrantSelect = { positionTitle?: boolean; positionLevel?: boolean; createdAt?: boolean; + positionTitleTrgmSimilarity?: boolean; + searchScore?: boolean; child?: { select: UserSelect; }; @@ -4733,6 +5511,8 @@ export type InviteSelect = { expiresAt?: boolean; createdAt?: boolean; updatedAt?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; sender?: { select: UserSelect; }; @@ -4766,6 +5546,8 @@ export type OrgInviteSelect = { createdAt?: boolean; updatedAt?: boolean; entityId?: boolean; + inviteTokenTrgmSimilarity?: boolean; + searchScore?: boolean; entity?: { select: UserSelect; }; @@ -4800,6 +5582,8 @@ export type RefSelect = { databaseId?: boolean; storeId?: boolean; commitId?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type StoreSelect = { id?: boolean; @@ -4807,11 +5591,27 @@ export type StoreSelect = { databaseId?: boolean; hash?: boolean; createdAt?: boolean; + nameTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppPermissionDefaultSelect = { id?: boolean; permissions?: boolean; }; +export type CryptoAddressSelect = { + id?: boolean; + ownerId?: boolean; + address?: boolean; + isVerified?: boolean; + isPrimary?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + addressTrgmSimilarity?: boolean; + searchScore?: boolean; + owner?: { + select: UserSelect; + }; +}; export type RoleTypeSelect = { id?: boolean; name?: boolean; @@ -4824,14 +5624,18 @@ export type OrgPermissionDefaultSelect = { select: UserSelect; }; }; -export type CryptoAddressSelect = { +export type PhoneNumberSelect = { id?: boolean; ownerId?: boolean; - address?: boolean; + cc?: boolean; + number?: boolean; isVerified?: boolean; isPrimary?: boolean; createdAt?: boolean; updatedAt?: boolean; + ccTrgmSimilarity?: boolean; + numberTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -4855,29 +5659,13 @@ export type ConnectedAccountSelect = { isVerified?: boolean; createdAt?: boolean; updatedAt?: boolean; + serviceTrgmSimilarity?: boolean; + identifierTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; }; -export type PhoneNumberSelect = { - id?: boolean; - ownerId?: boolean; - cc?: boolean; - number?: boolean; - isVerified?: boolean; - isPrimary?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - owner?: { - select: UserSelect; - }; -}; -export type MembershipTypeSelect = { - id?: boolean; - name?: boolean; - description?: boolean; - prefix?: boolean; -}; export type NodeTypeRegistrySelect = { name?: boolean; slug?: boolean; @@ -4888,6 +5676,21 @@ export type NodeTypeRegistrySelect = { tags?: boolean; createdAt?: boolean; updatedAt?: boolean; + nameTrgmSimilarity?: boolean; + slugTrgmSimilarity?: boolean; + categoryTrgmSimilarity?: boolean; + displayNameTrgmSimilarity?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type MembershipTypeSelect = { + id?: boolean; + name?: boolean; + description?: boolean; + prefix?: boolean; + descriptionTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type AppMembershipDefaultSelect = { id?: boolean; @@ -4898,6 +5701,42 @@ export type AppMembershipDefaultSelect = { isApproved?: boolean; isVerified?: boolean; }; +export type RlsModuleSelect = { + id?: boolean; + databaseId?: boolean; + schemaId?: boolean; + privateSchemaId?: boolean; + sessionCredentialsTableId?: boolean; + sessionsTableId?: boolean; + usersTableId?: boolean; + authenticate?: boolean; + authenticateStrict?: boolean; + currentRole?: boolean; + currentRoleId?: boolean; + authenticateTrgmSimilarity?: boolean; + authenticateStrictTrgmSimilarity?: boolean; + currentRoleTrgmSimilarity?: boolean; + currentRoleIdTrgmSimilarity?: boolean; + searchScore?: boolean; + database?: { + select: DatabaseSelect; + }; + privateSchema?: { + select: SchemaSelect; + }; + schema?: { + select: SchemaSelect; + }; + sessionCredentialsTable?: { + select: TableSelect; + }; + sessionsTable?: { + select: TableSelect; + }; + usersTable?: { + select: TableSelect; + }; +}; export type CommitSelect = { id?: boolean; message?: boolean; @@ -4908,6 +5747,8 @@ export type CommitSelect = { committerId?: boolean; treeId?: boolean; date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; }; export type OrgMembershipDefaultSelect = { id?: boolean; @@ -4932,6 +5773,8 @@ export type AuditLogSelect = { ipAddress?: boolean; success?: boolean; createdAt?: boolean; + userAgentTrgmSimilarity?: boolean; + searchScore?: boolean; actor?: { select: UserSelect; }; @@ -4944,18 +5787,8 @@ export type AppLevelSelect = { ownerId?: boolean; createdAt?: boolean; updatedAt?: boolean; - owner?: { - select: UserSelect; - }; -}; -export type EmailSelect = { - id?: boolean; - ownerId?: boolean; - email?: boolean; - isVerified?: boolean; - isPrimary?: boolean; - createdAt?: boolean; - updatedAt?: boolean; + descriptionTrgmSimilarity?: boolean; + searchScore?: boolean; owner?: { select: UserSelect; }; @@ -4974,6 +5807,25 @@ export type SqlMigrationSelect = { action?: boolean; actionId?: boolean; actorId?: boolean; + nameTrgmSimilarity?: boolean; + deployTrgmSimilarity?: boolean; + contentTrgmSimilarity?: boolean; + revertTrgmSimilarity?: boolean; + verifyTrgmSimilarity?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type EmailSelect = { + id?: boolean; + ownerId?: boolean; + email?: boolean; + isVerified?: boolean; + isPrimary?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + owner?: { + select: UserSelect; + }; }; export type AstMigrationSelect = { id?: boolean; @@ -4989,6 +5841,29 @@ export type AstMigrationSelect = { action?: boolean; actionId?: boolean; actorId?: boolean; + actionTrgmSimilarity?: boolean; + searchScore?: boolean; +}; +export type AppMembershipSelect = { + id?: boolean; + createdAt?: boolean; + updatedAt?: boolean; + createdBy?: boolean; + updatedBy?: boolean; + isApproved?: boolean; + isBanned?: boolean; + isDisabled?: boolean; + isVerified?: boolean; + isActive?: boolean; + isOwner?: boolean; + isAdmin?: boolean; + permissions?: boolean; + granted?: boolean; + actorId?: boolean; + profileId?: boolean; + actor?: { + select: UserSelect; + }; }; export type UserSelect = { id?: boolean; @@ -5000,6 +5875,8 @@ export type UserSelect = { createdAt?: boolean; updatedAt?: boolean; searchTsvRank?: boolean; + displayNameTrgmSimilarity?: boolean; + searchScore?: boolean; roleType?: { select: RoleTypeSelect; }; @@ -5208,27 +6085,6 @@ export type UserSelect = { orderBy?: OrgClaimedInviteOrderBy[]; }; }; -export type AppMembershipSelect = { - id?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - createdBy?: boolean; - updatedBy?: boolean; - isApproved?: boolean; - isBanned?: boolean; - isDisabled?: boolean; - isVerified?: boolean; - isActive?: boolean; - isOwner?: boolean; - isAdmin?: boolean; - permissions?: boolean; - granted?: boolean; - actorId?: boolean; - profileId?: boolean; - actor?: { - select: UserSelect; - }; -}; export type HierarchyModuleSelect = { id?: boolean; databaseId?: boolean; @@ -5250,6 +6106,17 @@ export type HierarchyModuleSelect = { getManagersFunction?: boolean; isManagerOfFunction?: boolean; createdAt?: boolean; + chartEdgesTableNameTrgmSimilarity?: boolean; + hierarchySprtTableNameTrgmSimilarity?: boolean; + chartEdgeGrantsTableNameTrgmSimilarity?: boolean; + prefixTrgmSimilarity?: boolean; + privateSchemaNameTrgmSimilarity?: boolean; + sprtTableNameTrgmSimilarity?: boolean; + rebuildHierarchyFunctionTrgmSimilarity?: boolean; + getSubordinatesFunctionTrgmSimilarity?: boolean; + getManagersFunctionTrgmSimilarity?: boolean; + isManagerOfFunctionTrgmSimilarity?: boolean; + searchScore?: boolean; chartEdgeGrantsTable?: { select: TableSelect; }; @@ -5303,6 +6170,8 @@ export interface AppPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppPermissionFilter[]; or?: AppPermissionFilter[]; not?: AppPermissionFilter; @@ -5313,6 +6182,8 @@ export interface OrgPermissionFilter { bitnum?: IntFilter; bitstr?: BitStringFilter; description?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgPermissionFilter[]; or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; @@ -5339,6 +6210,8 @@ export interface AppLevelRequirementFilter { priority?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelRequirementFilter[]; or?: AppLevelRequirementFilter[]; not?: AppLevelRequirementFilter; @@ -5352,6 +6225,10 @@ export interface DatabaseFilter { hash?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + schemaHashTrgmSimilarity?: FloatFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DatabaseFilter[]; or?: DatabaseFilter[]; not?: DatabaseFilter; @@ -5371,6 +6248,12 @@ export interface SchemaFilter { isPublic?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + schemaNameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SchemaFilter[]; or?: SchemaFilter[]; not?: SchemaFilter; @@ -5395,6 +6278,13 @@ export interface TableFilter { inheritsId?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + pluralNameTrgmSimilarity?: FloatFilter; + singularNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableFilter[]; or?: TableFilter[]; not?: TableFilter; @@ -5414,6 +6304,10 @@ export interface CheckConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CheckConstraintFilter[]; or?: CheckConstraintFilter[]; not?: CheckConstraintFilter; @@ -5443,6 +6337,13 @@ export interface FieldFilter { scope?: IntFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + labelTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + defaultValueTrgmSimilarity?: FloatFilter; + regexpTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: FieldFilter[]; or?: FieldFilter[]; not?: FieldFilter; @@ -5466,6 +6367,13 @@ export interface ForeignKeyConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + deleteActionTrgmSimilarity?: FloatFilter; + updateActionTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ForeignKeyConstraintFilter[]; or?: ForeignKeyConstraintFilter[]; not?: ForeignKeyConstraintFilter; @@ -5495,6 +6403,8 @@ export interface IndexFilter { indexParams?: JSONFilter; whereClause?: JSONFilter; isUnique?: BooleanFilter; + options?: JSONFilter; + opClasses?: StringFilter; smartTags?: JSONFilter; category?: StringFilter; module?: StringFilter; @@ -5502,6 +6412,10 @@ export interface IndexFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + accessMethodTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: IndexFilter[]; or?: IndexFilter[]; not?: IndexFilter; @@ -5524,6 +6438,12 @@ export interface PolicyFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PolicyFilter[]; or?: PolicyFilter[]; not?: PolicyFilter; @@ -5542,6 +6462,10 @@ export interface PrimaryKeyConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PrimaryKeyConstraintFilter[]; or?: PrimaryKeyConstraintFilter[]; not?: PrimaryKeyConstraintFilter; @@ -5556,6 +6480,9 @@ export interface TableGrantFilter { isGrant?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + privilegeTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableGrantFilter[]; or?: TableGrantFilter[]; not?: TableGrantFilter; @@ -5574,6 +6501,11 @@ export interface TriggerFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + eventTrgmSimilarity?: FloatFilter; + functionNameTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TriggerFilter[]; or?: TriggerFilter[]; not?: TriggerFilter; @@ -5593,6 +6525,11 @@ export interface UniqueConstraintFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + typeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UniqueConstraintFilter[]; or?: UniqueConstraintFilter[]; not?: UniqueConstraintFilter; @@ -5614,6 +6551,11 @@ export interface ViewFilter { module?: StringFilter; scope?: IntFilter; tags?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + viewTypeTrgmSimilarity?: FloatFilter; + filterTypeTrgmSimilarity?: FloatFilter; + moduleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewFilter[]; or?: ViewFilter[]; not?: ViewFilter; @@ -5635,6 +6577,9 @@ export interface ViewGrantFilter { privilege?: StringFilter; withGrantOption?: BooleanFilter; isGrant?: BooleanFilter; + granteeNameTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewGrantFilter[]; or?: ViewGrantFilter[]; not?: ViewGrantFilter; @@ -5646,24 +6591,14 @@ export interface ViewRuleFilter { name?: StringFilter; event?: StringFilter; action?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + eventTrgmSimilarity?: FloatFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ViewRuleFilter[]; or?: ViewRuleFilter[]; not?: ViewRuleFilter; } -export interface TableModuleFilter { - id?: UUIDFilter; - databaseId?: UUIDFilter; - schemaId?: UUIDFilter; - tableId?: UUIDFilter; - tableName?: StringFilter; - nodeType?: StringFilter; - useRls?: BooleanFilter; - data?: JSONFilter; - fields?: UUIDFilter; - and?: TableModuleFilter[]; - or?: TableModuleFilter[]; - not?: TableModuleFilter; -} export interface TableTemplateModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; @@ -5674,6 +6609,9 @@ export interface TableTemplateModuleFilter { tableName?: StringFilter; nodeType?: StringFilter; data?: JSONFilter; + tableNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TableTemplateModuleFilter[]; or?: TableTemplateModuleFilter[]; not?: TableTemplateModuleFilter; @@ -5687,6 +6625,7 @@ export interface SecureTableProvisionFilter { nodeType?: StringFilter; useRls?: BooleanFilter; nodeData?: JSONFilter; + fields?: JSONFilter; grantRoles?: StringFilter; grantPrivileges?: JSONFilter; policyType?: StringFilter; @@ -5696,6 +6635,12 @@ export interface SecureTableProvisionFilter { policyName?: StringFilter; policyData?: JSONFilter; outFields?: UUIDFilter; + tableNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + policyRoleTrgmSimilarity?: FloatFilter; + policyNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SecureTableProvisionFilter[]; or?: SecureTableProvisionFilter[]; not?: SecureTableProvisionFilter; @@ -5729,6 +6674,17 @@ export interface RelationProvisionFilter { outJunctionTableId?: UUIDFilter; outSourceFieldId?: UUIDFilter; outTargetFieldId?: UUIDFilter; + relationTypeTrgmSimilarity?: FloatFilter; + fieldNameTrgmSimilarity?: FloatFilter; + deleteActionTrgmSimilarity?: FloatFilter; + junctionTableNameTrgmSimilarity?: FloatFilter; + sourceFieldNameTrgmSimilarity?: FloatFilter; + targetFieldNameTrgmSimilarity?: FloatFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + policyTypeTrgmSimilarity?: FloatFilter; + policyRoleTrgmSimilarity?: FloatFilter; + policyNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RelationProvisionFilter[]; or?: RelationProvisionFilter[]; not?: RelationProvisionFilter; @@ -5740,6 +6696,8 @@ export interface SchemaGrantFilter { granteeName?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SchemaGrantFilter[]; or?: SchemaGrantFilter[]; not?: SchemaGrantFilter; @@ -5752,6 +6710,10 @@ export interface DefaultPrivilegeFilter { privilege?: StringFilter; granteeName?: StringFilter; isGrant?: BooleanFilter; + objectTypeTrgmSimilarity?: FloatFilter; + privilegeTrgmSimilarity?: FloatFilter; + granteeNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DefaultPrivilegeFilter[]; or?: DefaultPrivilegeFilter[]; not?: DefaultPrivilegeFilter; @@ -5771,6 +6733,8 @@ export interface ApiModuleFilter { apiId?: UUIDFilter; name?: StringFilter; data?: JSONFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ApiModuleFilter[]; or?: ApiModuleFilter[]; not?: ApiModuleFilter; @@ -5793,6 +6757,9 @@ export interface SiteMetadatumFilter { title?: StringFilter; description?: StringFilter; ogImage?: StringFilter; + titleTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteMetadatumFilter[]; or?: SiteMetadatumFilter[]; not?: SiteMetadatumFilter; @@ -5803,6 +6770,8 @@ export interface SiteModuleFilter { siteId?: UUIDFilter; name?: StringFilter; data?: JSONFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteModuleFilter[]; or?: SiteModuleFilter[]; not?: SiteModuleFilter; @@ -5823,6 +6792,9 @@ export interface TriggerFunctionFilter { code?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + codeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: TriggerFunctionFilter[]; or?: TriggerFunctionFilter[]; not?: TriggerFunctionFilter; @@ -5835,6 +6807,11 @@ export interface ApiFilter { roleName?: StringFilter; anonRole?: StringFilter; isPublic?: BooleanFilter; + nameTrgmSimilarity?: FloatFilter; + dbnameTrgmSimilarity?: FloatFilter; + roleNameTrgmSimilarity?: FloatFilter; + anonRoleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ApiFilter[]; or?: ApiFilter[]; not?: ApiFilter; @@ -5849,6 +6826,10 @@ export interface SiteFilter { appleTouchIcon?: StringFilter; logo?: StringFilter; dbname?: StringFilter; + titleTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + dbnameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SiteFilter[]; or?: SiteFilter[]; not?: SiteFilter; @@ -5863,6 +6844,10 @@ export interface AppFilter { appStoreId?: StringFilter; appIdPrefix?: StringFilter; playStoreLink?: StringFilter; + nameTrgmSimilarity?: FloatFilter; + appStoreIdTrgmSimilarity?: FloatFilter; + appIdPrefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppFilter[]; or?: AppFilter[]; not?: AppFilter; @@ -5875,6 +6860,8 @@ export interface ConnectedAccountsModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountsModuleFilter[]; or?: ConnectedAccountsModuleFilter[]; not?: ConnectedAccountsModuleFilter; @@ -5888,6 +6875,9 @@ export interface CryptoAddressesModuleFilter { ownerTableId?: UUIDFilter; tableName?: StringFilter; cryptoNetwork?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + cryptoNetworkTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAddressesModuleFilter[]; or?: CryptoAddressesModuleFilter[]; not?: CryptoAddressesModuleFilter; @@ -5907,6 +6897,13 @@ export interface CryptoAuthModuleFilter { signInRecordFailure?: StringFilter; signUpWithKey?: StringFilter; signInWithChallenge?: StringFilter; + userFieldTrgmSimilarity?: FloatFilter; + cryptoNetworkTrgmSimilarity?: FloatFilter; + signInRequestChallengeTrgmSimilarity?: FloatFilter; + signInRecordFailureTrgmSimilarity?: FloatFilter; + signUpWithKeyTrgmSimilarity?: FloatFilter; + signInWithChallengeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: CryptoAuthModuleFilter[]; or?: CryptoAuthModuleFilter[]; not?: CryptoAuthModuleFilter; @@ -5931,6 +6928,8 @@ export interface DenormalizedTableFieldFilter { updateDefaults?: BooleanFilter; funcName?: StringFilter; funcOrder?: IntFilter; + funcNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DenormalizedTableFieldFilter[]; or?: DenormalizedTableFieldFilter[]; not?: DenormalizedTableFieldFilter; @@ -5943,6 +6942,8 @@ export interface EmailsModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: EmailsModuleFilter[]; or?: EmailsModuleFilter[]; not?: EmailsModuleFilter; @@ -5953,6 +6954,8 @@ export interface EncryptedSecretsModuleFilter { schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: EncryptedSecretsModuleFilter[]; or?: EncryptedSecretsModuleFilter[]; not?: EncryptedSecretsModuleFilter; @@ -5967,6 +6970,8 @@ export interface FieldModuleFilter { data?: JSONFilter; triggers?: StringFilter; functions?: StringFilter; + nodeTypeTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: FieldModuleFilter[]; or?: FieldModuleFilter[]; not?: FieldModuleFilter; @@ -5986,6 +6991,11 @@ export interface InvitesModuleFilter { prefix?: StringFilter; membershipType?: IntFilter; entityTableId?: UUIDFilter; + invitesTableNameTrgmSimilarity?: FloatFilter; + claimedInvitesTableNameTrgmSimilarity?: FloatFilter; + submitInviteCodeFunctionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: InvitesModuleFilter[]; or?: InvitesModuleFilter[]; not?: InvitesModuleFilter; @@ -6017,6 +7027,22 @@ export interface LevelsModuleFilter { membershipType?: IntFilter; entityTableId?: UUIDFilter; actorTableId?: UUIDFilter; + stepsTableNameTrgmSimilarity?: FloatFilter; + achievementsTableNameTrgmSimilarity?: FloatFilter; + levelsTableNameTrgmSimilarity?: FloatFilter; + levelRequirementsTableNameTrgmSimilarity?: FloatFilter; + completedStepTrgmSimilarity?: FloatFilter; + incompletedStepTrgmSimilarity?: FloatFilter; + tgAchievementTrgmSimilarity?: FloatFilter; + tgAchievementToggleTrgmSimilarity?: FloatFilter; + tgAchievementToggleBooleanTrgmSimilarity?: FloatFilter; + tgAchievementBooleanTrgmSimilarity?: FloatFilter; + upsertAchievementTrgmSimilarity?: FloatFilter; + tgUpdateAchievementsTrgmSimilarity?: FloatFilter; + stepsRequiredTrgmSimilarity?: FloatFilter; + levelAchievedTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: LevelsModuleFilter[]; or?: LevelsModuleFilter[]; not?: LevelsModuleFilter; @@ -6040,6 +7066,16 @@ export interface LimitsModuleFilter { membershipType?: IntFilter; entityTableId?: UUIDFilter; actorTableId?: UUIDFilter; + tableNameTrgmSimilarity?: FloatFilter; + defaultTableNameTrgmSimilarity?: FloatFilter; + limitIncrementFunctionTrgmSimilarity?: FloatFilter; + limitDecrementFunctionTrgmSimilarity?: FloatFilter; + limitIncrementTriggerTrgmSimilarity?: FloatFilter; + limitDecrementTriggerTrgmSimilarity?: FloatFilter; + limitUpdateTriggerTrgmSimilarity?: FloatFilter; + limitCheckFunctionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: LimitsModuleFilter[]; or?: LimitsModuleFilter[]; not?: LimitsModuleFilter; @@ -6050,6 +7086,8 @@ export interface MembershipTypesModuleFilter { schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: MembershipTypesModuleFilter[]; or?: MembershipTypesModuleFilter[]; not?: MembershipTypesModuleFilter; @@ -6086,6 +7124,19 @@ export interface MembershipsModuleFilter { entityIdsByMask?: StringFilter; entityIdsByPerm?: StringFilter; entityIdsFunction?: StringFilter; + membershipsTableNameTrgmSimilarity?: FloatFilter; + membersTableNameTrgmSimilarity?: FloatFilter; + membershipDefaultsTableNameTrgmSimilarity?: FloatFilter; + grantsTableNameTrgmSimilarity?: FloatFilter; + adminGrantsTableNameTrgmSimilarity?: FloatFilter; + ownerGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + actorMaskCheckTrgmSimilarity?: FloatFilter; + actorPermCheckTrgmSimilarity?: FloatFilter; + entityIdsByMaskTrgmSimilarity?: FloatFilter; + entityIdsByPermTrgmSimilarity?: FloatFilter; + entityIdsFunctionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: MembershipsModuleFilter[]; or?: MembershipsModuleFilter[]; not?: MembershipsModuleFilter; @@ -6108,6 +7159,14 @@ export interface PermissionsModuleFilter { getMask?: StringFilter; getByMask?: StringFilter; getMaskByName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + defaultTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + getPaddedMaskTrgmSimilarity?: FloatFilter; + getMaskTrgmSimilarity?: FloatFilter; + getByMaskTrgmSimilarity?: FloatFilter; + getMaskByNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PermissionsModuleFilter[]; or?: PermissionsModuleFilter[]; not?: PermissionsModuleFilter; @@ -6120,6 +7179,8 @@ export interface PhoneNumbersModuleFilter { tableId?: UUIDFilter; ownerTableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: PhoneNumbersModuleFilter[]; or?: PhoneNumbersModuleFilter[]; not?: PhoneNumbersModuleFilter; @@ -6143,33 +7204,24 @@ export interface ProfilesModuleFilter { permissionsTableId?: UUIDFilter; membershipsTableId?: UUIDFilter; prefix?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + profilePermissionsTableNameTrgmSimilarity?: FloatFilter; + profileGrantsTableNameTrgmSimilarity?: FloatFilter; + profileDefinitionGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ProfilesModuleFilter[]; or?: ProfilesModuleFilter[]; not?: ProfilesModuleFilter; } -export interface RlsModuleFilter { - id?: UUIDFilter; - databaseId?: UUIDFilter; - apiId?: UUIDFilter; - schemaId?: UUIDFilter; - privateSchemaId?: UUIDFilter; - sessionCredentialsTableId?: UUIDFilter; - sessionsTableId?: UUIDFilter; - usersTableId?: UUIDFilter; - authenticate?: StringFilter; - authenticateStrict?: StringFilter; - currentRole?: StringFilter; - currentRoleId?: StringFilter; - and?: RlsModuleFilter[]; - or?: RlsModuleFilter[]; - not?: RlsModuleFilter; -} export interface SecretsModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; schemaId?: UUIDFilter; tableId?: UUIDFilter; tableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SecretsModuleFilter[]; or?: SecretsModuleFilter[]; not?: SecretsModuleFilter; @@ -6186,6 +7238,10 @@ export interface SessionsModuleFilter { sessionsTable?: StringFilter; sessionCredentialsTable?: StringFilter; authSettingsTable?: StringFilter; + sessionsTableTrgmSimilarity?: FloatFilter; + sessionCredentialsTableTrgmSimilarity?: FloatFilter; + authSettingsTableTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SessionsModuleFilter[]; or?: SessionsModuleFilter[]; not?: SessionsModuleFilter; @@ -6217,6 +7273,23 @@ export interface UserAuthModuleFilter { signInOneTimeTokenFunction?: StringFilter; oneTimeTokenFunction?: StringFilter; extendTokenExpires?: StringFilter; + auditsTableNameTrgmSimilarity?: FloatFilter; + signInFunctionTrgmSimilarity?: FloatFilter; + signUpFunctionTrgmSimilarity?: FloatFilter; + signOutFunctionTrgmSimilarity?: FloatFilter; + setPasswordFunctionTrgmSimilarity?: FloatFilter; + resetPasswordFunctionTrgmSimilarity?: FloatFilter; + forgotPasswordFunctionTrgmSimilarity?: FloatFilter; + sendVerificationEmailFunctionTrgmSimilarity?: FloatFilter; + verifyEmailFunctionTrgmSimilarity?: FloatFilter; + verifyPasswordFunctionTrgmSimilarity?: FloatFilter; + checkPasswordFunctionTrgmSimilarity?: FloatFilter; + sendAccountDeletionEmailFunctionTrgmSimilarity?: FloatFilter; + deleteAccountFunctionTrgmSimilarity?: FloatFilter; + signInOneTimeTokenFunctionTrgmSimilarity?: FloatFilter; + oneTimeTokenFunctionTrgmSimilarity?: FloatFilter; + extendTokenExpiresTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UserAuthModuleFilter[]; or?: UserAuthModuleFilter[]; not?: UserAuthModuleFilter; @@ -6229,6 +7302,9 @@ export interface UsersModuleFilter { tableName?: StringFilter; typeTableId?: UUIDFilter; typeTableName?: StringFilter; + tableNameTrgmSimilarity?: FloatFilter; + typeTableNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UsersModuleFilter[]; or?: UsersModuleFilter[]; not?: UsersModuleFilter; @@ -6239,6 +7315,9 @@ export interface UuidModuleFilter { schemaId?: UUIDFilter; uuidFunction?: StringFilter; uuidSeed?: StringFilter; + uuidFunctionTrgmSimilarity?: FloatFilter; + uuidSeedTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: UuidModuleFilter[]; or?: UuidModuleFilter[]; not?: UuidModuleFilter; @@ -6258,6 +7337,12 @@ export interface DatabaseProvisionModuleFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; completedAt?: DatetimeFilter; + databaseNameTrgmSimilarity?: FloatFilter; + subdomainTrgmSimilarity?: FloatFilter; + domainTrgmSimilarity?: FloatFilter; + statusTrgmSimilarity?: FloatFilter; + errorMessageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: DatabaseProvisionModuleFilter[]; or?: DatabaseProvisionModuleFilter[]; not?: DatabaseProvisionModuleFilter; @@ -6372,6 +7457,8 @@ export interface OrgChartEdgeFilter { parentId?: UUIDFilter; positionTitle?: StringFilter; positionLevel?: IntFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeFilter[]; or?: OrgChartEdgeFilter[]; not?: OrgChartEdgeFilter; @@ -6386,6 +7473,8 @@ export interface OrgChartEdgeGrantFilter { positionTitle?: StringFilter; positionLevel?: IntFilter; createdAt?: DatetimeFilter; + positionTitleTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgChartEdgeGrantFilter[]; or?: OrgChartEdgeGrantFilter[]; not?: OrgChartEdgeGrantFilter; @@ -6446,6 +7535,8 @@ export interface InviteFilter { expiresAt?: DatetimeFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: InviteFilter[]; or?: InviteFilter[]; not?: InviteFilter; @@ -6476,6 +7567,8 @@ export interface OrgInviteFilter { createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; entityId?: UUIDFilter; + inviteTokenTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: OrgInviteFilter[]; or?: OrgInviteFilter[]; not?: OrgInviteFilter; @@ -6498,6 +7591,8 @@ export interface RefFilter { databaseId?: UUIDFilter; storeId?: UUIDFilter; commitId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: RefFilter[]; or?: RefFilter[]; not?: RefFilter; @@ -6508,6 +7603,8 @@ export interface StoreFilter { databaseId?: UUIDFilter; hash?: UUIDFilter; createdAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: StoreFilter[]; or?: StoreFilter[]; not?: StoreFilter; @@ -6519,6 +7616,20 @@ export interface AppPermissionDefaultFilter { or?: AppPermissionDefaultFilter[]; not?: AppPermissionDefaultFilter; } +export interface CryptoAddressFilter { + id?: UUIDFilter; + ownerId?: UUIDFilter; + address?: StringFilter; + isVerified?: BooleanFilter; + isPrimary?: BooleanFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + addressTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: CryptoAddressFilter[]; + or?: CryptoAddressFilter[]; + not?: CryptoAddressFilter; +} export interface RoleTypeFilter { id?: IntFilter; name?: StringFilter; @@ -6534,17 +7645,21 @@ export interface OrgPermissionDefaultFilter { or?: OrgPermissionDefaultFilter[]; not?: OrgPermissionDefaultFilter; } -export interface CryptoAddressFilter { +export interface PhoneNumberFilter { id?: UUIDFilter; ownerId?: UUIDFilter; - address?: StringFilter; + cc?: StringFilter; + number?: StringFilter; isVerified?: BooleanFilter; isPrimary?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; - and?: CryptoAddressFilter[]; - or?: CryptoAddressFilter[]; - not?: CryptoAddressFilter; + ccTrgmSimilarity?: FloatFilter; + numberTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: PhoneNumberFilter[]; + or?: PhoneNumberFilter[]; + not?: PhoneNumberFilter; } export interface AppLimitDefaultFilter { id?: UUIDFilter; @@ -6571,32 +7686,13 @@ export interface ConnectedAccountFilter { isVerified?: BooleanFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + serviceTrgmSimilarity?: FloatFilter; + identifierTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: ConnectedAccountFilter[]; or?: ConnectedAccountFilter[]; not?: ConnectedAccountFilter; } -export interface PhoneNumberFilter { - id?: UUIDFilter; - ownerId?: UUIDFilter; - cc?: StringFilter; - number?: StringFilter; - isVerified?: BooleanFilter; - isPrimary?: BooleanFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: PhoneNumberFilter[]; - or?: PhoneNumberFilter[]; - not?: PhoneNumberFilter; -} -export interface MembershipTypeFilter { - id?: IntFilter; - name?: StringFilter; - description?: StringFilter; - prefix?: StringFilter; - and?: MembershipTypeFilter[]; - or?: MembershipTypeFilter[]; - not?: MembershipTypeFilter; -} export interface NodeTypeRegistryFilter { name?: StringFilter; slug?: StringFilter; @@ -6607,10 +7703,28 @@ export interface NodeTypeRegistryFilter { tags?: StringFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + nameTrgmSimilarity?: FloatFilter; + slugTrgmSimilarity?: FloatFilter; + categoryTrgmSimilarity?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: NodeTypeRegistryFilter[]; or?: NodeTypeRegistryFilter[]; not?: NodeTypeRegistryFilter; } +export interface MembershipTypeFilter { + id?: IntFilter; + name?: StringFilter; + description?: StringFilter; + prefix?: StringFilter; + descriptionTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: MembershipTypeFilter[]; + or?: MembershipTypeFilter[]; + not?: MembershipTypeFilter; +} export interface AppMembershipDefaultFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -6623,22 +7737,45 @@ export interface AppMembershipDefaultFilter { or?: AppMembershipDefaultFilter[]; not?: AppMembershipDefaultFilter; } -export interface CommitFilter { +export interface RlsModuleFilter { id?: UUIDFilter; - message?: StringFilter; databaseId?: UUIDFilter; - storeId?: UUIDFilter; - parentIds?: UUIDFilter; - authorId?: UUIDFilter; - committerId?: UUIDFilter; - treeId?: UUIDFilter; - date?: DatetimeFilter; - and?: CommitFilter[]; - or?: CommitFilter[]; - not?: CommitFilter; -} -export interface OrgMembershipDefaultFilter { - id?: UUIDFilter; + schemaId?: UUIDFilter; + privateSchemaId?: UUIDFilter; + sessionCredentialsTableId?: UUIDFilter; + sessionsTableId?: UUIDFilter; + usersTableId?: UUIDFilter; + authenticate?: StringFilter; + authenticateStrict?: StringFilter; + currentRole?: StringFilter; + currentRoleId?: StringFilter; + authenticateTrgmSimilarity?: FloatFilter; + authenticateStrictTrgmSimilarity?: FloatFilter; + currentRoleTrgmSimilarity?: FloatFilter; + currentRoleIdTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: RlsModuleFilter[]; + or?: RlsModuleFilter[]; + not?: RlsModuleFilter; +} +export interface CommitFilter { + id?: UUIDFilter; + message?: StringFilter; + databaseId?: UUIDFilter; + storeId?: UUIDFilter; + parentIds?: UUIDFilter; + authorId?: UUIDFilter; + committerId?: UUIDFilter; + treeId?: UUIDFilter; + date?: DatetimeFilter; + messageTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: CommitFilter[]; + or?: CommitFilter[]; + not?: CommitFilter; +} +export interface OrgMembershipDefaultFilter { + id?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; createdBy?: UUIDFilter; @@ -6660,6 +7797,8 @@ export interface AuditLogFilter { ipAddress?: InternetAddressFilter; success?: BooleanFilter; createdAt?: DatetimeFilter; + userAgentTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AuditLogFilter[]; or?: AuditLogFilter[]; not?: AuditLogFilter; @@ -6672,22 +7811,12 @@ export interface AppLevelFilter { ownerId?: UUIDFilter; createdAt?: DatetimeFilter; updatedAt?: DatetimeFilter; + descriptionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AppLevelFilter[]; or?: AppLevelFilter[]; not?: AppLevelFilter; } -export interface EmailFilter { - id?: UUIDFilter; - ownerId?: UUIDFilter; - email?: StringFilter; - isVerified?: BooleanFilter; - isPrimary?: BooleanFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - and?: EmailFilter[]; - or?: EmailFilter[]; - not?: EmailFilter; -} export interface SqlMigrationFilter { id?: IntFilter; name?: StringFilter; @@ -6702,10 +7831,29 @@ export interface SqlMigrationFilter { action?: StringFilter; actionId?: UUIDFilter; actorId?: UUIDFilter; + nameTrgmSimilarity?: FloatFilter; + deployTrgmSimilarity?: FloatFilter; + contentTrgmSimilarity?: FloatFilter; + revertTrgmSimilarity?: FloatFilter; + verifyTrgmSimilarity?: FloatFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: SqlMigrationFilter[]; or?: SqlMigrationFilter[]; not?: SqlMigrationFilter; } +export interface EmailFilter { + id?: UUIDFilter; + ownerId?: UUIDFilter; + email?: StringFilter; + isVerified?: BooleanFilter; + isPrimary?: BooleanFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + and?: EmailFilter[]; + or?: EmailFilter[]; + not?: EmailFilter; +} export interface AstMigrationFilter { id?: IntFilter; databaseId?: UUIDFilter; @@ -6720,24 +7868,12 @@ export interface AstMigrationFilter { action?: StringFilter; actionId?: UUIDFilter; actorId?: UUIDFilter; + actionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: AstMigrationFilter[]; or?: AstMigrationFilter[]; not?: AstMigrationFilter; } -export interface UserFilter { - id?: UUIDFilter; - username?: StringFilter; - displayName?: StringFilter; - profilePicture?: StringFilter; - searchTsv?: FullTextFilter; - type?: IntFilter; - createdAt?: DatetimeFilter; - updatedAt?: DatetimeFilter; - searchTsvRank?: FloatFilter; - and?: UserFilter[]; - or?: UserFilter[]; - not?: UserFilter; -} export interface AppMembershipFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -6759,6 +7895,22 @@ export interface AppMembershipFilter { or?: AppMembershipFilter[]; not?: AppMembershipFilter; } +export interface UserFilter { + id?: UUIDFilter; + username?: StringFilter; + displayName?: StringFilter; + profilePicture?: StringFilter; + searchTsv?: FullTextFilter; + type?: IntFilter; + createdAt?: DatetimeFilter; + updatedAt?: DatetimeFilter; + searchTsvRank?: FloatFilter; + displayNameTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; + and?: UserFilter[]; + or?: UserFilter[]; + not?: UserFilter; +} export interface HierarchyModuleFilter { id?: UUIDFilter; databaseId?: UUIDFilter; @@ -6780,6 +7932,17 @@ export interface HierarchyModuleFilter { getManagersFunction?: StringFilter; isManagerOfFunction?: StringFilter; createdAt?: DatetimeFilter; + chartEdgesTableNameTrgmSimilarity?: FloatFilter; + hierarchySprtTableNameTrgmSimilarity?: FloatFilter; + chartEdgeGrantsTableNameTrgmSimilarity?: FloatFilter; + prefixTrgmSimilarity?: FloatFilter; + privateSchemaNameTrgmSimilarity?: FloatFilter; + sprtTableNameTrgmSimilarity?: FloatFilter; + rebuildHierarchyFunctionTrgmSimilarity?: FloatFilter; + getSubordinatesFunctionTrgmSimilarity?: FloatFilter; + getManagersFunctionTrgmSimilarity?: FloatFilter; + isManagerOfFunctionTrgmSimilarity?: FloatFilter; + searchScore?: FloatFilter; and?: HierarchyModuleFilter[]; or?: HierarchyModuleFilter[]; not?: HierarchyModuleFilter; @@ -6822,7 +7985,11 @@ export type AppPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6836,7 +8003,11 @@ export type OrgPermissionOrderBy = | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC'; + | 'DESCRIPTION_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ObjectOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6876,7 +8047,11 @@ export type AppLevelRequirementOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DatabaseOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6896,7 +8071,15 @@ export type DatabaseOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type SchemaOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6928,7 +8111,19 @@ export type SchemaOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TableOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -6970,7 +8165,21 @@ export type TableOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type CheckConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7002,7 +8211,15 @@ export type CheckConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type FieldOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7054,7 +8271,21 @@ export type FieldOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ForeignKeyConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7094,7 +8325,21 @@ export type ForeignKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type FullTextSearchOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7141,6 +8386,10 @@ export type IndexOrderBy = | 'WHERE_CLAUSE_DESC' | 'IS_UNIQUE_ASC' | 'IS_UNIQUE_DESC' + | 'OPTIONS_ASC' + | 'OPTIONS_DESC' + | 'OP_CLASSES_ASC' + | 'OP_CLASSES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' @@ -7154,7 +8403,15 @@ export type IndexOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type PolicyOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7192,7 +8449,19 @@ export type PolicyOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type PrimaryKeyConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7222,7 +8491,15 @@ export type PrimaryKeyConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TableGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7244,7 +8521,13 @@ export type TableGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type TriggerOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7274,7 +8557,17 @@ export type TriggerOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type UniqueConstraintOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7306,7 +8599,17 @@ export type UniqueConstraintOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ViewOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7342,7 +8645,17 @@ export type ViewOrderBy = | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' - | 'TAGS_DESC'; + | 'TAGS_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'; export type ViewTableOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7372,7 +8685,13 @@ export type ViewGrantOrderBy = | 'WITH_GRANT_OPTION_ASC' | 'WITH_GRANT_OPTION_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; export type ViewRuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7388,29 +8707,15 @@ export type ViewRuleOrderBy = | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' - | 'ACTION_DESC'; -export type TableModuleOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'SCHEMA_ID_ASC' - | 'SCHEMA_ID_DESC' - | 'TABLE_ID_ASC' - | 'TABLE_ID_DESC' - | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC' - | 'NODE_TYPE_ASC' - | 'NODE_TYPE_DESC' - | 'USE_RLS_ASC' - | 'USE_RLS_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'FIELDS_ASC' - | 'FIELDS_DESC'; + | 'ACTION_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'; export type TableTemplateModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7432,7 +8737,13 @@ export type TableTemplateModuleOrderBy = | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_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'; export type SecureTableProvisionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7453,6 +8764,8 @@ export type SecureTableProvisionOrderBy = | 'USE_RLS_DESC' | 'NODE_DATA_ASC' | 'NODE_DATA_DESC' + | 'FIELDS_ASC' + | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' @@ -7470,7 +8783,19 @@ export type SecureTableProvisionOrderBy = | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' - | 'OUT_FIELDS_DESC'; + | 'OUT_FIELDS_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'; export type RelationProvisionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7530,7 +8855,29 @@ export type RelationProvisionOrderBy = | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' - | 'OUT_TARGET_FIELD_ID_DESC'; + | 'OUT_TARGET_FIELD_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'; export type SchemaGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7546,7 +8893,11 @@ export type SchemaGrantOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_ASC' + | 'GRANTEE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DefaultPrivilegeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7564,7 +8915,15 @@ export type DefaultPrivilegeOrderBy = | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' - | 'IS_GRANT_DESC'; + | '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'; export type ApiSchemaOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7590,7 +8949,11 @@ export type ApiModuleOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type DomainOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7622,7 +8985,13 @@ export type SiteMetadatumOrderBy = | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OG_IMAGE_ASC' - | 'OG_IMAGE_DESC'; + | 'OG_IMAGE_DESC' + | 'TITLE_TRGM_SIMILARITY_ASC' + | 'TITLE_TRGM_SIMILARITY_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SiteModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7636,7 +9005,11 @@ export type SiteModuleOrderBy = | 'NAME_ASC' | 'NAME_DESC' | 'DATA_ASC' - | 'DATA_DESC'; + | 'DATA_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SiteThemeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7664,7 +9037,13 @@ export type TriggerFunctionOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type ApiOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7682,7 +9061,17 @@ export type ApiOrderBy = | 'ANON_ROLE_ASC' | 'ANON_ROLE_DESC' | 'IS_PUBLIC_ASC' - | 'IS_PUBLIC_DESC'; + | 'IS_PUBLIC_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'; export type SiteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7704,7 +9093,15 @@ export type SiteOrderBy = | 'LOGO_ASC' | 'LOGO_DESC' | 'DBNAME_ASC' - | 'DBNAME_DESC'; + | 'DBNAME_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'; export type AppOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7726,7 +9123,15 @@ export type AppOrderBy = | 'APP_ID_PREFIX_ASC' | 'APP_ID_PREFIX_DESC' | 'PLAY_STORE_LINK_ASC' - | 'PLAY_STORE_LINK_DESC'; + | 'PLAY_STORE_LINK_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'; export type ConnectedAccountsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7744,7 +9149,11 @@ export type ConnectedAccountsModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type CryptoAddressesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7764,7 +9173,13 @@ export type CryptoAddressesModuleOrderBy = | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'CRYPTO_NETWORK_ASC' - | 'CRYPTO_NETWORK_DESC'; + | 'CRYPTO_NETWORK_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'; export type CryptoAuthModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7796,7 +9211,21 @@ export type CryptoAuthModuleOrderBy = | 'SIGN_UP_WITH_KEY_ASC' | 'SIGN_UP_WITH_KEY_DESC' | 'SIGN_IN_WITH_CHALLENGE_ASC' - | 'SIGN_IN_WITH_CHALLENGE_DESC'; + | 'SIGN_IN_WITH_CHALLENGE_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'; export type DefaultIdsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7832,7 +9261,11 @@ export type DenormalizedTableFieldOrderBy = | 'FUNC_NAME_ASC' | 'FUNC_NAME_DESC' | 'FUNC_ORDER_ASC' - | 'FUNC_ORDER_DESC'; + | 'FUNC_ORDER_DESC' + | 'FUNC_NAME_TRGM_SIMILARITY_ASC' + | 'FUNC_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EmailsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7850,7 +9283,11 @@ export type EmailsModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type EncryptedSecretsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7864,7 +9301,11 @@ export type EncryptedSecretsModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type FieldModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7886,7 +9327,11 @@ export type FieldModuleOrderBy = | 'TRIGGERS_ASC' | 'TRIGGERS_DESC' | 'FUNCTIONS_ASC' - | 'FUNCTIONS_DESC'; + | 'FUNCTIONS_DESC' + | 'NODE_TYPE_TRGM_SIMILARITY_ASC' + | 'NODE_TYPE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type InvitesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7918,7 +9363,17 @@ export type InvitesModuleOrderBy = | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' - | 'ENTITY_TABLE_ID_DESC'; + | 'ENTITY_TABLE_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'; export type LevelsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -7974,7 +9429,39 @@ export type LevelsModuleOrderBy = | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' - | 'ACTOR_TABLE_ID_DESC'; + | 'ACTOR_TABLE_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'; export type LimitsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8014,7 +9501,27 @@ export type LimitsModuleOrderBy = | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' - | 'ACTOR_TABLE_ID_DESC'; + | 'ACTOR_TABLE_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'; export type MembershipTypesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8028,7 +9535,11 @@ export type MembershipTypesModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type MembershipsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8094,7 +9605,33 @@ export type MembershipsModuleOrderBy = | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' - | 'ENTITY_IDS_FUNCTION_DESC'; + | 'ENTITY_IDS_FUNCTION_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'; export type PermissionsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8132,7 +9669,23 @@ export type PermissionsModuleOrderBy = | 'GET_BY_MASK_ASC' | 'GET_BY_MASK_DESC' | 'GET_MASK_BY_NAME_ASC' - | 'GET_MASK_BY_NAME_DESC'; + | 'GET_MASK_BY_NAME_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'; export type PhoneNumbersModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8150,7 +9703,11 @@ export type PhoneNumbersModuleOrderBy = | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ProfilesModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8190,35 +9747,19 @@ export type ProfilesModuleOrderBy = | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'PREFIX_ASC' - | 'PREFIX_DESC'; -export type RlsModuleOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'API_ID_ASC' - | 'API_ID_DESC' - | 'SCHEMA_ID_ASC' - | 'SCHEMA_ID_DESC' - | 'PRIVATE_SCHEMA_ID_ASC' - | 'PRIVATE_SCHEMA_ID_DESC' - | 'SESSION_CREDENTIALS_TABLE_ID_ASC' - | 'SESSION_CREDENTIALS_TABLE_ID_DESC' - | 'SESSIONS_TABLE_ID_ASC' - | 'SESSIONS_TABLE_ID_DESC' - | 'USERS_TABLE_ID_ASC' - | 'USERS_TABLE_ID_DESC' - | 'AUTHENTICATE_ASC' - | 'AUTHENTICATE_DESC' - | 'AUTHENTICATE_STRICT_ASC' - | 'AUTHENTICATE_STRICT_DESC' - | 'CURRENT_ROLE_ASC' - | 'CURRENT_ROLE_DESC' - | 'CURRENT_ROLE_ID_ASC' - | 'CURRENT_ROLE_ID_DESC'; + | 'PREFIX_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'; export type SecretsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8232,7 +9773,11 @@ export type SecretsModuleOrderBy = | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' - | 'TABLE_NAME_DESC'; + | 'TABLE_NAME_DESC' + | 'TABLE_NAME_TRGM_SIMILARITY_ASC' + | 'TABLE_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SessionsModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8258,7 +9803,15 @@ export type SessionsModuleOrderBy = | 'SESSION_CREDENTIALS_TABLE_ASC' | 'SESSION_CREDENTIALS_TABLE_DESC' | 'AUTH_SETTINGS_TABLE_ASC' - | 'AUTH_SETTINGS_TABLE_DESC'; + | 'AUTH_SETTINGS_TABLE_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'; export type UserAuthModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8314,7 +9867,41 @@ export type UserAuthModuleOrderBy = | 'ONE_TIME_TOKEN_FUNCTION_ASC' | 'ONE_TIME_TOKEN_FUNCTION_DESC' | 'EXTEND_TOKEN_EXPIRES_ASC' - | 'EXTEND_TOKEN_EXPIRES_DESC'; + | 'EXTEND_TOKEN_EXPIRES_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'; export type UsersModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8332,7 +9919,13 @@ export type UsersModuleOrderBy = | 'TYPE_TABLE_ID_ASC' | 'TYPE_TABLE_ID_DESC' | 'TYPE_TABLE_NAME_ASC' - | 'TYPE_TABLE_NAME_DESC'; + | 'TYPE_TABLE_NAME_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'; export type UuidModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8346,7 +9939,13 @@ export type UuidModuleOrderBy = | 'UUID_FUNCTION_ASC' | 'UUID_FUNCTION_DESC' | 'UUID_SEED_ASC' - | 'UUID_SEED_DESC'; + | 'UUID_SEED_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'; export type DatabaseProvisionModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8378,7 +9977,19 @@ export type DatabaseProvisionModuleOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' - | 'COMPLETED_AT_DESC'; + | 'COMPLETED_AT_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'; export type AppAdminGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8552,7 +10163,11 @@ export type OrgChartEdgeOrderBy = | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' - | 'POSITION_LEVEL_DESC'; + | 'POSITION_LEVEL_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgChartEdgeGrantOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8574,7 +10189,11 @@ export type OrgChartEdgeGrantOrderBy = | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' + | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLimitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8664,7 +10283,11 @@ export type InviteOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type ClaimedInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8712,7 +10335,11 @@ export type OrgInviteOrderBy = | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' - | 'ENTITY_ID_DESC'; + | 'ENTITY_ID_DESC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' + | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgClaimedInviteOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8744,7 +10371,11 @@ export type RefOrderBy = | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' - | 'COMMIT_ID_DESC'; + | 'COMMIT_ID_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type StoreOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8758,7 +10389,11 @@ export type StoreOrderBy = | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'NAME_TRGM_SIMILARITY_ASC' + | 'NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppPermissionDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8767,6 +10402,28 @@ export type AppPermissionDefaultOrderBy = | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC'; +export type CryptoAddressOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'OWNER_ID_ASC' + | 'OWNER_ID_DESC' + | 'ADDRESS_ASC' + | 'ADDRESS_DESC' + | 'IS_VERIFIED_ASC' + | 'IS_VERIFIED_DESC' + | 'IS_PRIMARY_ASC' + | 'IS_PRIMARY_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'; export type RoleTypeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8785,7 +10442,7 @@ export type OrgPermissionDefaultOrderBy = | 'PERMISSIONS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC'; -export type CryptoAddressOrderBy = +export type PhoneNumberOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' @@ -8793,8 +10450,10 @@ export type CryptoAddressOrderBy = | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' - | 'ADDRESS_ASC' - | 'ADDRESS_DESC' + | 'CC_ASC' + | 'CC_DESC' + | 'NUMBER_ASC' + | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' @@ -8802,7 +10461,13 @@ export type CryptoAddressOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | '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'; export type AppLimitDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8842,27 +10507,47 @@ export type ConnectedAccountOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type PhoneNumberOrderBy = + | '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'; +export type NodeTypeRegistryOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'CC_ASC' - | 'CC_DESC' - | 'NUMBER_ASC' - | 'NUMBER_DESC' - | 'IS_VERIFIED_ASC' - | 'IS_VERIFIED_DESC' - | 'IS_PRIMARY_ASC' - | 'IS_PRIMARY_DESC' + | 'NAME_ASC' + | 'NAME_DESC' + | 'SLUG_ASC' + | 'SLUG_DESC' + | 'CATEGORY_ASC' + | 'CATEGORY_DESC' + | 'DISPLAY_NAME_ASC' + | 'DISPLAY_NAME_DESC' + | 'DESCRIPTION_ASC' + | 'DESCRIPTION_DESC' + | 'PARAMETER_SCHEMA_ASC' + | 'PARAMETER_SCHEMA_DESC' + | 'TAGS_ASC' + | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_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'; export type MembershipTypeOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8874,29 +10559,13 @@ export type MembershipTypeOrderBy = | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' - | 'PREFIX_DESC'; -export type NodeTypeRegistryOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'NAME_ASC' - | 'NAME_DESC' - | 'SLUG_ASC' - | 'SLUG_DESC' - | 'CATEGORY_ASC' - | 'CATEGORY_DESC' - | 'DISPLAY_NAME_ASC' - | 'DISPLAY_NAME_DESC' - | 'DESCRIPTION_ASC' - | 'DESCRIPTION_DESC' - | 'PARAMETER_SCHEMA_ASC' - | 'PARAMETER_SCHEMA_DESC' - | 'TAGS_ASC' - | 'TAGS_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'PREFIX_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'PREFIX_TRGM_SIMILARITY_ASC' + | 'PREFIX_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8915,6 +10584,42 @@ export type AppMembershipDefaultOrderBy = | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC'; +export type RlsModuleOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'SCHEMA_ID_ASC' + | 'SCHEMA_ID_DESC' + | 'PRIVATE_SCHEMA_ID_ASC' + | 'PRIVATE_SCHEMA_ID_DESC' + | 'SESSION_CREDENTIALS_TABLE_ID_ASC' + | 'SESSION_CREDENTIALS_TABLE_ID_DESC' + | 'SESSIONS_TABLE_ID_ASC' + | 'SESSIONS_TABLE_ID_DESC' + | 'USERS_TABLE_ID_ASC' + | 'USERS_TABLE_ID_DESC' + | 'AUTHENTICATE_ASC' + | 'AUTHENTICATE_DESC' + | 'AUTHENTICATE_STRICT_ASC' + | 'AUTHENTICATE_STRICT_DESC' + | 'CURRENT_ROLE_ASC' + | 'CURRENT_ROLE_DESC' + | 'CURRENT_ROLE_ID_ASC' + | 'CURRENT_ROLE_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'; export type CommitOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8936,7 +10641,11 @@ export type CommitOrderBy = | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' - | 'DATE_DESC'; + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type OrgMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8978,7 +10687,11 @@ export type AuditLogOrderBy = | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_DESC' + | 'USER_AGENT_TRGM_SIMILARITY_ASC' + | 'USER_AGENT_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppLevelOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8996,25 +10709,11 @@ export type AppLevelOrderBy = | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; -export type EmailOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'OWNER_ID_ASC' - | 'OWNER_ID_DESC' - | 'EMAIL_ASC' - | 'EMAIL_DESC' - | 'IS_VERIFIED_ASC' - | 'IS_VERIFIED_DESC' - | 'IS_PRIMARY_ASC' - | 'IS_PRIMARY_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC'; + | 'UPDATED_AT_DESC' + | 'DESCRIPTION_TRGM_SIMILARITY_ASC' + | 'DESCRIPTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type SqlMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9044,7 +10743,39 @@ export type SqlMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; + | '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'; +export type EmailOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'OWNER_ID_ASC' + | 'OWNER_ID_DESC' + | 'EMAIL_ASC' + | 'EMAIL_DESC' + | 'IS_VERIFIED_ASC' + | 'IS_VERIFIED_DESC' + | 'IS_PRIMARY_ASC' + | 'IS_PRIMARY_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC' + | 'UPDATED_AT_ASC' + | 'UPDATED_AT_DESC'; export type AstMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9074,29 +10805,11 @@ export type AstMigrationOrderBy = | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' - | 'ACTOR_ID_DESC'; -export type UserOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'USERNAME_ASC' - | 'USERNAME_DESC' - | 'DISPLAY_NAME_ASC' - | 'DISPLAY_NAME_DESC' - | 'PROFILE_PICTURE_ASC' - | 'PROFILE_PICTURE_DESC' - | 'SEARCH_TSV_ASC' - | 'SEARCH_TSV_DESC' - | 'TYPE_ASC' - | 'TYPE_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC' - | 'UPDATED_AT_ASC' - | 'UPDATED_AT_DESC' - | 'SEARCH_TSV_RANK_ASC' - | 'SEARCH_TSV_RANK_DESC'; + | 'ACTOR_ID_DESC' + | 'ACTION_TRGM_SIMILARITY_ASC' + | 'ACTION_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9133,6 +10846,32 @@ export type AppMembershipOrderBy = | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC'; +export type UserOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'USERNAME_ASC' + | 'USERNAME_DESC' + | 'DISPLAY_NAME_ASC' + | 'DISPLAY_NAME_DESC' + | 'PROFILE_PICTURE_ASC' + | 'PROFILE_PICTURE_DESC' + | 'SEARCH_TSV_ASC' + | 'SEARCH_TSV_DESC' + | 'TYPE_ASC' + | 'TYPE_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC' + | 'UPDATED_AT_ASC' + | 'UPDATED_AT_DESC' + | 'SEARCH_TSV_RANK_ASC' + | 'SEARCH_TSV_RANK_DESC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' + | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type HierarchyModuleOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -9176,7 +10915,29 @@ export type HierarchyModuleOrderBy = | 'IS_MANAGER_OF_FUNCTION_ASC' | 'IS_MANAGER_OF_FUNCTION_DESC' | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; + | 'CREATED_AT_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'; // ============ CRUD Input Types ============ export interface CreateOrgGetManagersRecordInput { clientMutationId?: string; @@ -9252,6 +11013,8 @@ export interface AppPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppPermissionInput { clientMutationId?: string; @@ -9276,6 +11039,8 @@ export interface OrgPermissionPatch { bitnum?: number | null; bitstr?: string | null; description?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgPermissionInput { clientMutationId?: string; @@ -9329,6 +11094,8 @@ export interface AppLevelRequirementPatch { description?: string | null; requiredCount?: number | null; priority?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelRequirementInput { clientMutationId?: string; @@ -9355,6 +11122,10 @@ export interface DatabasePatch { name?: string | null; label?: string | null; hash?: string | null; + schemaHashTrgmSimilarity?: number | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDatabaseInput { clientMutationId?: string; @@ -9393,6 +11164,12 @@ export interface SchemaPatch { scope?: number | null; tags?: string | null; isPublic?: boolean | null; + nameTrgmSimilarity?: number | null; + schemaNameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSchemaInput { clientMutationId?: string; @@ -9441,6 +11218,13 @@ export interface TablePatch { singularName?: string | null; tags?: string | null; inheritsId?: string | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + pluralNameTrgmSimilarity?: number | null; + singularNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableInput { clientMutationId?: string; @@ -9479,6 +11263,10 @@ export interface CheckConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCheckConstraintInput { clientMutationId?: string; @@ -9537,6 +11325,13 @@ export interface FieldPatch { category?: ObjectCategory | null; module?: string | null; scope?: number | null; + nameTrgmSimilarity?: number | null; + labelTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + defaultValueTrgmSimilarity?: number | null; + regexpTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateFieldInput { clientMutationId?: string; @@ -9583,6 +11378,13 @@ export interface ForeignKeyConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + deleteActionTrgmSimilarity?: number | null; + updateActionTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateForeignKeyConstraintInput { clientMutationId?: string; @@ -9633,6 +11435,8 @@ export interface CreateIndexInput { indexParams?: Record; whereClause?: Record; isUnique?: boolean; + options?: Record; + opClasses?: string[]; smartTags?: Record; category?: ObjectCategory; module?: string; @@ -9650,11 +11454,17 @@ export interface IndexPatch { indexParams?: Record | null; whereClause?: Record | null; isUnique?: boolean | null; + options?: Record | null; + opClasses?: string | null; smartTags?: Record | null; category?: ObjectCategory | null; module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + accessMethodTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateIndexInput { clientMutationId?: string; @@ -9699,6 +11509,12 @@ export interface PolicyPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePolicyInput { clientMutationId?: string; @@ -9735,6 +11551,10 @@ export interface PrimaryKeyConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePrimaryKeyConstraintInput { clientMutationId?: string; @@ -9763,6 +11583,9 @@ export interface TableGrantPatch { granteeName?: string | null; fieldIds?: string | null; isGrant?: boolean | null; + privilegeTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableGrantInput { clientMutationId?: string; @@ -9799,6 +11622,11 @@ export interface TriggerPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + eventTrgmSimilarity?: number | null; + functionNameTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTriggerInput { clientMutationId?: string; @@ -9837,6 +11665,11 @@ export interface UniqueConstraintPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + typeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUniqueConstraintInput { clientMutationId?: string; @@ -9883,6 +11716,11 @@ export interface ViewPatch { module?: string | null; scope?: number | null; tags?: string | null; + nameTrgmSimilarity?: number | null; + viewTypeTrgmSimilarity?: number | null; + filterTypeTrgmSimilarity?: number | null; + moduleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewInput { clientMutationId?: string; @@ -9933,6 +11771,9 @@ export interface ViewGrantPatch { privilege?: string | null; withGrantOption?: boolean | null; isGrant?: boolean | null; + granteeNameTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewGrantInput { clientMutationId?: string; @@ -9959,6 +11800,10 @@ export interface ViewRulePatch { name?: string | null; event?: string | null; action?: string | null; + nameTrgmSimilarity?: number | null; + eventTrgmSimilarity?: number | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateViewRuleInput { clientMutationId?: string; @@ -9969,38 +11814,6 @@ export interface DeleteViewRuleInput { clientMutationId?: string; id: string; } -export interface CreateTableModuleInput { - clientMutationId?: string; - tableModule: { - databaseId: string; - schemaId?: string; - tableId?: string; - tableName?: string; - nodeType: string; - useRls?: boolean; - data?: Record; - fields?: string[]; - }; -} -export interface TableModulePatch { - databaseId?: string | null; - schemaId?: string | null; - tableId?: string | null; - tableName?: string | null; - nodeType?: string | null; - useRls?: boolean | null; - data?: Record | null; - fields?: string | null; -} -export interface UpdateTableModuleInput { - clientMutationId?: string; - id: string; - tableModulePatch: TableModulePatch; -} -export interface DeleteTableModuleInput { - clientMutationId?: string; - id: string; -} export interface CreateTableTemplateModuleInput { clientMutationId?: string; tableTemplateModule: { @@ -10023,6 +11836,9 @@ export interface TableTemplateModulePatch { tableName?: string | null; nodeType?: string | null; data?: Record | null; + tableNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTableTemplateModuleInput { clientMutationId?: string; @@ -10043,6 +11859,7 @@ export interface CreateSecureTableProvisionInput { nodeType?: string; useRls?: boolean; nodeData?: Record; + fields?: Record; grantRoles?: string[]; grantPrivileges?: Record; policyType?: string; @@ -10062,6 +11879,7 @@ export interface SecureTableProvisionPatch { nodeType?: string | null; useRls?: boolean | null; nodeData?: Record | null; + fields?: Record | null; grantRoles?: string | null; grantPrivileges?: Record | null; policyType?: string | null; @@ -10071,6 +11889,12 @@ export interface SecureTableProvisionPatch { policyName?: string | null; policyData?: Record | null; outFields?: string | null; + tableNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + policyRoleTrgmSimilarity?: number | null; + policyNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSecureTableProvisionInput { clientMutationId?: string; @@ -10141,6 +11965,17 @@ export interface RelationProvisionPatch { outJunctionTableId?: string | null; outSourceFieldId?: string | null; outTargetFieldId?: string | null; + relationTypeTrgmSimilarity?: number | null; + fieldNameTrgmSimilarity?: number | null; + deleteActionTrgmSimilarity?: number | null; + junctionTableNameTrgmSimilarity?: number | null; + sourceFieldNameTrgmSimilarity?: number | null; + targetFieldNameTrgmSimilarity?: number | null; + nodeTypeTrgmSimilarity?: number | null; + policyTypeTrgmSimilarity?: number | null; + policyRoleTrgmSimilarity?: number | null; + policyNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRelationProvisionInput { clientMutationId?: string; @@ -10163,6 +11998,8 @@ export interface SchemaGrantPatch { databaseId?: string | null; schemaId?: string | null; granteeName?: string | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSchemaGrantInput { clientMutationId?: string; @@ -10191,6 +12028,10 @@ export interface DefaultPrivilegePatch { privilege?: string | null; granteeName?: string | null; isGrant?: boolean | null; + objectTypeTrgmSimilarity?: number | null; + privilegeTrgmSimilarity?: number | null; + granteeNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDefaultPrivilegeInput { clientMutationId?: string; @@ -10237,6 +12078,8 @@ export interface ApiModulePatch { apiId?: string | null; name?: string | null; data?: Record | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateApiModuleInput { clientMutationId?: string; @@ -10289,6 +12132,9 @@ export interface SiteMetadatumPatch { title?: string | null; description?: string | null; ogImage?: ConstructiveInternalTypeImage | null; + titleTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteMetadatumInput { clientMutationId?: string; @@ -10313,6 +12159,8 @@ export interface SiteModulePatch { siteId?: string | null; name?: string | null; data?: Record | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteModuleInput { clientMutationId?: string; @@ -10357,6 +12205,9 @@ export interface TriggerFunctionPatch { databaseId?: string | null; name?: string | null; code?: string | null; + nameTrgmSimilarity?: number | null; + codeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateTriggerFunctionInput { clientMutationId?: string; @@ -10385,6 +12236,11 @@ export interface ApiPatch { roleName?: string | null; anonRole?: string | null; isPublic?: boolean | null; + nameTrgmSimilarity?: number | null; + dbnameTrgmSimilarity?: number | null; + roleNameTrgmSimilarity?: number | null; + anonRoleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateApiInput { clientMutationId?: string; @@ -10417,6 +12273,10 @@ export interface SitePatch { appleTouchIcon?: ConstructiveInternalTypeImage | null; logo?: ConstructiveInternalTypeImage | null; dbname?: string | null; + titleTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + dbnameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSiteInput { clientMutationId?: string; @@ -10449,6 +12309,10 @@ export interface AppPatch { appStoreId?: string | null; appIdPrefix?: string | null; playStoreLink?: ConstructiveInternalTypeUrl | null; + nameTrgmSimilarity?: number | null; + appStoreIdTrgmSimilarity?: number | null; + appIdPrefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppInput { clientMutationId?: string; @@ -10477,6 +12341,8 @@ export interface ConnectedAccountsModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountsModuleInput { clientMutationId?: string; @@ -10507,6 +12373,9 @@ export interface CryptoAddressesModulePatch { ownerTableId?: string | null; tableName?: string | null; cryptoNetwork?: string | null; + tableNameTrgmSimilarity?: number | null; + cryptoNetworkTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAddressesModuleInput { clientMutationId?: string; @@ -10549,6 +12418,13 @@ export interface CryptoAuthModulePatch { signInRecordFailure?: string | null; signUpWithKey?: string | null; signInWithChallenge?: string | null; + userFieldTrgmSimilarity?: number | null; + cryptoNetworkTrgmSimilarity?: number | null; + signInRequestChallengeTrgmSimilarity?: number | null; + signInRecordFailureTrgmSimilarity?: number | null; + signUpWithKeyTrgmSimilarity?: number | null; + signInWithChallengeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCryptoAuthModuleInput { clientMutationId?: string; @@ -10605,6 +12481,8 @@ export interface DenormalizedTableFieldPatch { updateDefaults?: boolean | null; funcName?: string | null; funcOrder?: number | null; + funcNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDenormalizedTableFieldInput { clientMutationId?: string; @@ -10633,6 +12511,8 @@ export interface EmailsModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateEmailsModuleInput { clientMutationId?: string; @@ -10657,6 +12537,8 @@ export interface EncryptedSecretsModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateEncryptedSecretsModuleInput { clientMutationId?: string; @@ -10689,6 +12571,8 @@ export interface FieldModulePatch { data?: Record | null; triggers?: string | null; functions?: string | null; + nodeTypeTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateFieldModuleInput { clientMutationId?: string; @@ -10731,6 +12615,11 @@ export interface InvitesModulePatch { prefix?: string | null; membershipType?: number | null; entityTableId?: string | null; + invitesTableNameTrgmSimilarity?: number | null; + claimedInvitesTableNameTrgmSimilarity?: number | null; + submitInviteCodeFunctionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateInvitesModuleInput { clientMutationId?: string; @@ -10797,6 +12686,22 @@ export interface LevelsModulePatch { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + stepsTableNameTrgmSimilarity?: number | null; + achievementsTableNameTrgmSimilarity?: number | null; + levelsTableNameTrgmSimilarity?: number | null; + levelRequirementsTableNameTrgmSimilarity?: number | null; + completedStepTrgmSimilarity?: number | null; + incompletedStepTrgmSimilarity?: number | null; + tgAchievementTrgmSimilarity?: number | null; + tgAchievementToggleTrgmSimilarity?: number | null; + tgAchievementToggleBooleanTrgmSimilarity?: number | null; + tgAchievementBooleanTrgmSimilarity?: number | null; + upsertAchievementTrgmSimilarity?: number | null; + tgUpdateAchievementsTrgmSimilarity?: number | null; + stepsRequiredTrgmSimilarity?: number | null; + levelAchievedTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateLevelsModuleInput { clientMutationId?: string; @@ -10847,6 +12752,16 @@ export interface LimitsModulePatch { membershipType?: number | null; entityTableId?: string | null; actorTableId?: string | null; + tableNameTrgmSimilarity?: number | null; + defaultTableNameTrgmSimilarity?: number | null; + limitIncrementFunctionTrgmSimilarity?: number | null; + limitDecrementFunctionTrgmSimilarity?: number | null; + limitIncrementTriggerTrgmSimilarity?: number | null; + limitDecrementTriggerTrgmSimilarity?: number | null; + limitUpdateTriggerTrgmSimilarity?: number | null; + limitCheckFunctionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateLimitsModuleInput { clientMutationId?: string; @@ -10871,6 +12786,8 @@ export interface MembershipTypesModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipTypesModuleInput { clientMutationId?: string; @@ -10947,6 +12864,19 @@ export interface MembershipsModulePatch { entityIdsByMask?: string | null; entityIdsByPerm?: string | null; entityIdsFunction?: string | null; + membershipsTableNameTrgmSimilarity?: number | null; + membersTableNameTrgmSimilarity?: number | null; + membershipDefaultsTableNameTrgmSimilarity?: number | null; + grantsTableNameTrgmSimilarity?: number | null; + adminGrantsTableNameTrgmSimilarity?: number | null; + ownerGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + actorMaskCheckTrgmSimilarity?: number | null; + actorPermCheckTrgmSimilarity?: number | null; + entityIdsByMaskTrgmSimilarity?: number | null; + entityIdsByPermTrgmSimilarity?: number | null; + entityIdsFunctionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipsModuleInput { clientMutationId?: string; @@ -10995,6 +12925,14 @@ export interface PermissionsModulePatch { getMask?: string | null; getByMask?: string | null; getMaskByName?: string | null; + tableNameTrgmSimilarity?: number | null; + defaultTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + getPaddedMaskTrgmSimilarity?: number | null; + getMaskTrgmSimilarity?: number | null; + getByMaskTrgmSimilarity?: number | null; + getMaskByNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePermissionsModuleInput { clientMutationId?: string; @@ -11023,6 +12961,8 @@ export interface PhoneNumbersModulePatch { tableId?: string | null; ownerTableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdatePhoneNumbersModuleInput { clientMutationId?: string; @@ -11073,6 +13013,12 @@ export interface ProfilesModulePatch { permissionsTableId?: string | null; membershipsTableId?: string | null; prefix?: string | null; + tableNameTrgmSimilarity?: number | null; + profilePermissionsTableNameTrgmSimilarity?: number | null; + profileGrantsTableNameTrgmSimilarity?: number | null; + profileDefinitionGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateProfilesModuleInput { clientMutationId?: string; @@ -11083,44 +13029,6 @@ export interface DeleteProfilesModuleInput { clientMutationId?: string; id: string; } -export interface CreateRlsModuleInput { - clientMutationId?: string; - rlsModule: { - databaseId: string; - apiId?: string; - schemaId?: string; - privateSchemaId?: string; - sessionCredentialsTableId?: string; - sessionsTableId?: string; - usersTableId?: string; - authenticate?: string; - authenticateStrict?: string; - currentRole?: string; - currentRoleId?: string; - }; -} -export interface RlsModulePatch { - databaseId?: string | null; - apiId?: string | null; - schemaId?: string | null; - privateSchemaId?: string | null; - sessionCredentialsTableId?: string | null; - sessionsTableId?: string | null; - usersTableId?: string | null; - authenticate?: string | null; - authenticateStrict?: string | null; - currentRole?: string | null; - currentRoleId?: string | null; -} -export interface UpdateRlsModuleInput { - clientMutationId?: string; - id: string; - rlsModulePatch: RlsModulePatch; -} -export interface DeleteRlsModuleInput { - clientMutationId?: string; - id: string; -} export interface CreateSecretsModuleInput { clientMutationId?: string; secretsModule: { @@ -11135,6 +13043,8 @@ export interface SecretsModulePatch { schemaId?: string | null; tableId?: string | null; tableName?: string | null; + tableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSecretsModuleInput { clientMutationId?: string; @@ -11171,6 +13081,10 @@ export interface SessionsModulePatch { sessionsTable?: string | null; sessionCredentialsTable?: string | null; authSettingsTable?: string | null; + sessionsTableTrgmSimilarity?: number | null; + sessionCredentialsTableTrgmSimilarity?: number | null; + authSettingsTableTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSessionsModuleInput { clientMutationId?: string; @@ -11237,6 +13151,23 @@ export interface UserAuthModulePatch { signInOneTimeTokenFunction?: string | null; oneTimeTokenFunction?: string | null; extendTokenExpires?: string | null; + auditsTableNameTrgmSimilarity?: number | null; + signInFunctionTrgmSimilarity?: number | null; + signUpFunctionTrgmSimilarity?: number | null; + signOutFunctionTrgmSimilarity?: number | null; + setPasswordFunctionTrgmSimilarity?: number | null; + resetPasswordFunctionTrgmSimilarity?: number | null; + forgotPasswordFunctionTrgmSimilarity?: number | null; + sendVerificationEmailFunctionTrgmSimilarity?: number | null; + verifyEmailFunctionTrgmSimilarity?: number | null; + verifyPasswordFunctionTrgmSimilarity?: number | null; + checkPasswordFunctionTrgmSimilarity?: number | null; + sendAccountDeletionEmailFunctionTrgmSimilarity?: number | null; + deleteAccountFunctionTrgmSimilarity?: number | null; + signInOneTimeTokenFunctionTrgmSimilarity?: number | null; + oneTimeTokenFunctionTrgmSimilarity?: number | null; + extendTokenExpiresTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUserAuthModuleInput { clientMutationId?: string; @@ -11265,6 +13196,9 @@ export interface UsersModulePatch { tableName?: string | null; typeTableId?: string | null; typeTableName?: string | null; + tableNameTrgmSimilarity?: number | null; + typeTableNameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUsersModuleInput { clientMutationId?: string; @@ -11289,6 +13223,9 @@ export interface UuidModulePatch { schemaId?: string | null; uuidFunction?: string | null; uuidSeed?: string | null; + uuidFunctionTrgmSimilarity?: number | null; + uuidSeedTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateUuidModuleInput { clientMutationId?: string; @@ -11327,6 +13264,12 @@ export interface DatabaseProvisionModulePatch { errorMessage?: string | null; databaseId?: string | null; completedAt?: string | null; + databaseNameTrgmSimilarity?: number | null; + subdomainTrgmSimilarity?: number | null; + domainTrgmSimilarity?: number | null; + statusTrgmSimilarity?: number | null; + errorMessageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateDatabaseProvisionModuleInput { clientMutationId?: string; @@ -11559,6 +13502,8 @@ export interface OrgChartEdgePatch { parentId?: string | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeInput { clientMutationId?: string; @@ -11589,6 +13534,8 @@ export interface OrgChartEdgeGrantPatch { isGrant?: boolean | null; positionTitle?: string | null; positionLevel?: number | null; + positionTitleTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgChartEdgeGrantInput { clientMutationId?: string; @@ -11717,6 +13664,8 @@ export interface InvitePatch { multiple?: boolean | null; data?: Record | null; expiresAt?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateInviteInput { clientMutationId?: string; @@ -11777,6 +13726,8 @@ export interface OrgInvitePatch { data?: Record | null; expiresAt?: string | null; entityId?: string | null; + inviteTokenTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateOrgInviteInput { clientMutationId?: string; @@ -11825,6 +13776,8 @@ export interface RefPatch { databaseId?: string | null; storeId?: string | null; commitId?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateRefInput { clientMutationId?: string; @@ -11847,6 +13800,8 @@ export interface StorePatch { name?: string | null; databaseId?: string | null; hash?: string | null; + nameTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateStoreInput { clientMutationId?: string; @@ -11875,6 +13830,32 @@ export interface DeleteAppPermissionDefaultInput { clientMutationId?: string; id: string; } +export interface CreateCryptoAddressInput { + clientMutationId?: string; + cryptoAddress: { + ownerId?: string; + address: string; + isVerified?: boolean; + isPrimary?: boolean; + }; +} +export interface CryptoAddressPatch { + ownerId?: string | null; + address?: string | null; + isVerified?: boolean | null; + isPrimary?: boolean | null; + addressTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateCryptoAddressInput { + clientMutationId?: string; + id: string; + cryptoAddressPatch: CryptoAddressPatch; +} +export interface DeleteCryptoAddressInput { + clientMutationId?: string; + id: string; +} export interface CreateRoleTypeInput { clientMutationId?: string; roleType: { @@ -11913,27 +13894,32 @@ export interface DeleteOrgPermissionDefaultInput { clientMutationId?: string; id: string; } -export interface CreateCryptoAddressInput { +export interface CreatePhoneNumberInput { clientMutationId?: string; - cryptoAddress: { + phoneNumber: { ownerId?: string; - address: string; + cc: string; + number: string; isVerified?: boolean; isPrimary?: boolean; }; } -export interface CryptoAddressPatch { +export interface PhoneNumberPatch { ownerId?: string | null; - address?: string | null; + cc?: string | null; + number?: string | null; isVerified?: boolean | null; isPrimary?: boolean | null; + ccTrgmSimilarity?: number | null; + numberTrgmSimilarity?: number | null; + searchScore?: number | null; } -export interface UpdateCryptoAddressInput { +export interface UpdatePhoneNumberInput { clientMutationId?: string; id: string; - cryptoAddressPatch: CryptoAddressPatch; + phoneNumberPatch: PhoneNumberPatch; } -export interface DeleteCryptoAddressInput { +export interface DeletePhoneNumberInput { clientMutationId?: string; id: string; } @@ -11993,6 +13979,9 @@ export interface ConnectedAccountPatch { identifier?: string | null; details?: Record | null; isVerified?: boolean | null; + serviceTrgmSimilarity?: number | null; + identifierTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateConnectedAccountInput { clientMutationId?: string; @@ -12003,31 +13992,41 @@ export interface DeleteConnectedAccountInput { clientMutationId?: string; id: string; } -export interface CreatePhoneNumberInput { +export interface CreateNodeTypeRegistryInput { clientMutationId?: string; - phoneNumber: { - ownerId?: string; - cc: string; - number: string; - isVerified?: boolean; - isPrimary?: boolean; + nodeTypeRegistry: { + name: string; + slug: string; + category: string; + displayName?: string; + description?: string; + parameterSchema?: Record; + tags?: string[]; }; } -export interface PhoneNumberPatch { - ownerId?: string | null; - cc?: string | null; - number?: string | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; +export interface NodeTypeRegistryPatch { + name?: string | null; + slug?: string | null; + category?: string | null; + displayName?: string | null; + description?: string | null; + parameterSchema?: Record | null; + tags?: string | null; + nameTrgmSimilarity?: number | null; + slugTrgmSimilarity?: number | null; + categoryTrgmSimilarity?: number | null; + displayNameTrgmSimilarity?: number | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } -export interface UpdatePhoneNumberInput { +export interface UpdateNodeTypeRegistryInput { clientMutationId?: string; - id: string; - phoneNumberPatch: PhoneNumberPatch; + name: string; + nodeTypeRegistryPatch: NodeTypeRegistryPatch; } -export interface DeletePhoneNumberInput { +export interface DeleteNodeTypeRegistryInput { clientMutationId?: string; - id: string; + name: string; } export interface CreateMembershipTypeInput { clientMutationId?: string; @@ -12041,6 +14040,9 @@ export interface MembershipTypePatch { name?: string | null; description?: string | null; prefix?: string | null; + descriptionTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateMembershipTypeInput { clientMutationId?: string; @@ -12051,36 +14053,6 @@ export interface DeleteMembershipTypeInput { clientMutationId?: string; id: number; } -export interface CreateNodeTypeRegistryInput { - clientMutationId?: string; - nodeTypeRegistry: { - name: string; - slug: string; - category: string; - displayName?: string; - description?: string; - parameterSchema?: Record; - tags?: string[]; - }; -} -export interface NodeTypeRegistryPatch { - name?: string | null; - slug?: string | null; - category?: string | null; - displayName?: string | null; - description?: string | null; - parameterSchema?: Record | null; - tags?: string | null; -} -export interface UpdateNodeTypeRegistryInput { - clientMutationId?: string; - name: string; - nodeTypeRegistryPatch: NodeTypeRegistryPatch; -} -export interface DeleteNodeTypeRegistryInput { - clientMutationId?: string; - name: string; -} export interface CreateAppMembershipDefaultInput { clientMutationId?: string; appMembershipDefault: { @@ -12105,6 +14077,47 @@ export interface DeleteAppMembershipDefaultInput { clientMutationId?: string; id: string; } +export interface CreateRlsModuleInput { + clientMutationId?: string; + rlsModule: { + databaseId: string; + schemaId?: string; + privateSchemaId?: string; + sessionCredentialsTableId?: string; + sessionsTableId?: string; + usersTableId?: string; + authenticate?: string; + authenticateStrict?: string; + currentRole?: string; + currentRoleId?: string; + }; +} +export interface RlsModulePatch { + databaseId?: string | null; + schemaId?: string | null; + privateSchemaId?: string | null; + sessionCredentialsTableId?: string | null; + sessionsTableId?: string | null; + usersTableId?: string | null; + authenticate?: string | null; + authenticateStrict?: string | null; + currentRole?: string | null; + currentRoleId?: string | null; + authenticateTrgmSimilarity?: number | null; + authenticateStrictTrgmSimilarity?: number | null; + currentRoleTrgmSimilarity?: number | null; + currentRoleIdTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateRlsModuleInput { + clientMutationId?: string; + id: string; + rlsModulePatch: RlsModulePatch; +} +export interface DeleteRlsModuleInput { + clientMutationId?: string; + id: string; +} export interface CreateCommitInput { clientMutationId?: string; commit: { @@ -12127,6 +14140,8 @@ export interface CommitPatch { committerId?: string | null; treeId?: string | null; date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateCommitInput { clientMutationId?: string; @@ -12183,6 +14198,8 @@ export interface AuditLogPatch { userAgent?: string | null; ipAddress?: string | null; success?: boolean | null; + userAgentTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAuditLogInput { clientMutationId?: string; @@ -12207,6 +14224,8 @@ export interface AppLevelPatch { description?: string | null; image?: ConstructiveInternalTypeImage | null; ownerId?: string | null; + descriptionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAppLevelInput { clientMutationId?: string; @@ -12217,30 +14236,6 @@ export interface DeleteAppLevelInput { clientMutationId?: string; id: string; } -export interface CreateEmailInput { - clientMutationId?: string; - email: { - ownerId?: string; - email: ConstructiveInternalTypeEmail; - isVerified?: boolean; - isPrimary?: boolean; - }; -} -export interface EmailPatch { - ownerId?: string | null; - email?: ConstructiveInternalTypeEmail | null; - isVerified?: boolean | null; - isPrimary?: boolean | null; -} -export interface UpdateEmailInput { - clientMutationId?: string; - id: string; - emailPatch: EmailPatch; -} -export interface DeleteEmailInput { - clientMutationId?: string; - id: string; -} export interface CreateSqlMigrationInput { clientMutationId?: string; sqlMigration: { @@ -12269,6 +14264,13 @@ export interface SqlMigrationPatch { action?: string | null; actionId?: string | null; actorId?: string | null; + nameTrgmSimilarity?: number | null; + deployTrgmSimilarity?: number | null; + contentTrgmSimilarity?: number | null; + revertTrgmSimilarity?: number | null; + verifyTrgmSimilarity?: number | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateSqlMigrationInput { clientMutationId?: string; @@ -12279,6 +14281,30 @@ export interface DeleteSqlMigrationInput { clientMutationId?: string; id: number; } +export interface CreateEmailInput { + clientMutationId?: string; + email: { + ownerId?: string; + email: ConstructiveInternalTypeEmail; + isVerified?: boolean; + isPrimary?: boolean; + }; +} +export interface EmailPatch { + ownerId?: string | null; + email?: ConstructiveInternalTypeEmail | null; + isVerified?: boolean | null; + isPrimary?: boolean | null; +} +export interface UpdateEmailInput { + clientMutationId?: string; + id: string; + emailPatch: EmailPatch; +} +export interface DeleteEmailInput { + clientMutationId?: string; + id: string; +} export interface CreateAstMigrationInput { clientMutationId?: string; astMigration: { @@ -12307,6 +14333,8 @@ export interface AstMigrationPatch { action?: string | null; actionId?: string | null; actorId?: string | null; + actionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateAstMigrationInput { clientMutationId?: string; @@ -12317,33 +14345,6 @@ export interface DeleteAstMigrationInput { clientMutationId?: string; id: number; } -export interface CreateUserInput { - clientMutationId?: string; - user: { - username?: string; - displayName?: string; - profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; - type?: number; - }; -} -export interface UserPatch { - username?: string | null; - displayName?: string | null; - profilePicture?: ConstructiveInternalTypeImage | null; - searchTsv?: string | null; - type?: number | null; - searchTsvRank?: number | null; -} -export interface UpdateUserInput { - clientMutationId?: string; - id: string; - userPatch: UserPatch; -} -export interface DeleteUserInput { - clientMutationId?: string; - id: string; -} export interface CreateAppMembershipInput { clientMutationId?: string; appMembership: { @@ -12386,6 +14387,35 @@ export interface DeleteAppMembershipInput { clientMutationId?: string; id: string; } +export interface CreateUserInput { + clientMutationId?: string; + user: { + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + searchTsv?: string; + type?: number; + }; +} +export interface UserPatch { + username?: string | null; + displayName?: string | null; + profilePicture?: ConstructiveInternalTypeImage | null; + searchTsv?: string | null; + type?: number | null; + searchTsvRank?: number | null; + displayNameTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateUserInput { + clientMutationId?: string; + id: string; + userPatch: UserPatch; +} +export interface DeleteUserInput { + clientMutationId?: string; + id: string; +} export interface CreateHierarchyModuleInput { clientMutationId?: string; hierarchyModule: { @@ -12428,6 +14458,17 @@ export interface HierarchyModulePatch { getSubordinatesFunction?: string | null; getManagersFunction?: string | null; isManagerOfFunction?: string | null; + chartEdgesTableNameTrgmSimilarity?: number | null; + hierarchySprtTableNameTrgmSimilarity?: number | null; + chartEdgeGrantsTableNameTrgmSimilarity?: number | null; + prefixTrgmSimilarity?: number | null; + privateSchemaNameTrgmSimilarity?: number | null; + sprtTableNameTrgmSimilarity?: number | null; + rebuildHierarchyFunctionTrgmSimilarity?: number | null; + getSubordinatesFunctionTrgmSimilarity?: number | null; + getManagersFunctionTrgmSimilarity?: number | null; + isManagerOfFunctionTrgmSimilarity?: number | null; + searchScore?: number | null; } export interface UpdateHierarchyModuleInput { clientMutationId?: string; @@ -12476,7 +14517,6 @@ export const connectionFieldsMap = { emailsModules: 'EmailsModule', encryptedSecretsModules: 'EncryptedSecretsModule', fieldModules: 'FieldModule', - tableModules: 'TableModule', invitesModules: 'InvitesModule', levelsModules: 'LevelsModule', limitsModules: 'LimitsModule', @@ -12485,7 +14525,6 @@ export const connectionFieldsMap = { permissionsModules: 'PermissionsModule', phoneNumbersModules: 'PhoneNumbersModule', profilesModules: 'ProfilesModule', - rlsModules: 'RlsModule', secretsModules: 'SecretsModule', sessionsModules: 'SessionsModule', userAuthModules: 'UserAuthModule', @@ -12518,7 +14557,6 @@ export const connectionFieldsMap = { uniqueConstraints: 'UniqueConstraint', views: 'View', viewTables: 'ViewTable', - tableModules: 'TableModule', tableTemplateModulesByOwnerTableId: 'TableTemplateModule', tableTemplateModules: 'TableTemplateModule', secureTableProvisions: 'SecureTableProvision', @@ -12627,12 +14665,6 @@ export interface ResetPasswordInput { resetToken?: string; newPassword?: string; } -export interface RemoveNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; -} export interface BootstrapUserInput { clientMutationId?: string; targetDatabaseId?: string; @@ -12643,6 +14675,12 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface SetDataAtPathInput { clientMutationId?: string; dbId?: string; @@ -12942,14 +14980,6 @@ export type ResetPasswordPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; -export interface RemoveNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type RemoveNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; export interface BootstrapUserPayload { clientMutationId?: string | null; result?: BootstrapUserRecord[] | null; @@ -12960,6 +14990,14 @@ export type BootstrapUserPayloadSelect = { select: BootstrapUserRecordSelect; }; }; +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type RemoveNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; export interface SetDataAtPathPayload { clientMutationId?: string | null; result?: string | null; @@ -14057,51 +16095,6 @@ export type DeleteViewRulePayloadSelect = { select: ViewRuleEdgeSelect; }; }; -export interface CreateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was created by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type CreateTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; -export interface UpdateTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was updated by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type UpdateTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; -export interface DeleteTableModulePayload { - clientMutationId?: string | null; - /** The `TableModule` that was deleted by this mutation. */ - tableModule?: TableModule | null; - tableModuleEdge?: TableModuleEdge | null; -} -export type DeleteTableModulePayloadSelect = { - clientMutationId?: boolean; - tableModule?: { - select: TableModuleSelect; - }; - tableModuleEdge?: { - select: TableModuleEdgeSelect; - }; -}; export interface CreateTableTemplateModulePayload { clientMutationId?: string | null; /** The `TableTemplateModule` that was created by this mutation. */ @@ -15497,64 +17490,19 @@ export type DeleteProfilesModulePayloadSelect = { select: ProfilesModuleEdgeSelect; }; }; -export interface CreateRlsModulePayload { +export interface CreateSecretsModulePayload { clientMutationId?: string | null; - /** The `RlsModule` that was created by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; + /** The `SecretsModule` that was created by this mutation. */ + secretsModule?: SecretsModule | null; + secretsModuleEdge?: SecretsModuleEdge | null; } -export type CreateRlsModulePayloadSelect = { +export type CreateSecretsModulePayloadSelect = { clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; + secretsModule?: { + select: SecretsModuleSelect; }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; - }; -}; -export interface UpdateRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was updated by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} -export type UpdateRlsModulePayloadSelect = { - clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; - }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; - }; -}; -export interface DeleteRlsModulePayload { - clientMutationId?: string | null; - /** The `RlsModule` that was deleted by this mutation. */ - rlsModule?: RlsModule | null; - rlsModuleEdge?: RlsModuleEdge | null; -} -export type DeleteRlsModulePayloadSelect = { - clientMutationId?: boolean; - rlsModule?: { - select: RlsModuleSelect; - }; - rlsModuleEdge?: { - select: RlsModuleEdgeSelect; - }; -}; -export interface CreateSecretsModulePayload { - clientMutationId?: string | null; - /** The `SecretsModule` that was created by this mutation. */ - secretsModule?: SecretsModule | null; - secretsModuleEdge?: SecretsModuleEdge | null; -} -export type CreateSecretsModulePayloadSelect = { - clientMutationId?: boolean; - secretsModule?: { - select: SecretsModuleSelect; - }; - secretsModuleEdge?: { - select: SecretsModuleEdgeSelect; + secretsModuleEdge?: { + select: SecretsModuleEdgeSelect; }; }; export interface UpdateSecretsModulePayload { @@ -16757,6 +18705,51 @@ export type DeleteAppPermissionDefaultPayloadSelect = { select: AppPermissionDefaultEdgeSelect; }; }; +export interface CreateCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was created by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type CreateCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; +export interface UpdateCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was updated by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type UpdateCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; +export interface DeleteCryptoAddressPayload { + clientMutationId?: string | null; + /** The `CryptoAddress` that was deleted by this mutation. */ + cryptoAddress?: CryptoAddress | null; + cryptoAddressEdge?: CryptoAddressEdge | null; +} +export type DeleteCryptoAddressPayloadSelect = { + clientMutationId?: boolean; + cryptoAddress?: { + select: CryptoAddressSelect; + }; + cryptoAddressEdge?: { + select: CryptoAddressEdgeSelect; + }; +}; export interface CreateRoleTypePayload { clientMutationId?: string | null; /** The `RoleType` that was created by this mutation. */ @@ -16847,49 +18840,49 @@ export type DeleteOrgPermissionDefaultPayloadSelect = { select: OrgPermissionDefaultEdgeSelect; }; }; -export interface CreateCryptoAddressPayload { +export interface CreatePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was created by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was created by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type CreateCryptoAddressPayloadSelect = { +export type CreatePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; -export interface UpdateCryptoAddressPayload { +export interface UpdatePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was updated by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was updated by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type UpdateCryptoAddressPayloadSelect = { +export type UpdatePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; -export interface DeleteCryptoAddressPayload { +export interface DeletePhoneNumberPayload { clientMutationId?: string | null; - /** The `CryptoAddress` that was deleted by this mutation. */ - cryptoAddress?: CryptoAddress | null; - cryptoAddressEdge?: CryptoAddressEdge | null; + /** The `PhoneNumber` that was deleted by this mutation. */ + phoneNumber?: PhoneNumber | null; + phoneNumberEdge?: PhoneNumberEdge | null; } -export type DeleteCryptoAddressPayloadSelect = { +export type DeletePhoneNumberPayloadSelect = { clientMutationId?: boolean; - cryptoAddress?: { - select: CryptoAddressSelect; + phoneNumber?: { + select: PhoneNumberSelect; }; - cryptoAddressEdge?: { - select: CryptoAddressEdgeSelect; + phoneNumberEdge?: { + select: PhoneNumberEdgeSelect; }; }; export interface CreateAppLimitDefaultPayload { @@ -17027,49 +19020,49 @@ export type DeleteConnectedAccountPayloadSelect = { select: ConnectedAccountEdgeSelect; }; }; -export interface CreatePhoneNumberPayload { +export interface CreateNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was created by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was created by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type CreatePhoneNumberPayloadSelect = { +export type CreateNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; -export interface UpdatePhoneNumberPayload { +export interface UpdateNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was updated by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was updated by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type UpdatePhoneNumberPayloadSelect = { +export type UpdateNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; -export interface DeletePhoneNumberPayload { +export interface DeleteNodeTypeRegistryPayload { clientMutationId?: string | null; - /** The `PhoneNumber` that was deleted by this mutation. */ - phoneNumber?: PhoneNumber | null; - phoneNumberEdge?: PhoneNumberEdge | null; + /** The `NodeTypeRegistry` that was deleted by this mutation. */ + nodeTypeRegistry?: NodeTypeRegistry | null; + nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; } -export type DeletePhoneNumberPayloadSelect = { +export type DeleteNodeTypeRegistryPayloadSelect = { clientMutationId?: boolean; - phoneNumber?: { - select: PhoneNumberSelect; + nodeTypeRegistry?: { + select: NodeTypeRegistrySelect; }; - phoneNumberEdge?: { - select: PhoneNumberEdgeSelect; + nodeTypeRegistryEdge?: { + select: NodeTypeRegistryEdgeSelect; }; }; export interface CreateMembershipTypePayload { @@ -17117,51 +19110,6 @@ export type DeleteMembershipTypePayloadSelect = { select: MembershipTypeEdgeSelect; }; }; -export interface CreateNodeTypeRegistryPayload { - clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was created by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; -} -export type CreateNodeTypeRegistryPayloadSelect = { - clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; - }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; - }; -}; -export interface UpdateNodeTypeRegistryPayload { - clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was updated by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; -} -export type UpdateNodeTypeRegistryPayloadSelect = { - clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; - }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; - }; -}; -export interface DeleteNodeTypeRegistryPayload { - clientMutationId?: string | null; - /** The `NodeTypeRegistry` that was deleted by this mutation. */ - nodeTypeRegistry?: NodeTypeRegistry | null; - nodeTypeRegistryEdge?: NodeTypeRegistryEdge | null; -} -export type DeleteNodeTypeRegistryPayloadSelect = { - clientMutationId?: boolean; - nodeTypeRegistry?: { - select: NodeTypeRegistrySelect; - }; - nodeTypeRegistryEdge?: { - select: NodeTypeRegistryEdgeSelect; - }; -}; export interface CreateAppMembershipDefaultPayload { clientMutationId?: string | null; /** The `AppMembershipDefault` that was created by this mutation. */ @@ -17207,6 +19155,51 @@ export type DeleteAppMembershipDefaultPayloadSelect = { select: AppMembershipDefaultEdgeSelect; }; }; +export interface CreateRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was created by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export type CreateRlsModulePayloadSelect = { + clientMutationId?: boolean; + rlsModule?: { + select: RlsModuleSelect; + }; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; + }; +}; +export interface UpdateRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was updated by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export type UpdateRlsModulePayloadSelect = { + clientMutationId?: boolean; + rlsModule?: { + select: RlsModuleSelect; + }; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; + }; +}; +export interface DeleteRlsModulePayload { + clientMutationId?: string | null; + /** The `RlsModule` that was deleted by this mutation. */ + rlsModule?: RlsModule | null; + rlsModuleEdge?: RlsModuleEdge | null; +} +export type DeleteRlsModulePayloadSelect = { + clientMutationId?: boolean; + rlsModule?: { + select: RlsModuleSelect; + }; + rlsModuleEdge?: { + select: RlsModuleEdgeSelect; + }; +}; export interface CreateCommitPayload { clientMutationId?: string | null; /** The `Commit` that was created by this mutation. */ @@ -17387,6 +19380,17 @@ export type DeleteAppLevelPayloadSelect = { select: AppLevelEdgeSelect; }; }; +export interface CreateSqlMigrationPayload { + clientMutationId?: string | null; + /** The `SqlMigration` that was created by this mutation. */ + sqlMigration?: SqlMigration | null; +} +export type CreateSqlMigrationPayloadSelect = { + clientMutationId?: boolean; + sqlMigration?: { + select: SqlMigrationSelect; + }; +}; export interface CreateEmailPayload { clientMutationId?: string | null; /** The `Email` that was created by this mutation. */ @@ -17432,17 +19436,6 @@ export type DeleteEmailPayloadSelect = { select: EmailEdgeSelect; }; }; -export interface CreateSqlMigrationPayload { - clientMutationId?: string | null; - /** The `SqlMigration` that was created by this mutation. */ - sqlMigration?: SqlMigration | null; -} -export type CreateSqlMigrationPayloadSelect = { - clientMutationId?: boolean; - sqlMigration?: { - select: SqlMigrationSelect; - }; -}; export interface CreateAstMigrationPayload { clientMutationId?: string | null; /** The `AstMigration` that was created by this mutation. */ @@ -17454,51 +19447,6 @@ export type CreateAstMigrationPayloadSelect = { select: AstMigrationSelect; }; }; -export interface CreateUserPayload { - clientMutationId?: string | null; - /** The `User` that was created by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type CreateUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; -export interface UpdateUserPayload { - clientMutationId?: string | null; - /** The `User` that was updated by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type UpdateUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; -export interface DeleteUserPayload { - clientMutationId?: string | null; - /** The `User` that was deleted by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} -export type DeleteUserPayloadSelect = { - clientMutationId?: boolean; - user?: { - select: UserSelect; - }; - userEdge?: { - select: UserEdgeSelect; - }; -}; export interface CreateAppMembershipPayload { clientMutationId?: string | null; /** The `AppMembership` that was created by this mutation. */ @@ -17544,6 +19492,51 @@ export type DeleteAppMembershipPayloadSelect = { select: AppMembershipEdgeSelect; }; }; +export interface CreateUserPayload { + clientMutationId?: string | null; + /** The `User` that was created by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type CreateUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; +export interface UpdateUserPayload { + clientMutationId?: string | null; + /** The `User` that was updated by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type UpdateUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; +export interface DeleteUserPayload { + clientMutationId?: string | null; + /** The `User` that was deleted by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; +} +export type DeleteUserPayloadSelect = { + clientMutationId?: boolean; + user?: { + select: UserSelect; + }; + userEdge?: { + select: UserEdgeSelect; + }; +}; export interface CreateHierarchyModulePayload { clientMutationId?: string | null; /** The `HierarchyModule` that was created by this mutation. */ @@ -17663,6 +19656,16 @@ export interface BootstrapUserRecord { outIsOwner?: boolean | null; outIsSudo?: boolean | null; outApiKey?: string | null; + /** TRGM similarity when searching `outEmail`. Returns null when no trgm search filter is active. */ + outEmailTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outUsername`. Returns null when no trgm search filter is active. */ + outUsernameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outDisplayName`. Returns null when no trgm search filter is active. */ + outDisplayNameTrgmSimilarity?: number | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export type BootstrapUserRecordSelect = { outUserId?: boolean; @@ -17673,14 +19676,25 @@ export type BootstrapUserRecordSelect = { outIsOwner?: boolean; outIsSudo?: boolean; outApiKey?: boolean; + outEmailTrgmSimilarity?: boolean; + outUsernameTrgmSimilarity?: boolean; + outDisplayNameTrgmSimilarity?: boolean; + outApiKeyTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ProvisionDatabaseWithUserRecord { outDatabaseId?: string | null; outApiKey?: string | null; + /** TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. */ + outApiKeyTrgmSimilarity?: number | null; + /** 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?: number | null; } export type ProvisionDatabaseWithUserRecordSelect = { outDatabaseId?: boolean; outApiKey?: boolean; + outApiKeyTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignInOneTimeTokenRecord { id?: string | null; @@ -17689,6 +19703,10 @@ export interface SignInOneTimeTokenRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInOneTimeTokenRecordSelect = { id?: boolean; @@ -17697,6 +19715,8 @@ export type SignInOneTimeTokenRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface ExtendTokenExpiresRecord { id?: string | null; @@ -17715,6 +19735,10 @@ export interface SignInRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignInRecordSelect = { id?: boolean; @@ -17723,6 +19747,8 @@ export type SignInRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; export interface SignUpRecord { id?: string | null; @@ -17731,6 +19757,10 @@ export interface SignUpRecord { accessTokenExpiresAt?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; + /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */ + accessTokenTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SignUpRecordSelect = { id?: boolean; @@ -17739,6 +19769,8 @@ export type SignUpRecordSelect = { accessTokenExpiresAt?: boolean; isVerified?: boolean; totpEnabled?: boolean; + accessTokenTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state */ export interface Session { @@ -17767,6 +19799,14 @@ export interface Session { csrfSecret?: string | null; createdAt?: string | null; updatedAt?: string | null; + /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */ + uagentTrgmSimilarity?: number | null; + /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */ + fingerprintModeTrgmSimilarity?: number | null; + /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */ + csrfSecretTrgmSimilarity?: number | null; + /** 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?: number | null; } export type SessionSelect = { id?: boolean; @@ -17783,6 +19823,10 @@ export type SessionSelect = { csrfSecret?: boolean; createdAt?: boolean; updatedAt?: boolean; + uagentTrgmSimilarity?: boolean; + fingerprintModeTrgmSimilarity?: boolean; + csrfSecretTrgmSimilarity?: boolean; + searchScore?: boolean; }; /** A `Database` edge in the connection. */ export interface DatabaseEdge { @@ -17988,18 +20032,6 @@ export type ViewRuleEdgeSelect = { select: ViewRuleSelect; }; }; -/** A `TableModule` edge in the connection. */ -export interface TableModuleEdge { - cursor?: string | null; - /** The `TableModule` at the end of the edge. */ - node?: TableModule | null; -} -export type TableModuleEdgeSelect = { - cursor?: boolean; - node?: { - select: TableModuleSelect; - }; -}; /** A `TableTemplateModule` edge in the connection. */ export interface TableTemplateModuleEdge { cursor?: string | null; @@ -18372,18 +20404,6 @@ export type ProfilesModuleEdgeSelect = { select: ProfilesModuleSelect; }; }; -/** A `RlsModule` edge in the connection. */ -export interface RlsModuleEdge { - cursor?: string | null; - /** The `RlsModule` at the end of the edge. */ - node?: RlsModule | null; -} -export type RlsModuleEdgeSelect = { - cursor?: boolean; - node?: { - select: RlsModuleSelect; - }; -}; /** A `SecretsModule` edge in the connection. */ export interface SecretsModuleEdge { cursor?: string | null; @@ -18708,6 +20728,18 @@ export type AppPermissionDefaultEdgeSelect = { select: AppPermissionDefaultSelect; }; }; +/** A `CryptoAddress` edge in the connection. */ +export interface CryptoAddressEdge { + cursor?: string | null; + /** The `CryptoAddress` at the end of the edge. */ + node?: CryptoAddress | null; +} +export type CryptoAddressEdgeSelect = { + cursor?: boolean; + node?: { + select: CryptoAddressSelect; + }; +}; /** A `RoleType` edge in the connection. */ export interface RoleTypeEdge { cursor?: string | null; @@ -18732,16 +20764,16 @@ export type OrgPermissionDefaultEdgeSelect = { select: OrgPermissionDefaultSelect; }; }; -/** A `CryptoAddress` edge in the connection. */ -export interface CryptoAddressEdge { +/** A `PhoneNumber` edge in the connection. */ +export interface PhoneNumberEdge { cursor?: string | null; - /** The `CryptoAddress` at the end of the edge. */ - node?: CryptoAddress | null; + /** The `PhoneNumber` at the end of the edge. */ + node?: PhoneNumber | null; } -export type CryptoAddressEdgeSelect = { +export type PhoneNumberEdgeSelect = { cursor?: boolean; node?: { - select: CryptoAddressSelect; + select: PhoneNumberSelect; }; }; /** A `AppLimitDefault` edge in the connection. */ @@ -18780,16 +20812,16 @@ export type ConnectedAccountEdgeSelect = { select: ConnectedAccountSelect; }; }; -/** A `PhoneNumber` edge in the connection. */ -export interface PhoneNumberEdge { +/** A `NodeTypeRegistry` edge in the connection. */ +export interface NodeTypeRegistryEdge { cursor?: string | null; - /** The `PhoneNumber` at the end of the edge. */ - node?: PhoneNumber | null; + /** The `NodeTypeRegistry` at the end of the edge. */ + node?: NodeTypeRegistry | null; } -export type PhoneNumberEdgeSelect = { +export type NodeTypeRegistryEdgeSelect = { cursor?: boolean; node?: { - select: PhoneNumberSelect; + select: NodeTypeRegistrySelect; }; }; /** A `MembershipType` edge in the connection. */ @@ -18804,18 +20836,6 @@ export type MembershipTypeEdgeSelect = { select: MembershipTypeSelect; }; }; -/** A `NodeTypeRegistry` edge in the connection. */ -export interface NodeTypeRegistryEdge { - cursor?: string | null; - /** The `NodeTypeRegistry` at the end of the edge. */ - node?: NodeTypeRegistry | null; -} -export type NodeTypeRegistryEdgeSelect = { - cursor?: boolean; - node?: { - select: NodeTypeRegistrySelect; - }; -}; /** A `AppMembershipDefault` edge in the connection. */ export interface AppMembershipDefaultEdge { cursor?: string | null; @@ -18828,6 +20848,18 @@ export type AppMembershipDefaultEdgeSelect = { select: AppMembershipDefaultSelect; }; }; +/** A `RlsModule` edge in the connection. */ +export interface RlsModuleEdge { + cursor?: string | null; + /** The `RlsModule` at the end of the edge. */ + node?: RlsModule | null; +} +export type RlsModuleEdgeSelect = { + cursor?: boolean; + node?: { + select: RlsModuleSelect; + }; +}; /** A `Commit` edge in the connection. */ export interface CommitEdge { cursor?: string | null; @@ -18888,18 +20920,6 @@ export type EmailEdgeSelect = { select: EmailSelect; }; }; -/** A `User` edge in the connection. */ -export interface UserEdge { - cursor?: string | null; - /** The `User` at the end of the edge. */ - node?: User | null; -} -export type UserEdgeSelect = { - cursor?: boolean; - node?: { - select: UserSelect; - }; -}; /** A `AppMembership` edge in the connection. */ export interface AppMembershipEdge { cursor?: string | null; @@ -18912,6 +20932,18 @@ export type AppMembershipEdgeSelect = { select: AppMembershipSelect; }; }; +/** A `User` edge in the connection. */ +export interface UserEdge { + cursor?: string | null; + /** The `User` at the end of the edge. */ + node?: User | null; +} +export type UserEdgeSelect = { + cursor?: boolean; + node?: { + select: UserSelect; + }; +}; /** A `HierarchyModule` edge in the connection. */ export interface HierarchyModuleEdge { cursor?: string | null; diff --git a/sdk/constructive-sdk/src/public/orm/models/api.ts b/sdk/constructive-sdk/src/public/orm/models/api.ts index 2995bb318..0533ae182 100644 --- a/sdk/constructive-sdk/src/public/orm/models/api.ts +++ b/sdk/constructive-sdk/src/public/orm/models/api.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/apiModule.ts b/sdk/constructive-sdk/src/public/orm/models/apiModule.ts index 47b2be5f6..c4bc0a5c8 100644 --- a/sdk/constructive-sdk/src/public/orm/models/apiModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/apiModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/apiSchema.ts b/sdk/constructive-sdk/src/public/orm/models/apiSchema.ts index 4e6664741..46c1e4202 100644 --- a/sdk/constructive-sdk/src/public/orm/models/apiSchema.ts +++ b/sdk/constructive-sdk/src/public/orm/models/apiSchema.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ApiSchemaModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/app.ts b/sdk/constructive-sdk/src/public/orm/models/app.ts index a851a9774..6bc04a7d8 100644 --- a/sdk/constructive-sdk/src/public/orm/models/app.ts +++ b/sdk/constructive-sdk/src/public/orm/models/app.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appAchievement.ts b/sdk/constructive-sdk/src/public/orm/models/appAchievement.ts index c26bd04df..b6b13c6ca 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appAchievement.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appAchievement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAchievementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appAdminGrant.ts b/sdk/constructive-sdk/src/public/orm/models/appAdminGrant.ts index 994dcd67d..e109a5074 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appAdminGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appGrant.ts b/sdk/constructive-sdk/src/public/orm/models/appGrant.ts index df4f3ac72..d6c381d48 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appLevel.ts b/sdk/constructive-sdk/src/public/orm/models/appLevel.ts index 16a46df57..69e6100e0 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appLevel.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appLevel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appLevelRequirement.ts b/sdk/constructive-sdk/src/public/orm/models/appLevelRequirement.ts index a67824ec2..085346af5 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appLevelRequirement.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appLevelRequirement.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLevelRequirementModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appLimit.ts b/sdk/constructive-sdk/src/public/orm/models/appLimit.ts index 6671f9d37..667cf913e 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appLimit.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appLimitDefault.ts b/sdk/constructive-sdk/src/public/orm/models/appLimitDefault.ts index 8d926da0a..b2ca4d794 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appLimitDefault.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appMembership.ts b/sdk/constructive-sdk/src/public/orm/models/appMembership.ts index 2631ec415..fe22a66c1 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appMembership.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appMembershipDefault.ts b/sdk/constructive-sdk/src/public/orm/models/appMembershipDefault.ts index ba0c3ce53..333231b61 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appMembershipDefault.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appOwnerGrant.ts b/sdk/constructive-sdk/src/public/orm/models/appOwnerGrant.ts index a18dd21c4..0c2e436d0 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appOwnerGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appPermission.ts b/sdk/constructive-sdk/src/public/orm/models/appPermission.ts index ab24d7bfc..c1740e8cc 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appPermission.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appPermissionDefault.ts b/sdk/constructive-sdk/src/public/orm/models/appPermissionDefault.ts index 3951ef4bb..926a76f55 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appPermissionDefault.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/appStep.ts b/sdk/constructive-sdk/src/public/orm/models/appStep.ts index 7c4ab983c..a6895d488 100644 --- a/sdk/constructive-sdk/src/public/orm/models/appStep.ts +++ b/sdk/constructive-sdk/src/public/orm/models/appStep.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AppStepModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/astMigration.ts b/sdk/constructive-sdk/src/public/orm/models/astMigration.ts index 8bab8cfd0..44b0d3469 100644 --- a/sdk/constructive-sdk/src/public/orm/models/astMigration.ts +++ b/sdk/constructive-sdk/src/public/orm/models/astMigration.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AstMigrationModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/auditLog.ts b/sdk/constructive-sdk/src/public/orm/models/auditLog.ts index 3d6aacb4e..6923d2902 100644 --- a/sdk/constructive-sdk/src/public/orm/models/auditLog.ts +++ b/sdk/constructive-sdk/src/public/orm/models/auditLog.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class AuditLogModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/checkConstraint.ts b/sdk/constructive-sdk/src/public/orm/models/checkConstraint.ts index 3d789793d..511179b11 100644 --- a/sdk/constructive-sdk/src/public/orm/models/checkConstraint.ts +++ b/sdk/constructive-sdk/src/public/orm/models/checkConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CheckConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/claimedInvite.ts b/sdk/constructive-sdk/src/public/orm/models/claimedInvite.ts index 9a679a488..2acbbcddc 100644 --- a/sdk/constructive-sdk/src/public/orm/models/claimedInvite.ts +++ b/sdk/constructive-sdk/src/public/orm/models/claimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/commit.ts b/sdk/constructive-sdk/src/public/orm/models/commit.ts index 257e233ae..ea9aa22d2 100644 --- a/sdk/constructive-sdk/src/public/orm/models/commit.ts +++ b/sdk/constructive-sdk/src/public/orm/models/commit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CommitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/connectedAccount.ts b/sdk/constructive-sdk/src/public/orm/models/connectedAccount.ts index 0f2523553..2c68e0072 100644 --- a/sdk/constructive-sdk/src/public/orm/models/connectedAccount.ts +++ b/sdk/constructive-sdk/src/public/orm/models/connectedAccount.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/connectedAccountsModule.ts b/sdk/constructive-sdk/src/public/orm/models/connectedAccountsModule.ts index 09cb420e5..ee4816c47 100644 --- a/sdk/constructive-sdk/src/public/orm/models/connectedAccountsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/connectedAccountsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ConnectedAccountsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/cryptoAddress.ts b/sdk/constructive-sdk/src/public/orm/models/cryptoAddress.ts index 8d0c9b387..612da9a59 100644 --- a/sdk/constructive-sdk/src/public/orm/models/cryptoAddress.ts +++ b/sdk/constructive-sdk/src/public/orm/models/cryptoAddress.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/cryptoAddressesModule.ts b/sdk/constructive-sdk/src/public/orm/models/cryptoAddressesModule.ts index 5c1de3024..134c2513f 100644 --- a/sdk/constructive-sdk/src/public/orm/models/cryptoAddressesModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/cryptoAddressesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAddressesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/cryptoAuthModule.ts b/sdk/constructive-sdk/src/public/orm/models/cryptoAuthModule.ts index ddaa749f8..c17d4576f 100644 --- a/sdk/constructive-sdk/src/public/orm/models/cryptoAuthModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/cryptoAuthModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class CryptoAuthModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/database.ts b/sdk/constructive-sdk/src/public/orm/models/database.ts index 9bb0c871a..78f7ea7ab 100644 --- a/sdk/constructive-sdk/src/public/orm/models/database.ts +++ b/sdk/constructive-sdk/src/public/orm/models/database.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DatabaseModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/databaseProvisionModule.ts b/sdk/constructive-sdk/src/public/orm/models/databaseProvisionModule.ts index 31becee8c..a54fc9e33 100644 --- a/sdk/constructive-sdk/src/public/orm/models/databaseProvisionModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/databaseProvisionModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DatabaseProvisionModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/defaultIdsModule.ts b/sdk/constructive-sdk/src/public/orm/models/defaultIdsModule.ts index 665f3eb1e..9dd0ff2aa 100644 --- a/sdk/constructive-sdk/src/public/orm/models/defaultIdsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/defaultIdsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DefaultIdsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/defaultPrivilege.ts b/sdk/constructive-sdk/src/public/orm/models/defaultPrivilege.ts index 73079ad7f..d94bf3852 100644 --- a/sdk/constructive-sdk/src/public/orm/models/defaultPrivilege.ts +++ b/sdk/constructive-sdk/src/public/orm/models/defaultPrivilege.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DefaultPrivilegeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/denormalizedTableField.ts b/sdk/constructive-sdk/src/public/orm/models/denormalizedTableField.ts index 111286e0e..0e0761fea 100644 --- a/sdk/constructive-sdk/src/public/orm/models/denormalizedTableField.ts +++ b/sdk/constructive-sdk/src/public/orm/models/denormalizedTableField.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DenormalizedTableFieldModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/domain.ts b/sdk/constructive-sdk/src/public/orm/models/domain.ts index dcdb161a7..a7e531285 100644 --- a/sdk/constructive-sdk/src/public/orm/models/domain.ts +++ b/sdk/constructive-sdk/src/public/orm/models/domain.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class DomainModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/email.ts b/sdk/constructive-sdk/src/public/orm/models/email.ts index d03c2180b..c73b51b9d 100644 --- a/sdk/constructive-sdk/src/public/orm/models/email.ts +++ b/sdk/constructive-sdk/src/public/orm/models/email.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/emailsModule.ts b/sdk/constructive-sdk/src/public/orm/models/emailsModule.ts index ab8058dfe..e03452b36 100644 --- a/sdk/constructive-sdk/src/public/orm/models/emailsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/emailsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EmailsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/encryptedSecretsModule.ts b/sdk/constructive-sdk/src/public/orm/models/encryptedSecretsModule.ts index d82b79a8e..e2dd9387c 100644 --- a/sdk/constructive-sdk/src/public/orm/models/encryptedSecretsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/encryptedSecretsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class EncryptedSecretsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/field.ts b/sdk/constructive-sdk/src/public/orm/models/field.ts index 6d54be6c0..e58fd8d55 100644 --- a/sdk/constructive-sdk/src/public/orm/models/field.ts +++ b/sdk/constructive-sdk/src/public/orm/models/field.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FieldModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/fieldModule.ts b/sdk/constructive-sdk/src/public/orm/models/fieldModule.ts index e4a646053..8b5fc151c 100644 --- a/sdk/constructive-sdk/src/public/orm/models/fieldModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/fieldModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FieldModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/foreignKeyConstraint.ts b/sdk/constructive-sdk/src/public/orm/models/foreignKeyConstraint.ts index 725546cba..a0536d189 100644 --- a/sdk/constructive-sdk/src/public/orm/models/foreignKeyConstraint.ts +++ b/sdk/constructive-sdk/src/public/orm/models/foreignKeyConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ForeignKeyConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/fullTextSearch.ts b/sdk/constructive-sdk/src/public/orm/models/fullTextSearch.ts index ef372d194..08daca1f4 100644 --- a/sdk/constructive-sdk/src/public/orm/models/fullTextSearch.ts +++ b/sdk/constructive-sdk/src/public/orm/models/fullTextSearch.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class FullTextSearchModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/getAllRecord.ts b/sdk/constructive-sdk/src/public/orm/models/getAllRecord.ts index 53873a0f3..94a06bdd9 100644 --- a/sdk/constructive-sdk/src/public/orm/models/getAllRecord.ts +++ b/sdk/constructive-sdk/src/public/orm/models/getAllRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class GetAllRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/hierarchyModule.ts b/sdk/constructive-sdk/src/public/orm/models/hierarchyModule.ts index af2684505..5734d644a 100644 --- a/sdk/constructive-sdk/src/public/orm/models/hierarchyModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/hierarchyModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class HierarchyModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/index.ts b/sdk/constructive-sdk/src/public/orm/models/index.ts index 69c875e89..b871be98f 100644 --- a/sdk/constructive-sdk/src/public/orm/models/index.ts +++ b/sdk/constructive-sdk/src/public/orm/models/index.ts @@ -27,7 +27,6 @@ export { ViewModel } from './view'; export { ViewTableModel } from './viewTable'; export { ViewGrantModel } from './viewGrant'; export { ViewRuleModel } from './viewRule'; -export { TableModuleModel } from './tableModule'; export { TableTemplateModuleModel } from './tableTemplateModule'; export { SecureTableProvisionModel } from './secureTableProvision'; export { RelationProvisionModel } from './relationProvision'; @@ -59,7 +58,6 @@ export { MembershipsModuleModel } from './membershipsModule'; export { PermissionsModuleModel } from './permissionsModule'; export { PhoneNumbersModuleModel } from './phoneNumbersModule'; export { ProfilesModuleModel } from './profilesModule'; -export { RlsModuleModel } from './rlsModule'; export { SecretsModuleModel } from './secretsModule'; export { SessionsModuleModel } from './sessionsModule'; export { UserAuthModuleModel } from './userAuthModule'; @@ -87,23 +85,24 @@ export { OrgClaimedInviteModel } from './orgClaimedInvite'; export { RefModel } from './ref'; export { StoreModel } from './store'; export { AppPermissionDefaultModel } from './appPermissionDefault'; +export { CryptoAddressModel } from './cryptoAddress'; export { RoleTypeModel } from './roleType'; export { OrgPermissionDefaultModel } from './orgPermissionDefault'; -export { CryptoAddressModel } from './cryptoAddress'; +export { PhoneNumberModel } from './phoneNumber'; export { AppLimitDefaultModel } from './appLimitDefault'; export { OrgLimitDefaultModel } from './orgLimitDefault'; export { ConnectedAccountModel } from './connectedAccount'; -export { PhoneNumberModel } from './phoneNumber'; -export { MembershipTypeModel } from './membershipType'; export { NodeTypeRegistryModel } from './nodeTypeRegistry'; +export { MembershipTypeModel } from './membershipType'; export { AppMembershipDefaultModel } from './appMembershipDefault'; +export { RlsModuleModel } from './rlsModule'; export { CommitModel } from './commit'; export { OrgMembershipDefaultModel } from './orgMembershipDefault'; export { AuditLogModel } from './auditLog'; export { AppLevelModel } from './appLevel'; -export { EmailModel } from './email'; export { SqlMigrationModel } from './sqlMigration'; +export { EmailModel } from './email'; export { AstMigrationModel } from './astMigration'; -export { UserModel } from './user'; export { AppMembershipModel } from './appMembership'; +export { UserModel } from './user'; export { HierarchyModuleModel } from './hierarchyModule'; diff --git a/sdk/constructive-sdk/src/public/orm/models/indexModel.ts b/sdk/constructive-sdk/src/public/orm/models/indexModel.ts index 4db3f2083..ffca4ea4c 100644 --- a/sdk/constructive-sdk/src/public/orm/models/indexModel.ts +++ b/sdk/constructive-sdk/src/public/orm/models/indexModel.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class IndexModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/invite.ts b/sdk/constructive-sdk/src/public/orm/models/invite.ts index ffacfa690..7cb652492 100644 --- a/sdk/constructive-sdk/src/public/orm/models/invite.ts +++ b/sdk/constructive-sdk/src/public/orm/models/invite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/invitesModule.ts b/sdk/constructive-sdk/src/public/orm/models/invitesModule.ts index 8a25495cc..8e4d790c1 100644 --- a/sdk/constructive-sdk/src/public/orm/models/invitesModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/invitesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class InvitesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/levelsModule.ts b/sdk/constructive-sdk/src/public/orm/models/levelsModule.ts index 4c0cedf16..dd05fdabb 100644 --- a/sdk/constructive-sdk/src/public/orm/models/levelsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/levelsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class LevelsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/limitsModule.ts b/sdk/constructive-sdk/src/public/orm/models/limitsModule.ts index a6976e0d3..a3ae43570 100644 --- a/sdk/constructive-sdk/src/public/orm/models/limitsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/limitsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class LimitsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/membershipType.ts b/sdk/constructive-sdk/src/public/orm/models/membershipType.ts index c8f385b4e..9bb48d29b 100644 --- a/sdk/constructive-sdk/src/public/orm/models/membershipType.ts +++ b/sdk/constructive-sdk/src/public/orm/models/membershipType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/membershipTypesModule.ts b/sdk/constructive-sdk/src/public/orm/models/membershipTypesModule.ts index 35e412956..faf147781 100644 --- a/sdk/constructive-sdk/src/public/orm/models/membershipTypesModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/membershipTypesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipTypesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/membershipsModule.ts b/sdk/constructive-sdk/src/public/orm/models/membershipsModule.ts index 106924932..e7be07de2 100644 --- a/sdk/constructive-sdk/src/public/orm/models/membershipsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/membershipsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class MembershipsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/nodeTypeRegistry.ts b/sdk/constructive-sdk/src/public/orm/models/nodeTypeRegistry.ts index 021587a23..00f1fa304 100644 --- a/sdk/constructive-sdk/src/public/orm/models/nodeTypeRegistry.ts +++ b/sdk/constructive-sdk/src/public/orm/models/nodeTypeRegistry.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class NodeTypeRegistryModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/object.ts b/sdk/constructive-sdk/src/public/orm/models/object.ts index 72f7b0da4..e6ffa470b 100644 --- a/sdk/constructive-sdk/src/public/orm/models/object.ts +++ b/sdk/constructive-sdk/src/public/orm/models/object.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ObjectModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgAdminGrant.ts b/sdk/constructive-sdk/src/public/orm/models/orgAdminGrant.ts index ad34ec08c..5547eb6b9 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgAdminGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgAdminGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgAdminGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgChartEdge.ts b/sdk/constructive-sdk/src/public/orm/models/orgChartEdge.ts index 3ff845429..00b00dfc8 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgChartEdge.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgChartEdge.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgChartEdgeGrant.ts b/sdk/constructive-sdk/src/public/orm/models/orgChartEdgeGrant.ts index 40dba3391..be92222db 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgChartEdgeGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgChartEdgeGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgChartEdgeGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgClaimedInvite.ts b/sdk/constructive-sdk/src/public/orm/models/orgClaimedInvite.ts index 7b1a668ce..3f4277848 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgClaimedInvite.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgClaimedInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgClaimedInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgGetManagersRecord.ts b/sdk/constructive-sdk/src/public/orm/models/orgGetManagersRecord.ts index 9a0cefa8a..e8f5a29ec 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgGetManagersRecord.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgGetManagersRecord.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetManagersRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgGetSubordinatesRecord.ts b/sdk/constructive-sdk/src/public/orm/models/orgGetSubordinatesRecord.ts index 5eeec50ca..be9fa6a62 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgGetSubordinatesRecord.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgGetSubordinatesRecord.ts @@ -37,7 +37,12 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGetSubordinatesRecordModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs< + S, + OrgGetSubordinatesRecordFilter, + never, + OrgGetSubordinatesRecordsOrderBy + > & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgGrant.ts b/sdk/constructive-sdk/src/public/orm/models/orgGrant.ts index 51ffe25e0..7142f7a22 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgInvite.ts b/sdk/constructive-sdk/src/public/orm/models/orgInvite.ts index 351f866ab..abf2f2e35 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgInvite.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgInvite.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgInviteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgLimit.ts b/sdk/constructive-sdk/src/public/orm/models/orgLimit.ts index 787dd2e18..4fa9be97a 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgLimit.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgLimit.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgLimitDefault.ts b/sdk/constructive-sdk/src/public/orm/models/orgLimitDefault.ts index b66e270b4..d0e0a1a77 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgLimitDefault.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgLimitDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgLimitDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgMember.ts b/sdk/constructive-sdk/src/public/orm/models/orgMember.ts index 9045b10e0..4e8e3b6e5 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgMember.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgMember.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMemberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgMembership.ts b/sdk/constructive-sdk/src/public/orm/models/orgMembership.ts index 7c5133b07..9ae89014b 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgMembership.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgMembership.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgMembershipDefault.ts b/sdk/constructive-sdk/src/public/orm/models/orgMembershipDefault.ts index c4863e35b..c4afaaad7 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgMembershipDefault.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgMembershipDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgMembershipDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgOwnerGrant.ts b/sdk/constructive-sdk/src/public/orm/models/orgOwnerGrant.ts index 57596aecd..d62bd3ab3 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgOwnerGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgOwnerGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgOwnerGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgPermission.ts b/sdk/constructive-sdk/src/public/orm/models/orgPermission.ts index 9a2c0461f..6c4cbf204 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgPermission.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgPermission.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/orgPermissionDefault.ts b/sdk/constructive-sdk/src/public/orm/models/orgPermissionDefault.ts index d6c204515..92af6e0db 100644 --- a/sdk/constructive-sdk/src/public/orm/models/orgPermissionDefault.ts +++ b/sdk/constructive-sdk/src/public/orm/models/orgPermissionDefault.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class OrgPermissionDefaultModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/permissionsModule.ts b/sdk/constructive-sdk/src/public/orm/models/permissionsModule.ts index 5f30fad1e..3d65c3247 100644 --- a/sdk/constructive-sdk/src/public/orm/models/permissionsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/permissionsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PermissionsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/phoneNumber.ts b/sdk/constructive-sdk/src/public/orm/models/phoneNumber.ts index 8122dff00..8b59ca891 100644 --- a/sdk/constructive-sdk/src/public/orm/models/phoneNumber.ts +++ b/sdk/constructive-sdk/src/public/orm/models/phoneNumber.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumberModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/phoneNumbersModule.ts b/sdk/constructive-sdk/src/public/orm/models/phoneNumbersModule.ts index 26fdcfd2e..d8dbcded9 100644 --- a/sdk/constructive-sdk/src/public/orm/models/phoneNumbersModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/phoneNumbersModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PhoneNumbersModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/policy.ts b/sdk/constructive-sdk/src/public/orm/models/policy.ts index 146ac30f5..2d5ad766b 100644 --- a/sdk/constructive-sdk/src/public/orm/models/policy.ts +++ b/sdk/constructive-sdk/src/public/orm/models/policy.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PolicyModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/primaryKeyConstraint.ts b/sdk/constructive-sdk/src/public/orm/models/primaryKeyConstraint.ts index 296ec2848..e339fd46c 100644 --- a/sdk/constructive-sdk/src/public/orm/models/primaryKeyConstraint.ts +++ b/sdk/constructive-sdk/src/public/orm/models/primaryKeyConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class PrimaryKeyConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/profilesModule.ts b/sdk/constructive-sdk/src/public/orm/models/profilesModule.ts index 2970a1f49..3d52c22c5 100644 --- a/sdk/constructive-sdk/src/public/orm/models/profilesModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/profilesModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ProfilesModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/ref.ts b/sdk/constructive-sdk/src/public/orm/models/ref.ts index ec666a8e7..bbbefc91f 100644 --- a/sdk/constructive-sdk/src/public/orm/models/ref.ts +++ b/sdk/constructive-sdk/src/public/orm/models/ref.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RefModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/relationProvision.ts b/sdk/constructive-sdk/src/public/orm/models/relationProvision.ts index 83dcb30fd..8d8fc6b12 100644 --- a/sdk/constructive-sdk/src/public/orm/models/relationProvision.ts +++ b/sdk/constructive-sdk/src/public/orm/models/relationProvision.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RelationProvisionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/rlsModule.ts b/sdk/constructive-sdk/src/public/orm/models/rlsModule.ts index 4729eb1b3..71d863919 100644 --- a/sdk/constructive-sdk/src/public/orm/models/rlsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/rlsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RlsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/roleType.ts b/sdk/constructive-sdk/src/public/orm/models/roleType.ts index dce555ddb..90a0b01dc 100644 --- a/sdk/constructive-sdk/src/public/orm/models/roleType.ts +++ b/sdk/constructive-sdk/src/public/orm/models/roleType.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class RoleTypeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/schema.ts b/sdk/constructive-sdk/src/public/orm/models/schema.ts index e930fee2b..5f6660fe0 100644 --- a/sdk/constructive-sdk/src/public/orm/models/schema.ts +++ b/sdk/constructive-sdk/src/public/orm/models/schema.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SchemaModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/schemaGrant.ts b/sdk/constructive-sdk/src/public/orm/models/schemaGrant.ts index 7a311cdb9..78813289e 100644 --- a/sdk/constructive-sdk/src/public/orm/models/schemaGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/schemaGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SchemaGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/secretsModule.ts b/sdk/constructive-sdk/src/public/orm/models/secretsModule.ts index 55d75dad4..c980e5c8a 100644 --- a/sdk/constructive-sdk/src/public/orm/models/secretsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/secretsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SecretsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/secureTableProvision.ts b/sdk/constructive-sdk/src/public/orm/models/secureTableProvision.ts index 713dc44c8..f3a438581 100644 --- a/sdk/constructive-sdk/src/public/orm/models/secureTableProvision.ts +++ b/sdk/constructive-sdk/src/public/orm/models/secureTableProvision.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SecureTableProvisionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/sessionsModule.ts b/sdk/constructive-sdk/src/public/orm/models/sessionsModule.ts index 5245d808b..724f530df 100644 --- a/sdk/constructive-sdk/src/public/orm/models/sessionsModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/sessionsModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SessionsModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/site.ts b/sdk/constructive-sdk/src/public/orm/models/site.ts index 83b54cc55..65ac6affd 100644 --- a/sdk/constructive-sdk/src/public/orm/models/site.ts +++ b/sdk/constructive-sdk/src/public/orm/models/site.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/siteMetadatum.ts b/sdk/constructive-sdk/src/public/orm/models/siteMetadatum.ts index 38353bdd3..9bafa6686 100644 --- a/sdk/constructive-sdk/src/public/orm/models/siteMetadatum.ts +++ b/sdk/constructive-sdk/src/public/orm/models/siteMetadatum.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteMetadatumModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/siteModule.ts b/sdk/constructive-sdk/src/public/orm/models/siteModule.ts index 59ee85477..b5215f5ee 100644 --- a/sdk/constructive-sdk/src/public/orm/models/siteModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/siteModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/siteTheme.ts b/sdk/constructive-sdk/src/public/orm/models/siteTheme.ts index e9222e3c5..68707da06 100644 --- a/sdk/constructive-sdk/src/public/orm/models/siteTheme.ts +++ b/sdk/constructive-sdk/src/public/orm/models/siteTheme.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SiteThemeModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/sqlMigration.ts b/sdk/constructive-sdk/src/public/orm/models/sqlMigration.ts index 07bba36b7..29bec4157 100644 --- a/sdk/constructive-sdk/src/public/orm/models/sqlMigration.ts +++ b/sdk/constructive-sdk/src/public/orm/models/sqlMigration.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class SqlMigrationModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/store.ts b/sdk/constructive-sdk/src/public/orm/models/store.ts index d6f5e0450..5481b44b9 100644 --- a/sdk/constructive-sdk/src/public/orm/models/store.ts +++ b/sdk/constructive-sdk/src/public/orm/models/store.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class StoreModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/table.ts b/sdk/constructive-sdk/src/public/orm/models/table.ts index 25f1ac127..5f875bd7f 100644 --- a/sdk/constructive-sdk/src/public/orm/models/table.ts +++ b/sdk/constructive-sdk/src/public/orm/models/table.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/tableGrant.ts b/sdk/constructive-sdk/src/public/orm/models/tableGrant.ts index bdd257b1e..eb85d3409 100644 --- a/sdk/constructive-sdk/src/public/orm/models/tableGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/tableGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/tableModule.ts b/sdk/constructive-sdk/src/public/orm/models/tableModule.ts deleted file mode 100644 index 708e7a4c5..000000000 --- a/sdk/constructive-sdk/src/public/orm/models/tableModule.ts +++ /dev/null @@ -1,236 +0,0 @@ -/** - * TableModule model for ORM client - * @generated by @constructive-io/graphql-codegen - * DO NOT EDIT - changes will be overwritten - */ -import { OrmClient } from '../client'; -import { - QueryBuilder, - buildFindManyDocument, - buildFindFirstDocument, - buildFindOneDocument, - buildCreateDocument, - buildUpdateByPkDocument, - buildDeleteByPkDocument, -} from '../query-builder'; -import type { - ConnectionResult, - FindManyArgs, - FindFirstArgs, - CreateArgs, - UpdateArgs, - DeleteArgs, - InferSelectResult, - StrictSelect, -} from '../select-types'; -import type { - TableModule, - TableModuleWithRelations, - TableModuleSelect, - TableModuleFilter, - TableModuleOrderBy, - CreateTableModuleInput, - UpdateTableModuleInput, - TableModulePatch, -} from '../input-types'; -import { connectionFieldsMap } from '../input-types'; -export class TableModuleModel { - constructor(private client: OrmClient) {} - findMany( - args: FindManyArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModules: ConnectionResult>; - }> { - const { document, variables } = buildFindManyDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: args?.where, - orderBy: args?.orderBy as string[] | undefined, - first: args?.first, - last: args?.last, - after: args?.after, - before: args?.before, - offset: args?.offset, - }, - 'TableModuleFilter', - 'TableModuleOrderBy', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModules', - document, - variables, - }); - } - findFirst( - args: FindFirstArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModules: { - nodes: InferSelectResult[]; - }; - }> { - const { document, variables } = buildFindFirstDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: args?.where, - }, - 'TableModuleFilter', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModules', - document, - variables, - }); - } - findOne( - args: { - id: string; - select: S; - } & StrictSelect - ): QueryBuilder<{ - tableModule: InferSelectResult | null; - }> { - const { document, variables } = buildFindManyDocument( - 'TableModule', - 'tableModules', - args.select, - { - where: { - id: { - equalTo: args.id, - }, - }, - first: 1, - }, - 'TableModuleFilter', - 'TableModuleOrderBy', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'query', - operationName: 'TableModule', - fieldName: 'tableModule', - document, - variables, - transform: (data: { - tableModules?: { - nodes?: InferSelectResult[]; - }; - }) => ({ - tableModule: data.tableModules?.nodes?.[0] ?? null, - }), - }); - } - create( - args: CreateArgs & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - createTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildCreateDocument( - 'TableModule', - 'createTableModule', - 'tableModule', - args.select, - args.data, - 'CreateTableModuleInput', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'createTableModule', - document, - variables, - }); - } - update( - args: UpdateArgs< - S, - { - id: string; - }, - TableModulePatch - > & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - updateTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildUpdateByPkDocument( - 'TableModule', - 'updateTableModule', - 'tableModule', - args.select, - args.where.id, - args.data, - 'UpdateTableModuleInput', - 'id', - 'tableModulePatch', - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'updateTableModule', - document, - variables, - }); - } - delete( - args: DeleteArgs< - { - id: string; - }, - S - > & { - select: S; - } & StrictSelect - ): QueryBuilder<{ - deleteTableModule: { - tableModule: InferSelectResult; - }; - }> { - const { document, variables } = buildDeleteByPkDocument( - 'TableModule', - 'deleteTableModule', - 'tableModule', - args.where.id, - 'DeleteTableModuleInput', - 'id', - args.select, - connectionFieldsMap - ); - return new QueryBuilder({ - client: this.client, - operation: 'mutation', - operationName: 'TableModule', - fieldName: 'deleteTableModule', - document, - variables, - }); - } -} diff --git a/sdk/constructive-sdk/src/public/orm/models/tableTemplateModule.ts b/sdk/constructive-sdk/src/public/orm/models/tableTemplateModule.ts index 7438901cc..4bb1225ec 100644 --- a/sdk/constructive-sdk/src/public/orm/models/tableTemplateModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/tableTemplateModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TableTemplateModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/trigger.ts b/sdk/constructive-sdk/src/public/orm/models/trigger.ts index 3ad1cf6ad..2839fac37 100644 --- a/sdk/constructive-sdk/src/public/orm/models/trigger.ts +++ b/sdk/constructive-sdk/src/public/orm/models/trigger.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TriggerModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/triggerFunction.ts b/sdk/constructive-sdk/src/public/orm/models/triggerFunction.ts index 7e93572c1..5a9f1ccae 100644 --- a/sdk/constructive-sdk/src/public/orm/models/triggerFunction.ts +++ b/sdk/constructive-sdk/src/public/orm/models/triggerFunction.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class TriggerFunctionModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/uniqueConstraint.ts b/sdk/constructive-sdk/src/public/orm/models/uniqueConstraint.ts index ad935fcca..c8de8b9fd 100644 --- a/sdk/constructive-sdk/src/public/orm/models/uniqueConstraint.ts +++ b/sdk/constructive-sdk/src/public/orm/models/uniqueConstraint.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UniqueConstraintModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/user.ts b/sdk/constructive-sdk/src/public/orm/models/user.ts index 7adeca16a..bc2dacdba 100644 --- a/sdk/constructive-sdk/src/public/orm/models/user.ts +++ b/sdk/constructive-sdk/src/public/orm/models/user.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/userAuthModule.ts b/sdk/constructive-sdk/src/public/orm/models/userAuthModule.ts index 59b3f7d69..3ee00a8eb 100644 --- a/sdk/constructive-sdk/src/public/orm/models/userAuthModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/userAuthModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UserAuthModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/usersModule.ts b/sdk/constructive-sdk/src/public/orm/models/usersModule.ts index c61a00ff1..3682dbb29 100644 --- a/sdk/constructive-sdk/src/public/orm/models/usersModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/usersModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UsersModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/uuidModule.ts b/sdk/constructive-sdk/src/public/orm/models/uuidModule.ts index 1b2f60f23..9a95fd500 100644 --- a/sdk/constructive-sdk/src/public/orm/models/uuidModule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/uuidModule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class UuidModuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/view.ts b/sdk/constructive-sdk/src/public/orm/models/view.ts index d28154954..1bdab5036 100644 --- a/sdk/constructive-sdk/src/public/orm/models/view.ts +++ b/sdk/constructive-sdk/src/public/orm/models/view.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/viewGrant.ts b/sdk/constructive-sdk/src/public/orm/models/viewGrant.ts index e63ef2382..7c0552242 100644 --- a/sdk/constructive-sdk/src/public/orm/models/viewGrant.ts +++ b/sdk/constructive-sdk/src/public/orm/models/viewGrant.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewGrantModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/viewRule.ts b/sdk/constructive-sdk/src/public/orm/models/viewRule.ts index 4bf9c2cca..33a361252 100644 --- a/sdk/constructive-sdk/src/public/orm/models/viewRule.ts +++ b/sdk/constructive-sdk/src/public/orm/models/viewRule.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewRuleModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/models/viewTable.ts b/sdk/constructive-sdk/src/public/orm/models/viewTable.ts index f976d31af..d44582086 100644 --- a/sdk/constructive-sdk/src/public/orm/models/viewTable.ts +++ b/sdk/constructive-sdk/src/public/orm/models/viewTable.ts @@ -37,7 +37,7 @@ import { connectionFieldsMap } from '../input-types'; export class ViewTableModel { constructor(private client: OrmClient) {} findMany( - args: FindManyArgs & { + args: FindManyArgs & { select: S; } & StrictSelect ): QueryBuilder<{ diff --git a/sdk/constructive-sdk/src/public/orm/mutation/index.ts b/sdk/constructive-sdk/src/public/orm/mutation/index.ts index f8ef22b51..43b9fc6e9 100644 --- a/sdk/constructive-sdk/src/public/orm/mutation/index.ts +++ b/sdk/constructive-sdk/src/public/orm/mutation/index.ts @@ -18,8 +18,8 @@ import type { SetPasswordInput, VerifyEmailInput, ResetPasswordInput, - RemoveNodeAtPathInput, BootstrapUserInput, + RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, @@ -49,8 +49,8 @@ import type { SetPasswordPayload, VerifyEmailPayload, ResetPasswordPayload, - RemoveNodeAtPathPayload, BootstrapUserPayload, + RemoveNodeAtPathPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, @@ -80,8 +80,8 @@ import type { SetPasswordPayloadSelect, VerifyEmailPayloadSelect, ResetPasswordPayloadSelect, - RemoveNodeAtPathPayloadSelect, BootstrapUserPayloadSelect, + RemoveNodeAtPathPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, @@ -135,12 +135,12 @@ export interface VerifyEmailVariables { export interface ResetPasswordVariables { input: ResetPasswordInput; } -export interface RemoveNodeAtPathVariables { - input: RemoveNodeAtPathInput; -} export interface BootstrapUserVariables { input: BootstrapUserInput; } +export interface RemoveNodeAtPathVariables { + input: RemoveNodeAtPathInput; +} export interface SetDataAtPathVariables { input: SetDataAtPathInput; } @@ -535,62 +535,62 @@ export function createMutationOperations(client: OrmClient) { 'ResetPasswordPayload' ), }), - removeNodeAtPath: ( - args: RemoveNodeAtPathVariables, + bootstrapUser: ( + args: BootstrapUserVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - removeNodeAtPath: InferSelectResult | null; + bootstrapUser: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'RemoveNodeAtPath', - fieldName: 'removeNodeAtPath', + operationName: 'BootstrapUser', + fieldName: 'bootstrapUser', ...buildCustomDocument( 'mutation', - 'RemoveNodeAtPath', - 'removeNodeAtPath', + 'BootstrapUser', + 'bootstrapUser', options.select, args, [ { name: 'input', - type: 'RemoveNodeAtPathInput!', + type: 'BootstrapUserInput!', }, ], connectionFieldsMap, - 'RemoveNodeAtPathPayload' + 'BootstrapUserPayload' ), }), - bootstrapUser: ( - args: BootstrapUserVariables, + removeNodeAtPath: ( + args: RemoveNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - bootstrapUser: InferSelectResult | null; + removeNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'BootstrapUser', - fieldName: 'bootstrapUser', + operationName: 'RemoveNodeAtPath', + fieldName: 'removeNodeAtPath', ...buildCustomDocument( 'mutation', - 'BootstrapUser', - 'bootstrapUser', + 'RemoveNodeAtPath', + 'removeNodeAtPath', options.select, args, [ { name: 'input', - type: 'BootstrapUserInput!', + type: 'RemoveNodeAtPathInput!', }, ], connectionFieldsMap, - 'BootstrapUserPayload' + 'RemoveNodeAtPathPayload' ), }), setDataAtPath: ( diff --git a/sdk/constructive-sdk/src/public/orm/query-builder.ts b/sdk/constructive-sdk/src/public/orm/query-builder.ts index d116a3678..969c14937 100644 --- a/sdk/constructive-sdk/src/public/orm/query-builder.ts +++ b/sdk/constructive-sdk/src/public/orm/query-builder.ts @@ -229,7 +229,6 @@ export function buildFindManyDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, @@ -339,7 +338,6 @@ export function buildFindFirstDocument( addVariable( { varName: 'where', - argName: 'filter', typeName: filterTypeName, value: args.where, }, diff --git a/skills/cli-admin/SKILL.md b/skills/cli-admin/SKILL.md index 2ee43b7e3..c0c7fbd6a 100644 --- a/skills/cli-admin/SKILL.md +++ b/skills/cli-admin/SKILL.md @@ -19,6 +19,10 @@ csdk context use # Authentication csdk auth set-token +# Config variables +csdk config set +csdk config get + # CRUD for any table (e.g. org-get-managers-record) csdk org-get-managers-record list csdk org-get-managers-record get --id @@ -51,6 +55,7 @@ See the `references/` directory for detailed per-entity API documentation: - [context](references/context.md) - [auth](references/auth.md) +- [config](references/config.md) - [org-get-managers-record](references/org-get-managers-record.md) - [org-get-subordinates-record](references/org-get-subordinates-record.md) - [app-permission](references/app-permission.md) @@ -65,8 +70,8 @@ See the `references/` directory for detailed per-entity API documentation: - [org-owner-grant](references/org-owner-grant.md) - [app-limit-default](references/app-limit-default.md) - [org-limit-default](references/org-limit-default.md) -- [membership-type](references/membership-type.md) - [org-chart-edge-grant](references/org-chart-edge-grant.md) +- [membership-type](references/membership-type.md) - [app-limit](references/app-limit.md) - [app-achievement](references/app-achievement.md) - [app-step](references/app-step.md) @@ -78,10 +83,10 @@ See the `references/` directory for detailed per-entity API documentation: - [org-grant](references/org-grant.md) - [org-chart-edge](references/org-chart-edge.md) - [org-membership-default](references/org-membership-default.md) -- [invite](references/invite.md) -- [app-level](references/app-level.md) - [app-membership](references/app-membership.md) - [org-membership](references/org-membership.md) +- [invite](references/invite.md) +- [app-level](references/app-level.md) - [org-invite](references/org-invite.md) - [app-permissions-get-padded-mask](references/app-permissions-get-padded-mask.md) - [org-permissions-get-padded-mask](references/org-permissions-get-padded-mask.md) diff --git a/skills/cli-admin/references/app-level-requirement.md b/skills/cli-admin/references/app-level-requirement.md index a08403018..fbcc8f444 100644 --- a/skills/cli-admin/references/app-level-requirement.md +++ b/skills/cli-admin/references/app-level-requirement.md @@ -9,8 +9,8 @@ CRUD operations for AppLevelRequirement records via csdk CLI ```bash csdk app-level-requirement list csdk app-level-requirement get --id -csdk app-level-requirement create --name --level [--description ] [--requiredCount ] [--priority ] -csdk app-level-requirement update --id [--name ] [--level ] [--description ] [--requiredCount ] [--priority ] +csdk app-level-requirement create --name --level --descriptionTrgmSimilarity --searchScore [--description ] [--requiredCount ] [--priority ] +csdk app-level-requirement update --id [--name ] [--level ] [--description ] [--requiredCount ] [--priority ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk app-level-requirement delete --id ``` @@ -25,7 +25,7 @@ csdk app-level-requirement list ### Create a appLevelRequirement ```bash -csdk app-level-requirement create --name --level [--description ] [--requiredCount ] [--priority ] +csdk app-level-requirement create --name --level --descriptionTrgmSimilarity --searchScore [--description ] [--requiredCount ] [--priority ] ``` ### Get a appLevelRequirement by id diff --git a/skills/cli-admin/references/app-level.md b/skills/cli-admin/references/app-level.md index 3ec5afb86..b2fcf3801 100644 --- a/skills/cli-admin/references/app-level.md +++ b/skills/cli-admin/references/app-level.md @@ -9,8 +9,8 @@ CRUD operations for AppLevel records via csdk CLI ```bash csdk app-level list csdk app-level get --id -csdk app-level create --name [--description ] [--image ] [--ownerId ] -csdk app-level update --id [--name ] [--description ] [--image ] [--ownerId ] +csdk app-level create --name --descriptionTrgmSimilarity --searchScore [--description ] [--image ] [--ownerId ] +csdk app-level update --id [--name ] [--description ] [--image ] [--ownerId ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk app-level delete --id ``` @@ -25,7 +25,7 @@ csdk app-level list ### Create a appLevel ```bash -csdk app-level create --name [--description ] [--image ] [--ownerId ] +csdk app-level create --name --descriptionTrgmSimilarity --searchScore [--description ] [--image ] [--ownerId ] ``` ### Get a appLevel by id diff --git a/skills/cli-admin/references/app-permission.md b/skills/cli-admin/references/app-permission.md index eef95408e..d144d2858 100644 --- a/skills/cli-admin/references/app-permission.md +++ b/skills/cli-admin/references/app-permission.md @@ -9,8 +9,8 @@ CRUD operations for AppPermission records via csdk CLI ```bash csdk app-permission list csdk app-permission get --id -csdk app-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] -csdk app-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk app-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk app-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk app-permission delete --id ``` @@ -25,7 +25,7 @@ csdk app-permission list ### Create a appPermission ```bash -csdk app-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk app-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] ``` ### Get a appPermission by id diff --git a/skills/cli-admin/references/config.md b/skills/cli-admin/references/config.md new file mode 100644 index 000000000..cc1c23b7b --- /dev/null +++ b/skills/cli-admin/references/config.md @@ -0,0 +1,29 @@ +# Config Variables + + + +Manage per-context key-value configuration variables for csdk + +## Usage + +```bash +csdk config get +csdk config set +csdk config list +csdk config delete +``` + +## Examples + +### Store and retrieve a config variable + +```bash +csdk config set orgId abc-123 +csdk config get orgId +``` + +### List all config variables + +```bash +csdk config list +``` diff --git a/skills/cli-admin/references/invite.md b/skills/cli-admin/references/invite.md index 5b837cd1a..1b64e9d03 100644 --- a/skills/cli-admin/references/invite.md +++ b/skills/cli-admin/references/invite.md @@ -9,8 +9,8 @@ CRUD operations for Invite records via csdk CLI ```bash csdk invite list csdk invite get --id -csdk invite create [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] -csdk invite update --id [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk invite create --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk invite update --id [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] [--inviteTokenTrgmSimilarity ] [--searchScore ] csdk invite delete --id ``` @@ -25,7 +25,7 @@ csdk invite list ### Create a invite ```bash -csdk invite create [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk invite create --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] ``` ### Get a invite by id diff --git a/skills/cli-admin/references/membership-type.md b/skills/cli-admin/references/membership-type.md index 4ef886048..59128339b 100644 --- a/skills/cli-admin/references/membership-type.md +++ b/skills/cli-admin/references/membership-type.md @@ -9,8 +9,8 @@ CRUD operations for MembershipType records via csdk CLI ```bash csdk membership-type list csdk membership-type get --id -csdk membership-type create --name --description --prefix -csdk membership-type update --id [--name ] [--description ] [--prefix ] +csdk membership-type create --name --description --prefix --descriptionTrgmSimilarity --prefixTrgmSimilarity --searchScore +csdk membership-type update --id [--name ] [--description ] [--prefix ] [--descriptionTrgmSimilarity ] [--prefixTrgmSimilarity ] [--searchScore ] csdk membership-type delete --id ``` @@ -25,7 +25,7 @@ csdk membership-type list ### Create a membershipType ```bash -csdk membership-type create --name --description --prefix +csdk membership-type create --name --description --prefix --descriptionTrgmSimilarity --prefixTrgmSimilarity --searchScore ``` ### Get a membershipType by id diff --git a/skills/cli-admin/references/org-chart-edge-grant.md b/skills/cli-admin/references/org-chart-edge-grant.md index 62779ed5f..de26476df 100644 --- a/skills/cli-admin/references/org-chart-edge-grant.md +++ b/skills/cli-admin/references/org-chart-edge-grant.md @@ -9,8 +9,8 @@ CRUD operations for OrgChartEdgeGrant records via csdk CLI ```bash csdk org-chart-edge-grant list csdk org-chart-edge-grant get --id -csdk org-chart-edge-grant create --entityId --childId --grantorId [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] -csdk org-chart-edge-grant update --id [--entityId ] [--childId ] [--parentId ] [--grantorId ] [--isGrant ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge-grant create --entityId --childId --grantorId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge-grant update --id [--entityId ] [--childId ] [--parentId ] [--grantorId ] [--isGrant ] [--positionTitle ] [--positionLevel ] [--positionTitleTrgmSimilarity ] [--searchScore ] csdk org-chart-edge-grant delete --id ``` @@ -25,7 +25,7 @@ csdk org-chart-edge-grant list ### Create a orgChartEdgeGrant ```bash -csdk org-chart-edge-grant create --entityId --childId --grantorId [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge-grant create --entityId --childId --grantorId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] ``` ### Get a orgChartEdgeGrant by id diff --git a/skills/cli-admin/references/org-chart-edge.md b/skills/cli-admin/references/org-chart-edge.md index 5ead28ec2..7f8956dc6 100644 --- a/skills/cli-admin/references/org-chart-edge.md +++ b/skills/cli-admin/references/org-chart-edge.md @@ -9,8 +9,8 @@ CRUD operations for OrgChartEdge records via csdk CLI ```bash csdk org-chart-edge list csdk org-chart-edge get --id -csdk org-chart-edge create --entityId --childId [--parentId ] [--positionTitle ] [--positionLevel ] -csdk org-chart-edge update --id [--entityId ] [--childId ] [--parentId ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge create --entityId --childId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge update --id [--entityId ] [--childId ] [--parentId ] [--positionTitle ] [--positionLevel ] [--positionTitleTrgmSimilarity ] [--searchScore ] csdk org-chart-edge delete --id ``` @@ -25,7 +25,7 @@ csdk org-chart-edge list ### Create a orgChartEdge ```bash -csdk org-chart-edge create --entityId --childId [--parentId ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge create --entityId --childId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--positionTitle ] [--positionLevel ] ``` ### Get a orgChartEdge by id diff --git a/skills/cli-admin/references/org-invite.md b/skills/cli-admin/references/org-invite.md index 18554cef6..ccf34d914 100644 --- a/skills/cli-admin/references/org-invite.md +++ b/skills/cli-admin/references/org-invite.md @@ -9,8 +9,8 @@ CRUD operations for OrgInvite records via csdk CLI ```bash csdk org-invite list csdk org-invite get --id -csdk org-invite create --entityId [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] -csdk org-invite update --id [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] [--entityId ] +csdk org-invite create --entityId --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk org-invite update --id [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] [--entityId ] [--inviteTokenTrgmSimilarity ] [--searchScore ] csdk org-invite delete --id ``` @@ -25,7 +25,7 @@ csdk org-invite list ### Create a orgInvite ```bash -csdk org-invite create --entityId [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk org-invite create --entityId --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] ``` ### Get a orgInvite by id diff --git a/skills/cli-admin/references/org-permission.md b/skills/cli-admin/references/org-permission.md index 98bfe7d30..458698b08 100644 --- a/skills/cli-admin/references/org-permission.md +++ b/skills/cli-admin/references/org-permission.md @@ -9,8 +9,8 @@ CRUD operations for OrgPermission records via csdk CLI ```bash csdk org-permission list csdk org-permission get --id -csdk org-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] -csdk org-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk org-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk org-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk org-permission delete --id ``` @@ -25,7 +25,7 @@ csdk org-permission list ### Create a orgPermission ```bash -csdk org-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk org-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] ``` ### Get a orgPermission by id diff --git a/skills/cli-auth/SKILL.md b/skills/cli-auth/SKILL.md index 14063abed..b494c45a4 100644 --- a/skills/cli-auth/SKILL.md +++ b/skills/cli-auth/SKILL.md @@ -19,13 +19,17 @@ csdk context use # Authentication csdk auth set-token -# CRUD for any table (e.g. role-type) -csdk role-type list -csdk role-type get --id -csdk role-type create -- +# Config variables +csdk config set +csdk config get + +# CRUD for any table (e.g. crypto-address) +csdk crypto-address list +csdk crypto-address get --id +csdk crypto-address create -- # Non-interactive mode (skip all prompts, use flags only) -csdk --no-tty role-type list +csdk --no-tty crypto-address list ``` ## Examples @@ -36,13 +40,13 @@ csdk --no-tty role-type list csdk context create local --endpoint http://localhost:5000/graphql csdk context use local csdk auth set-token -csdk role-type list +csdk crypto-address list ``` ### Non-interactive mode (for scripts and CI) ```bash -csdk --no-tty role-type create -- +csdk --no-tty crypto-address create -- ``` ## References @@ -51,8 +55,9 @@ See the `references/` directory for detailed per-entity API documentation: - [context](references/context.md) - [auth](references/auth.md) -- [role-type](references/role-type.md) +- [config](references/config.md) - [crypto-address](references/crypto-address.md) +- [role-type](references/role-type.md) - [phone-number](references/phone-number.md) - [connected-account](references/connected-account.md) - [audit-log](references/audit-log.md) diff --git a/skills/cli-auth/references/audit-log.md b/skills/cli-auth/references/audit-log.md index d7f2f0987..b742fad2f 100644 --- a/skills/cli-auth/references/audit-log.md +++ b/skills/cli-auth/references/audit-log.md @@ -9,8 +9,8 @@ CRUD operations for AuditLog records via csdk CLI ```bash csdk audit-log list csdk audit-log get --id -csdk audit-log create --event --success [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] -csdk audit-log update --id [--event ] [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] [--success ] +csdk audit-log create --event --success --userAgentTrgmSimilarity --searchScore [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] +csdk audit-log update --id [--event ] [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] [--success ] [--userAgentTrgmSimilarity ] [--searchScore ] csdk audit-log delete --id ``` @@ -25,7 +25,7 @@ csdk audit-log list ### Create a auditLog ```bash -csdk audit-log create --event --success [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] +csdk audit-log create --event --success --userAgentTrgmSimilarity --searchScore [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] ``` ### Get a auditLog by id diff --git a/skills/cli-auth/references/config.md b/skills/cli-auth/references/config.md new file mode 100644 index 000000000..cc1c23b7b --- /dev/null +++ b/skills/cli-auth/references/config.md @@ -0,0 +1,29 @@ +# Config Variables + + + +Manage per-context key-value configuration variables for csdk + +## Usage + +```bash +csdk config get +csdk config set +csdk config list +csdk config delete +``` + +## Examples + +### Store and retrieve a config variable + +```bash +csdk config set orgId abc-123 +csdk config get orgId +``` + +### List all config variables + +```bash +csdk config list +``` diff --git a/skills/cli-auth/references/connected-account.md b/skills/cli-auth/references/connected-account.md index 8223fc5d1..868c121d6 100644 --- a/skills/cli-auth/references/connected-account.md +++ b/skills/cli-auth/references/connected-account.md @@ -9,8 +9,8 @@ CRUD operations for ConnectedAccount records via csdk CLI ```bash csdk connected-account list csdk connected-account get --id -csdk connected-account create --service --identifier --details [--ownerId ] [--isVerified ] -csdk connected-account update --id [--ownerId ] [--service ] [--identifier ] [--details ] [--isVerified ] +csdk connected-account create --service --identifier --details --serviceTrgmSimilarity --identifierTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] +csdk connected-account update --id [--ownerId ] [--service ] [--identifier ] [--details ] [--isVerified ] [--serviceTrgmSimilarity ] [--identifierTrgmSimilarity ] [--searchScore ] csdk connected-account delete --id ``` @@ -25,7 +25,7 @@ csdk connected-account list ### Create a connectedAccount ```bash -csdk connected-account create --service --identifier --details [--ownerId ] [--isVerified ] +csdk connected-account create --service --identifier --details --serviceTrgmSimilarity --identifierTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] ``` ### Get a connectedAccount by id diff --git a/skills/cli-auth/references/crypto-address.md b/skills/cli-auth/references/crypto-address.md index de3b59bfd..db2947965 100644 --- a/skills/cli-auth/references/crypto-address.md +++ b/skills/cli-auth/references/crypto-address.md @@ -9,8 +9,8 @@ CRUD operations for CryptoAddress records via csdk CLI ```bash csdk crypto-address list csdk crypto-address get --id -csdk crypto-address create --address [--ownerId ] [--isVerified ] [--isPrimary ] -csdk crypto-address update --id [--ownerId ] [--address ] [--isVerified ] [--isPrimary ] +csdk crypto-address create --address --addressTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] +csdk crypto-address update --id [--ownerId ] [--address ] [--isVerified ] [--isPrimary ] [--addressTrgmSimilarity ] [--searchScore ] csdk crypto-address delete --id ``` @@ -25,7 +25,7 @@ csdk crypto-address list ### Create a cryptoAddress ```bash -csdk crypto-address create --address [--ownerId ] [--isVerified ] [--isPrimary ] +csdk crypto-address create --address --addressTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] ``` ### Get a cryptoAddress by id diff --git a/skills/cli-auth/references/phone-number.md b/skills/cli-auth/references/phone-number.md index 25c2b3f02..d36d24180 100644 --- a/skills/cli-auth/references/phone-number.md +++ b/skills/cli-auth/references/phone-number.md @@ -9,8 +9,8 @@ CRUD operations for PhoneNumber records via csdk CLI ```bash csdk phone-number list csdk phone-number get --id -csdk phone-number create --cc --number [--ownerId ] [--isVerified ] [--isPrimary ] -csdk phone-number update --id [--ownerId ] [--cc ] [--number ] [--isVerified ] [--isPrimary ] +csdk phone-number create --cc --number --ccTrgmSimilarity --numberTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] +csdk phone-number update --id [--ownerId ] [--cc ] [--number ] [--isVerified ] [--isPrimary ] [--ccTrgmSimilarity ] [--numberTrgmSimilarity ] [--searchScore ] csdk phone-number delete --id ``` @@ -25,7 +25,7 @@ csdk phone-number list ### Create a phoneNumber ```bash -csdk phone-number create --cc --number [--ownerId ] [--isVerified ] [--isPrimary ] +csdk phone-number create --cc --number --ccTrgmSimilarity --numberTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] ``` ### Get a phoneNumber by id diff --git a/skills/cli-auth/references/user.md b/skills/cli-auth/references/user.md index 69d26e25e..0ef1bc400 100644 --- a/skills/cli-auth/references/user.md +++ b/skills/cli-auth/references/user.md @@ -9,8 +9,8 @@ CRUD operations for User records via csdk CLI ```bash csdk user list csdk user get --id -csdk user create --searchTsvRank [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] -csdk user update --id [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] [--searchTsvRank ] +csdk user create --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user update --id [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] [--searchTsvRank ] [--displayNameTrgmSimilarity ] [--searchScore ] csdk user delete --id ``` @@ -25,7 +25,7 @@ csdk user list ### Create a user ```bash -csdk user create --searchTsvRank [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user create --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] ``` ### Get a user by id diff --git a/skills/cli-objects/SKILL.md b/skills/cli-objects/SKILL.md index 51e15c0c8..a7d7efcc5 100644 --- a/skills/cli-objects/SKILL.md +++ b/skills/cli-objects/SKILL.md @@ -19,6 +19,10 @@ csdk context use # Authentication csdk auth set-token +# Config variables +csdk config set +csdk config get + # CRUD for any table (e.g. get-all-record) csdk get-all-record list csdk get-all-record get --id @@ -51,6 +55,7 @@ See the `references/` directory for detailed per-entity API documentation: - [context](references/context.md) - [auth](references/auth.md) +- [config](references/config.md) - [get-all-record](references/get-all-record.md) - [object](references/object.md) - [ref](references/ref.md) diff --git a/skills/cli-objects/references/commit.md b/skills/cli-objects/references/commit.md index 72a80f6a1..b0d449b96 100644 --- a/skills/cli-objects/references/commit.md +++ b/skills/cli-objects/references/commit.md @@ -9,8 +9,8 @@ CRUD operations for Commit records via csdk CLI ```bash csdk commit list csdk commit get --id -csdk commit create --databaseId --storeId [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] -csdk commit update --id [--message ] [--databaseId ] [--storeId ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] +csdk commit create --databaseId --storeId --messageTrgmSimilarity --searchScore [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] +csdk commit update --id [--message ] [--databaseId ] [--storeId ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] [--messageTrgmSimilarity ] [--searchScore ] csdk commit delete --id ``` @@ -25,7 +25,7 @@ csdk commit list ### Create a commit ```bash -csdk commit create --databaseId --storeId [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] +csdk commit create --databaseId --storeId --messageTrgmSimilarity --searchScore [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] ``` ### Get a commit by id diff --git a/skills/cli-objects/references/config.md b/skills/cli-objects/references/config.md new file mode 100644 index 000000000..cc1c23b7b --- /dev/null +++ b/skills/cli-objects/references/config.md @@ -0,0 +1,29 @@ +# Config Variables + + + +Manage per-context key-value configuration variables for csdk + +## Usage + +```bash +csdk config get +csdk config set +csdk config list +csdk config delete +``` + +## Examples + +### Store and retrieve a config variable + +```bash +csdk config set orgId abc-123 +csdk config get orgId +``` + +### List all config variables + +```bash +csdk config list +``` diff --git a/skills/cli-objects/references/ref.md b/skills/cli-objects/references/ref.md index 1115ca4e4..0c6b01e3f 100644 --- a/skills/cli-objects/references/ref.md +++ b/skills/cli-objects/references/ref.md @@ -9,8 +9,8 @@ CRUD operations for Ref records via csdk CLI ```bash csdk ref list csdk ref get --id -csdk ref create --name --databaseId --storeId [--commitId ] -csdk ref update --id [--name ] [--databaseId ] [--storeId ] [--commitId ] +csdk ref create --name --databaseId --storeId --nameTrgmSimilarity --searchScore [--commitId ] +csdk ref update --id [--name ] [--databaseId ] [--storeId ] [--commitId ] [--nameTrgmSimilarity ] [--searchScore ] csdk ref delete --id ``` @@ -25,7 +25,7 @@ csdk ref list ### Create a ref ```bash -csdk ref create --name --databaseId --storeId [--commitId ] +csdk ref create --name --databaseId --storeId --nameTrgmSimilarity --searchScore [--commitId ] ``` ### Get a ref by id diff --git a/skills/cli-objects/references/store.md b/skills/cli-objects/references/store.md index 6f1a7482e..a81272f4c 100644 --- a/skills/cli-objects/references/store.md +++ b/skills/cli-objects/references/store.md @@ -9,8 +9,8 @@ CRUD operations for Store records via csdk CLI ```bash csdk store list csdk store get --id -csdk store create --name --databaseId [--hash ] -csdk store update --id [--name ] [--databaseId ] [--hash ] +csdk store create --name --databaseId --nameTrgmSimilarity --searchScore [--hash ] +csdk store update --id [--name ] [--databaseId ] [--hash ] [--nameTrgmSimilarity ] [--searchScore ] csdk store delete --id ``` @@ -25,7 +25,7 @@ csdk store list ### Create a store ```bash -csdk store create --name --databaseId [--hash ] +csdk store create --name --databaseId --nameTrgmSimilarity --searchScore [--hash ] ``` ### Get a store by id diff --git a/skills/cli-public/SKILL.md b/skills/cli-public/SKILL.md index 73d443794..5e9c64865 100644 --- a/skills/cli-public/SKILL.md +++ b/skills/cli-public/SKILL.md @@ -1,13 +1,13 @@ --- name: cli-public -description: CLI tool (csdk) for the public API — provides CRUD commands for 104 tables and 50 custom operations +description: CLI tool (csdk) for the public API — provides CRUD commands for 103 tables and 50 custom operations --- # cli-public -CLI tool (csdk) for the public API — provides CRUD commands for 104 tables and 50 custom operations +CLI tool (csdk) for the public API — provides CRUD commands for 103 tables and 50 custom operations ## Usage @@ -19,6 +19,10 @@ csdk context use # Authentication csdk auth set-token +# Config variables +csdk config set +csdk config get + # CRUD for any table (e.g. org-get-managers-record) csdk org-get-managers-record list csdk org-get-managers-record get --id @@ -51,6 +55,7 @@ See the `references/` directory for detailed per-entity API documentation: - [context](references/context.md) - [auth](references/auth.md) +- [config](references/config.md) - [org-get-managers-record](references/org-get-managers-record.md) - [org-get-subordinates-record](references/org-get-subordinates-record.md) - [get-all-record](references/get-all-record.md) @@ -75,7 +80,6 @@ See the `references/` directory for detailed per-entity API documentation: - [view-table](references/view-table.md) - [view-grant](references/view-grant.md) - [view-rule](references/view-rule.md) -- [table-module](references/table-module.md) - [table-template-module](references/table-template-module.md) - [secure-table-provision](references/secure-table-provision.md) - [relation-provision](references/relation-provision.md) @@ -107,7 +111,6 @@ See the `references/` directory for detailed per-entity API documentation: - [permissions-module](references/permissions-module.md) - [phone-numbers-module](references/phone-numbers-module.md) - [profiles-module](references/profiles-module.md) -- [rls-module](references/rls-module.md) - [secrets-module](references/secrets-module.md) - [sessions-module](references/sessions-module.md) - [user-auth-module](references/user-auth-module.md) @@ -135,25 +138,26 @@ See the `references/` directory for detailed per-entity API documentation: - [ref](references/ref.md) - [store](references/store.md) - [app-permission-default](references/app-permission-default.md) +- [crypto-address](references/crypto-address.md) - [role-type](references/role-type.md) - [org-permission-default](references/org-permission-default.md) -- [crypto-address](references/crypto-address.md) +- [phone-number](references/phone-number.md) - [app-limit-default](references/app-limit-default.md) - [org-limit-default](references/org-limit-default.md) - [connected-account](references/connected-account.md) -- [phone-number](references/phone-number.md) -- [membership-type](references/membership-type.md) - [node-type-registry](references/node-type-registry.md) +- [membership-type](references/membership-type.md) - [app-membership-default](references/app-membership-default.md) +- [rls-module](references/rls-module.md) - [commit](references/commit.md) - [org-membership-default](references/org-membership-default.md) - [audit-log](references/audit-log.md) - [app-level](references/app-level.md) -- [email](references/email.md) - [sql-migration](references/sql-migration.md) +- [email](references/email.md) - [ast-migration](references/ast-migration.md) -- [user](references/user.md) - [app-membership](references/app-membership.md) +- [user](references/user.md) - [hierarchy-module](references/hierarchy-module.md) - [current-user-id](references/current-user-id.md) - [current-ip-address](references/current-ip-address.md) @@ -185,8 +189,8 @@ See the `references/` directory for detailed per-entity API documentation: - [set-password](references/set-password.md) - [verify-email](references/verify-email.md) - [reset-password](references/reset-password.md) -- [remove-node-at-path](references/remove-node-at-path.md) - [bootstrap-user](references/bootstrap-user.md) +- [remove-node-at-path](references/remove-node-at-path.md) - [set-data-at-path](references/set-data-at-path.md) - [set-props-and-commit](references/set-props-and-commit.md) - [provision-database-with-user](references/provision-database-with-user.md) diff --git a/skills/cli-public/references/api-module.md b/skills/cli-public/references/api-module.md index b54ab09cb..8e6bfa488 100644 --- a/skills/cli-public/references/api-module.md +++ b/skills/cli-public/references/api-module.md @@ -9,8 +9,8 @@ CRUD operations for ApiModule records via csdk CLI ```bash csdk api-module list csdk api-module get --id -csdk api-module create --databaseId --apiId --name --data -csdk api-module update --id [--databaseId ] [--apiId ] [--name ] [--data ] +csdk api-module create --databaseId --apiId --name --data --nameTrgmSimilarity --searchScore +csdk api-module update --id [--databaseId ] [--apiId ] [--name ] [--data ] [--nameTrgmSimilarity ] [--searchScore ] csdk api-module delete --id ``` @@ -25,7 +25,7 @@ csdk api-module list ### Create a apiModule ```bash -csdk api-module create --databaseId --apiId --name --data +csdk api-module create --databaseId --apiId --name --data --nameTrgmSimilarity --searchScore ``` ### Get a apiModule by id diff --git a/skills/cli-public/references/api.md b/skills/cli-public/references/api.md index 7583a91a7..114a2eb2c 100644 --- a/skills/cli-public/references/api.md +++ b/skills/cli-public/references/api.md @@ -9,8 +9,8 @@ CRUD operations for Api records via csdk CLI ```bash csdk api list csdk api get --id -csdk api create --databaseId --name [--dbname ] [--roleName ] [--anonRole ] [--isPublic ] -csdk api update --id [--databaseId ] [--name ] [--dbname ] [--roleName ] [--anonRole ] [--isPublic ] +csdk api create --databaseId --name --nameTrgmSimilarity --dbnameTrgmSimilarity --roleNameTrgmSimilarity --anonRoleTrgmSimilarity --searchScore [--dbname ] [--roleName ] [--anonRole ] [--isPublic ] +csdk api update --id [--databaseId ] [--name ] [--dbname ] [--roleName ] [--anonRole ] [--isPublic ] [--nameTrgmSimilarity ] [--dbnameTrgmSimilarity ] [--roleNameTrgmSimilarity ] [--anonRoleTrgmSimilarity ] [--searchScore ] csdk api delete --id ``` @@ -25,7 +25,7 @@ csdk api list ### Create a api ```bash -csdk api create --databaseId --name [--dbname ] [--roleName ] [--anonRole ] [--isPublic ] +csdk api create --databaseId --name --nameTrgmSimilarity --dbnameTrgmSimilarity --roleNameTrgmSimilarity --anonRoleTrgmSimilarity --searchScore [--dbname ] [--roleName ] [--anonRole ] [--isPublic ] ``` ### Get a api by id diff --git a/skills/cli-public/references/app-level-requirement.md b/skills/cli-public/references/app-level-requirement.md index a08403018..fbcc8f444 100644 --- a/skills/cli-public/references/app-level-requirement.md +++ b/skills/cli-public/references/app-level-requirement.md @@ -9,8 +9,8 @@ CRUD operations for AppLevelRequirement records via csdk CLI ```bash csdk app-level-requirement list csdk app-level-requirement get --id -csdk app-level-requirement create --name --level [--description ] [--requiredCount ] [--priority ] -csdk app-level-requirement update --id [--name ] [--level ] [--description ] [--requiredCount ] [--priority ] +csdk app-level-requirement create --name --level --descriptionTrgmSimilarity --searchScore [--description ] [--requiredCount ] [--priority ] +csdk app-level-requirement update --id [--name ] [--level ] [--description ] [--requiredCount ] [--priority ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk app-level-requirement delete --id ``` @@ -25,7 +25,7 @@ csdk app-level-requirement list ### Create a appLevelRequirement ```bash -csdk app-level-requirement create --name --level [--description ] [--requiredCount ] [--priority ] +csdk app-level-requirement create --name --level --descriptionTrgmSimilarity --searchScore [--description ] [--requiredCount ] [--priority ] ``` ### Get a appLevelRequirement by id diff --git a/skills/cli-public/references/app-level.md b/skills/cli-public/references/app-level.md index 3ec5afb86..b2fcf3801 100644 --- a/skills/cli-public/references/app-level.md +++ b/skills/cli-public/references/app-level.md @@ -9,8 +9,8 @@ CRUD operations for AppLevel records via csdk CLI ```bash csdk app-level list csdk app-level get --id -csdk app-level create --name [--description ] [--image ] [--ownerId ] -csdk app-level update --id [--name ] [--description ] [--image ] [--ownerId ] +csdk app-level create --name --descriptionTrgmSimilarity --searchScore [--description ] [--image ] [--ownerId ] +csdk app-level update --id [--name ] [--description ] [--image ] [--ownerId ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk app-level delete --id ``` @@ -25,7 +25,7 @@ csdk app-level list ### Create a appLevel ```bash -csdk app-level create --name [--description ] [--image ] [--ownerId ] +csdk app-level create --name --descriptionTrgmSimilarity --searchScore [--description ] [--image ] [--ownerId ] ``` ### Get a appLevel by id diff --git a/skills/cli-public/references/app-permission.md b/skills/cli-public/references/app-permission.md index eef95408e..d144d2858 100644 --- a/skills/cli-public/references/app-permission.md +++ b/skills/cli-public/references/app-permission.md @@ -9,8 +9,8 @@ CRUD operations for AppPermission records via csdk CLI ```bash csdk app-permission list csdk app-permission get --id -csdk app-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] -csdk app-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk app-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk app-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk app-permission delete --id ``` @@ -25,7 +25,7 @@ csdk app-permission list ### Create a appPermission ```bash -csdk app-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk app-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] ``` ### Get a appPermission by id diff --git a/skills/cli-public/references/app.md b/skills/cli-public/references/app.md index cb1a44224..7844096a9 100644 --- a/skills/cli-public/references/app.md +++ b/skills/cli-public/references/app.md @@ -9,8 +9,8 @@ CRUD operations for App records via csdk CLI ```bash csdk app list csdk app get --id -csdk app create --databaseId --siteId [--name ] [--appImage ] [--appStoreLink ] [--appStoreId ] [--appIdPrefix ] [--playStoreLink ] -csdk app update --id [--databaseId ] [--siteId ] [--name ] [--appImage ] [--appStoreLink ] [--appStoreId ] [--appIdPrefix ] [--playStoreLink ] +csdk app create --databaseId --siteId --nameTrgmSimilarity --appStoreIdTrgmSimilarity --appIdPrefixTrgmSimilarity --searchScore [--name ] [--appImage ] [--appStoreLink ] [--appStoreId ] [--appIdPrefix ] [--playStoreLink ] +csdk app update --id [--databaseId ] [--siteId ] [--name ] [--appImage ] [--appStoreLink ] [--appStoreId ] [--appIdPrefix ] [--playStoreLink ] [--nameTrgmSimilarity ] [--appStoreIdTrgmSimilarity ] [--appIdPrefixTrgmSimilarity ] [--searchScore ] csdk app delete --id ``` @@ -25,7 +25,7 @@ csdk app list ### Create a app ```bash -csdk app create --databaseId --siteId [--name ] [--appImage ] [--appStoreLink ] [--appStoreId ] [--appIdPrefix ] [--playStoreLink ] +csdk app create --databaseId --siteId --nameTrgmSimilarity --appStoreIdTrgmSimilarity --appIdPrefixTrgmSimilarity --searchScore [--name ] [--appImage ] [--appStoreLink ] [--appStoreId ] [--appIdPrefix ] [--playStoreLink ] ``` ### Get a app by id diff --git a/skills/cli-public/references/ast-migration.md b/skills/cli-public/references/ast-migration.md index cd3dc5dac..c3de2a790 100644 --- a/skills/cli-public/references/ast-migration.md +++ b/skills/cli-public/references/ast-migration.md @@ -9,8 +9,8 @@ CRUD operations for AstMigration records via csdk CLI ```bash csdk ast-migration list csdk ast-migration get --id -csdk ast-migration create [--databaseId ] [--name ] [--requires ] [--payload ] [--deploys ] [--deploy ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] -csdk ast-migration update --id [--databaseId ] [--name ] [--requires ] [--payload ] [--deploys ] [--deploy ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] +csdk ast-migration create --actionTrgmSimilarity --searchScore [--databaseId ] [--name ] [--requires ] [--payload ] [--deploys ] [--deploy ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] +csdk ast-migration update --id [--databaseId ] [--name ] [--requires ] [--payload ] [--deploys ] [--deploy ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] [--actionTrgmSimilarity ] [--searchScore ] csdk ast-migration delete --id ``` @@ -25,7 +25,7 @@ csdk ast-migration list ### Create a astMigration ```bash -csdk ast-migration create [--databaseId ] [--name ] [--requires ] [--payload ] [--deploys ] [--deploy ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] +csdk ast-migration create --actionTrgmSimilarity --searchScore [--databaseId ] [--name ] [--requires ] [--payload ] [--deploys ] [--deploy ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] ``` ### Get a astMigration by id diff --git a/skills/cli-public/references/audit-log.md b/skills/cli-public/references/audit-log.md index d7f2f0987..b742fad2f 100644 --- a/skills/cli-public/references/audit-log.md +++ b/skills/cli-public/references/audit-log.md @@ -9,8 +9,8 @@ CRUD operations for AuditLog records via csdk CLI ```bash csdk audit-log list csdk audit-log get --id -csdk audit-log create --event --success [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] -csdk audit-log update --id [--event ] [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] [--success ] +csdk audit-log create --event --success --userAgentTrgmSimilarity --searchScore [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] +csdk audit-log update --id [--event ] [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] [--success ] [--userAgentTrgmSimilarity ] [--searchScore ] csdk audit-log delete --id ``` @@ -25,7 +25,7 @@ csdk audit-log list ### Create a auditLog ```bash -csdk audit-log create --event --success [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] +csdk audit-log create --event --success --userAgentTrgmSimilarity --searchScore [--actorId ] [--origin ] [--userAgent ] [--ipAddress ] ``` ### Get a auditLog by id diff --git a/skills/cli-public/references/check-constraint.md b/skills/cli-public/references/check-constraint.md index e85fe6a7b..4d78aae4c 100644 --- a/skills/cli-public/references/check-constraint.md +++ b/skills/cli-public/references/check-constraint.md @@ -9,8 +9,8 @@ CRUD operations for CheckConstraint records via csdk CLI ```bash csdk check-constraint list csdk check-constraint get --id -csdk check-constraint create --tableId --fieldIds [--databaseId ] [--name ] [--type ] [--expr ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] -csdk check-constraint update --id [--databaseId ] [--tableId ] [--name ] [--type ] [--fieldIds ] [--expr ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk check-constraint create --tableId --fieldIds --nameTrgmSimilarity --typeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--type ] [--expr ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk check-constraint update --id [--databaseId ] [--tableId ] [--name ] [--type ] [--fieldIds ] [--expr ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--typeTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk check-constraint delete --id ``` @@ -25,7 +25,7 @@ csdk check-constraint list ### Create a checkConstraint ```bash -csdk check-constraint create --tableId --fieldIds [--databaseId ] [--name ] [--type ] [--expr ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk check-constraint create --tableId --fieldIds --nameTrgmSimilarity --typeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--type ] [--expr ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a checkConstraint by id diff --git a/skills/cli-public/references/commit.md b/skills/cli-public/references/commit.md index 72a80f6a1..b0d449b96 100644 --- a/skills/cli-public/references/commit.md +++ b/skills/cli-public/references/commit.md @@ -9,8 +9,8 @@ CRUD operations for Commit records via csdk CLI ```bash csdk commit list csdk commit get --id -csdk commit create --databaseId --storeId [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] -csdk commit update --id [--message ] [--databaseId ] [--storeId ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] +csdk commit create --databaseId --storeId --messageTrgmSimilarity --searchScore [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] +csdk commit update --id [--message ] [--databaseId ] [--storeId ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] [--messageTrgmSimilarity ] [--searchScore ] csdk commit delete --id ``` @@ -25,7 +25,7 @@ csdk commit list ### Create a commit ```bash -csdk commit create --databaseId --storeId [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] +csdk commit create --databaseId --storeId --messageTrgmSimilarity --searchScore [--message ] [--parentIds ] [--authorId ] [--committerId ] [--treeId ] [--date ] ``` ### Get a commit by id diff --git a/skills/cli-public/references/config.md b/skills/cli-public/references/config.md new file mode 100644 index 000000000..cc1c23b7b --- /dev/null +++ b/skills/cli-public/references/config.md @@ -0,0 +1,29 @@ +# Config Variables + + + +Manage per-context key-value configuration variables for csdk + +## Usage + +```bash +csdk config get +csdk config set +csdk config list +csdk config delete +``` + +## Examples + +### Store and retrieve a config variable + +```bash +csdk config set orgId abc-123 +csdk config get orgId +``` + +### List all config variables + +```bash +csdk config list +``` diff --git a/skills/cli-public/references/connected-account.md b/skills/cli-public/references/connected-account.md index 8223fc5d1..868c121d6 100644 --- a/skills/cli-public/references/connected-account.md +++ b/skills/cli-public/references/connected-account.md @@ -9,8 +9,8 @@ CRUD operations for ConnectedAccount records via csdk CLI ```bash csdk connected-account list csdk connected-account get --id -csdk connected-account create --service --identifier --details [--ownerId ] [--isVerified ] -csdk connected-account update --id [--ownerId ] [--service ] [--identifier ] [--details ] [--isVerified ] +csdk connected-account create --service --identifier --details --serviceTrgmSimilarity --identifierTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] +csdk connected-account update --id [--ownerId ] [--service ] [--identifier ] [--details ] [--isVerified ] [--serviceTrgmSimilarity ] [--identifierTrgmSimilarity ] [--searchScore ] csdk connected-account delete --id ``` @@ -25,7 +25,7 @@ csdk connected-account list ### Create a connectedAccount ```bash -csdk connected-account create --service --identifier --details [--ownerId ] [--isVerified ] +csdk connected-account create --service --identifier --details --serviceTrgmSimilarity --identifierTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] ``` ### Get a connectedAccount by id diff --git a/skills/cli-public/references/connected-accounts-module.md b/skills/cli-public/references/connected-accounts-module.md index 25815530e..868c8d403 100644 --- a/skills/cli-public/references/connected-accounts-module.md +++ b/skills/cli-public/references/connected-accounts-module.md @@ -9,8 +9,8 @@ CRUD operations for ConnectedAccountsModule records via csdk CLI ```bash csdk connected-accounts-module list csdk connected-accounts-module get --id -csdk connected-accounts-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] -csdk connected-accounts-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] +csdk connected-accounts-module create --databaseId --tableName --tableNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] +csdk connected-accounts-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] [--tableNameTrgmSimilarity ] [--searchScore ] csdk connected-accounts-module delete --id ``` @@ -25,7 +25,7 @@ csdk connected-accounts-module list ### Create a connectedAccountsModule ```bash -csdk connected-accounts-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] +csdk connected-accounts-module create --databaseId --tableName --tableNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] ``` ### Get a connectedAccountsModule by id diff --git a/skills/cli-public/references/crypto-address.md b/skills/cli-public/references/crypto-address.md index de3b59bfd..db2947965 100644 --- a/skills/cli-public/references/crypto-address.md +++ b/skills/cli-public/references/crypto-address.md @@ -9,8 +9,8 @@ CRUD operations for CryptoAddress records via csdk CLI ```bash csdk crypto-address list csdk crypto-address get --id -csdk crypto-address create --address [--ownerId ] [--isVerified ] [--isPrimary ] -csdk crypto-address update --id [--ownerId ] [--address ] [--isVerified ] [--isPrimary ] +csdk crypto-address create --address --addressTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] +csdk crypto-address update --id [--ownerId ] [--address ] [--isVerified ] [--isPrimary ] [--addressTrgmSimilarity ] [--searchScore ] csdk crypto-address delete --id ``` @@ -25,7 +25,7 @@ csdk crypto-address list ### Create a cryptoAddress ```bash -csdk crypto-address create --address [--ownerId ] [--isVerified ] [--isPrimary ] +csdk crypto-address create --address --addressTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] ``` ### Get a cryptoAddress by id diff --git a/skills/cli-public/references/crypto-addresses-module.md b/skills/cli-public/references/crypto-addresses-module.md index 81830aa6a..7b28f2880 100644 --- a/skills/cli-public/references/crypto-addresses-module.md +++ b/skills/cli-public/references/crypto-addresses-module.md @@ -9,8 +9,8 @@ CRUD operations for CryptoAddressesModule records via csdk CLI ```bash csdk crypto-addresses-module list csdk crypto-addresses-module get --id -csdk crypto-addresses-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--cryptoNetwork ] -csdk crypto-addresses-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] [--cryptoNetwork ] +csdk crypto-addresses-module create --databaseId --tableName --tableNameTrgmSimilarity --cryptoNetworkTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--cryptoNetwork ] +csdk crypto-addresses-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] [--cryptoNetwork ] [--tableNameTrgmSimilarity ] [--cryptoNetworkTrgmSimilarity ] [--searchScore ] csdk crypto-addresses-module delete --id ``` @@ -25,7 +25,7 @@ csdk crypto-addresses-module list ### Create a cryptoAddressesModule ```bash -csdk crypto-addresses-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--cryptoNetwork ] +csdk crypto-addresses-module create --databaseId --tableName --tableNameTrgmSimilarity --cryptoNetworkTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--cryptoNetwork ] ``` ### Get a cryptoAddressesModule by id diff --git a/skills/cli-public/references/crypto-auth-module.md b/skills/cli-public/references/crypto-auth-module.md index 7e5b9366d..d313e0f2c 100644 --- a/skills/cli-public/references/crypto-auth-module.md +++ b/skills/cli-public/references/crypto-auth-module.md @@ -9,8 +9,8 @@ CRUD operations for CryptoAuthModule records via csdk CLI ```bash csdk crypto-auth-module list csdk crypto-auth-module get --id -csdk crypto-auth-module create --databaseId --userField [--schemaId ] [--usersTableId ] [--secretsTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--addressesTableId ] [--cryptoNetwork ] [--signInRequestChallenge ] [--signInRecordFailure ] [--signUpWithKey ] [--signInWithChallenge ] -csdk crypto-auth-module update --id [--databaseId ] [--schemaId ] [--usersTableId ] [--secretsTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--addressesTableId ] [--userField ] [--cryptoNetwork ] [--signInRequestChallenge ] [--signInRecordFailure ] [--signUpWithKey ] [--signInWithChallenge ] +csdk crypto-auth-module create --databaseId --userField --userFieldTrgmSimilarity --cryptoNetworkTrgmSimilarity --signInRequestChallengeTrgmSimilarity --signInRecordFailureTrgmSimilarity --signUpWithKeyTrgmSimilarity --signInWithChallengeTrgmSimilarity --searchScore [--schemaId ] [--usersTableId ] [--secretsTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--addressesTableId ] [--cryptoNetwork ] [--signInRequestChallenge ] [--signInRecordFailure ] [--signUpWithKey ] [--signInWithChallenge ] +csdk crypto-auth-module update --id [--databaseId ] [--schemaId ] [--usersTableId ] [--secretsTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--addressesTableId ] [--userField ] [--cryptoNetwork ] [--signInRequestChallenge ] [--signInRecordFailure ] [--signUpWithKey ] [--signInWithChallenge ] [--userFieldTrgmSimilarity ] [--cryptoNetworkTrgmSimilarity ] [--signInRequestChallengeTrgmSimilarity ] [--signInRecordFailureTrgmSimilarity ] [--signUpWithKeyTrgmSimilarity ] [--signInWithChallengeTrgmSimilarity ] [--searchScore ] csdk crypto-auth-module delete --id ``` @@ -25,7 +25,7 @@ csdk crypto-auth-module list ### Create a cryptoAuthModule ```bash -csdk crypto-auth-module create --databaseId --userField [--schemaId ] [--usersTableId ] [--secretsTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--addressesTableId ] [--cryptoNetwork ] [--signInRequestChallenge ] [--signInRecordFailure ] [--signUpWithKey ] [--signInWithChallenge ] +csdk crypto-auth-module create --databaseId --userField --userFieldTrgmSimilarity --cryptoNetworkTrgmSimilarity --signInRequestChallengeTrgmSimilarity --signInRecordFailureTrgmSimilarity --signUpWithKeyTrgmSimilarity --signInWithChallengeTrgmSimilarity --searchScore [--schemaId ] [--usersTableId ] [--secretsTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--addressesTableId ] [--cryptoNetwork ] [--signInRequestChallenge ] [--signInRecordFailure ] [--signUpWithKey ] [--signInWithChallenge ] ``` ### Get a cryptoAuthModule by id diff --git a/skills/cli-public/references/database-provision-module.md b/skills/cli-public/references/database-provision-module.md index a1e78a37e..6be836ff8 100644 --- a/skills/cli-public/references/database-provision-module.md +++ b/skills/cli-public/references/database-provision-module.md @@ -9,8 +9,8 @@ CRUD operations for DatabaseProvisionModule records via csdk CLI ```bash csdk database-provision-module list csdk database-provision-module get --id -csdk database-provision-module create --databaseName --ownerId --domain [--subdomain ] [--modules ] [--options ] [--bootstrapUser ] [--status ] [--errorMessage ] [--databaseId ] [--completedAt ] -csdk database-provision-module update --id [--databaseName ] [--ownerId ] [--subdomain ] [--domain ] [--modules ] [--options ] [--bootstrapUser ] [--status ] [--errorMessage ] [--databaseId ] [--completedAt ] +csdk database-provision-module create --databaseName --ownerId --domain --databaseNameTrgmSimilarity --subdomainTrgmSimilarity --domainTrgmSimilarity --statusTrgmSimilarity --errorMessageTrgmSimilarity --searchScore [--subdomain ] [--modules ] [--options ] [--bootstrapUser ] [--status ] [--errorMessage ] [--databaseId ] [--completedAt ] +csdk database-provision-module update --id [--databaseName ] [--ownerId ] [--subdomain ] [--domain ] [--modules ] [--options ] [--bootstrapUser ] [--status ] [--errorMessage ] [--databaseId ] [--completedAt ] [--databaseNameTrgmSimilarity ] [--subdomainTrgmSimilarity ] [--domainTrgmSimilarity ] [--statusTrgmSimilarity ] [--errorMessageTrgmSimilarity ] [--searchScore ] csdk database-provision-module delete --id ``` @@ -25,7 +25,7 @@ csdk database-provision-module list ### Create a databaseProvisionModule ```bash -csdk database-provision-module create --databaseName --ownerId --domain [--subdomain ] [--modules ] [--options ] [--bootstrapUser ] [--status ] [--errorMessage ] [--databaseId ] [--completedAt ] +csdk database-provision-module create --databaseName --ownerId --domain --databaseNameTrgmSimilarity --subdomainTrgmSimilarity --domainTrgmSimilarity --statusTrgmSimilarity --errorMessageTrgmSimilarity --searchScore [--subdomain ] [--modules ] [--options ] [--bootstrapUser ] [--status ] [--errorMessage ] [--databaseId ] [--completedAt ] ``` ### Get a databaseProvisionModule by id diff --git a/skills/cli-public/references/database.md b/skills/cli-public/references/database.md index 7fafae1aa..2a51c85de 100644 --- a/skills/cli-public/references/database.md +++ b/skills/cli-public/references/database.md @@ -9,8 +9,8 @@ CRUD operations for Database records via csdk CLI ```bash csdk database list csdk database get --id -csdk database create [--ownerId ] [--schemaHash ] [--name ] [--label ] [--hash ] -csdk database update --id [--ownerId ] [--schemaHash ] [--name ] [--label ] [--hash ] +csdk database create --schemaHashTrgmSimilarity --nameTrgmSimilarity --labelTrgmSimilarity --searchScore [--ownerId ] [--schemaHash ] [--name ] [--label ] [--hash ] +csdk database update --id [--ownerId ] [--schemaHash ] [--name ] [--label ] [--hash ] [--schemaHashTrgmSimilarity ] [--nameTrgmSimilarity ] [--labelTrgmSimilarity ] [--searchScore ] csdk database delete --id ``` @@ -25,7 +25,7 @@ csdk database list ### Create a database ```bash -csdk database create [--ownerId ] [--schemaHash ] [--name ] [--label ] [--hash ] +csdk database create --schemaHashTrgmSimilarity --nameTrgmSimilarity --labelTrgmSimilarity --searchScore [--ownerId ] [--schemaHash ] [--name ] [--label ] [--hash ] ``` ### Get a database by id diff --git a/skills/cli-public/references/default-privilege.md b/skills/cli-public/references/default-privilege.md index 80c352ef6..8c6fd30e4 100644 --- a/skills/cli-public/references/default-privilege.md +++ b/skills/cli-public/references/default-privilege.md @@ -9,8 +9,8 @@ CRUD operations for DefaultPrivilege records via csdk CLI ```bash csdk default-privilege list csdk default-privilege get --id -csdk default-privilege create --schemaId --objectType --privilege --granteeName [--databaseId ] [--isGrant ] -csdk default-privilege update --id [--databaseId ] [--schemaId ] [--objectType ] [--privilege ] [--granteeName ] [--isGrant ] +csdk default-privilege create --schemaId --objectType --privilege --granteeName --objectTypeTrgmSimilarity --privilegeTrgmSimilarity --granteeNameTrgmSimilarity --searchScore [--databaseId ] [--isGrant ] +csdk default-privilege update --id [--databaseId ] [--schemaId ] [--objectType ] [--privilege ] [--granteeName ] [--isGrant ] [--objectTypeTrgmSimilarity ] [--privilegeTrgmSimilarity ] [--granteeNameTrgmSimilarity ] [--searchScore ] csdk default-privilege delete --id ``` @@ -25,7 +25,7 @@ csdk default-privilege list ### Create a defaultPrivilege ```bash -csdk default-privilege create --schemaId --objectType --privilege --granteeName [--databaseId ] [--isGrant ] +csdk default-privilege create --schemaId --objectType --privilege --granteeName --objectTypeTrgmSimilarity --privilegeTrgmSimilarity --granteeNameTrgmSimilarity --searchScore [--databaseId ] [--isGrant ] ``` ### Get a defaultPrivilege by id diff --git a/skills/cli-public/references/denormalized-table-field.md b/skills/cli-public/references/denormalized-table-field.md index e7b070d6a..52fe0d40c 100644 --- a/skills/cli-public/references/denormalized-table-field.md +++ b/skills/cli-public/references/denormalized-table-field.md @@ -9,8 +9,8 @@ CRUD operations for DenormalizedTableField records via csdk CLI ```bash csdk denormalized-table-field list csdk denormalized-table-field get --id -csdk denormalized-table-field create --databaseId --tableId --fieldId --refTableId --refFieldId [--setIds ] [--refIds ] [--useUpdates ] [--updateDefaults ] [--funcName ] [--funcOrder ] -csdk denormalized-table-field update --id [--databaseId ] [--tableId ] [--fieldId ] [--setIds ] [--refTableId ] [--refFieldId ] [--refIds ] [--useUpdates ] [--updateDefaults ] [--funcName ] [--funcOrder ] +csdk denormalized-table-field create --databaseId --tableId --fieldId --refTableId --refFieldId --funcNameTrgmSimilarity --searchScore [--setIds ] [--refIds ] [--useUpdates ] [--updateDefaults ] [--funcName ] [--funcOrder ] +csdk denormalized-table-field update --id [--databaseId ] [--tableId ] [--fieldId ] [--setIds ] [--refTableId ] [--refFieldId ] [--refIds ] [--useUpdates ] [--updateDefaults ] [--funcName ] [--funcOrder ] [--funcNameTrgmSimilarity ] [--searchScore ] csdk denormalized-table-field delete --id ``` @@ -25,7 +25,7 @@ csdk denormalized-table-field list ### Create a denormalizedTableField ```bash -csdk denormalized-table-field create --databaseId --tableId --fieldId --refTableId --refFieldId [--setIds ] [--refIds ] [--useUpdates ] [--updateDefaults ] [--funcName ] [--funcOrder ] +csdk denormalized-table-field create --databaseId --tableId --fieldId --refTableId --refFieldId --funcNameTrgmSimilarity --searchScore [--setIds ] [--refIds ] [--useUpdates ] [--updateDefaults ] [--funcName ] [--funcOrder ] ``` ### Get a denormalizedTableField by id diff --git a/skills/cli-public/references/emails-module.md b/skills/cli-public/references/emails-module.md index 720ee4b9d..aba4d53e5 100644 --- a/skills/cli-public/references/emails-module.md +++ b/skills/cli-public/references/emails-module.md @@ -9,8 +9,8 @@ CRUD operations for EmailsModule records via csdk CLI ```bash csdk emails-module list csdk emails-module get --id -csdk emails-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] -csdk emails-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] +csdk emails-module create --databaseId --tableName --tableNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] +csdk emails-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] [--tableNameTrgmSimilarity ] [--searchScore ] csdk emails-module delete --id ``` @@ -25,7 +25,7 @@ csdk emails-module list ### Create a emailsModule ```bash -csdk emails-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] +csdk emails-module create --databaseId --tableName --tableNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] ``` ### Get a emailsModule by id diff --git a/skills/cli-public/references/encrypted-secrets-module.md b/skills/cli-public/references/encrypted-secrets-module.md index 0d11093b2..54f5f3004 100644 --- a/skills/cli-public/references/encrypted-secrets-module.md +++ b/skills/cli-public/references/encrypted-secrets-module.md @@ -9,8 +9,8 @@ CRUD operations for EncryptedSecretsModule records via csdk CLI ```bash csdk encrypted-secrets-module list csdk encrypted-secrets-module get --id -csdk encrypted-secrets-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] -csdk encrypted-secrets-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] +csdk encrypted-secrets-module create --databaseId --tableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] +csdk encrypted-secrets-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] [--tableNameTrgmSimilarity ] [--searchScore ] csdk encrypted-secrets-module delete --id ``` @@ -25,7 +25,7 @@ csdk encrypted-secrets-module list ### Create a encryptedSecretsModule ```bash -csdk encrypted-secrets-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] +csdk encrypted-secrets-module create --databaseId --tableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] ``` ### Get a encryptedSecretsModule by id diff --git a/skills/cli-public/references/field-module.md b/skills/cli-public/references/field-module.md index bcfbb01d7..e82f92671 100644 --- a/skills/cli-public/references/field-module.md +++ b/skills/cli-public/references/field-module.md @@ -9,8 +9,8 @@ CRUD operations for FieldModule records via csdk CLI ```bash csdk field-module list csdk field-module get --id -csdk field-module create --databaseId --nodeType [--privateSchemaId ] [--tableId ] [--fieldId ] [--data ] [--triggers ] [--functions ] -csdk field-module update --id [--databaseId ] [--privateSchemaId ] [--tableId ] [--fieldId ] [--nodeType ] [--data ] [--triggers ] [--functions ] +csdk field-module create --databaseId --nodeType --nodeTypeTrgmSimilarity --searchScore [--privateSchemaId ] [--tableId ] [--fieldId ] [--data ] [--triggers ] [--functions ] +csdk field-module update --id [--databaseId ] [--privateSchemaId ] [--tableId ] [--fieldId ] [--nodeType ] [--data ] [--triggers ] [--functions ] [--nodeTypeTrgmSimilarity ] [--searchScore ] csdk field-module delete --id ``` @@ -25,7 +25,7 @@ csdk field-module list ### Create a fieldModule ```bash -csdk field-module create --databaseId --nodeType [--privateSchemaId ] [--tableId ] [--fieldId ] [--data ] [--triggers ] [--functions ] +csdk field-module create --databaseId --nodeType --nodeTypeTrgmSimilarity --searchScore [--privateSchemaId ] [--tableId ] [--fieldId ] [--data ] [--triggers ] [--functions ] ``` ### Get a fieldModule by id diff --git a/skills/cli-public/references/field.md b/skills/cli-public/references/field.md index 67756b5d2..ce3df9eb7 100644 --- a/skills/cli-public/references/field.md +++ b/skills/cli-public/references/field.md @@ -9,8 +9,8 @@ CRUD operations for Field records via csdk CLI ```bash csdk field list csdk field get --id -csdk field create --tableId --name --type [--databaseId ] [--label ] [--description ] [--smartTags ] [--isRequired ] [--defaultValue ] [--defaultValueAst ] [--isHidden ] [--fieldOrder ] [--regexp ] [--chk ] [--chkExpr ] [--min ] [--max ] [--tags ] [--category ] [--module ] [--scope ] -csdk field update --id [--databaseId ] [--tableId ] [--name ] [--label ] [--description ] [--smartTags ] [--isRequired ] [--defaultValue ] [--defaultValueAst ] [--isHidden ] [--type ] [--fieldOrder ] [--regexp ] [--chk ] [--chkExpr ] [--min ] [--max ] [--tags ] [--category ] [--module ] [--scope ] +csdk field create --tableId --name --type --nameTrgmSimilarity --labelTrgmSimilarity --descriptionTrgmSimilarity --defaultValueTrgmSimilarity --regexpTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--label ] [--description ] [--smartTags ] [--isRequired ] [--defaultValue ] [--defaultValueAst ] [--isHidden ] [--fieldOrder ] [--regexp ] [--chk ] [--chkExpr ] [--min ] [--max ] [--tags ] [--category ] [--module ] [--scope ] +csdk field update --id [--databaseId ] [--tableId ] [--name ] [--label ] [--description ] [--smartTags ] [--isRequired ] [--defaultValue ] [--defaultValueAst ] [--isHidden ] [--type ] [--fieldOrder ] [--regexp ] [--chk ] [--chkExpr ] [--min ] [--max ] [--tags ] [--category ] [--module ] [--scope ] [--nameTrgmSimilarity ] [--labelTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--defaultValueTrgmSimilarity ] [--regexpTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk field delete --id ``` @@ -25,7 +25,7 @@ csdk field list ### Create a field ```bash -csdk field create --tableId --name --type [--databaseId ] [--label ] [--description ] [--smartTags ] [--isRequired ] [--defaultValue ] [--defaultValueAst ] [--isHidden ] [--fieldOrder ] [--regexp ] [--chk ] [--chkExpr ] [--min ] [--max ] [--tags ] [--category ] [--module ] [--scope ] +csdk field create --tableId --name --type --nameTrgmSimilarity --labelTrgmSimilarity --descriptionTrgmSimilarity --defaultValueTrgmSimilarity --regexpTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--label ] [--description ] [--smartTags ] [--isRequired ] [--defaultValue ] [--defaultValueAst ] [--isHidden ] [--fieldOrder ] [--regexp ] [--chk ] [--chkExpr ] [--min ] [--max ] [--tags ] [--category ] [--module ] [--scope ] ``` ### Get a field by id diff --git a/skills/cli-public/references/foreign-key-constraint.md b/skills/cli-public/references/foreign-key-constraint.md index 6a54666d7..9dbbfd037 100644 --- a/skills/cli-public/references/foreign-key-constraint.md +++ b/skills/cli-public/references/foreign-key-constraint.md @@ -9,8 +9,8 @@ CRUD operations for ForeignKeyConstraint records via csdk CLI ```bash csdk foreign-key-constraint list csdk foreign-key-constraint get --id -csdk foreign-key-constraint create --tableId --fieldIds --refTableId --refFieldIds [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--deleteAction ] [--updateAction ] [--category ] [--module ] [--scope ] [--tags ] -csdk foreign-key-constraint update --id [--databaseId ] [--tableId ] [--name ] [--description ] [--smartTags ] [--type ] [--fieldIds ] [--refTableId ] [--refFieldIds ] [--deleteAction ] [--updateAction ] [--category ] [--module ] [--scope ] [--tags ] +csdk foreign-key-constraint create --tableId --fieldIds --refTableId --refFieldIds --nameTrgmSimilarity --descriptionTrgmSimilarity --typeTrgmSimilarity --deleteActionTrgmSimilarity --updateActionTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--deleteAction ] [--updateAction ] [--category ] [--module ] [--scope ] [--tags ] +csdk foreign-key-constraint update --id [--databaseId ] [--tableId ] [--name ] [--description ] [--smartTags ] [--type ] [--fieldIds ] [--refTableId ] [--refFieldIds ] [--deleteAction ] [--updateAction ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--typeTrgmSimilarity ] [--deleteActionTrgmSimilarity ] [--updateActionTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk foreign-key-constraint delete --id ``` @@ -25,7 +25,7 @@ csdk foreign-key-constraint list ### Create a foreignKeyConstraint ```bash -csdk foreign-key-constraint create --tableId --fieldIds --refTableId --refFieldIds [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--deleteAction ] [--updateAction ] [--category ] [--module ] [--scope ] [--tags ] +csdk foreign-key-constraint create --tableId --fieldIds --refTableId --refFieldIds --nameTrgmSimilarity --descriptionTrgmSimilarity --typeTrgmSimilarity --deleteActionTrgmSimilarity --updateActionTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--deleteAction ] [--updateAction ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a foreignKeyConstraint by id diff --git a/skills/cli-public/references/hierarchy-module.md b/skills/cli-public/references/hierarchy-module.md index 3a9c94651..09e31e37b 100644 --- a/skills/cli-public/references/hierarchy-module.md +++ b/skills/cli-public/references/hierarchy-module.md @@ -9,8 +9,8 @@ CRUD operations for HierarchyModule records via csdk CLI ```bash csdk hierarchy-module list csdk hierarchy-module get --id -csdk hierarchy-module create --databaseId --entityTableId --usersTableId [--schemaId ] [--privateSchemaId ] [--chartEdgesTableId ] [--chartEdgesTableName ] [--hierarchySprtTableId ] [--hierarchySprtTableName ] [--chartEdgeGrantsTableId ] [--chartEdgeGrantsTableName ] [--prefix ] [--privateSchemaName ] [--sprtTableName ] [--rebuildHierarchyFunction ] [--getSubordinatesFunction ] [--getManagersFunction ] [--isManagerOfFunction ] -csdk hierarchy-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--chartEdgesTableId ] [--chartEdgesTableName ] [--hierarchySprtTableId ] [--hierarchySprtTableName ] [--chartEdgeGrantsTableId ] [--chartEdgeGrantsTableName ] [--entityTableId ] [--usersTableId ] [--prefix ] [--privateSchemaName ] [--sprtTableName ] [--rebuildHierarchyFunction ] [--getSubordinatesFunction ] [--getManagersFunction ] [--isManagerOfFunction ] +csdk hierarchy-module create --databaseId --entityTableId --usersTableId --chartEdgesTableNameTrgmSimilarity --hierarchySprtTableNameTrgmSimilarity --chartEdgeGrantsTableNameTrgmSimilarity --prefixTrgmSimilarity --privateSchemaNameTrgmSimilarity --sprtTableNameTrgmSimilarity --rebuildHierarchyFunctionTrgmSimilarity --getSubordinatesFunctionTrgmSimilarity --getManagersFunctionTrgmSimilarity --isManagerOfFunctionTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--chartEdgesTableId ] [--chartEdgesTableName ] [--hierarchySprtTableId ] [--hierarchySprtTableName ] [--chartEdgeGrantsTableId ] [--chartEdgeGrantsTableName ] [--prefix ] [--privateSchemaName ] [--sprtTableName ] [--rebuildHierarchyFunction ] [--getSubordinatesFunction ] [--getManagersFunction ] [--isManagerOfFunction ] +csdk hierarchy-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--chartEdgesTableId ] [--chartEdgesTableName ] [--hierarchySprtTableId ] [--hierarchySprtTableName ] [--chartEdgeGrantsTableId ] [--chartEdgeGrantsTableName ] [--entityTableId ] [--usersTableId ] [--prefix ] [--privateSchemaName ] [--sprtTableName ] [--rebuildHierarchyFunction ] [--getSubordinatesFunction ] [--getManagersFunction ] [--isManagerOfFunction ] [--chartEdgesTableNameTrgmSimilarity ] [--hierarchySprtTableNameTrgmSimilarity ] [--chartEdgeGrantsTableNameTrgmSimilarity ] [--prefixTrgmSimilarity ] [--privateSchemaNameTrgmSimilarity ] [--sprtTableNameTrgmSimilarity ] [--rebuildHierarchyFunctionTrgmSimilarity ] [--getSubordinatesFunctionTrgmSimilarity ] [--getManagersFunctionTrgmSimilarity ] [--isManagerOfFunctionTrgmSimilarity ] [--searchScore ] csdk hierarchy-module delete --id ``` @@ -25,7 +25,7 @@ csdk hierarchy-module list ### Create a hierarchyModule ```bash -csdk hierarchy-module create --databaseId --entityTableId --usersTableId [--schemaId ] [--privateSchemaId ] [--chartEdgesTableId ] [--chartEdgesTableName ] [--hierarchySprtTableId ] [--hierarchySprtTableName ] [--chartEdgeGrantsTableId ] [--chartEdgeGrantsTableName ] [--prefix ] [--privateSchemaName ] [--sprtTableName ] [--rebuildHierarchyFunction ] [--getSubordinatesFunction ] [--getManagersFunction ] [--isManagerOfFunction ] +csdk hierarchy-module create --databaseId --entityTableId --usersTableId --chartEdgesTableNameTrgmSimilarity --hierarchySprtTableNameTrgmSimilarity --chartEdgeGrantsTableNameTrgmSimilarity --prefixTrgmSimilarity --privateSchemaNameTrgmSimilarity --sprtTableNameTrgmSimilarity --rebuildHierarchyFunctionTrgmSimilarity --getSubordinatesFunctionTrgmSimilarity --getManagersFunctionTrgmSimilarity --isManagerOfFunctionTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--chartEdgesTableId ] [--chartEdgesTableName ] [--hierarchySprtTableId ] [--hierarchySprtTableName ] [--chartEdgeGrantsTableId ] [--chartEdgeGrantsTableName ] [--prefix ] [--privateSchemaName ] [--sprtTableName ] [--rebuildHierarchyFunction ] [--getSubordinatesFunction ] [--getManagersFunction ] [--isManagerOfFunction ] ``` ### Get a hierarchyModule by id diff --git a/skills/cli-public/references/index.md b/skills/cli-public/references/index.md index 0f27f35fc..aabfda2f3 100644 --- a/skills/cli-public/references/index.md +++ b/skills/cli-public/references/index.md @@ -9,8 +9,8 @@ CRUD operations for Index records via csdk CLI ```bash csdk index list csdk index get --id -csdk index create --databaseId --tableId [--name ] [--fieldIds ] [--includeFieldIds ] [--accessMethod ] [--indexParams ] [--whereClause ] [--isUnique ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] -csdk index update --id [--databaseId ] [--tableId ] [--name ] [--fieldIds ] [--includeFieldIds ] [--accessMethod ] [--indexParams ] [--whereClause ] [--isUnique ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk index create --databaseId --tableId --nameTrgmSimilarity --accessMethodTrgmSimilarity --moduleTrgmSimilarity --searchScore [--name ] [--fieldIds ] [--includeFieldIds ] [--accessMethod ] [--indexParams ] [--whereClause ] [--isUnique ] [--options ] [--opClasses ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk index update --id [--databaseId ] [--tableId ] [--name ] [--fieldIds ] [--includeFieldIds ] [--accessMethod ] [--indexParams ] [--whereClause ] [--isUnique ] [--options ] [--opClasses ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--accessMethodTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk index delete --id ``` @@ -25,7 +25,7 @@ csdk index list ### Create a index ```bash -csdk index create --databaseId --tableId [--name ] [--fieldIds ] [--includeFieldIds ] [--accessMethod ] [--indexParams ] [--whereClause ] [--isUnique ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk index create --databaseId --tableId --nameTrgmSimilarity --accessMethodTrgmSimilarity --moduleTrgmSimilarity --searchScore [--name ] [--fieldIds ] [--includeFieldIds ] [--accessMethod ] [--indexParams ] [--whereClause ] [--isUnique ] [--options ] [--opClasses ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a index by id diff --git a/skills/cli-public/references/invite.md b/skills/cli-public/references/invite.md index 5b837cd1a..1b64e9d03 100644 --- a/skills/cli-public/references/invite.md +++ b/skills/cli-public/references/invite.md @@ -9,8 +9,8 @@ CRUD operations for Invite records via csdk CLI ```bash csdk invite list csdk invite get --id -csdk invite create [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] -csdk invite update --id [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk invite create --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk invite update --id [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] [--inviteTokenTrgmSimilarity ] [--searchScore ] csdk invite delete --id ``` @@ -25,7 +25,7 @@ csdk invite list ### Create a invite ```bash -csdk invite create [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk invite create --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] ``` ### Get a invite by id diff --git a/skills/cli-public/references/invites-module.md b/skills/cli-public/references/invites-module.md index 12aec3b8b..9abad8864 100644 --- a/skills/cli-public/references/invites-module.md +++ b/skills/cli-public/references/invites-module.md @@ -9,8 +9,8 @@ CRUD operations for InvitesModule records via csdk CLI ```bash csdk invites-module list csdk invites-module get --id -csdk invites-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--emailsTableId ] [--usersTableId ] [--invitesTableId ] [--claimedInvitesTableId ] [--invitesTableName ] [--claimedInvitesTableName ] [--submitInviteCodeFunction ] [--prefix ] [--entityTableId ] -csdk invites-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--emailsTableId ] [--usersTableId ] [--invitesTableId ] [--claimedInvitesTableId ] [--invitesTableName ] [--claimedInvitesTableName ] [--submitInviteCodeFunction ] [--prefix ] [--membershipType ] [--entityTableId ] +csdk invites-module create --databaseId --membershipType --invitesTableNameTrgmSimilarity --claimedInvitesTableNameTrgmSimilarity --submitInviteCodeFunctionTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--emailsTableId ] [--usersTableId ] [--invitesTableId ] [--claimedInvitesTableId ] [--invitesTableName ] [--claimedInvitesTableName ] [--submitInviteCodeFunction ] [--prefix ] [--entityTableId ] +csdk invites-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--emailsTableId ] [--usersTableId ] [--invitesTableId ] [--claimedInvitesTableId ] [--invitesTableName ] [--claimedInvitesTableName ] [--submitInviteCodeFunction ] [--prefix ] [--membershipType ] [--entityTableId ] [--invitesTableNameTrgmSimilarity ] [--claimedInvitesTableNameTrgmSimilarity ] [--submitInviteCodeFunctionTrgmSimilarity ] [--prefixTrgmSimilarity ] [--searchScore ] csdk invites-module delete --id ``` @@ -25,7 +25,7 @@ csdk invites-module list ### Create a invitesModule ```bash -csdk invites-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--emailsTableId ] [--usersTableId ] [--invitesTableId ] [--claimedInvitesTableId ] [--invitesTableName ] [--claimedInvitesTableName ] [--submitInviteCodeFunction ] [--prefix ] [--entityTableId ] +csdk invites-module create --databaseId --membershipType --invitesTableNameTrgmSimilarity --claimedInvitesTableNameTrgmSimilarity --submitInviteCodeFunctionTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--emailsTableId ] [--usersTableId ] [--invitesTableId ] [--claimedInvitesTableId ] [--invitesTableName ] [--claimedInvitesTableName ] [--submitInviteCodeFunction ] [--prefix ] [--entityTableId ] ``` ### Get a invitesModule by id diff --git a/skills/cli-public/references/levels-module.md b/skills/cli-public/references/levels-module.md index a0d430873..efee9a5e3 100644 --- a/skills/cli-public/references/levels-module.md +++ b/skills/cli-public/references/levels-module.md @@ -9,8 +9,8 @@ CRUD operations for LevelsModule records via csdk CLI ```bash csdk levels-module list csdk levels-module get --id -csdk levels-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--stepsTableId ] [--stepsTableName ] [--achievementsTableId ] [--achievementsTableName ] [--levelsTableId ] [--levelsTableName ] [--levelRequirementsTableId ] [--levelRequirementsTableName ] [--completedStep ] [--incompletedStep ] [--tgAchievement ] [--tgAchievementToggle ] [--tgAchievementToggleBoolean ] [--tgAchievementBoolean ] [--upsertAchievement ] [--tgUpdateAchievements ] [--stepsRequired ] [--levelAchieved ] [--prefix ] [--entityTableId ] [--actorTableId ] -csdk levels-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--stepsTableId ] [--stepsTableName ] [--achievementsTableId ] [--achievementsTableName ] [--levelsTableId ] [--levelsTableName ] [--levelRequirementsTableId ] [--levelRequirementsTableName ] [--completedStep ] [--incompletedStep ] [--tgAchievement ] [--tgAchievementToggle ] [--tgAchievementToggleBoolean ] [--tgAchievementBoolean ] [--upsertAchievement ] [--tgUpdateAchievements ] [--stepsRequired ] [--levelAchieved ] [--prefix ] [--membershipType ] [--entityTableId ] [--actorTableId ] +csdk levels-module create --databaseId --membershipType --stepsTableNameTrgmSimilarity --achievementsTableNameTrgmSimilarity --levelsTableNameTrgmSimilarity --levelRequirementsTableNameTrgmSimilarity --completedStepTrgmSimilarity --incompletedStepTrgmSimilarity --tgAchievementTrgmSimilarity --tgAchievementToggleTrgmSimilarity --tgAchievementToggleBooleanTrgmSimilarity --tgAchievementBooleanTrgmSimilarity --upsertAchievementTrgmSimilarity --tgUpdateAchievementsTrgmSimilarity --stepsRequiredTrgmSimilarity --levelAchievedTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--stepsTableId ] [--stepsTableName ] [--achievementsTableId ] [--achievementsTableName ] [--levelsTableId ] [--levelsTableName ] [--levelRequirementsTableId ] [--levelRequirementsTableName ] [--completedStep ] [--incompletedStep ] [--tgAchievement ] [--tgAchievementToggle ] [--tgAchievementToggleBoolean ] [--tgAchievementBoolean ] [--upsertAchievement ] [--tgUpdateAchievements ] [--stepsRequired ] [--levelAchieved ] [--prefix ] [--entityTableId ] [--actorTableId ] +csdk levels-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--stepsTableId ] [--stepsTableName ] [--achievementsTableId ] [--achievementsTableName ] [--levelsTableId ] [--levelsTableName ] [--levelRequirementsTableId ] [--levelRequirementsTableName ] [--completedStep ] [--incompletedStep ] [--tgAchievement ] [--tgAchievementToggle ] [--tgAchievementToggleBoolean ] [--tgAchievementBoolean ] [--upsertAchievement ] [--tgUpdateAchievements ] [--stepsRequired ] [--levelAchieved ] [--prefix ] [--membershipType ] [--entityTableId ] [--actorTableId ] [--stepsTableNameTrgmSimilarity ] [--achievementsTableNameTrgmSimilarity ] [--levelsTableNameTrgmSimilarity ] [--levelRequirementsTableNameTrgmSimilarity ] [--completedStepTrgmSimilarity ] [--incompletedStepTrgmSimilarity ] [--tgAchievementTrgmSimilarity ] [--tgAchievementToggleTrgmSimilarity ] [--tgAchievementToggleBooleanTrgmSimilarity ] [--tgAchievementBooleanTrgmSimilarity ] [--upsertAchievementTrgmSimilarity ] [--tgUpdateAchievementsTrgmSimilarity ] [--stepsRequiredTrgmSimilarity ] [--levelAchievedTrgmSimilarity ] [--prefixTrgmSimilarity ] [--searchScore ] csdk levels-module delete --id ``` @@ -25,7 +25,7 @@ csdk levels-module list ### Create a levelsModule ```bash -csdk levels-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--stepsTableId ] [--stepsTableName ] [--achievementsTableId ] [--achievementsTableName ] [--levelsTableId ] [--levelsTableName ] [--levelRequirementsTableId ] [--levelRequirementsTableName ] [--completedStep ] [--incompletedStep ] [--tgAchievement ] [--tgAchievementToggle ] [--tgAchievementToggleBoolean ] [--tgAchievementBoolean ] [--upsertAchievement ] [--tgUpdateAchievements ] [--stepsRequired ] [--levelAchieved ] [--prefix ] [--entityTableId ] [--actorTableId ] +csdk levels-module create --databaseId --membershipType --stepsTableNameTrgmSimilarity --achievementsTableNameTrgmSimilarity --levelsTableNameTrgmSimilarity --levelRequirementsTableNameTrgmSimilarity --completedStepTrgmSimilarity --incompletedStepTrgmSimilarity --tgAchievementTrgmSimilarity --tgAchievementToggleTrgmSimilarity --tgAchievementToggleBooleanTrgmSimilarity --tgAchievementBooleanTrgmSimilarity --upsertAchievementTrgmSimilarity --tgUpdateAchievementsTrgmSimilarity --stepsRequiredTrgmSimilarity --levelAchievedTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--stepsTableId ] [--stepsTableName ] [--achievementsTableId ] [--achievementsTableName ] [--levelsTableId ] [--levelsTableName ] [--levelRequirementsTableId ] [--levelRequirementsTableName ] [--completedStep ] [--incompletedStep ] [--tgAchievement ] [--tgAchievementToggle ] [--tgAchievementToggleBoolean ] [--tgAchievementBoolean ] [--upsertAchievement ] [--tgUpdateAchievements ] [--stepsRequired ] [--levelAchieved ] [--prefix ] [--entityTableId ] [--actorTableId ] ``` ### Get a levelsModule by id diff --git a/skills/cli-public/references/limits-module.md b/skills/cli-public/references/limits-module.md index 7b684787a..e5c7a1c9a 100644 --- a/skills/cli-public/references/limits-module.md +++ b/skills/cli-public/references/limits-module.md @@ -9,8 +9,8 @@ CRUD operations for LimitsModule records via csdk CLI ```bash csdk limits-module list csdk limits-module get --id -csdk limits-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--limitIncrementFunction ] [--limitDecrementFunction ] [--limitIncrementTrigger ] [--limitDecrementTrigger ] [--limitUpdateTrigger ] [--limitCheckFunction ] [--prefix ] [--entityTableId ] [--actorTableId ] -csdk limits-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--limitIncrementFunction ] [--limitDecrementFunction ] [--limitIncrementTrigger ] [--limitDecrementTrigger ] [--limitUpdateTrigger ] [--limitCheckFunction ] [--prefix ] [--membershipType ] [--entityTableId ] [--actorTableId ] +csdk limits-module create --databaseId --membershipType --tableNameTrgmSimilarity --defaultTableNameTrgmSimilarity --limitIncrementFunctionTrgmSimilarity --limitDecrementFunctionTrgmSimilarity --limitIncrementTriggerTrgmSimilarity --limitDecrementTriggerTrgmSimilarity --limitUpdateTriggerTrgmSimilarity --limitCheckFunctionTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--limitIncrementFunction ] [--limitDecrementFunction ] [--limitIncrementTrigger ] [--limitDecrementTrigger ] [--limitUpdateTrigger ] [--limitCheckFunction ] [--prefix ] [--entityTableId ] [--actorTableId ] +csdk limits-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--limitIncrementFunction ] [--limitDecrementFunction ] [--limitIncrementTrigger ] [--limitDecrementTrigger ] [--limitUpdateTrigger ] [--limitCheckFunction ] [--prefix ] [--membershipType ] [--entityTableId ] [--actorTableId ] [--tableNameTrgmSimilarity ] [--defaultTableNameTrgmSimilarity ] [--limitIncrementFunctionTrgmSimilarity ] [--limitDecrementFunctionTrgmSimilarity ] [--limitIncrementTriggerTrgmSimilarity ] [--limitDecrementTriggerTrgmSimilarity ] [--limitUpdateTriggerTrgmSimilarity ] [--limitCheckFunctionTrgmSimilarity ] [--prefixTrgmSimilarity ] [--searchScore ] csdk limits-module delete --id ``` @@ -25,7 +25,7 @@ csdk limits-module list ### Create a limitsModule ```bash -csdk limits-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--limitIncrementFunction ] [--limitDecrementFunction ] [--limitIncrementTrigger ] [--limitDecrementTrigger ] [--limitUpdateTrigger ] [--limitCheckFunction ] [--prefix ] [--entityTableId ] [--actorTableId ] +csdk limits-module create --databaseId --membershipType --tableNameTrgmSimilarity --defaultTableNameTrgmSimilarity --limitIncrementFunctionTrgmSimilarity --limitDecrementFunctionTrgmSimilarity --limitIncrementTriggerTrgmSimilarity --limitDecrementTriggerTrgmSimilarity --limitUpdateTriggerTrgmSimilarity --limitCheckFunctionTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--limitIncrementFunction ] [--limitDecrementFunction ] [--limitIncrementTrigger ] [--limitDecrementTrigger ] [--limitUpdateTrigger ] [--limitCheckFunction ] [--prefix ] [--entityTableId ] [--actorTableId ] ``` ### Get a limitsModule by id diff --git a/skills/cli-public/references/membership-type.md b/skills/cli-public/references/membership-type.md index 4ef886048..59128339b 100644 --- a/skills/cli-public/references/membership-type.md +++ b/skills/cli-public/references/membership-type.md @@ -9,8 +9,8 @@ CRUD operations for MembershipType records via csdk CLI ```bash csdk membership-type list csdk membership-type get --id -csdk membership-type create --name --description --prefix -csdk membership-type update --id [--name ] [--description ] [--prefix ] +csdk membership-type create --name --description --prefix --descriptionTrgmSimilarity --prefixTrgmSimilarity --searchScore +csdk membership-type update --id [--name ] [--description ] [--prefix ] [--descriptionTrgmSimilarity ] [--prefixTrgmSimilarity ] [--searchScore ] csdk membership-type delete --id ``` @@ -25,7 +25,7 @@ csdk membership-type list ### Create a membershipType ```bash -csdk membership-type create --name --description --prefix +csdk membership-type create --name --description --prefix --descriptionTrgmSimilarity --prefixTrgmSimilarity --searchScore ``` ### Get a membershipType by id diff --git a/skills/cli-public/references/membership-types-module.md b/skills/cli-public/references/membership-types-module.md index 44d01b857..ad762a552 100644 --- a/skills/cli-public/references/membership-types-module.md +++ b/skills/cli-public/references/membership-types-module.md @@ -9,8 +9,8 @@ CRUD operations for MembershipTypesModule records via csdk CLI ```bash csdk membership-types-module list csdk membership-types-module get --id -csdk membership-types-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] -csdk membership-types-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] +csdk membership-types-module create --databaseId --tableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] +csdk membership-types-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] [--tableNameTrgmSimilarity ] [--searchScore ] csdk membership-types-module delete --id ``` @@ -25,7 +25,7 @@ csdk membership-types-module list ### Create a membershipTypesModule ```bash -csdk membership-types-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] +csdk membership-types-module create --databaseId --tableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] ``` ### Get a membershipTypesModule by id diff --git a/skills/cli-public/references/memberships-module.md b/skills/cli-public/references/memberships-module.md index 762b93f18..55561ab99 100644 --- a/skills/cli-public/references/memberships-module.md +++ b/skills/cli-public/references/memberships-module.md @@ -9,8 +9,8 @@ CRUD operations for MembershipsModule records via csdk CLI ```bash csdk memberships-module list csdk memberships-module get --id -csdk memberships-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--membershipsTableId ] [--membershipsTableName ] [--membersTableId ] [--membersTableName ] [--membershipDefaultsTableId ] [--membershipDefaultsTableName ] [--grantsTableId ] [--grantsTableName ] [--actorTableId ] [--limitsTableId ] [--defaultLimitsTableId ] [--permissionsTableId ] [--defaultPermissionsTableId ] [--sprtTableId ] [--adminGrantsTableId ] [--adminGrantsTableName ] [--ownerGrantsTableId ] [--ownerGrantsTableName ] [--entityTableId ] [--entityTableOwnerId ] [--prefix ] [--actorMaskCheck ] [--actorPermCheck ] [--entityIdsByMask ] [--entityIdsByPerm ] [--entityIdsFunction ] -csdk memberships-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--membershipsTableId ] [--membershipsTableName ] [--membersTableId ] [--membersTableName ] [--membershipDefaultsTableId ] [--membershipDefaultsTableName ] [--grantsTableId ] [--grantsTableName ] [--actorTableId ] [--limitsTableId ] [--defaultLimitsTableId ] [--permissionsTableId ] [--defaultPermissionsTableId ] [--sprtTableId ] [--adminGrantsTableId ] [--adminGrantsTableName ] [--ownerGrantsTableId ] [--ownerGrantsTableName ] [--membershipType ] [--entityTableId ] [--entityTableOwnerId ] [--prefix ] [--actorMaskCheck ] [--actorPermCheck ] [--entityIdsByMask ] [--entityIdsByPerm ] [--entityIdsFunction ] +csdk memberships-module create --databaseId --membershipType --membershipsTableNameTrgmSimilarity --membersTableNameTrgmSimilarity --membershipDefaultsTableNameTrgmSimilarity --grantsTableNameTrgmSimilarity --adminGrantsTableNameTrgmSimilarity --ownerGrantsTableNameTrgmSimilarity --prefixTrgmSimilarity --actorMaskCheckTrgmSimilarity --actorPermCheckTrgmSimilarity --entityIdsByMaskTrgmSimilarity --entityIdsByPermTrgmSimilarity --entityIdsFunctionTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--membershipsTableId ] [--membershipsTableName ] [--membersTableId ] [--membersTableName ] [--membershipDefaultsTableId ] [--membershipDefaultsTableName ] [--grantsTableId ] [--grantsTableName ] [--actorTableId ] [--limitsTableId ] [--defaultLimitsTableId ] [--permissionsTableId ] [--defaultPermissionsTableId ] [--sprtTableId ] [--adminGrantsTableId ] [--adminGrantsTableName ] [--ownerGrantsTableId ] [--ownerGrantsTableName ] [--entityTableId ] [--entityTableOwnerId ] [--prefix ] [--actorMaskCheck ] [--actorPermCheck ] [--entityIdsByMask ] [--entityIdsByPerm ] [--entityIdsFunction ] +csdk memberships-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--membershipsTableId ] [--membershipsTableName ] [--membersTableId ] [--membersTableName ] [--membershipDefaultsTableId ] [--membershipDefaultsTableName ] [--grantsTableId ] [--grantsTableName ] [--actorTableId ] [--limitsTableId ] [--defaultLimitsTableId ] [--permissionsTableId ] [--defaultPermissionsTableId ] [--sprtTableId ] [--adminGrantsTableId ] [--adminGrantsTableName ] [--ownerGrantsTableId ] [--ownerGrantsTableName ] [--membershipType ] [--entityTableId ] [--entityTableOwnerId ] [--prefix ] [--actorMaskCheck ] [--actorPermCheck ] [--entityIdsByMask ] [--entityIdsByPerm ] [--entityIdsFunction ] [--membershipsTableNameTrgmSimilarity ] [--membersTableNameTrgmSimilarity ] [--membershipDefaultsTableNameTrgmSimilarity ] [--grantsTableNameTrgmSimilarity ] [--adminGrantsTableNameTrgmSimilarity ] [--ownerGrantsTableNameTrgmSimilarity ] [--prefixTrgmSimilarity ] [--actorMaskCheckTrgmSimilarity ] [--actorPermCheckTrgmSimilarity ] [--entityIdsByMaskTrgmSimilarity ] [--entityIdsByPermTrgmSimilarity ] [--entityIdsFunctionTrgmSimilarity ] [--searchScore ] csdk memberships-module delete --id ``` @@ -25,7 +25,7 @@ csdk memberships-module list ### Create a membershipsModule ```bash -csdk memberships-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--membershipsTableId ] [--membershipsTableName ] [--membersTableId ] [--membersTableName ] [--membershipDefaultsTableId ] [--membershipDefaultsTableName ] [--grantsTableId ] [--grantsTableName ] [--actorTableId ] [--limitsTableId ] [--defaultLimitsTableId ] [--permissionsTableId ] [--defaultPermissionsTableId ] [--sprtTableId ] [--adminGrantsTableId ] [--adminGrantsTableName ] [--ownerGrantsTableId ] [--ownerGrantsTableName ] [--entityTableId ] [--entityTableOwnerId ] [--prefix ] [--actorMaskCheck ] [--actorPermCheck ] [--entityIdsByMask ] [--entityIdsByPerm ] [--entityIdsFunction ] +csdk memberships-module create --databaseId --membershipType --membershipsTableNameTrgmSimilarity --membersTableNameTrgmSimilarity --membershipDefaultsTableNameTrgmSimilarity --grantsTableNameTrgmSimilarity --adminGrantsTableNameTrgmSimilarity --ownerGrantsTableNameTrgmSimilarity --prefixTrgmSimilarity --actorMaskCheckTrgmSimilarity --actorPermCheckTrgmSimilarity --entityIdsByMaskTrgmSimilarity --entityIdsByPermTrgmSimilarity --entityIdsFunctionTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--membershipsTableId ] [--membershipsTableName ] [--membersTableId ] [--membersTableName ] [--membershipDefaultsTableId ] [--membershipDefaultsTableName ] [--grantsTableId ] [--grantsTableName ] [--actorTableId ] [--limitsTableId ] [--defaultLimitsTableId ] [--permissionsTableId ] [--defaultPermissionsTableId ] [--sprtTableId ] [--adminGrantsTableId ] [--adminGrantsTableName ] [--ownerGrantsTableId ] [--ownerGrantsTableName ] [--entityTableId ] [--entityTableOwnerId ] [--prefix ] [--actorMaskCheck ] [--actorPermCheck ] [--entityIdsByMask ] [--entityIdsByPerm ] [--entityIdsFunction ] ``` ### Get a membershipsModule by id diff --git a/skills/cli-public/references/node-type-registry.md b/skills/cli-public/references/node-type-registry.md index 077fa13b9..ca940d28b 100644 --- a/skills/cli-public/references/node-type-registry.md +++ b/skills/cli-public/references/node-type-registry.md @@ -9,8 +9,8 @@ CRUD operations for NodeTypeRegistry records via csdk CLI ```bash csdk node-type-registry list csdk node-type-registry get --name -csdk node-type-registry create --slug --category [--displayName ] [--description ] [--parameterSchema ] [--tags ] -csdk node-type-registry update --name [--slug ] [--category ] [--displayName ] [--description ] [--parameterSchema ] [--tags ] +csdk node-type-registry create --slug --category --nameTrgmSimilarity --slugTrgmSimilarity --categoryTrgmSimilarity --displayNameTrgmSimilarity --descriptionTrgmSimilarity --searchScore [--displayName ] [--description ] [--parameterSchema ] [--tags ] +csdk node-type-registry update --name [--slug ] [--category ] [--displayName ] [--description ] [--parameterSchema ] [--tags ] [--nameTrgmSimilarity ] [--slugTrgmSimilarity ] [--categoryTrgmSimilarity ] [--displayNameTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk node-type-registry delete --name ``` @@ -25,7 +25,7 @@ csdk node-type-registry list ### Create a nodeTypeRegistry ```bash -csdk node-type-registry create --slug --category [--displayName ] [--description ] [--parameterSchema ] [--tags ] +csdk node-type-registry create --slug --category --nameTrgmSimilarity --slugTrgmSimilarity --categoryTrgmSimilarity --displayNameTrgmSimilarity --descriptionTrgmSimilarity --searchScore [--displayName ] [--description ] [--parameterSchema ] [--tags ] ``` ### Get a nodeTypeRegistry by name diff --git a/skills/cli-public/references/org-chart-edge-grant.md b/skills/cli-public/references/org-chart-edge-grant.md index 62779ed5f..de26476df 100644 --- a/skills/cli-public/references/org-chart-edge-grant.md +++ b/skills/cli-public/references/org-chart-edge-grant.md @@ -9,8 +9,8 @@ CRUD operations for OrgChartEdgeGrant records via csdk CLI ```bash csdk org-chart-edge-grant list csdk org-chart-edge-grant get --id -csdk org-chart-edge-grant create --entityId --childId --grantorId [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] -csdk org-chart-edge-grant update --id [--entityId ] [--childId ] [--parentId ] [--grantorId ] [--isGrant ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge-grant create --entityId --childId --grantorId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge-grant update --id [--entityId ] [--childId ] [--parentId ] [--grantorId ] [--isGrant ] [--positionTitle ] [--positionLevel ] [--positionTitleTrgmSimilarity ] [--searchScore ] csdk org-chart-edge-grant delete --id ``` @@ -25,7 +25,7 @@ csdk org-chart-edge-grant list ### Create a orgChartEdgeGrant ```bash -csdk org-chart-edge-grant create --entityId --childId --grantorId [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge-grant create --entityId --childId --grantorId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--isGrant ] [--positionTitle ] [--positionLevel ] ``` ### Get a orgChartEdgeGrant by id diff --git a/skills/cli-public/references/org-chart-edge.md b/skills/cli-public/references/org-chart-edge.md index 5ead28ec2..7f8956dc6 100644 --- a/skills/cli-public/references/org-chart-edge.md +++ b/skills/cli-public/references/org-chart-edge.md @@ -9,8 +9,8 @@ CRUD operations for OrgChartEdge records via csdk CLI ```bash csdk org-chart-edge list csdk org-chart-edge get --id -csdk org-chart-edge create --entityId --childId [--parentId ] [--positionTitle ] [--positionLevel ] -csdk org-chart-edge update --id [--entityId ] [--childId ] [--parentId ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge create --entityId --childId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge update --id [--entityId ] [--childId ] [--parentId ] [--positionTitle ] [--positionLevel ] [--positionTitleTrgmSimilarity ] [--searchScore ] csdk org-chart-edge delete --id ``` @@ -25,7 +25,7 @@ csdk org-chart-edge list ### Create a orgChartEdge ```bash -csdk org-chart-edge create --entityId --childId [--parentId ] [--positionTitle ] [--positionLevel ] +csdk org-chart-edge create --entityId --childId --positionTitleTrgmSimilarity --searchScore [--parentId ] [--positionTitle ] [--positionLevel ] ``` ### Get a orgChartEdge by id diff --git a/skills/cli-public/references/org-invite.md b/skills/cli-public/references/org-invite.md index 18554cef6..ccf34d914 100644 --- a/skills/cli-public/references/org-invite.md +++ b/skills/cli-public/references/org-invite.md @@ -9,8 +9,8 @@ CRUD operations for OrgInvite records via csdk CLI ```bash csdk org-invite list csdk org-invite get --id -csdk org-invite create --entityId [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] -csdk org-invite update --id [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] [--entityId ] +csdk org-invite create --entityId --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk org-invite update --id [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] [--entityId ] [--inviteTokenTrgmSimilarity ] [--searchScore ] csdk org-invite delete --id ``` @@ -25,7 +25,7 @@ csdk org-invite list ### Create a orgInvite ```bash -csdk org-invite create --entityId [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] +csdk org-invite create --entityId --inviteTokenTrgmSimilarity --searchScore [--email ] [--senderId ] [--receiverId ] [--inviteToken ] [--inviteValid ] [--inviteLimit ] [--inviteCount ] [--multiple ] [--data ] [--expiresAt ] ``` ### Get a orgInvite by id diff --git a/skills/cli-public/references/org-permission.md b/skills/cli-public/references/org-permission.md index 98bfe7d30..458698b08 100644 --- a/skills/cli-public/references/org-permission.md +++ b/skills/cli-public/references/org-permission.md @@ -9,8 +9,8 @@ CRUD operations for OrgPermission records via csdk CLI ```bash csdk org-permission list csdk org-permission get --id -csdk org-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] -csdk org-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk org-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk org-permission update --id [--name ] [--bitnum ] [--bitstr ] [--description ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk org-permission delete --id ``` @@ -25,7 +25,7 @@ csdk org-permission list ### Create a orgPermission ```bash -csdk org-permission create [--name ] [--bitnum ] [--bitstr ] [--description ] +csdk org-permission create --descriptionTrgmSimilarity --searchScore [--name ] [--bitnum ] [--bitstr ] [--description ] ``` ### Get a orgPermission by id diff --git a/skills/cli-public/references/permissions-module.md b/skills/cli-public/references/permissions-module.md index a97160309..cdf575406 100644 --- a/skills/cli-public/references/permissions-module.md +++ b/skills/cli-public/references/permissions-module.md @@ -9,8 +9,8 @@ CRUD operations for PermissionsModule records via csdk CLI ```bash csdk permissions-module list csdk permissions-module get --id -csdk permissions-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--bitlen ] [--entityTableId ] [--actorTableId ] [--prefix ] [--getPaddedMask ] [--getMask ] [--getByMask ] [--getMaskByName ] -csdk permissions-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--bitlen ] [--membershipType ] [--entityTableId ] [--actorTableId ] [--prefix ] [--getPaddedMask ] [--getMask ] [--getByMask ] [--getMaskByName ] +csdk permissions-module create --databaseId --membershipType --tableNameTrgmSimilarity --defaultTableNameTrgmSimilarity --prefixTrgmSimilarity --getPaddedMaskTrgmSimilarity --getMaskTrgmSimilarity --getByMaskTrgmSimilarity --getMaskByNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--bitlen ] [--entityTableId ] [--actorTableId ] [--prefix ] [--getPaddedMask ] [--getMask ] [--getByMask ] [--getMaskByName ] +csdk permissions-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--bitlen ] [--membershipType ] [--entityTableId ] [--actorTableId ] [--prefix ] [--getPaddedMask ] [--getMask ] [--getByMask ] [--getMaskByName ] [--tableNameTrgmSimilarity ] [--defaultTableNameTrgmSimilarity ] [--prefixTrgmSimilarity ] [--getPaddedMaskTrgmSimilarity ] [--getMaskTrgmSimilarity ] [--getByMaskTrgmSimilarity ] [--getMaskByNameTrgmSimilarity ] [--searchScore ] csdk permissions-module delete --id ``` @@ -25,7 +25,7 @@ csdk permissions-module list ### Create a permissionsModule ```bash -csdk permissions-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--bitlen ] [--entityTableId ] [--actorTableId ] [--prefix ] [--getPaddedMask ] [--getMask ] [--getByMask ] [--getMaskByName ] +csdk permissions-module create --databaseId --membershipType --tableNameTrgmSimilarity --defaultTableNameTrgmSimilarity --prefixTrgmSimilarity --getPaddedMaskTrgmSimilarity --getMaskTrgmSimilarity --getByMaskTrgmSimilarity --getMaskByNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--defaultTableId ] [--defaultTableName ] [--bitlen ] [--entityTableId ] [--actorTableId ] [--prefix ] [--getPaddedMask ] [--getMask ] [--getByMask ] [--getMaskByName ] ``` ### Get a permissionsModule by id diff --git a/skills/cli-public/references/phone-number.md b/skills/cli-public/references/phone-number.md index 25c2b3f02..d36d24180 100644 --- a/skills/cli-public/references/phone-number.md +++ b/skills/cli-public/references/phone-number.md @@ -9,8 +9,8 @@ CRUD operations for PhoneNumber records via csdk CLI ```bash csdk phone-number list csdk phone-number get --id -csdk phone-number create --cc --number [--ownerId ] [--isVerified ] [--isPrimary ] -csdk phone-number update --id [--ownerId ] [--cc ] [--number ] [--isVerified ] [--isPrimary ] +csdk phone-number create --cc --number --ccTrgmSimilarity --numberTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] +csdk phone-number update --id [--ownerId ] [--cc ] [--number ] [--isVerified ] [--isPrimary ] [--ccTrgmSimilarity ] [--numberTrgmSimilarity ] [--searchScore ] csdk phone-number delete --id ``` @@ -25,7 +25,7 @@ csdk phone-number list ### Create a phoneNumber ```bash -csdk phone-number create --cc --number [--ownerId ] [--isVerified ] [--isPrimary ] +csdk phone-number create --cc --number --ccTrgmSimilarity --numberTrgmSimilarity --searchScore [--ownerId ] [--isVerified ] [--isPrimary ] ``` ### Get a phoneNumber by id diff --git a/skills/cli-public/references/phone-numbers-module.md b/skills/cli-public/references/phone-numbers-module.md index c26215106..ca96c8994 100644 --- a/skills/cli-public/references/phone-numbers-module.md +++ b/skills/cli-public/references/phone-numbers-module.md @@ -9,8 +9,8 @@ CRUD operations for PhoneNumbersModule records via csdk CLI ```bash csdk phone-numbers-module list csdk phone-numbers-module get --id -csdk phone-numbers-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] -csdk phone-numbers-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] +csdk phone-numbers-module create --databaseId --tableName --tableNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] +csdk phone-numbers-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] [--tableNameTrgmSimilarity ] [--searchScore ] csdk phone-numbers-module delete --id ``` @@ -25,7 +25,7 @@ csdk phone-numbers-module list ### Create a phoneNumbersModule ```bash -csdk phone-numbers-module create --databaseId --tableName [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] +csdk phone-numbers-module create --databaseId --tableName --tableNameTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] ``` ### Get a phoneNumbersModule by id diff --git a/skills/cli-public/references/policy.md b/skills/cli-public/references/policy.md index ed3b90a0c..eede8f7bc 100644 --- a/skills/cli-public/references/policy.md +++ b/skills/cli-public/references/policy.md @@ -9,8 +9,8 @@ CRUD operations for Policy records via csdk CLI ```bash csdk policy list csdk policy get --id -csdk policy create --tableId [--databaseId ] [--name ] [--granteeName ] [--privilege ] [--permissive ] [--disabled ] [--policyType ] [--data ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] -csdk policy update --id [--databaseId ] [--tableId ] [--name ] [--granteeName ] [--privilege ] [--permissive ] [--disabled ] [--policyType ] [--data ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk policy create --tableId --nameTrgmSimilarity --granteeNameTrgmSimilarity --privilegeTrgmSimilarity --policyTypeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--granteeName ] [--privilege ] [--permissive ] [--disabled ] [--policyType ] [--data ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk policy update --id [--databaseId ] [--tableId ] [--name ] [--granteeName ] [--privilege ] [--permissive ] [--disabled ] [--policyType ] [--data ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--granteeNameTrgmSimilarity ] [--privilegeTrgmSimilarity ] [--policyTypeTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk policy delete --id ``` @@ -25,7 +25,7 @@ csdk policy list ### Create a policy ```bash -csdk policy create --tableId [--databaseId ] [--name ] [--granteeName ] [--privilege ] [--permissive ] [--disabled ] [--policyType ] [--data ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk policy create --tableId --nameTrgmSimilarity --granteeNameTrgmSimilarity --privilegeTrgmSimilarity --policyTypeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--granteeName ] [--privilege ] [--permissive ] [--disabled ] [--policyType ] [--data ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a policy by id diff --git a/skills/cli-public/references/primary-key-constraint.md b/skills/cli-public/references/primary-key-constraint.md index 6d0c3d51d..b6f66227c 100644 --- a/skills/cli-public/references/primary-key-constraint.md +++ b/skills/cli-public/references/primary-key-constraint.md @@ -9,8 +9,8 @@ CRUD operations for PrimaryKeyConstraint records via csdk CLI ```bash csdk primary-key-constraint list csdk primary-key-constraint get --id -csdk primary-key-constraint create --tableId --fieldIds [--databaseId ] [--name ] [--type ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] -csdk primary-key-constraint update --id [--databaseId ] [--tableId ] [--name ] [--type ] [--fieldIds ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk primary-key-constraint create --tableId --fieldIds --nameTrgmSimilarity --typeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--type ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk primary-key-constraint update --id [--databaseId ] [--tableId ] [--name ] [--type ] [--fieldIds ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--typeTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk primary-key-constraint delete --id ``` @@ -25,7 +25,7 @@ csdk primary-key-constraint list ### Create a primaryKeyConstraint ```bash -csdk primary-key-constraint create --tableId --fieldIds [--databaseId ] [--name ] [--type ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk primary-key-constraint create --tableId --fieldIds --nameTrgmSimilarity --typeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--type ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a primaryKeyConstraint by id diff --git a/skills/cli-public/references/profiles-module.md b/skills/cli-public/references/profiles-module.md index 3fe547487..9a9d03f34 100644 --- a/skills/cli-public/references/profiles-module.md +++ b/skills/cli-public/references/profiles-module.md @@ -9,8 +9,8 @@ CRUD operations for ProfilesModule records via csdk CLI ```bash csdk profiles-module list csdk profiles-module get --id -csdk profiles-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--profilePermissionsTableId ] [--profilePermissionsTableName ] [--profileGrantsTableId ] [--profileGrantsTableName ] [--profileDefinitionGrantsTableId ] [--profileDefinitionGrantsTableName ] [--entityTableId ] [--actorTableId ] [--permissionsTableId ] [--membershipsTableId ] [--prefix ] -csdk profiles-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--profilePermissionsTableId ] [--profilePermissionsTableName ] [--profileGrantsTableId ] [--profileGrantsTableName ] [--profileDefinitionGrantsTableId ] [--profileDefinitionGrantsTableName ] [--membershipType ] [--entityTableId ] [--actorTableId ] [--permissionsTableId ] [--membershipsTableId ] [--prefix ] +csdk profiles-module create --databaseId --membershipType --tableNameTrgmSimilarity --profilePermissionsTableNameTrgmSimilarity --profileGrantsTableNameTrgmSimilarity --profileDefinitionGrantsTableNameTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--profilePermissionsTableId ] [--profilePermissionsTableName ] [--profileGrantsTableId ] [--profileGrantsTableName ] [--profileDefinitionGrantsTableId ] [--profileDefinitionGrantsTableName ] [--entityTableId ] [--actorTableId ] [--permissionsTableId ] [--membershipsTableId ] [--prefix ] +csdk profiles-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--profilePermissionsTableId ] [--profilePermissionsTableName ] [--profileGrantsTableId ] [--profileGrantsTableName ] [--profileDefinitionGrantsTableId ] [--profileDefinitionGrantsTableName ] [--membershipType ] [--entityTableId ] [--actorTableId ] [--permissionsTableId ] [--membershipsTableId ] [--prefix ] [--tableNameTrgmSimilarity ] [--profilePermissionsTableNameTrgmSimilarity ] [--profileGrantsTableNameTrgmSimilarity ] [--profileDefinitionGrantsTableNameTrgmSimilarity ] [--prefixTrgmSimilarity ] [--searchScore ] csdk profiles-module delete --id ``` @@ -25,7 +25,7 @@ csdk profiles-module list ### Create a profilesModule ```bash -csdk profiles-module create --databaseId --membershipType [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--profilePermissionsTableId ] [--profilePermissionsTableName ] [--profileGrantsTableId ] [--profileGrantsTableName ] [--profileDefinitionGrantsTableId ] [--profileDefinitionGrantsTableName ] [--entityTableId ] [--actorTableId ] [--permissionsTableId ] [--membershipsTableId ] [--prefix ] +csdk profiles-module create --databaseId --membershipType --tableNameTrgmSimilarity --profilePermissionsTableNameTrgmSimilarity --profileGrantsTableNameTrgmSimilarity --profileDefinitionGrantsTableNameTrgmSimilarity --prefixTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--tableName ] [--profilePermissionsTableId ] [--profilePermissionsTableName ] [--profileGrantsTableId ] [--profileGrantsTableName ] [--profileDefinitionGrantsTableId ] [--profileDefinitionGrantsTableName ] [--entityTableId ] [--actorTableId ] [--permissionsTableId ] [--membershipsTableId ] [--prefix ] ``` ### Get a profilesModule by id diff --git a/skills/cli-public/references/ref.md b/skills/cli-public/references/ref.md index 1115ca4e4..0c6b01e3f 100644 --- a/skills/cli-public/references/ref.md +++ b/skills/cli-public/references/ref.md @@ -9,8 +9,8 @@ CRUD operations for Ref records via csdk CLI ```bash csdk ref list csdk ref get --id -csdk ref create --name --databaseId --storeId [--commitId ] -csdk ref update --id [--name ] [--databaseId ] [--storeId ] [--commitId ] +csdk ref create --name --databaseId --storeId --nameTrgmSimilarity --searchScore [--commitId ] +csdk ref update --id [--name ] [--databaseId ] [--storeId ] [--commitId ] [--nameTrgmSimilarity ] [--searchScore ] csdk ref delete --id ``` @@ -25,7 +25,7 @@ csdk ref list ### Create a ref ```bash -csdk ref create --name --databaseId --storeId [--commitId ] +csdk ref create --name --databaseId --storeId --nameTrgmSimilarity --searchScore [--commitId ] ``` ### Get a ref by id diff --git a/skills/cli-public/references/relation-provision.md b/skills/cli-public/references/relation-provision.md index 0d6520f64..05450c8c5 100644 --- a/skills/cli-public/references/relation-provision.md +++ b/skills/cli-public/references/relation-provision.md @@ -9,8 +9,8 @@ CRUD operations for RelationProvision records via csdk CLI ```bash csdk relation-provision list csdk relation-provision get --id -csdk relation-provision create --databaseId --relationType --sourceTableId --targetTableId [--fieldName ] [--deleteAction ] [--isRequired ] [--junctionTableId ] [--junctionTableName ] [--junctionSchemaId ] [--sourceFieldName ] [--targetFieldName ] [--useCompositeKey ] [--nodeType ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFieldId ] [--outJunctionTableId ] [--outSourceFieldId ] [--outTargetFieldId ] -csdk relation-provision update --id [--databaseId ] [--relationType ] [--sourceTableId ] [--targetTableId ] [--fieldName ] [--deleteAction ] [--isRequired ] [--junctionTableId ] [--junctionTableName ] [--junctionSchemaId ] [--sourceFieldName ] [--targetFieldName ] [--useCompositeKey ] [--nodeType ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFieldId ] [--outJunctionTableId ] [--outSourceFieldId ] [--outTargetFieldId ] +csdk relation-provision create --databaseId --relationType --sourceTableId --targetTableId --relationTypeTrgmSimilarity --fieldNameTrgmSimilarity --deleteActionTrgmSimilarity --junctionTableNameTrgmSimilarity --sourceFieldNameTrgmSimilarity --targetFieldNameTrgmSimilarity --nodeTypeTrgmSimilarity --policyTypeTrgmSimilarity --policyRoleTrgmSimilarity --policyNameTrgmSimilarity --searchScore [--fieldName ] [--deleteAction ] [--isRequired ] [--junctionTableId ] [--junctionTableName ] [--junctionSchemaId ] [--sourceFieldName ] [--targetFieldName ] [--useCompositeKey ] [--nodeType ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFieldId ] [--outJunctionTableId ] [--outSourceFieldId ] [--outTargetFieldId ] +csdk relation-provision update --id [--databaseId ] [--relationType ] [--sourceTableId ] [--targetTableId ] [--fieldName ] [--deleteAction ] [--isRequired ] [--junctionTableId ] [--junctionTableName ] [--junctionSchemaId ] [--sourceFieldName ] [--targetFieldName ] [--useCompositeKey ] [--nodeType ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFieldId ] [--outJunctionTableId ] [--outSourceFieldId ] [--outTargetFieldId ] [--relationTypeTrgmSimilarity ] [--fieldNameTrgmSimilarity ] [--deleteActionTrgmSimilarity ] [--junctionTableNameTrgmSimilarity ] [--sourceFieldNameTrgmSimilarity ] [--targetFieldNameTrgmSimilarity ] [--nodeTypeTrgmSimilarity ] [--policyTypeTrgmSimilarity ] [--policyRoleTrgmSimilarity ] [--policyNameTrgmSimilarity ] [--searchScore ] csdk relation-provision delete --id ``` @@ -25,7 +25,7 @@ csdk relation-provision list ### Create a relationProvision ```bash -csdk relation-provision create --databaseId --relationType --sourceTableId --targetTableId [--fieldName ] [--deleteAction ] [--isRequired ] [--junctionTableId ] [--junctionTableName ] [--junctionSchemaId ] [--sourceFieldName ] [--targetFieldName ] [--useCompositeKey ] [--nodeType ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFieldId ] [--outJunctionTableId ] [--outSourceFieldId ] [--outTargetFieldId ] +csdk relation-provision create --databaseId --relationType --sourceTableId --targetTableId --relationTypeTrgmSimilarity --fieldNameTrgmSimilarity --deleteActionTrgmSimilarity --junctionTableNameTrgmSimilarity --sourceFieldNameTrgmSimilarity --targetFieldNameTrgmSimilarity --nodeTypeTrgmSimilarity --policyTypeTrgmSimilarity --policyRoleTrgmSimilarity --policyNameTrgmSimilarity --searchScore [--fieldName ] [--deleteAction ] [--isRequired ] [--junctionTableId ] [--junctionTableName ] [--junctionSchemaId ] [--sourceFieldName ] [--targetFieldName ] [--useCompositeKey ] [--nodeType ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFieldId ] [--outJunctionTableId ] [--outSourceFieldId ] [--outTargetFieldId ] ``` ### Get a relationProvision by id diff --git a/skills/cli-public/references/rls-module.md b/skills/cli-public/references/rls-module.md index 1f4f2f088..3faa3cfa3 100644 --- a/skills/cli-public/references/rls-module.md +++ b/skills/cli-public/references/rls-module.md @@ -9,8 +9,8 @@ CRUD operations for RlsModule records via csdk CLI ```bash csdk rls-module list csdk rls-module get --id -csdk rls-module create --databaseId [--apiId ] [--schemaId ] [--privateSchemaId ] [--sessionCredentialsTableId ] [--sessionsTableId ] [--usersTableId ] [--authenticate ] [--authenticateStrict ] [--currentRole ] [--currentRoleId ] -csdk rls-module update --id [--databaseId ] [--apiId ] [--schemaId ] [--privateSchemaId ] [--sessionCredentialsTableId ] [--sessionsTableId ] [--usersTableId ] [--authenticate ] [--authenticateStrict ] [--currentRole ] [--currentRoleId ] +csdk rls-module create --databaseId --authenticateTrgmSimilarity --authenticateStrictTrgmSimilarity --currentRoleTrgmSimilarity --currentRoleIdTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--sessionCredentialsTableId ] [--sessionsTableId ] [--usersTableId ] [--authenticate ] [--authenticateStrict ] [--currentRole ] [--currentRoleId ] +csdk rls-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--sessionCredentialsTableId ] [--sessionsTableId ] [--usersTableId ] [--authenticate ] [--authenticateStrict ] [--currentRole ] [--currentRoleId ] [--authenticateTrgmSimilarity ] [--authenticateStrictTrgmSimilarity ] [--currentRoleTrgmSimilarity ] [--currentRoleIdTrgmSimilarity ] [--searchScore ] csdk rls-module delete --id ``` @@ -25,7 +25,7 @@ csdk rls-module list ### Create a rlsModule ```bash -csdk rls-module create --databaseId [--apiId ] [--schemaId ] [--privateSchemaId ] [--sessionCredentialsTableId ] [--sessionsTableId ] [--usersTableId ] [--authenticate ] [--authenticateStrict ] [--currentRole ] [--currentRoleId ] +csdk rls-module create --databaseId --authenticateTrgmSimilarity --authenticateStrictTrgmSimilarity --currentRoleTrgmSimilarity --currentRoleIdTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--sessionCredentialsTableId ] [--sessionsTableId ] [--usersTableId ] [--authenticate ] [--authenticateStrict ] [--currentRole ] [--currentRoleId ] ``` ### Get a rlsModule by id diff --git a/skills/cli-public/references/schema-grant.md b/skills/cli-public/references/schema-grant.md index 5565bf2c3..2da0f949a 100644 --- a/skills/cli-public/references/schema-grant.md +++ b/skills/cli-public/references/schema-grant.md @@ -9,8 +9,8 @@ CRUD operations for SchemaGrant records via csdk CLI ```bash csdk schema-grant list csdk schema-grant get --id -csdk schema-grant create --schemaId --granteeName [--databaseId ] -csdk schema-grant update --id [--databaseId ] [--schemaId ] [--granteeName ] +csdk schema-grant create --schemaId --granteeName --granteeNameTrgmSimilarity --searchScore [--databaseId ] +csdk schema-grant update --id [--databaseId ] [--schemaId ] [--granteeName ] [--granteeNameTrgmSimilarity ] [--searchScore ] csdk schema-grant delete --id ``` @@ -25,7 +25,7 @@ csdk schema-grant list ### Create a schemaGrant ```bash -csdk schema-grant create --schemaId --granteeName [--databaseId ] +csdk schema-grant create --schemaId --granteeName --granteeNameTrgmSimilarity --searchScore [--databaseId ] ``` ### Get a schemaGrant by id diff --git a/skills/cli-public/references/schema.md b/skills/cli-public/references/schema.md index 6ed1bf10a..020cb6491 100644 --- a/skills/cli-public/references/schema.md +++ b/skills/cli-public/references/schema.md @@ -9,8 +9,8 @@ CRUD operations for Schema records via csdk CLI ```bash csdk schema list csdk schema get --id -csdk schema create --databaseId --name --schemaName [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--isPublic ] -csdk schema update --id [--databaseId ] [--name ] [--schemaName ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--isPublic ] +csdk schema create --databaseId --name --schemaName --nameTrgmSimilarity --schemaNameTrgmSimilarity --labelTrgmSimilarity --descriptionTrgmSimilarity --moduleTrgmSimilarity --searchScore [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--isPublic ] +csdk schema update --id [--databaseId ] [--name ] [--schemaName ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--isPublic ] [--nameTrgmSimilarity ] [--schemaNameTrgmSimilarity ] [--labelTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk schema delete --id ``` @@ -25,7 +25,7 @@ csdk schema list ### Create a schema ```bash -csdk schema create --databaseId --name --schemaName [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--isPublic ] +csdk schema create --databaseId --name --schemaName --nameTrgmSimilarity --schemaNameTrgmSimilarity --labelTrgmSimilarity --descriptionTrgmSimilarity --moduleTrgmSimilarity --searchScore [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--isPublic ] ``` ### Get a schema by id diff --git a/skills/cli-public/references/secrets-module.md b/skills/cli-public/references/secrets-module.md index 483d52806..fa512a905 100644 --- a/skills/cli-public/references/secrets-module.md +++ b/skills/cli-public/references/secrets-module.md @@ -9,8 +9,8 @@ CRUD operations for SecretsModule records via csdk CLI ```bash csdk secrets-module list csdk secrets-module get --id -csdk secrets-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] -csdk secrets-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] +csdk secrets-module create --databaseId --tableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] +csdk secrets-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] [--tableNameTrgmSimilarity ] [--searchScore ] csdk secrets-module delete --id ``` @@ -25,7 +25,7 @@ csdk secrets-module list ### Create a secretsModule ```bash -csdk secrets-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] +csdk secrets-module create --databaseId --tableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] ``` ### Get a secretsModule by id diff --git a/skills/cli-public/references/secure-table-provision.md b/skills/cli-public/references/secure-table-provision.md index 824683f78..24df9e11b 100644 --- a/skills/cli-public/references/secure-table-provision.md +++ b/skills/cli-public/references/secure-table-provision.md @@ -9,8 +9,8 @@ CRUD operations for SecureTableProvision records via csdk CLI ```bash csdk secure-table-provision list csdk secure-table-provision get --id -csdk secure-table-provision create --databaseId [--schemaId ] [--tableId ] [--tableName ] [--nodeType ] [--useRls ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFields ] -csdk secure-table-provision update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] [--nodeType ] [--useRls ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFields ] +csdk secure-table-provision create --databaseId --tableNameTrgmSimilarity --nodeTypeTrgmSimilarity --policyTypeTrgmSimilarity --policyRoleTrgmSimilarity --policyNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] [--nodeType ] [--useRls ] [--nodeData ] [--fields ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFields ] +csdk secure-table-provision update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] [--nodeType ] [--useRls ] [--nodeData ] [--fields ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFields ] [--tableNameTrgmSimilarity ] [--nodeTypeTrgmSimilarity ] [--policyTypeTrgmSimilarity ] [--policyRoleTrgmSimilarity ] [--policyNameTrgmSimilarity ] [--searchScore ] csdk secure-table-provision delete --id ``` @@ -25,7 +25,7 @@ csdk secure-table-provision list ### Create a secureTableProvision ```bash -csdk secure-table-provision create --databaseId [--schemaId ] [--tableId ] [--tableName ] [--nodeType ] [--useRls ] [--nodeData ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFields ] +csdk secure-table-provision create --databaseId --tableNameTrgmSimilarity --nodeTypeTrgmSimilarity --policyTypeTrgmSimilarity --policyRoleTrgmSimilarity --policyNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] [--nodeType ] [--useRls ] [--nodeData ] [--fields ] [--grantRoles ] [--grantPrivileges ] [--policyType ] [--policyPrivileges ] [--policyRole ] [--policyPermissive ] [--policyName ] [--policyData ] [--outFields ] ``` ### Get a secureTableProvision by id diff --git a/skills/cli-public/references/sessions-module.md b/skills/cli-public/references/sessions-module.md index 8a12a9d3b..6029a6f88 100644 --- a/skills/cli-public/references/sessions-module.md +++ b/skills/cli-public/references/sessions-module.md @@ -9,8 +9,8 @@ CRUD operations for SessionsModule records via csdk CLI ```bash csdk sessions-module list csdk sessions-module get --id -csdk sessions-module create --databaseId [--schemaId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--authSettingsTableId ] [--usersTableId ] [--sessionsDefaultExpiration ] [--sessionsTable ] [--sessionCredentialsTable ] [--authSettingsTable ] -csdk sessions-module update --id [--databaseId ] [--schemaId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--authSettingsTableId ] [--usersTableId ] [--sessionsDefaultExpiration ] [--sessionsTable ] [--sessionCredentialsTable ] [--authSettingsTable ] +csdk sessions-module create --databaseId --sessionsTableTrgmSimilarity --sessionCredentialsTableTrgmSimilarity --authSettingsTableTrgmSimilarity --searchScore [--schemaId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--authSettingsTableId ] [--usersTableId ] [--sessionsDefaultExpiration ] [--sessionsTable ] [--sessionCredentialsTable ] [--authSettingsTable ] +csdk sessions-module update --id [--databaseId ] [--schemaId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--authSettingsTableId ] [--usersTableId ] [--sessionsDefaultExpiration ] [--sessionsTable ] [--sessionCredentialsTable ] [--authSettingsTable ] [--sessionsTableTrgmSimilarity ] [--sessionCredentialsTableTrgmSimilarity ] [--authSettingsTableTrgmSimilarity ] [--searchScore ] csdk sessions-module delete --id ``` @@ -25,7 +25,7 @@ csdk sessions-module list ### Create a sessionsModule ```bash -csdk sessions-module create --databaseId [--schemaId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--authSettingsTableId ] [--usersTableId ] [--sessionsDefaultExpiration ] [--sessionsTable ] [--sessionCredentialsTable ] [--authSettingsTable ] +csdk sessions-module create --databaseId --sessionsTableTrgmSimilarity --sessionCredentialsTableTrgmSimilarity --authSettingsTableTrgmSimilarity --searchScore [--schemaId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--authSettingsTableId ] [--usersTableId ] [--sessionsDefaultExpiration ] [--sessionsTable ] [--sessionCredentialsTable ] [--authSettingsTable ] ``` ### Get a sessionsModule by id diff --git a/skills/cli-public/references/site-metadatum.md b/skills/cli-public/references/site-metadatum.md index 85485fd26..7af678b30 100644 --- a/skills/cli-public/references/site-metadatum.md +++ b/skills/cli-public/references/site-metadatum.md @@ -9,8 +9,8 @@ CRUD operations for SiteMetadatum records via csdk CLI ```bash csdk site-metadatum list csdk site-metadatum get --id -csdk site-metadatum create --databaseId --siteId [--title ] [--description ] [--ogImage ] -csdk site-metadatum update --id [--databaseId ] [--siteId ] [--title ] [--description ] [--ogImage ] +csdk site-metadatum create --databaseId --siteId --titleTrgmSimilarity --descriptionTrgmSimilarity --searchScore [--title ] [--description ] [--ogImage ] +csdk site-metadatum update --id [--databaseId ] [--siteId ] [--title ] [--description ] [--ogImage ] [--titleTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--searchScore ] csdk site-metadatum delete --id ``` @@ -25,7 +25,7 @@ csdk site-metadatum list ### Create a siteMetadatum ```bash -csdk site-metadatum create --databaseId --siteId [--title ] [--description ] [--ogImage ] +csdk site-metadatum create --databaseId --siteId --titleTrgmSimilarity --descriptionTrgmSimilarity --searchScore [--title ] [--description ] [--ogImage ] ``` ### Get a siteMetadatum by id diff --git a/skills/cli-public/references/site-module.md b/skills/cli-public/references/site-module.md index af6716f72..581587895 100644 --- a/skills/cli-public/references/site-module.md +++ b/skills/cli-public/references/site-module.md @@ -9,8 +9,8 @@ CRUD operations for SiteModule records via csdk CLI ```bash csdk site-module list csdk site-module get --id -csdk site-module create --databaseId --siteId --name --data -csdk site-module update --id [--databaseId ] [--siteId ] [--name ] [--data ] +csdk site-module create --databaseId --siteId --name --data --nameTrgmSimilarity --searchScore +csdk site-module update --id [--databaseId ] [--siteId ] [--name ] [--data ] [--nameTrgmSimilarity ] [--searchScore ] csdk site-module delete --id ``` @@ -25,7 +25,7 @@ csdk site-module list ### Create a siteModule ```bash -csdk site-module create --databaseId --siteId --name --data +csdk site-module create --databaseId --siteId --name --data --nameTrgmSimilarity --searchScore ``` ### Get a siteModule by id diff --git a/skills/cli-public/references/site.md b/skills/cli-public/references/site.md index 50ecef8da..d09dcc8f9 100644 --- a/skills/cli-public/references/site.md +++ b/skills/cli-public/references/site.md @@ -9,8 +9,8 @@ CRUD operations for Site records via csdk CLI ```bash csdk site list csdk site get --id -csdk site create --databaseId [--title ] [--description ] [--ogImage ] [--favicon ] [--appleTouchIcon ] [--logo ] [--dbname ] -csdk site update --id [--databaseId ] [--title ] [--description ] [--ogImage ] [--favicon ] [--appleTouchIcon ] [--logo ] [--dbname ] +csdk site create --databaseId --titleTrgmSimilarity --descriptionTrgmSimilarity --dbnameTrgmSimilarity --searchScore [--title ] [--description ] [--ogImage ] [--favicon ] [--appleTouchIcon ] [--logo ] [--dbname ] +csdk site update --id [--databaseId ] [--title ] [--description ] [--ogImage ] [--favicon ] [--appleTouchIcon ] [--logo ] [--dbname ] [--titleTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--dbnameTrgmSimilarity ] [--searchScore ] csdk site delete --id ``` @@ -25,7 +25,7 @@ csdk site list ### Create a site ```bash -csdk site create --databaseId [--title ] [--description ] [--ogImage ] [--favicon ] [--appleTouchIcon ] [--logo ] [--dbname ] +csdk site create --databaseId --titleTrgmSimilarity --descriptionTrgmSimilarity --dbnameTrgmSimilarity --searchScore [--title ] [--description ] [--ogImage ] [--favicon ] [--appleTouchIcon ] [--logo ] [--dbname ] ``` ### Get a site by id diff --git a/skills/cli-public/references/sql-migration.md b/skills/cli-public/references/sql-migration.md index 303714397..3219987c1 100644 --- a/skills/cli-public/references/sql-migration.md +++ b/skills/cli-public/references/sql-migration.md @@ -9,8 +9,8 @@ CRUD operations for SqlMigration records via csdk CLI ```bash csdk sql-migration list csdk sql-migration get --id -csdk sql-migration create [--name ] [--databaseId ] [--deploy ] [--deps ] [--payload ] [--content ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] -csdk sql-migration update --id [--name ] [--databaseId ] [--deploy ] [--deps ] [--payload ] [--content ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] +csdk sql-migration create --nameTrgmSimilarity --deployTrgmSimilarity --contentTrgmSimilarity --revertTrgmSimilarity --verifyTrgmSimilarity --actionTrgmSimilarity --searchScore [--name ] [--databaseId ] [--deploy ] [--deps ] [--payload ] [--content ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] +csdk sql-migration update --id [--name ] [--databaseId ] [--deploy ] [--deps ] [--payload ] [--content ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] [--nameTrgmSimilarity ] [--deployTrgmSimilarity ] [--contentTrgmSimilarity ] [--revertTrgmSimilarity ] [--verifyTrgmSimilarity ] [--actionTrgmSimilarity ] [--searchScore ] csdk sql-migration delete --id ``` @@ -25,7 +25,7 @@ csdk sql-migration list ### Create a sqlMigration ```bash -csdk sql-migration create [--name ] [--databaseId ] [--deploy ] [--deps ] [--payload ] [--content ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] +csdk sql-migration create --nameTrgmSimilarity --deployTrgmSimilarity --contentTrgmSimilarity --revertTrgmSimilarity --verifyTrgmSimilarity --actionTrgmSimilarity --searchScore [--name ] [--databaseId ] [--deploy ] [--deps ] [--payload ] [--content ] [--revert ] [--verify ] [--action ] [--actionId ] [--actorId ] ``` ### Get a sqlMigration by id diff --git a/skills/cli-public/references/store.md b/skills/cli-public/references/store.md index 6f1a7482e..a81272f4c 100644 --- a/skills/cli-public/references/store.md +++ b/skills/cli-public/references/store.md @@ -9,8 +9,8 @@ CRUD operations for Store records via csdk CLI ```bash csdk store list csdk store get --id -csdk store create --name --databaseId [--hash ] -csdk store update --id [--name ] [--databaseId ] [--hash ] +csdk store create --name --databaseId --nameTrgmSimilarity --searchScore [--hash ] +csdk store update --id [--name ] [--databaseId ] [--hash ] [--nameTrgmSimilarity ] [--searchScore ] csdk store delete --id ``` @@ -25,7 +25,7 @@ csdk store list ### Create a store ```bash -csdk store create --name --databaseId [--hash ] +csdk store create --name --databaseId --nameTrgmSimilarity --searchScore [--hash ] ``` ### Get a store by id diff --git a/skills/cli-public/references/table-grant.md b/skills/cli-public/references/table-grant.md index b7a090ede..cfef562f2 100644 --- a/skills/cli-public/references/table-grant.md +++ b/skills/cli-public/references/table-grant.md @@ -9,8 +9,8 @@ CRUD operations for TableGrant records via csdk CLI ```bash csdk table-grant list csdk table-grant get --id -csdk table-grant create --tableId --privilege --granteeName [--databaseId ] [--fieldIds ] [--isGrant ] -csdk table-grant update --id [--databaseId ] [--tableId ] [--privilege ] [--granteeName ] [--fieldIds ] [--isGrant ] +csdk table-grant create --tableId --privilege --granteeName --privilegeTrgmSimilarity --granteeNameTrgmSimilarity --searchScore [--databaseId ] [--fieldIds ] [--isGrant ] +csdk table-grant update --id [--databaseId ] [--tableId ] [--privilege ] [--granteeName ] [--fieldIds ] [--isGrant ] [--privilegeTrgmSimilarity ] [--granteeNameTrgmSimilarity ] [--searchScore ] csdk table-grant delete --id ``` @@ -25,7 +25,7 @@ csdk table-grant list ### Create a tableGrant ```bash -csdk table-grant create --tableId --privilege --granteeName [--databaseId ] [--fieldIds ] [--isGrant ] +csdk table-grant create --tableId --privilege --granteeName --privilegeTrgmSimilarity --granteeNameTrgmSimilarity --searchScore [--databaseId ] [--fieldIds ] [--isGrant ] ``` ### Get a tableGrant by id diff --git a/skills/cli-public/references/table-template-module.md b/skills/cli-public/references/table-template-module.md index 3f83caed9..71beccbcd 100644 --- a/skills/cli-public/references/table-template-module.md +++ b/skills/cli-public/references/table-template-module.md @@ -9,8 +9,8 @@ CRUD operations for TableTemplateModule records via csdk CLI ```bash csdk table-template-module list csdk table-template-module get --id -csdk table-template-module create --databaseId --tableName --nodeType [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--data ] -csdk table-template-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] [--nodeType ] [--data ] +csdk table-template-module create --databaseId --tableName --nodeType --tableNameTrgmSimilarity --nodeTypeTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--data ] +csdk table-template-module update --id [--databaseId ] [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--tableName ] [--nodeType ] [--data ] [--tableNameTrgmSimilarity ] [--nodeTypeTrgmSimilarity ] [--searchScore ] csdk table-template-module delete --id ``` @@ -25,7 +25,7 @@ csdk table-template-module list ### Create a tableTemplateModule ```bash -csdk table-template-module create --databaseId --tableName --nodeType [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--data ] +csdk table-template-module create --databaseId --tableName --nodeType --tableNameTrgmSimilarity --nodeTypeTrgmSimilarity --searchScore [--schemaId ] [--privateSchemaId ] [--tableId ] [--ownerTableId ] [--data ] ``` ### Get a tableTemplateModule by id diff --git a/skills/cli-public/references/table.md b/skills/cli-public/references/table.md index 2a91f0c41..a24e08342 100644 --- a/skills/cli-public/references/table.md +++ b/skills/cli-public/references/table.md @@ -9,8 +9,8 @@ CRUD operations for Table records via csdk CLI ```bash csdk table list csdk table get --id -csdk table create --schemaId --name [--databaseId ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--useRls ] [--timestamps ] [--peoplestamps ] [--pluralName ] [--singularName ] [--tags ] [--inheritsId ] -csdk table update --id [--databaseId ] [--schemaId ] [--name ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--useRls ] [--timestamps ] [--peoplestamps ] [--pluralName ] [--singularName ] [--tags ] [--inheritsId ] +csdk table create --schemaId --name --nameTrgmSimilarity --labelTrgmSimilarity --descriptionTrgmSimilarity --moduleTrgmSimilarity --pluralNameTrgmSimilarity --singularNameTrgmSimilarity --searchScore [--databaseId ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--useRls ] [--timestamps ] [--peoplestamps ] [--pluralName ] [--singularName ] [--tags ] [--inheritsId ] +csdk table update --id [--databaseId ] [--schemaId ] [--name ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--useRls ] [--timestamps ] [--peoplestamps ] [--pluralName ] [--singularName ] [--tags ] [--inheritsId ] [--nameTrgmSimilarity ] [--labelTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--moduleTrgmSimilarity ] [--pluralNameTrgmSimilarity ] [--singularNameTrgmSimilarity ] [--searchScore ] csdk table delete --id ``` @@ -25,7 +25,7 @@ csdk table list ### Create a table ```bash -csdk table create --schemaId --name [--databaseId ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--useRls ] [--timestamps ] [--peoplestamps ] [--pluralName ] [--singularName ] [--tags ] [--inheritsId ] +csdk table create --schemaId --name --nameTrgmSimilarity --labelTrgmSimilarity --descriptionTrgmSimilarity --moduleTrgmSimilarity --pluralNameTrgmSimilarity --singularNameTrgmSimilarity --searchScore [--databaseId ] [--label ] [--description ] [--smartTags ] [--category ] [--module ] [--scope ] [--useRls ] [--timestamps ] [--peoplestamps ] [--pluralName ] [--singularName ] [--tags ] [--inheritsId ] ``` ### Get a table by id diff --git a/skills/cli-public/references/trigger-function.md b/skills/cli-public/references/trigger-function.md index d0b20ecbd..7f52e7548 100644 --- a/skills/cli-public/references/trigger-function.md +++ b/skills/cli-public/references/trigger-function.md @@ -9,8 +9,8 @@ CRUD operations for TriggerFunction records via csdk CLI ```bash csdk trigger-function list csdk trigger-function get --id -csdk trigger-function create --databaseId --name [--code ] -csdk trigger-function update --id [--databaseId ] [--name ] [--code ] +csdk trigger-function create --databaseId --name --nameTrgmSimilarity --codeTrgmSimilarity --searchScore [--code ] +csdk trigger-function update --id [--databaseId ] [--name ] [--code ] [--nameTrgmSimilarity ] [--codeTrgmSimilarity ] [--searchScore ] csdk trigger-function delete --id ``` @@ -25,7 +25,7 @@ csdk trigger-function list ### Create a triggerFunction ```bash -csdk trigger-function create --databaseId --name [--code ] +csdk trigger-function create --databaseId --name --nameTrgmSimilarity --codeTrgmSimilarity --searchScore [--code ] ``` ### Get a triggerFunction by id diff --git a/skills/cli-public/references/trigger.md b/skills/cli-public/references/trigger.md index bc966aefc..b9f562b42 100644 --- a/skills/cli-public/references/trigger.md +++ b/skills/cli-public/references/trigger.md @@ -9,8 +9,8 @@ CRUD operations for Trigger records via csdk CLI ```bash csdk trigger list csdk trigger get --id -csdk trigger create --tableId --name [--databaseId ] [--event ] [--functionName ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] -csdk trigger update --id [--databaseId ] [--tableId ] [--name ] [--event ] [--functionName ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk trigger create --tableId --name --nameTrgmSimilarity --eventTrgmSimilarity --functionNameTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--event ] [--functionName ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk trigger update --id [--databaseId ] [--tableId ] [--name ] [--event ] [--functionName ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--eventTrgmSimilarity ] [--functionNameTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk trigger delete --id ``` @@ -25,7 +25,7 @@ csdk trigger list ### Create a trigger ```bash -csdk trigger create --tableId --name [--databaseId ] [--event ] [--functionName ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk trigger create --tableId --name --nameTrgmSimilarity --eventTrgmSimilarity --functionNameTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--event ] [--functionName ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a trigger by id diff --git a/skills/cli-public/references/unique-constraint.md b/skills/cli-public/references/unique-constraint.md index ea04935b3..a62c9143e 100644 --- a/skills/cli-public/references/unique-constraint.md +++ b/skills/cli-public/references/unique-constraint.md @@ -9,8 +9,8 @@ CRUD operations for UniqueConstraint records via csdk CLI ```bash csdk unique-constraint list csdk unique-constraint get --id -csdk unique-constraint create --tableId --fieldIds [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--category ] [--module ] [--scope ] [--tags ] -csdk unique-constraint update --id [--databaseId ] [--tableId ] [--name ] [--description ] [--smartTags ] [--type ] [--fieldIds ] [--category ] [--module ] [--scope ] [--tags ] +csdk unique-constraint create --tableId --fieldIds --nameTrgmSimilarity --descriptionTrgmSimilarity --typeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--category ] [--module ] [--scope ] [--tags ] +csdk unique-constraint update --id [--databaseId ] [--tableId ] [--name ] [--description ] [--smartTags ] [--type ] [--fieldIds ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--descriptionTrgmSimilarity ] [--typeTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk unique-constraint delete --id ``` @@ -25,7 +25,7 @@ csdk unique-constraint list ### Create a uniqueConstraint ```bash -csdk unique-constraint create --tableId --fieldIds [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--category ] [--module ] [--scope ] [--tags ] +csdk unique-constraint create --tableId --fieldIds --nameTrgmSimilarity --descriptionTrgmSimilarity --typeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--name ] [--description ] [--smartTags ] [--type ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a uniqueConstraint by id diff --git a/skills/cli-public/references/user-auth-module.md b/skills/cli-public/references/user-auth-module.md index 0822abd1f..7fca0c6e1 100644 --- a/skills/cli-public/references/user-auth-module.md +++ b/skills/cli-public/references/user-auth-module.md @@ -9,8 +9,8 @@ CRUD operations for UserAuthModule records via csdk CLI ```bash csdk user-auth-module list csdk user-auth-module get --id -csdk user-auth-module create --databaseId [--schemaId ] [--emailsTableId ] [--usersTableId ] [--secretsTableId ] [--encryptedTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--auditsTableId ] [--auditsTableName ] [--signInFunction ] [--signUpFunction ] [--signOutFunction ] [--setPasswordFunction ] [--resetPasswordFunction ] [--forgotPasswordFunction ] [--sendVerificationEmailFunction ] [--verifyEmailFunction ] [--verifyPasswordFunction ] [--checkPasswordFunction ] [--sendAccountDeletionEmailFunction ] [--deleteAccountFunction ] [--signInOneTimeTokenFunction ] [--oneTimeTokenFunction ] [--extendTokenExpires ] -csdk user-auth-module update --id [--databaseId ] [--schemaId ] [--emailsTableId ] [--usersTableId ] [--secretsTableId ] [--encryptedTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--auditsTableId ] [--auditsTableName ] [--signInFunction ] [--signUpFunction ] [--signOutFunction ] [--setPasswordFunction ] [--resetPasswordFunction ] [--forgotPasswordFunction ] [--sendVerificationEmailFunction ] [--verifyEmailFunction ] [--verifyPasswordFunction ] [--checkPasswordFunction ] [--sendAccountDeletionEmailFunction ] [--deleteAccountFunction ] [--signInOneTimeTokenFunction ] [--oneTimeTokenFunction ] [--extendTokenExpires ] +csdk user-auth-module create --databaseId --auditsTableNameTrgmSimilarity --signInFunctionTrgmSimilarity --signUpFunctionTrgmSimilarity --signOutFunctionTrgmSimilarity --setPasswordFunctionTrgmSimilarity --resetPasswordFunctionTrgmSimilarity --forgotPasswordFunctionTrgmSimilarity --sendVerificationEmailFunctionTrgmSimilarity --verifyEmailFunctionTrgmSimilarity --verifyPasswordFunctionTrgmSimilarity --checkPasswordFunctionTrgmSimilarity --sendAccountDeletionEmailFunctionTrgmSimilarity --deleteAccountFunctionTrgmSimilarity --signInOneTimeTokenFunctionTrgmSimilarity --oneTimeTokenFunctionTrgmSimilarity --extendTokenExpiresTrgmSimilarity --searchScore [--schemaId ] [--emailsTableId ] [--usersTableId ] [--secretsTableId ] [--encryptedTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--auditsTableId ] [--auditsTableName ] [--signInFunction ] [--signUpFunction ] [--signOutFunction ] [--setPasswordFunction ] [--resetPasswordFunction ] [--forgotPasswordFunction ] [--sendVerificationEmailFunction ] [--verifyEmailFunction ] [--verifyPasswordFunction ] [--checkPasswordFunction ] [--sendAccountDeletionEmailFunction ] [--deleteAccountFunction ] [--signInOneTimeTokenFunction ] [--oneTimeTokenFunction ] [--extendTokenExpires ] +csdk user-auth-module update --id [--databaseId ] [--schemaId ] [--emailsTableId ] [--usersTableId ] [--secretsTableId ] [--encryptedTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--auditsTableId ] [--auditsTableName ] [--signInFunction ] [--signUpFunction ] [--signOutFunction ] [--setPasswordFunction ] [--resetPasswordFunction ] [--forgotPasswordFunction ] [--sendVerificationEmailFunction ] [--verifyEmailFunction ] [--verifyPasswordFunction ] [--checkPasswordFunction ] [--sendAccountDeletionEmailFunction ] [--deleteAccountFunction ] [--signInOneTimeTokenFunction ] [--oneTimeTokenFunction ] [--extendTokenExpires ] [--auditsTableNameTrgmSimilarity ] [--signInFunctionTrgmSimilarity ] [--signUpFunctionTrgmSimilarity ] [--signOutFunctionTrgmSimilarity ] [--setPasswordFunctionTrgmSimilarity ] [--resetPasswordFunctionTrgmSimilarity ] [--forgotPasswordFunctionTrgmSimilarity ] [--sendVerificationEmailFunctionTrgmSimilarity ] [--verifyEmailFunctionTrgmSimilarity ] [--verifyPasswordFunctionTrgmSimilarity ] [--checkPasswordFunctionTrgmSimilarity ] [--sendAccountDeletionEmailFunctionTrgmSimilarity ] [--deleteAccountFunctionTrgmSimilarity ] [--signInOneTimeTokenFunctionTrgmSimilarity ] [--oneTimeTokenFunctionTrgmSimilarity ] [--extendTokenExpiresTrgmSimilarity ] [--searchScore ] csdk user-auth-module delete --id ``` @@ -25,7 +25,7 @@ csdk user-auth-module list ### Create a userAuthModule ```bash -csdk user-auth-module create --databaseId [--schemaId ] [--emailsTableId ] [--usersTableId ] [--secretsTableId ] [--encryptedTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--auditsTableId ] [--auditsTableName ] [--signInFunction ] [--signUpFunction ] [--signOutFunction ] [--setPasswordFunction ] [--resetPasswordFunction ] [--forgotPasswordFunction ] [--sendVerificationEmailFunction ] [--verifyEmailFunction ] [--verifyPasswordFunction ] [--checkPasswordFunction ] [--sendAccountDeletionEmailFunction ] [--deleteAccountFunction ] [--signInOneTimeTokenFunction ] [--oneTimeTokenFunction ] [--extendTokenExpires ] +csdk user-auth-module create --databaseId --auditsTableNameTrgmSimilarity --signInFunctionTrgmSimilarity --signUpFunctionTrgmSimilarity --signOutFunctionTrgmSimilarity --setPasswordFunctionTrgmSimilarity --resetPasswordFunctionTrgmSimilarity --forgotPasswordFunctionTrgmSimilarity --sendVerificationEmailFunctionTrgmSimilarity --verifyEmailFunctionTrgmSimilarity --verifyPasswordFunctionTrgmSimilarity --checkPasswordFunctionTrgmSimilarity --sendAccountDeletionEmailFunctionTrgmSimilarity --deleteAccountFunctionTrgmSimilarity --signInOneTimeTokenFunctionTrgmSimilarity --oneTimeTokenFunctionTrgmSimilarity --extendTokenExpiresTrgmSimilarity --searchScore [--schemaId ] [--emailsTableId ] [--usersTableId ] [--secretsTableId ] [--encryptedTableId ] [--sessionsTableId ] [--sessionCredentialsTableId ] [--auditsTableId ] [--auditsTableName ] [--signInFunction ] [--signUpFunction ] [--signOutFunction ] [--setPasswordFunction ] [--resetPasswordFunction ] [--forgotPasswordFunction ] [--sendVerificationEmailFunction ] [--verifyEmailFunction ] [--verifyPasswordFunction ] [--checkPasswordFunction ] [--sendAccountDeletionEmailFunction ] [--deleteAccountFunction ] [--signInOneTimeTokenFunction ] [--oneTimeTokenFunction ] [--extendTokenExpires ] ``` ### Get a userAuthModule by id diff --git a/skills/cli-public/references/user.md b/skills/cli-public/references/user.md index 69d26e25e..0ef1bc400 100644 --- a/skills/cli-public/references/user.md +++ b/skills/cli-public/references/user.md @@ -9,8 +9,8 @@ CRUD operations for User records via csdk CLI ```bash csdk user list csdk user get --id -csdk user create --searchTsvRank [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] -csdk user update --id [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] [--searchTsvRank ] +csdk user create --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user update --id [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] [--searchTsvRank ] [--displayNameTrgmSimilarity ] [--searchScore ] csdk user delete --id ``` @@ -25,7 +25,7 @@ csdk user list ### Create a user ```bash -csdk user create --searchTsvRank [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user create --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] ``` ### Get a user by id diff --git a/skills/cli-public/references/users-module.md b/skills/cli-public/references/users-module.md index ccf2d0700..38e68d94a 100644 --- a/skills/cli-public/references/users-module.md +++ b/skills/cli-public/references/users-module.md @@ -9,8 +9,8 @@ CRUD operations for UsersModule records via csdk CLI ```bash csdk users-module list csdk users-module get --id -csdk users-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] [--typeTableId ] [--typeTableName ] -csdk users-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] [--typeTableId ] [--typeTableName ] +csdk users-module create --databaseId --tableNameTrgmSimilarity --typeTableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] [--typeTableId ] [--typeTableName ] +csdk users-module update --id [--databaseId ] [--schemaId ] [--tableId ] [--tableName ] [--typeTableId ] [--typeTableName ] [--tableNameTrgmSimilarity ] [--typeTableNameTrgmSimilarity ] [--searchScore ] csdk users-module delete --id ``` @@ -25,7 +25,7 @@ csdk users-module list ### Create a usersModule ```bash -csdk users-module create --databaseId [--schemaId ] [--tableId ] [--tableName ] [--typeTableId ] [--typeTableName ] +csdk users-module create --databaseId --tableNameTrgmSimilarity --typeTableNameTrgmSimilarity --searchScore [--schemaId ] [--tableId ] [--tableName ] [--typeTableId ] [--typeTableName ] ``` ### Get a usersModule by id diff --git a/skills/cli-public/references/uuid-module.md b/skills/cli-public/references/uuid-module.md index 8d0701ab5..472bbe18a 100644 --- a/skills/cli-public/references/uuid-module.md +++ b/skills/cli-public/references/uuid-module.md @@ -9,8 +9,8 @@ CRUD operations for UuidModule records via csdk CLI ```bash csdk uuid-module list csdk uuid-module get --id -csdk uuid-module create --databaseId --uuidSeed [--schemaId ] [--uuidFunction ] -csdk uuid-module update --id [--databaseId ] [--schemaId ] [--uuidFunction ] [--uuidSeed ] +csdk uuid-module create --databaseId --uuidSeed --uuidFunctionTrgmSimilarity --uuidSeedTrgmSimilarity --searchScore [--schemaId ] [--uuidFunction ] +csdk uuid-module update --id [--databaseId ] [--schemaId ] [--uuidFunction ] [--uuidSeed ] [--uuidFunctionTrgmSimilarity ] [--uuidSeedTrgmSimilarity ] [--searchScore ] csdk uuid-module delete --id ``` @@ -25,7 +25,7 @@ csdk uuid-module list ### Create a uuidModule ```bash -csdk uuid-module create --databaseId --uuidSeed [--schemaId ] [--uuidFunction ] +csdk uuid-module create --databaseId --uuidSeed --uuidFunctionTrgmSimilarity --uuidSeedTrgmSimilarity --searchScore [--schemaId ] [--uuidFunction ] ``` ### Get a uuidModule by id diff --git a/skills/cli-public/references/view-grant.md b/skills/cli-public/references/view-grant.md index 9b47574dd..e447ea330 100644 --- a/skills/cli-public/references/view-grant.md +++ b/skills/cli-public/references/view-grant.md @@ -9,8 +9,8 @@ CRUD operations for ViewGrant records via csdk CLI ```bash csdk view-grant list csdk view-grant get --id -csdk view-grant create --viewId --granteeName --privilege [--databaseId ] [--withGrantOption ] [--isGrant ] -csdk view-grant update --id [--databaseId ] [--viewId ] [--granteeName ] [--privilege ] [--withGrantOption ] [--isGrant ] +csdk view-grant create --viewId --granteeName --privilege --granteeNameTrgmSimilarity --privilegeTrgmSimilarity --searchScore [--databaseId ] [--withGrantOption ] [--isGrant ] +csdk view-grant update --id [--databaseId ] [--viewId ] [--granteeName ] [--privilege ] [--withGrantOption ] [--isGrant ] [--granteeNameTrgmSimilarity ] [--privilegeTrgmSimilarity ] [--searchScore ] csdk view-grant delete --id ``` @@ -25,7 +25,7 @@ csdk view-grant list ### Create a viewGrant ```bash -csdk view-grant create --viewId --granteeName --privilege [--databaseId ] [--withGrantOption ] [--isGrant ] +csdk view-grant create --viewId --granteeName --privilege --granteeNameTrgmSimilarity --privilegeTrgmSimilarity --searchScore [--databaseId ] [--withGrantOption ] [--isGrant ] ``` ### Get a viewGrant by id diff --git a/skills/cli-public/references/view-rule.md b/skills/cli-public/references/view-rule.md index 709d08ec8..fc0c5c9e9 100644 --- a/skills/cli-public/references/view-rule.md +++ b/skills/cli-public/references/view-rule.md @@ -9,8 +9,8 @@ CRUD operations for ViewRule records via csdk CLI ```bash csdk view-rule list csdk view-rule get --id -csdk view-rule create --viewId --name --event [--databaseId ] [--action ] -csdk view-rule update --id [--databaseId ] [--viewId ] [--name ] [--event ] [--action ] +csdk view-rule create --viewId --name --event --nameTrgmSimilarity --eventTrgmSimilarity --actionTrgmSimilarity --searchScore [--databaseId ] [--action ] +csdk view-rule update --id [--databaseId ] [--viewId ] [--name ] [--event ] [--action ] [--nameTrgmSimilarity ] [--eventTrgmSimilarity ] [--actionTrgmSimilarity ] [--searchScore ] csdk view-rule delete --id ``` @@ -25,7 +25,7 @@ csdk view-rule list ### Create a viewRule ```bash -csdk view-rule create --viewId --name --event [--databaseId ] [--action ] +csdk view-rule create --viewId --name --event --nameTrgmSimilarity --eventTrgmSimilarity --actionTrgmSimilarity --searchScore [--databaseId ] [--action ] ``` ### Get a viewRule by id diff --git a/skills/cli-public/references/view.md b/skills/cli-public/references/view.md index ac0eb8965..d9b95fbbf 100644 --- a/skills/cli-public/references/view.md +++ b/skills/cli-public/references/view.md @@ -9,8 +9,8 @@ CRUD operations for View records via csdk CLI ```bash csdk view list csdk view get --id -csdk view create --schemaId --name --viewType [--databaseId ] [--tableId ] [--data ] [--filterType ] [--filterData ] [--securityInvoker ] [--isReadOnly ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] -csdk view update --id [--databaseId ] [--schemaId ] [--name ] [--tableId ] [--viewType ] [--data ] [--filterType ] [--filterData ] [--securityInvoker ] [--isReadOnly ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk view create --schemaId --name --viewType --nameTrgmSimilarity --viewTypeTrgmSimilarity --filterTypeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--tableId ] [--data ] [--filterType ] [--filterData ] [--securityInvoker ] [--isReadOnly ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk view update --id [--databaseId ] [--schemaId ] [--name ] [--tableId ] [--viewType ] [--data ] [--filterType ] [--filterData ] [--securityInvoker ] [--isReadOnly ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] [--nameTrgmSimilarity ] [--viewTypeTrgmSimilarity ] [--filterTypeTrgmSimilarity ] [--moduleTrgmSimilarity ] [--searchScore ] csdk view delete --id ``` @@ -25,7 +25,7 @@ csdk view list ### Create a view ```bash -csdk view create --schemaId --name --viewType [--databaseId ] [--tableId ] [--data ] [--filterType ] [--filterData ] [--securityInvoker ] [--isReadOnly ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] +csdk view create --schemaId --name --viewType --nameTrgmSimilarity --viewTypeTrgmSimilarity --filterTypeTrgmSimilarity --moduleTrgmSimilarity --searchScore [--databaseId ] [--tableId ] [--data ] [--filterType ] [--filterData ] [--securityInvoker ] [--isReadOnly ] [--smartTags ] [--category ] [--module ] [--scope ] [--tags ] ``` ### Get a view by id diff --git a/skills/hooks-admin/SKILL.md b/skills/hooks-admin/SKILL.md index a41799d36..136c4f582 100644 --- a/skills/hooks-admin/SKILL.md +++ b/skills/hooks-admin/SKILL.md @@ -51,8 +51,8 @@ See the `references/` directory for detailed per-entity API documentation: - [org-owner-grant](references/org-owner-grant.md) - [app-limit-default](references/app-limit-default.md) - [org-limit-default](references/org-limit-default.md) -- [membership-type](references/membership-type.md) - [org-chart-edge-grant](references/org-chart-edge-grant.md) +- [membership-type](references/membership-type.md) - [app-limit](references/app-limit.md) - [app-achievement](references/app-achievement.md) - [app-step](references/app-step.md) @@ -64,10 +64,10 @@ See the `references/` directory for detailed per-entity API documentation: - [org-grant](references/org-grant.md) - [org-chart-edge](references/org-chart-edge.md) - [org-membership-default](references/org-membership-default.md) -- [invite](references/invite.md) -- [app-level](references/app-level.md) - [app-membership](references/app-membership.md) - [org-membership](references/org-membership.md) +- [invite](references/invite.md) +- [app-level](references/app-level.md) - [org-invite](references/org-invite.md) - [app-permissions-get-padded-mask](references/app-permissions-get-padded-mask.md) - [org-permissions-get-padded-mask](references/org-permissions-get-padded-mask.md) diff --git a/skills/hooks-admin/references/app-level-requirement.md b/skills/hooks-admin/references/app-level-requirement.md index 876f64838..75359cba2 100644 --- a/skills/hooks-admin/references/app-level-requirement.md +++ b/skills/hooks-admin/references/app-level-requirement.md @@ -7,8 +7,8 @@ Defines the specific requirements that must be met to achieve a level ## Usage ```typescript -useAppLevelRequirementsQuery({ selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } } }) -useAppLevelRequirementQuery({ id: '', selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } } }) +useAppLevelRequirementsQuery({ selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useAppLevelRequirementQuery({ id: '', selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateAppLevelRequirementMutation({ selection: { fields: { id: true } } }) useUpdateAppLevelRequirementMutation({ selection: { fields: { id: true } } }) useDeleteAppLevelRequirementMutation({}) @@ -20,7 +20,7 @@ useDeleteAppLevelRequirementMutation({}) ```typescript const { data, isLoading } = useAppLevelRequirementsQuery({ - selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAppLevelRequirementsQuery({ const { mutate } = useCreateAppLevelRequirementMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', level: '', description: '', requiredCount: '', priority: '' }); +mutate({ name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/app-level.md b/skills/hooks-admin/references/app-level.md index eb2989219..2dbbb688f 100644 --- a/skills/hooks-admin/references/app-level.md +++ b/skills/hooks-admin/references/app-level.md @@ -7,8 +7,8 @@ Defines available levels that users can achieve by completing requirements ## Usage ```typescript -useAppLevelsQuery({ selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } } }) -useAppLevelQuery({ id: '', selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } } }) +useAppLevelsQuery({ selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useAppLevelQuery({ id: '', selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateAppLevelMutation({ selection: { fields: { id: true } } }) useUpdateAppLevelMutation({ selection: { fields: { id: true } } }) useDeleteAppLevelMutation({}) @@ -20,7 +20,7 @@ useDeleteAppLevelMutation({}) ```typescript const { data, isLoading } = useAppLevelsQuery({ - selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAppLevelsQuery({ const { mutate } = useCreateAppLevelMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', description: '', image: '', ownerId: '' }); +mutate({ name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/app-permission.md b/skills/hooks-admin/references/app-permission.md index 3d015a2bc..aba1d0fd8 100644 --- a/skills/hooks-admin/references/app-permission.md +++ b/skills/hooks-admin/references/app-permission.md @@ -7,8 +7,8 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ## Usage ```typescript -useAppPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) -useAppPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) +useAppPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useAppPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateAppPermissionMutation({ selection: { fields: { id: true } } }) useUpdateAppPermissionMutation({ selection: { fields: { id: true } } }) useDeleteAppPermissionMutation({}) @@ -20,7 +20,7 @@ useDeleteAppPermissionMutation({}) ```typescript const { data, isLoading } = useAppPermissionsQuery({ - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAppPermissionsQuery({ const { mutate } = useCreateAppPermissionMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', bitnum: '', bitstr: '', description: '' }); +mutate({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/invite.md b/skills/hooks-admin/references/invite.md index 3d968b414..98e0c14a9 100644 --- a/skills/hooks-admin/references/invite.md +++ b/skills/hooks-admin/references/invite.md @@ -7,8 +7,8 @@ Invitation records sent to prospective members via email, with token-based redem ## Usage ```typescript -useInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } } }) -useInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } } }) +useInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) +useInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) useCreateInviteMutation({ selection: { fields: { id: true } } }) useUpdateInviteMutation({ selection: { fields: { id: true } } }) useDeleteInviteMutation({}) @@ -20,7 +20,7 @@ useDeleteInviteMutation({}) ```typescript const { data, isLoading } = useInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useInvitesQuery({ const { mutate } = useCreateInviteMutation({ selection: { fields: { id: true } }, }); -mutate({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }); +mutate({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/membership-type.md b/skills/hooks-admin/references/membership-type.md index d603f30be..690df99dd 100644 --- a/skills/hooks-admin/references/membership-type.md +++ b/skills/hooks-admin/references/membership-type.md @@ -7,8 +7,8 @@ Defines the different scopes of membership (e.g. App Member, Organization Member ## Usage ```typescript -useMembershipTypesQuery({ selection: { fields: { id: true, name: true, description: true, prefix: true } } }) -useMembershipTypeQuery({ id: '', selection: { fields: { id: true, name: true, description: true, prefix: true } } }) +useMembershipTypesQuery({ selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) +useMembershipTypeQuery({ id: '', selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) useCreateMembershipTypeMutation({ selection: { fields: { id: true } } }) useUpdateMembershipTypeMutation({ selection: { fields: { id: true } } }) useDeleteMembershipTypeMutation({}) @@ -20,7 +20,7 @@ useDeleteMembershipTypeMutation({}) ```typescript const { data, isLoading } = useMembershipTypesQuery({ - selection: { fields: { id: true, name: true, description: true, prefix: true } }, + selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useMembershipTypesQuery({ const { mutate } = useCreateMembershipTypeMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', description: '', prefix: '' }); +mutate({ name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/org-chart-edge-grant.md b/skills/hooks-admin/references/org-chart-edge-grant.md index 89e9aa996..7c0f6837b 100644 --- a/skills/hooks-admin/references/org-chart-edge-grant.md +++ b/skills/hooks-admin/references/org-chart-edge-grant.md @@ -7,8 +7,8 @@ Append-only log of hierarchy edge grants and revocations; triggers apply changes ## Usage ```typescript -useOrgChartEdgeGrantsQuery({ selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } } }) -useOrgChartEdgeGrantQuery({ id: '', selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } } }) +useOrgChartEdgeGrantsQuery({ selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) +useOrgChartEdgeGrantQuery({ id: '', selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) useCreateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } } }) useUpdateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } } }) useDeleteOrgChartEdgeGrantMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgChartEdgeGrantMutation({}) ```typescript const { data, isLoading } = useOrgChartEdgeGrantsQuery({ - selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }, + selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgChartEdgeGrantsQuery({ const { mutate } = useCreateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } }, }); -mutate({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }); +mutate({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/org-chart-edge.md b/skills/hooks-admin/references/org-chart-edge.md index c2c1e4e01..e01a776e5 100644 --- a/skills/hooks-admin/references/org-chart-edge.md +++ b/skills/hooks-admin/references/org-chart-edge.md @@ -7,8 +7,8 @@ Organizational chart edges defining parent-child reporting relationships between ## Usage ```typescript -useOrgChartEdgesQuery({ selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } } }) -useOrgChartEdgeQuery({ id: '', selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } } }) +useOrgChartEdgesQuery({ selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) +useOrgChartEdgeQuery({ id: '', selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) useCreateOrgChartEdgeMutation({ selection: { fields: { id: true } } }) useUpdateOrgChartEdgeMutation({ selection: { fields: { id: true } } }) useDeleteOrgChartEdgeMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgChartEdgeMutation({}) ```typescript const { data, isLoading } = useOrgChartEdgesQuery({ - selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgChartEdgesQuery({ const { mutate } = useCreateOrgChartEdgeMutation({ selection: { fields: { id: true } }, }); -mutate({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }); +mutate({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/org-invite.md b/skills/hooks-admin/references/org-invite.md index 7f42032c5..3ac8c476d 100644 --- a/skills/hooks-admin/references/org-invite.md +++ b/skills/hooks-admin/references/org-invite.md @@ -7,8 +7,8 @@ Invitation records sent to prospective members via email, with token-based redem ## Usage ```typescript -useOrgInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } } }) -useOrgInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } } }) +useOrgInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) +useOrgInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) useCreateOrgInviteMutation({ selection: { fields: { id: true } } }) useUpdateOrgInviteMutation({ selection: { fields: { id: true } } }) useDeleteOrgInviteMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgInviteMutation({}) ```typescript const { data, isLoading } = useOrgInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }, + selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgInvitesQuery({ const { mutate } = useCreateOrgInviteMutation({ selection: { fields: { id: true } }, }); -mutate({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }); +mutate({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-admin/references/org-permission.md b/skills/hooks-admin/references/org-permission.md index fed780e55..575b4d73a 100644 --- a/skills/hooks-admin/references/org-permission.md +++ b/skills/hooks-admin/references/org-permission.md @@ -7,8 +7,8 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ## Usage ```typescript -useOrgPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) -useOrgPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) +useOrgPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useOrgPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateOrgPermissionMutation({ selection: { fields: { id: true } } }) useUpdateOrgPermissionMutation({ selection: { fields: { id: true } } }) useDeleteOrgPermissionMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgPermissionMutation({}) ```typescript const { data, isLoading } = useOrgPermissionsQuery({ - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgPermissionsQuery({ const { mutate } = useCreateOrgPermissionMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', bitnum: '', bitstr: '', description: '' }); +mutate({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-auth/SKILL.md b/skills/hooks-auth/SKILL.md index 32030190d..7afa82881 100644 --- a/skills/hooks-auth/SKILL.md +++ b/skills/hooks-auth/SKILL.md @@ -13,12 +13,12 @@ React Query hooks for the auth API — provides typed query and mutation hooks f ```typescript // Import hooks -import { useRoleTypesQuery } from './hooks'; +import { useCryptoAddressesQuery } from './hooks'; // Query hooks: useQuery, usesQuery // Mutation hooks: useCreateMutation, useUpdateMutation, useDeleteMutation -const { data, isLoading } = useRoleTypesQuery({ +const { data, isLoading } = useCryptoAddressesQuery({ selection: { fields: { id: true } }, }); ``` @@ -28,7 +28,7 @@ const { data, isLoading } = useRoleTypesQuery({ ### Query records ```typescript -const { data, isLoading } = useRoleTypesQuery({ +const { data, isLoading } = useCryptoAddressesQuery({ selection: { fields: { id: true } }, }); ``` @@ -37,8 +37,8 @@ const { data, isLoading } = useRoleTypesQuery({ See the `references/` directory for detailed per-entity API documentation: -- [role-type](references/role-type.md) - [crypto-address](references/crypto-address.md) +- [role-type](references/role-type.md) - [phone-number](references/phone-number.md) - [connected-account](references/connected-account.md) - [audit-log](references/audit-log.md) diff --git a/skills/hooks-auth/references/audit-log.md b/skills/hooks-auth/references/audit-log.md index 2510fbb60..8d0492e13 100644 --- a/skills/hooks-auth/references/audit-log.md +++ b/skills/hooks-auth/references/audit-log.md @@ -7,8 +7,8 @@ Append-only audit log of authentication events (sign-in, sign-up, password chang ## Usage ```typescript -useAuditLogsQuery({ selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } } }) -useAuditLogQuery({ id: '', selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } } }) +useAuditLogsQuery({ selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } } }) +useAuditLogQuery({ id: '', selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } } }) useCreateAuditLogMutation({ selection: { fields: { id: true } } }) useUpdateAuditLogMutation({ selection: { fields: { id: true } } }) useDeleteAuditLogMutation({}) @@ -20,7 +20,7 @@ useDeleteAuditLogMutation({}) ```typescript const { data, isLoading } = useAuditLogsQuery({ - selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }, + selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAuditLogsQuery({ const { mutate } = useCreateAuditLogMutation({ selection: { fields: { id: true } }, }); -mutate({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }); +mutate({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-auth/references/connected-account.md b/skills/hooks-auth/references/connected-account.md index 460e81e5b..a05f1712c 100644 --- a/skills/hooks-auth/references/connected-account.md +++ b/skills/hooks-auth/references/connected-account.md @@ -7,8 +7,8 @@ OAuth and social login connections linking external service accounts to users ## Usage ```typescript -useConnectedAccountsQuery({ selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } } }) -useConnectedAccountQuery({ id: '', selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } } }) +useConnectedAccountsQuery({ selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } } }) +useConnectedAccountQuery({ id: '', selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } } }) useCreateConnectedAccountMutation({ selection: { fields: { id: true } } }) useUpdateConnectedAccountMutation({ selection: { fields: { id: true } } }) useDeleteConnectedAccountMutation({}) @@ -20,7 +20,7 @@ useDeleteConnectedAccountMutation({}) ```typescript const { data, isLoading } = useConnectedAccountsQuery({ - selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useConnectedAccountsQuery({ const { mutate } = useCreateConnectedAccountMutation({ selection: { fields: { id: true } }, }); -mutate({ ownerId: '', service: '', identifier: '', details: '', isVerified: '' }); +mutate({ ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-auth/references/crypto-address.md b/skills/hooks-auth/references/crypto-address.md index 99c41ff1e..b4904c46e 100644 --- a/skills/hooks-auth/references/crypto-address.md +++ b/skills/hooks-auth/references/crypto-address.md @@ -7,8 +7,8 @@ Cryptocurrency wallet addresses owned by users, with network-specific validation ## Usage ```typescript -useCryptoAddressesQuery({ selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) -useCryptoAddressQuery({ id: '', selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) +useCryptoAddressesQuery({ selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } } }) +useCryptoAddressQuery({ id: '', selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } } }) useCreateCryptoAddressMutation({ selection: { fields: { id: true } } }) useUpdateCryptoAddressMutation({ selection: { fields: { id: true } } }) useDeleteCryptoAddressMutation({}) @@ -20,7 +20,7 @@ useDeleteCryptoAddressMutation({}) ```typescript const { data, isLoading } = useCryptoAddressesQuery({ - selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useCryptoAddressesQuery({ const { mutate } = useCreateCryptoAddressMutation({ selection: { fields: { id: true } }, }); -mutate({ ownerId: '', address: '', isVerified: '', isPrimary: '' }); +mutate({ ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-auth/references/phone-number.md b/skills/hooks-auth/references/phone-number.md index 0ce6e26c1..46602ec62 100644 --- a/skills/hooks-auth/references/phone-number.md +++ b/skills/hooks-auth/references/phone-number.md @@ -7,8 +7,8 @@ User phone numbers with country code, verification, and primary-number managemen ## Usage ```typescript -usePhoneNumbersQuery({ selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) -usePhoneNumberQuery({ id: '', selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) +usePhoneNumbersQuery({ selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } } }) +usePhoneNumberQuery({ id: '', selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } } }) useCreatePhoneNumberMutation({ selection: { fields: { id: true } } }) useUpdatePhoneNumberMutation({ selection: { fields: { id: true } } }) useDeletePhoneNumberMutation({}) @@ -20,7 +20,7 @@ useDeletePhoneNumberMutation({}) ```typescript const { data, isLoading } = usePhoneNumbersQuery({ - selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = usePhoneNumbersQuery({ const { mutate } = useCreatePhoneNumberMutation({ selection: { fields: { id: true } }, }); -mutate({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }); +mutate({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-auth/references/user.md b/skills/hooks-auth/references/user.md index 9d3a8cf6b..dcbc09d1f 100644 --- a/skills/hooks-auth/references/user.md +++ b/skills/hooks-auth/references/user.md @@ -7,8 +7,8 @@ React Query hooks for User data operations ## Usage ```typescript -useUsersQuery({ selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } } }) -useUserQuery({ id: '', selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } } }) +useUsersQuery({ selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } } }) +useUserQuery({ id: '', selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } } }) useCreateUserMutation({ selection: { fields: { id: true } } }) useUpdateUserMutation({ selection: { fields: { id: true } } }) useDeleteUserMutation({}) @@ -20,7 +20,7 @@ useDeleteUserMutation({}) ```typescript const { data, isLoading } = useUsersQuery({ - selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }, + selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useUsersQuery({ const { mutate } = useCreateUserMutation({ selection: { fields: { id: true } }, }); -mutate({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }); +mutate({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-objects/references/commit.md b/skills/hooks-objects/references/commit.md index 6c4d4710e..5d7cdedeb 100644 --- a/skills/hooks-objects/references/commit.md +++ b/skills/hooks-objects/references/commit.md @@ -7,8 +7,8 @@ A commit records changes to the repository. ## Usage ```typescript -useCommitsQuery({ selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } } }) -useCommitQuery({ id: '', selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } } }) +useCommitsQuery({ selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } } }) +useCommitQuery({ id: '', selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } } }) useCreateCommitMutation({ selection: { fields: { id: true } } }) useUpdateCommitMutation({ selection: { fields: { id: true } } }) useDeleteCommitMutation({}) @@ -20,7 +20,7 @@ useDeleteCommitMutation({}) ```typescript const { data, isLoading } = useCommitsQuery({ - selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }, + selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useCommitsQuery({ const { mutate } = useCreateCommitMutation({ selection: { fields: { id: true } }, }); -mutate({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }); +mutate({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-objects/references/ref.md b/skills/hooks-objects/references/ref.md index d8b3b24c7..5e0612a30 100644 --- a/skills/hooks-objects/references/ref.md +++ b/skills/hooks-objects/references/ref.md @@ -7,8 +7,8 @@ A ref is a data structure for pointing to a commit. ## Usage ```typescript -useRefsQuery({ selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } } }) -useRefQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } } }) +useRefsQuery({ selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } } }) +useRefQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } } }) useCreateRefMutation({ selection: { fields: { id: true } } }) useUpdateRefMutation({ selection: { fields: { id: true } } }) useDeleteRefMutation({}) @@ -20,7 +20,7 @@ useDeleteRefMutation({}) ```typescript const { data, isLoading } = useRefsQuery({ - selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }, + selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useRefsQuery({ const { mutate } = useCreateRefMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', databaseId: '', storeId: '', commitId: '' }); +mutate({ name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-objects/references/store.md b/skills/hooks-objects/references/store.md index 07e008520..a7f21de95 100644 --- a/skills/hooks-objects/references/store.md +++ b/skills/hooks-objects/references/store.md @@ -7,8 +7,8 @@ A store represents an isolated object repository within a database. ## Usage ```typescript -useStoresQuery({ selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } } }) -useStoreQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } } }) +useStoresQuery({ selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } } }) +useStoreQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } } }) useCreateStoreMutation({ selection: { fields: { id: true } } }) useUpdateStoreMutation({ selection: { fields: { id: true } } }) useDeleteStoreMutation({}) @@ -20,7 +20,7 @@ useDeleteStoreMutation({}) ```typescript const { data, isLoading } = useStoresQuery({ - selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }, + selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useStoresQuery({ const { mutate } = useCreateStoreMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', databaseId: '', hash: '' }); +mutate({ name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/SKILL.md b/skills/hooks-public/SKILL.md index 87c7217f3..5c7b8e958 100644 --- a/skills/hooks-public/SKILL.md +++ b/skills/hooks-public/SKILL.md @@ -1,13 +1,13 @@ --- name: hooks-public -description: React Query hooks for the public API — provides typed query and mutation hooks for 104 tables and 50 custom operations +description: React Query hooks for the public API — provides typed query and mutation hooks for 103 tables and 50 custom operations --- # hooks-public -React Query hooks for the public API — provides typed query and mutation hooks for 104 tables and 50 custom operations +React Query hooks for the public API — provides typed query and mutation hooks for 103 tables and 50 custom operations ## Usage @@ -61,7 +61,6 @@ See the `references/` directory for detailed per-entity API documentation: - [view-table](references/view-table.md) - [view-grant](references/view-grant.md) - [view-rule](references/view-rule.md) -- [table-module](references/table-module.md) - [table-template-module](references/table-template-module.md) - [secure-table-provision](references/secure-table-provision.md) - [relation-provision](references/relation-provision.md) @@ -93,7 +92,6 @@ See the `references/` directory for detailed per-entity API documentation: - [permissions-module](references/permissions-module.md) - [phone-numbers-module](references/phone-numbers-module.md) - [profiles-module](references/profiles-module.md) -- [rls-module](references/rls-module.md) - [secrets-module](references/secrets-module.md) - [sessions-module](references/sessions-module.md) - [user-auth-module](references/user-auth-module.md) @@ -121,25 +119,26 @@ See the `references/` directory for detailed per-entity API documentation: - [ref](references/ref.md) - [store](references/store.md) - [app-permission-default](references/app-permission-default.md) +- [crypto-address](references/crypto-address.md) - [role-type](references/role-type.md) - [org-permission-default](references/org-permission-default.md) -- [crypto-address](references/crypto-address.md) +- [phone-number](references/phone-number.md) - [app-limit-default](references/app-limit-default.md) - [org-limit-default](references/org-limit-default.md) - [connected-account](references/connected-account.md) -- [phone-number](references/phone-number.md) -- [membership-type](references/membership-type.md) - [node-type-registry](references/node-type-registry.md) +- [membership-type](references/membership-type.md) - [app-membership-default](references/app-membership-default.md) +- [rls-module](references/rls-module.md) - [commit](references/commit.md) - [org-membership-default](references/org-membership-default.md) - [audit-log](references/audit-log.md) - [app-level](references/app-level.md) -- [email](references/email.md) - [sql-migration](references/sql-migration.md) +- [email](references/email.md) - [ast-migration](references/ast-migration.md) -- [user](references/user.md) - [app-membership](references/app-membership.md) +- [user](references/user.md) - [hierarchy-module](references/hierarchy-module.md) - [current-user-id](references/current-user-id.md) - [current-ip-address](references/current-ip-address.md) @@ -171,8 +170,8 @@ See the `references/` directory for detailed per-entity API documentation: - [set-password](references/set-password.md) - [verify-email](references/verify-email.md) - [reset-password](references/reset-password.md) -- [remove-node-at-path](references/remove-node-at-path.md) - [bootstrap-user](references/bootstrap-user.md) +- [remove-node-at-path](references/remove-node-at-path.md) - [set-data-at-path](references/set-data-at-path.md) - [set-props-and-commit](references/set-props-and-commit.md) - [provision-database-with-user](references/provision-database-with-user.md) diff --git a/skills/hooks-public/references/api-module.md b/skills/hooks-public/references/api-module.md index 70d115221..f689606ec 100644 --- a/skills/hooks-public/references/api-module.md +++ b/skills/hooks-public/references/api-module.md @@ -7,8 +7,8 @@ Server-side module configuration for an API endpoint; stores module name and JSO ## Usage ```typescript -useApiModulesQuery({ selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true } } }) -useApiModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true } } }) +useApiModulesQuery({ selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } } }) +useApiModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } } }) useCreateApiModuleMutation({ selection: { fields: { id: true } } }) useUpdateApiModuleMutation({ selection: { fields: { id: true } } }) useDeleteApiModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteApiModuleMutation({}) ```typescript const { data, isLoading } = useApiModulesQuery({ - selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true } }, + selection: { fields: { id: true, databaseId: true, apiId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useApiModulesQuery({ const { mutate } = useCreateApiModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', apiId: '', name: '', data: '' }); +mutate({ databaseId: '', apiId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/api.md b/skills/hooks-public/references/api.md index 164c8053c..4af34a161 100644 --- a/skills/hooks-public/references/api.md +++ b/skills/hooks-public/references/api.md @@ -7,8 +7,8 @@ API endpoint configurations: each record defines a PostGraphile/PostgREST API wi ## Usage ```typescript -useApisQuery({ selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } } }) -useApiQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } } }) +useApisQuery({ selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } } }) +useApiQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } } }) useCreateApiMutation({ selection: { fields: { id: true } } }) useUpdateApiMutation({ selection: { fields: { id: true } } }) useDeleteApiMutation({}) @@ -20,7 +20,7 @@ useDeleteApiMutation({}) ```typescript const { data, isLoading } = useApisQuery({ - selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true } }, + selection: { fields: { id: true, databaseId: true, name: true, dbname: true, roleName: true, anonRole: true, isPublic: true, nameTrgmSimilarity: true, dbnameTrgmSimilarity: true, roleNameTrgmSimilarity: true, anonRoleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useApisQuery({ const { mutate } = useCreateApiMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '' }); +mutate({ databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '', nameTrgmSimilarity: '', dbnameTrgmSimilarity: '', roleNameTrgmSimilarity: '', anonRoleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/app-level-requirement.md b/skills/hooks-public/references/app-level-requirement.md index 876f64838..75359cba2 100644 --- a/skills/hooks-public/references/app-level-requirement.md +++ b/skills/hooks-public/references/app-level-requirement.md @@ -7,8 +7,8 @@ Defines the specific requirements that must be met to achieve a level ## Usage ```typescript -useAppLevelRequirementsQuery({ selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } } }) -useAppLevelRequirementQuery({ id: '', selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } } }) +useAppLevelRequirementsQuery({ selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useAppLevelRequirementQuery({ id: '', selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateAppLevelRequirementMutation({ selection: { fields: { id: true } } }) useUpdateAppLevelRequirementMutation({ selection: { fields: { id: true } } }) useDeleteAppLevelRequirementMutation({}) @@ -20,7 +20,7 @@ useDeleteAppLevelRequirementMutation({}) ```typescript const { data, isLoading } = useAppLevelRequirementsQuery({ - selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, level: true, description: true, requiredCount: true, priority: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAppLevelRequirementsQuery({ const { mutate } = useCreateAppLevelRequirementMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', level: '', description: '', requiredCount: '', priority: '' }); +mutate({ name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/app-level.md b/skills/hooks-public/references/app-level.md index eb2989219..2dbbb688f 100644 --- a/skills/hooks-public/references/app-level.md +++ b/skills/hooks-public/references/app-level.md @@ -7,8 +7,8 @@ Defines available levels that users can achieve by completing requirements ## Usage ```typescript -useAppLevelsQuery({ selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } } }) -useAppLevelQuery({ id: '', selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } } }) +useAppLevelsQuery({ selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useAppLevelQuery({ id: '', selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateAppLevelMutation({ selection: { fields: { id: true } } }) useUpdateAppLevelMutation({ selection: { fields: { id: true } } }) useDeleteAppLevelMutation({}) @@ -20,7 +20,7 @@ useDeleteAppLevelMutation({}) ```typescript const { data, isLoading } = useAppLevelsQuery({ - selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, name: true, description: true, image: true, ownerId: true, createdAt: true, updatedAt: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAppLevelsQuery({ const { mutate } = useCreateAppLevelMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', description: '', image: '', ownerId: '' }); +mutate({ name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/app-permission.md b/skills/hooks-public/references/app-permission.md index 3d015a2bc..aba1d0fd8 100644 --- a/skills/hooks-public/references/app-permission.md +++ b/skills/hooks-public/references/app-permission.md @@ -7,8 +7,8 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ## Usage ```typescript -useAppPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) -useAppPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) +useAppPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useAppPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateAppPermissionMutation({ selection: { fields: { id: true } } }) useUpdateAppPermissionMutation({ selection: { fields: { id: true } } }) useDeleteAppPermissionMutation({}) @@ -20,7 +20,7 @@ useDeleteAppPermissionMutation({}) ```typescript const { data, isLoading } = useAppPermissionsQuery({ - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAppPermissionsQuery({ const { mutate } = useCreateAppPermissionMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', bitnum: '', bitstr: '', description: '' }); +mutate({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/app.md b/skills/hooks-public/references/app.md index 0aa959cbf..98c4c5d4e 100644 --- a/skills/hooks-public/references/app.md +++ b/skills/hooks-public/references/app.md @@ -7,8 +7,8 @@ Mobile and native app configuration linked to a site, including store links and ## Usage ```typescript -useAppsQuery({ selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } } }) -useAppQuery({ id: '', selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } } }) +useAppsQuery({ selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } } }) +useAppQuery({ id: '', selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } } }) useCreateAppMutation({ selection: { fields: { id: true } } }) useUpdateAppMutation({ selection: { fields: { id: true } } }) useDeleteAppMutation({}) @@ -20,7 +20,7 @@ useDeleteAppMutation({}) ```typescript const { data, isLoading } = useAppsQuery({ - selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, name: true, appImage: true, appStoreLink: true, appStoreId: true, appIdPrefix: true, playStoreLink: true, nameTrgmSimilarity: true, appStoreIdTrgmSimilarity: true, appIdPrefixTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAppsQuery({ const { mutate } = useCreateAppMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '' }); +mutate({ databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '', nameTrgmSimilarity: '', appStoreIdTrgmSimilarity: '', appIdPrefixTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/ast-migration.md b/skills/hooks-public/references/ast-migration.md index 0f7b2b67e..3ee1b8e71 100644 --- a/skills/hooks-public/references/ast-migration.md +++ b/skills/hooks-public/references/ast-migration.md @@ -7,8 +7,8 @@ React Query hooks for AstMigration data operations ## Usage ```typescript -useAstMigrationsQuery({ selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } } }) -useAstMigrationQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } } }) +useAstMigrationsQuery({ selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } } }) +useAstMigrationQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } } }) useCreateAstMigrationMutation({ selection: { fields: { id: true } } }) useUpdateAstMigrationMutation({ selection: { fields: { id: true } } }) useDeleteAstMigrationMutation({}) @@ -20,7 +20,7 @@ useDeleteAstMigrationMutation({}) ```typescript const { data, isLoading } = useAstMigrationsQuery({ - selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }, + selection: { fields: { id: true, databaseId: true, name: true, requires: true, payload: true, deploys: true, deploy: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, actionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAstMigrationsQuery({ const { mutate } = useCreateAstMigrationMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }); +mutate({ databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '', actionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/audit-log.md b/skills/hooks-public/references/audit-log.md index 2510fbb60..8d0492e13 100644 --- a/skills/hooks-public/references/audit-log.md +++ b/skills/hooks-public/references/audit-log.md @@ -7,8 +7,8 @@ Append-only audit log of authentication events (sign-in, sign-up, password chang ## Usage ```typescript -useAuditLogsQuery({ selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } } }) -useAuditLogQuery({ id: '', selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } } }) +useAuditLogsQuery({ selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } } }) +useAuditLogQuery({ id: '', selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } } }) useCreateAuditLogMutation({ selection: { fields: { id: true } } }) useUpdateAuditLogMutation({ selection: { fields: { id: true } } }) useDeleteAuditLogMutation({}) @@ -20,7 +20,7 @@ useDeleteAuditLogMutation({}) ```typescript const { data, isLoading } = useAuditLogsQuery({ - selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true } }, + selection: { fields: { id: true, event: true, actorId: true, origin: true, userAgent: true, ipAddress: true, success: true, createdAt: true, userAgentTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useAuditLogsQuery({ const { mutate } = useCreateAuditLogMutation({ selection: { fields: { id: true } }, }); -mutate({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }); +mutate({ event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/check-constraint.md b/skills/hooks-public/references/check-constraint.md index f77483e84..ba73447d6 100644 --- a/skills/hooks-public/references/check-constraint.md +++ b/skills/hooks-public/references/check-constraint.md @@ -7,8 +7,8 @@ React Query hooks for CheckConstraint data operations ## Usage ```typescript -useCheckConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) -useCheckConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) +useCheckConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useCheckConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateCheckConstraintMutation({ selection: { fields: { id: true } } }) useUpdateCheckConstraintMutation({ selection: { fields: { id: true } } }) useDeleteCheckConstraintMutation({}) @@ -20,7 +20,7 @@ useDeleteCheckConstraintMutation({}) ```typescript const { data, isLoading } = useCheckConstraintsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, expr: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useCheckConstraintsQuery({ const { mutate } = useCreateCheckConstraintMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/commit.md b/skills/hooks-public/references/commit.md index 6c4d4710e..5d7cdedeb 100644 --- a/skills/hooks-public/references/commit.md +++ b/skills/hooks-public/references/commit.md @@ -7,8 +7,8 @@ A commit records changes to the repository. ## Usage ```typescript -useCommitsQuery({ selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } } }) -useCommitQuery({ id: '', selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } } }) +useCommitsQuery({ selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } } }) +useCommitQuery({ id: '', selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } } }) useCreateCommitMutation({ selection: { fields: { id: true } } }) useUpdateCommitMutation({ selection: { fields: { id: true } } }) useDeleteCommitMutation({}) @@ -20,7 +20,7 @@ useDeleteCommitMutation({}) ```typescript const { data, isLoading } = useCommitsQuery({ - selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true } }, + selection: { fields: { id: true, message: true, databaseId: true, storeId: true, parentIds: true, authorId: true, committerId: true, treeId: true, date: true, messageTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useCommitsQuery({ const { mutate } = useCreateCommitMutation({ selection: { fields: { id: true } }, }); -mutate({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }); +mutate({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/connected-account.md b/skills/hooks-public/references/connected-account.md index 460e81e5b..a05f1712c 100644 --- a/skills/hooks-public/references/connected-account.md +++ b/skills/hooks-public/references/connected-account.md @@ -7,8 +7,8 @@ OAuth and social login connections linking external service accounts to users ## Usage ```typescript -useConnectedAccountsQuery({ selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } } }) -useConnectedAccountQuery({ id: '', selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } } }) +useConnectedAccountsQuery({ selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } } }) +useConnectedAccountQuery({ id: '', selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } } }) useCreateConnectedAccountMutation({ selection: { fields: { id: true } } }) useUpdateConnectedAccountMutation({ selection: { fields: { id: true } } }) useDeleteConnectedAccountMutation({}) @@ -20,7 +20,7 @@ useDeleteConnectedAccountMutation({}) ```typescript const { data, isLoading } = useConnectedAccountsQuery({ - selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, service: true, identifier: true, details: true, isVerified: true, createdAt: true, updatedAt: true, serviceTrgmSimilarity: true, identifierTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useConnectedAccountsQuery({ const { mutate } = useCreateConnectedAccountMutation({ selection: { fields: { id: true } }, }); -mutate({ ownerId: '', service: '', identifier: '', details: '', isVerified: '' }); +mutate({ ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/connected-accounts-module.md b/skills/hooks-public/references/connected-accounts-module.md index 577ef3601..1e568b3c7 100644 --- a/skills/hooks-public/references/connected-accounts-module.md +++ b/skills/hooks-public/references/connected-accounts-module.md @@ -7,8 +7,8 @@ React Query hooks for ConnectedAccountsModule data operations ## Usage ```typescript -useConnectedAccountsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } } }) -useConnectedAccountsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } } }) +useConnectedAccountsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) +useConnectedAccountsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) useCreateConnectedAccountsModuleMutation({ selection: { fields: { id: true } } }) useUpdateConnectedAccountsModuleMutation({ selection: { fields: { id: true } } }) useDeleteConnectedAccountsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteConnectedAccountsModuleMutation({}) ```typescript const { data, isLoading } = useConnectedAccountsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useConnectedAccountsModulesQuery({ const { mutate } = useCreateConnectedAccountsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/crypto-address.md b/skills/hooks-public/references/crypto-address.md index 99c41ff1e..b4904c46e 100644 --- a/skills/hooks-public/references/crypto-address.md +++ b/skills/hooks-public/references/crypto-address.md @@ -7,8 +7,8 @@ Cryptocurrency wallet addresses owned by users, with network-specific validation ## Usage ```typescript -useCryptoAddressesQuery({ selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) -useCryptoAddressQuery({ id: '', selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) +useCryptoAddressesQuery({ selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } } }) +useCryptoAddressQuery({ id: '', selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } } }) useCreateCryptoAddressMutation({ selection: { fields: { id: true } } }) useUpdateCryptoAddressMutation({ selection: { fields: { id: true } } }) useDeleteCryptoAddressMutation({}) @@ -20,7 +20,7 @@ useDeleteCryptoAddressMutation({}) ```typescript const { data, isLoading } = useCryptoAddressesQuery({ - selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, address: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, addressTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useCryptoAddressesQuery({ const { mutate } = useCreateCryptoAddressMutation({ selection: { fields: { id: true } }, }); -mutate({ ownerId: '', address: '', isVerified: '', isPrimary: '' }); +mutate({ ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/crypto-addresses-module.md b/skills/hooks-public/references/crypto-addresses-module.md index da4903516..34c6cc668 100644 --- a/skills/hooks-public/references/crypto-addresses-module.md +++ b/skills/hooks-public/references/crypto-addresses-module.md @@ -7,8 +7,8 @@ React Query hooks for CryptoAddressesModule data operations ## Usage ```typescript -useCryptoAddressesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } } }) -useCryptoAddressesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } } }) +useCryptoAddressesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } } }) +useCryptoAddressesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } } }) useCreateCryptoAddressesModuleMutation({ selection: { fields: { id: true } } }) useUpdateCryptoAddressesModuleMutation({ selection: { fields: { id: true } } }) useDeleteCryptoAddressesModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteCryptoAddressesModuleMutation({}) ```typescript const { data, isLoading } = useCryptoAddressesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, cryptoNetwork: true, tableNameTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useCryptoAddressesModulesQuery({ const { mutate } = useCreateCryptoAddressesModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '', tableNameTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/crypto-auth-module.md b/skills/hooks-public/references/crypto-auth-module.md index ffb749fae..43f5e6d18 100644 --- a/skills/hooks-public/references/crypto-auth-module.md +++ b/skills/hooks-public/references/crypto-auth-module.md @@ -7,8 +7,8 @@ React Query hooks for CryptoAuthModule data operations ## Usage ```typescript -useCryptoAuthModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } } }) -useCryptoAuthModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } } }) +useCryptoAuthModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } } }) +useCryptoAuthModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } } }) useCreateCryptoAuthModuleMutation({ selection: { fields: { id: true } } }) useUpdateCryptoAuthModuleMutation({ selection: { fields: { id: true } } }) useDeleteCryptoAuthModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteCryptoAuthModuleMutation({}) ```typescript const { data, isLoading } = useCryptoAuthModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, usersTableId: true, secretsTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, addressesTableId: true, userField: true, cryptoNetwork: true, signInRequestChallenge: true, signInRecordFailure: true, signUpWithKey: true, signInWithChallenge: true, userFieldTrgmSimilarity: true, cryptoNetworkTrgmSimilarity: true, signInRequestChallengeTrgmSimilarity: true, signInRecordFailureTrgmSimilarity: true, signUpWithKeyTrgmSimilarity: true, signInWithChallengeTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useCryptoAuthModulesQuery({ const { mutate } = useCreateCryptoAuthModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '' }); +mutate({ databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '', userFieldTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', signInRequestChallengeTrgmSimilarity: '', signInRecordFailureTrgmSimilarity: '', signUpWithKeyTrgmSimilarity: '', signInWithChallengeTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/database-provision-module.md b/skills/hooks-public/references/database-provision-module.md index f4f361430..2091951c9 100644 --- a/skills/hooks-public/references/database-provision-module.md +++ b/skills/hooks-public/references/database-provision-module.md @@ -7,8 +7,8 @@ Tracks database provisioning requests and their status. The BEFORE INSERT trigge ## Usage ```typescript -useDatabaseProvisionModulesQuery({ selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } } }) -useDatabaseProvisionModuleQuery({ id: '', selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } } }) +useDatabaseProvisionModulesQuery({ selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } } }) +useDatabaseProvisionModuleQuery({ id: '', selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } } }) useCreateDatabaseProvisionModuleMutation({ selection: { fields: { id: true } } }) useUpdateDatabaseProvisionModuleMutation({ selection: { fields: { id: true } } }) useDeleteDatabaseProvisionModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteDatabaseProvisionModuleMutation({}) ```typescript const { data, isLoading } = useDatabaseProvisionModulesQuery({ - selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true } }, + selection: { fields: { id: true, databaseName: true, ownerId: true, subdomain: true, domain: true, modules: true, options: true, bootstrapUser: true, status: true, errorMessage: true, databaseId: true, createdAt: true, updatedAt: true, completedAt: true, databaseNameTrgmSimilarity: true, subdomainTrgmSimilarity: true, domainTrgmSimilarity: true, statusTrgmSimilarity: true, errorMessageTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useDatabaseProvisionModulesQuery({ const { mutate } = useCreateDatabaseProvisionModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '' }); +mutate({ databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '', databaseNameTrgmSimilarity: '', subdomainTrgmSimilarity: '', domainTrgmSimilarity: '', statusTrgmSimilarity: '', errorMessageTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/database.md b/skills/hooks-public/references/database.md index 5a99d6220..c32670b18 100644 --- a/skills/hooks-public/references/database.md +++ b/skills/hooks-public/references/database.md @@ -7,8 +7,8 @@ React Query hooks for Database data operations ## Usage ```typescript -useDatabasesQuery({ selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } } }) -useDatabaseQuery({ id: '', selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } } }) +useDatabasesQuery({ selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } } }) +useDatabaseQuery({ id: '', selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } } }) useCreateDatabaseMutation({ selection: { fields: { id: true } } }) useUpdateDatabaseMutation({ selection: { fields: { id: true } } }) useDeleteDatabaseMutation({}) @@ -20,7 +20,7 @@ useDeleteDatabaseMutation({}) ```typescript const { data, isLoading } = useDatabasesQuery({ - selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, schemaHash: true, name: true, label: true, hash: true, createdAt: true, updatedAt: true, schemaHashTrgmSimilarity: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useDatabasesQuery({ const { mutate } = useCreateDatabaseMutation({ selection: { fields: { id: true } }, }); -mutate({ ownerId: '', schemaHash: '', name: '', label: '', hash: '' }); +mutate({ ownerId: '', schemaHash: '', name: '', label: '', hash: '', schemaHashTrgmSimilarity: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/default-privilege.md b/skills/hooks-public/references/default-privilege.md index c2d817893..4f4de531b 100644 --- a/skills/hooks-public/references/default-privilege.md +++ b/skills/hooks-public/references/default-privilege.md @@ -7,8 +7,8 @@ React Query hooks for DefaultPrivilege data operations ## Usage ```typescript -useDefaultPrivilegesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } } }) -useDefaultPrivilegeQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } } }) +useDefaultPrivilegesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } } }) +useDefaultPrivilegeQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } } }) useCreateDefaultPrivilegeMutation({ selection: { fields: { id: true } } }) useUpdateDefaultPrivilegeMutation({ selection: { fields: { id: true } } }) useDeleteDefaultPrivilegeMutation({}) @@ -20,7 +20,7 @@ useDeleteDefaultPrivilegeMutation({}) ```typescript const { data, isLoading } = useDefaultPrivilegesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, objectType: true, privilege: true, granteeName: true, isGrant: true, objectTypeTrgmSimilarity: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useDefaultPrivilegesQuery({ const { mutate } = useCreateDefaultPrivilegeMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '' }); +mutate({ databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '', objectTypeTrgmSimilarity: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/denormalized-table-field.md b/skills/hooks-public/references/denormalized-table-field.md index fddc67c80..963d50b7f 100644 --- a/skills/hooks-public/references/denormalized-table-field.md +++ b/skills/hooks-public/references/denormalized-table-field.md @@ -7,8 +7,8 @@ React Query hooks for DenormalizedTableField data operations ## Usage ```typescript -useDenormalizedTableFieldsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } } }) -useDenormalizedTableFieldQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } } }) +useDenormalizedTableFieldsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } } }) +useDenormalizedTableFieldQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } } }) useCreateDenormalizedTableFieldMutation({ selection: { fields: { id: true } } }) useUpdateDenormalizedTableFieldMutation({ selection: { fields: { id: true } } }) useDeleteDenormalizedTableFieldMutation({}) @@ -20,7 +20,7 @@ useDeleteDenormalizedTableFieldMutation({}) ```typescript const { data, isLoading } = useDenormalizedTableFieldsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, fieldId: true, setIds: true, refTableId: true, refFieldId: true, refIds: true, useUpdates: true, updateDefaults: true, funcName: true, funcOrder: true, funcNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useDenormalizedTableFieldsQuery({ const { mutate } = useCreateDenormalizedTableFieldMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '' }); +mutate({ databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '', funcNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/emails-module.md b/skills/hooks-public/references/emails-module.md index 9ea341fb2..3451d2021 100644 --- a/skills/hooks-public/references/emails-module.md +++ b/skills/hooks-public/references/emails-module.md @@ -7,8 +7,8 @@ React Query hooks for EmailsModule data operations ## Usage ```typescript -useEmailsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } } }) -useEmailsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } } }) +useEmailsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) +useEmailsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) useCreateEmailsModuleMutation({ selection: { fields: { id: true } } }) useUpdateEmailsModuleMutation({ selection: { fields: { id: true } } }) useDeleteEmailsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteEmailsModuleMutation({}) ```typescript const { data, isLoading } = useEmailsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useEmailsModulesQuery({ const { mutate } = useCreateEmailsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/encrypted-secrets-module.md b/skills/hooks-public/references/encrypted-secrets-module.md index 505b8af62..6062b5dd4 100644 --- a/skills/hooks-public/references/encrypted-secrets-module.md +++ b/skills/hooks-public/references/encrypted-secrets-module.md @@ -7,8 +7,8 @@ React Query hooks for EncryptedSecretsModule data operations ## Usage ```typescript -useEncryptedSecretsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } } }) -useEncryptedSecretsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } } }) +useEncryptedSecretsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) +useEncryptedSecretsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) useCreateEncryptedSecretsModuleMutation({ selection: { fields: { id: true } } }) useUpdateEncryptedSecretsModuleMutation({ selection: { fields: { id: true } } }) useDeleteEncryptedSecretsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteEncryptedSecretsModuleMutation({}) ```typescript const { data, isLoading } = useEncryptedSecretsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useEncryptedSecretsModulesQuery({ const { mutate } = useCreateEncryptedSecretsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '' }); +mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/field-module.md b/skills/hooks-public/references/field-module.md index 944ef2b91..9b113f073 100644 --- a/skills/hooks-public/references/field-module.md +++ b/skills/hooks-public/references/field-module.md @@ -7,8 +7,8 @@ React Query hooks for FieldModule data operations ## Usage ```typescript -useFieldModulesQuery({ selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } } }) -useFieldModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } } }) +useFieldModulesQuery({ selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } } }) +useFieldModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } } }) useCreateFieldModuleMutation({ selection: { fields: { id: true } } }) useUpdateFieldModuleMutation({ selection: { fields: { id: true } } }) useDeleteFieldModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteFieldModuleMutation({}) ```typescript const { data, isLoading } = useFieldModulesQuery({ - selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true } }, + selection: { fields: { id: true, databaseId: true, privateSchemaId: true, tableId: true, fieldId: true, nodeType: true, data: true, triggers: true, functions: true, nodeTypeTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useFieldModulesQuery({ const { mutate } = useCreateFieldModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '' }); +mutate({ databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '', nodeTypeTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/field.md b/skills/hooks-public/references/field.md index cde3c6dc5..d30dc188c 100644 --- a/skills/hooks-public/references/field.md +++ b/skills/hooks-public/references/field.md @@ -7,8 +7,8 @@ React Query hooks for Field data operations ## Usage ```typescript -useFieldsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } } }) -useFieldQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } } }) +useFieldsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useFieldQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateFieldMutation({ selection: { fields: { id: true } } }) useUpdateFieldMutation({ selection: { fields: { id: true } } }) useDeleteFieldMutation({}) @@ -20,7 +20,7 @@ useDeleteFieldMutation({}) ```typescript const { data, isLoading } = useFieldsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, label: true, description: true, smartTags: true, isRequired: true, defaultValue: true, defaultValueAst: true, isHidden: true, type: true, fieldOrder: true, regexp: true, chk: true, chkExpr: true, min: true, max: true, tags: true, category: true, module: true, scope: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, defaultValueTrgmSimilarity: true, regexpTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useFieldsQuery({ const { mutate } = useCreateFieldMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '' }); +mutate({ databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', defaultValueTrgmSimilarity: '', regexpTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/foreign-key-constraint.md b/skills/hooks-public/references/foreign-key-constraint.md index 37446aa14..fe3e3fa2f 100644 --- a/skills/hooks-public/references/foreign-key-constraint.md +++ b/skills/hooks-public/references/foreign-key-constraint.md @@ -7,8 +7,8 @@ React Query hooks for ForeignKeyConstraint data operations ## Usage ```typescript -useForeignKeyConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) -useForeignKeyConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) +useForeignKeyConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useForeignKeyConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateForeignKeyConstraintMutation({ selection: { fields: { id: true } } }) useUpdateForeignKeyConstraintMutation({ selection: { fields: { id: true } } }) useDeleteForeignKeyConstraintMutation({}) @@ -20,7 +20,7 @@ useDeleteForeignKeyConstraintMutation({}) ```typescript const { data, isLoading } = useForeignKeyConstraintsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, refTableId: true, refFieldIds: true, deleteAction: true, updateAction: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, deleteActionTrgmSimilarity: true, updateActionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useForeignKeyConstraintsQuery({ const { mutate } = useCreateForeignKeyConstraintMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', deleteActionTrgmSimilarity: '', updateActionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/hierarchy-module.md b/skills/hooks-public/references/hierarchy-module.md index d873e2119..9b924681d 100644 --- a/skills/hooks-public/references/hierarchy-module.md +++ b/skills/hooks-public/references/hierarchy-module.md @@ -7,8 +7,8 @@ React Query hooks for HierarchyModule data operations ## Usage ```typescript -useHierarchyModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } } }) -useHierarchyModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } } }) +useHierarchyModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } } }) +useHierarchyModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } } }) useCreateHierarchyModuleMutation({ selection: { fields: { id: true } } }) useUpdateHierarchyModuleMutation({ selection: { fields: { id: true } } }) useDeleteHierarchyModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteHierarchyModuleMutation({}) ```typescript const { data, isLoading } = useHierarchyModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, chartEdgesTableId: true, chartEdgesTableName: true, hierarchySprtTableId: true, hierarchySprtTableName: true, chartEdgeGrantsTableId: true, chartEdgeGrantsTableName: true, entityTableId: true, usersTableId: true, prefix: true, privateSchemaName: true, sprtTableName: true, rebuildHierarchyFunction: true, getSubordinatesFunction: true, getManagersFunction: true, isManagerOfFunction: true, createdAt: true, chartEdgesTableNameTrgmSimilarity: true, hierarchySprtTableNameTrgmSimilarity: true, chartEdgeGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, privateSchemaNameTrgmSimilarity: true, sprtTableNameTrgmSimilarity: true, rebuildHierarchyFunctionTrgmSimilarity: true, getSubordinatesFunctionTrgmSimilarity: true, getManagersFunctionTrgmSimilarity: true, isManagerOfFunctionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useHierarchyModulesQuery({ const { mutate } = useCreateHierarchyModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '', chartEdgesTableNameTrgmSimilarity: '', hierarchySprtTableNameTrgmSimilarity: '', chartEdgeGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', privateSchemaNameTrgmSimilarity: '', sprtTableNameTrgmSimilarity: '', rebuildHierarchyFunctionTrgmSimilarity: '', getSubordinatesFunctionTrgmSimilarity: '', getManagersFunctionTrgmSimilarity: '', isManagerOfFunctionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/index.md b/skills/hooks-public/references/index.md index 59168a9b3..222f08a1a 100644 --- a/skills/hooks-public/references/index.md +++ b/skills/hooks-public/references/index.md @@ -7,8 +7,8 @@ React Query hooks for Index data operations ## Usage ```typescript -useIndicesQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) -useIndexQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) +useIndicesQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useIndexQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateIndexMutation({ selection: { fields: { id: true } } }) useUpdateIndexMutation({ selection: { fields: { id: true } } }) useDeleteIndexMutation({}) @@ -20,7 +20,7 @@ useDeleteIndexMutation({}) ```typescript const { data, isLoading } = useIndicesQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, fieldIds: true, includeFieldIds: true, accessMethod: true, indexParams: true, whereClause: true, isUnique: true, options: true, opClasses: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, accessMethodTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useIndicesQuery({ const { mutate } = useCreateIndexMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', options: '', opClasses: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', accessMethodTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/invite.md b/skills/hooks-public/references/invite.md index 3d968b414..98e0c14a9 100644 --- a/skills/hooks-public/references/invite.md +++ b/skills/hooks-public/references/invite.md @@ -7,8 +7,8 @@ Invitation records sent to prospective members via email, with token-based redem ## Usage ```typescript -useInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } } }) -useInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } } }) +useInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) +useInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) useCreateInviteMutation({ selection: { fields: { id: true } } }) useUpdateInviteMutation({ selection: { fields: { id: true } } }) useDeleteInviteMutation({}) @@ -20,7 +20,7 @@ useDeleteInviteMutation({}) ```typescript const { data, isLoading } = useInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, email: true, senderId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useInvitesQuery({ const { mutate } = useCreateInviteMutation({ selection: { fields: { id: true } }, }); -mutate({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }); +mutate({ email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/invites-module.md b/skills/hooks-public/references/invites-module.md index aba033d2c..bc948cdc3 100644 --- a/skills/hooks-public/references/invites-module.md +++ b/skills/hooks-public/references/invites-module.md @@ -7,8 +7,8 @@ React Query hooks for InvitesModule data operations ## Usage ```typescript -useInvitesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } } }) -useInvitesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } } }) +useInvitesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) +useInvitesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) useCreateInvitesModuleMutation({ selection: { fields: { id: true } } }) useUpdateInvitesModuleMutation({ selection: { fields: { id: true } } }) useDeleteInvitesModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteInvitesModuleMutation({}) ```typescript const { data, isLoading } = useInvitesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, emailsTableId: true, usersTableId: true, invitesTableId: true, claimedInvitesTableId: true, invitesTableName: true, claimedInvitesTableName: true, submitInviteCodeFunction: true, prefix: true, membershipType: true, entityTableId: true, invitesTableNameTrgmSimilarity: true, claimedInvitesTableNameTrgmSimilarity: true, submitInviteCodeFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useInvitesModulesQuery({ const { mutate } = useCreateInvitesModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '', invitesTableNameTrgmSimilarity: '', claimedInvitesTableNameTrgmSimilarity: '', submitInviteCodeFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/levels-module.md b/skills/hooks-public/references/levels-module.md index 33d5426f7..f56a612e5 100644 --- a/skills/hooks-public/references/levels-module.md +++ b/skills/hooks-public/references/levels-module.md @@ -7,8 +7,8 @@ React Query hooks for LevelsModule data operations ## Usage ```typescript -useLevelsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } } }) -useLevelsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } } }) +useLevelsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) +useLevelsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) useCreateLevelsModuleMutation({ selection: { fields: { id: true } } }) useUpdateLevelsModuleMutation({ selection: { fields: { id: true } } }) useDeleteLevelsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteLevelsModuleMutation({}) ```typescript const { data, isLoading } = useLevelsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, stepsTableId: true, stepsTableName: true, achievementsTableId: true, achievementsTableName: true, levelsTableId: true, levelsTableName: true, levelRequirementsTableId: true, levelRequirementsTableName: true, completedStep: true, incompletedStep: true, tgAchievement: true, tgAchievementToggle: true, tgAchievementToggleBoolean: true, tgAchievementBoolean: true, upsertAchievement: true, tgUpdateAchievements: true, stepsRequired: true, levelAchieved: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, stepsTableNameTrgmSimilarity: true, achievementsTableNameTrgmSimilarity: true, levelsTableNameTrgmSimilarity: true, levelRequirementsTableNameTrgmSimilarity: true, completedStepTrgmSimilarity: true, incompletedStepTrgmSimilarity: true, tgAchievementTrgmSimilarity: true, tgAchievementToggleTrgmSimilarity: true, tgAchievementToggleBooleanTrgmSimilarity: true, tgAchievementBooleanTrgmSimilarity: true, upsertAchievementTrgmSimilarity: true, tgUpdateAchievementsTrgmSimilarity: true, stepsRequiredTrgmSimilarity: true, levelAchievedTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useLevelsModulesQuery({ const { mutate } = useCreateLevelsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', stepsTableNameTrgmSimilarity: '', achievementsTableNameTrgmSimilarity: '', levelsTableNameTrgmSimilarity: '', levelRequirementsTableNameTrgmSimilarity: '', completedStepTrgmSimilarity: '', incompletedStepTrgmSimilarity: '', tgAchievementTrgmSimilarity: '', tgAchievementToggleTrgmSimilarity: '', tgAchievementToggleBooleanTrgmSimilarity: '', tgAchievementBooleanTrgmSimilarity: '', upsertAchievementTrgmSimilarity: '', tgUpdateAchievementsTrgmSimilarity: '', stepsRequiredTrgmSimilarity: '', levelAchievedTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/limits-module.md b/skills/hooks-public/references/limits-module.md index ab9ba9668..dd53a31c6 100644 --- a/skills/hooks-public/references/limits-module.md +++ b/skills/hooks-public/references/limits-module.md @@ -7,8 +7,8 @@ React Query hooks for LimitsModule data operations ## Usage ```typescript -useLimitsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } } }) -useLimitsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } } }) +useLimitsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) +useLimitsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) useCreateLimitsModuleMutation({ selection: { fields: { id: true } } }) useUpdateLimitsModuleMutation({ selection: { fields: { id: true } } }) useDeleteLimitsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteLimitsModuleMutation({}) ```typescript const { data, isLoading } = useLimitsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, limitIncrementFunction: true, limitDecrementFunction: true, limitIncrementTrigger: true, limitDecrementTrigger: true, limitUpdateTrigger: true, limitCheckFunction: true, prefix: true, membershipType: true, entityTableId: true, actorTableId: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, limitIncrementFunctionTrgmSimilarity: true, limitDecrementFunctionTrgmSimilarity: true, limitIncrementTriggerTrgmSimilarity: true, limitDecrementTriggerTrgmSimilarity: true, limitUpdateTriggerTrgmSimilarity: true, limitCheckFunctionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useLimitsModulesQuery({ const { mutate } = useCreateLimitsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', limitIncrementFunctionTrgmSimilarity: '', limitDecrementFunctionTrgmSimilarity: '', limitIncrementTriggerTrgmSimilarity: '', limitDecrementTriggerTrgmSimilarity: '', limitUpdateTriggerTrgmSimilarity: '', limitCheckFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/membership-type.md b/skills/hooks-public/references/membership-type.md index d603f30be..690df99dd 100644 --- a/skills/hooks-public/references/membership-type.md +++ b/skills/hooks-public/references/membership-type.md @@ -7,8 +7,8 @@ Defines the different scopes of membership (e.g. App Member, Organization Member ## Usage ```typescript -useMembershipTypesQuery({ selection: { fields: { id: true, name: true, description: true, prefix: true } } }) -useMembershipTypeQuery({ id: '', selection: { fields: { id: true, name: true, description: true, prefix: true } } }) +useMembershipTypesQuery({ selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) +useMembershipTypeQuery({ id: '', selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) useCreateMembershipTypeMutation({ selection: { fields: { id: true } } }) useUpdateMembershipTypeMutation({ selection: { fields: { id: true } } }) useDeleteMembershipTypeMutation({}) @@ -20,7 +20,7 @@ useDeleteMembershipTypeMutation({}) ```typescript const { data, isLoading } = useMembershipTypesQuery({ - selection: { fields: { id: true, name: true, description: true, prefix: true } }, + selection: { fields: { id: true, name: true, description: true, prefix: true, descriptionTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useMembershipTypesQuery({ const { mutate } = useCreateMembershipTypeMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', description: '', prefix: '' }); +mutate({ name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/membership-types-module.md b/skills/hooks-public/references/membership-types-module.md index 816af9c33..568f19d75 100644 --- a/skills/hooks-public/references/membership-types-module.md +++ b/skills/hooks-public/references/membership-types-module.md @@ -7,8 +7,8 @@ React Query hooks for MembershipTypesModule data operations ## Usage ```typescript -useMembershipTypesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } } }) -useMembershipTypesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } } }) +useMembershipTypesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) +useMembershipTypesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) useCreateMembershipTypesModuleMutation({ selection: { fields: { id: true } } }) useUpdateMembershipTypesModuleMutation({ selection: { fields: { id: true } } }) useDeleteMembershipTypesModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteMembershipTypesModuleMutation({}) ```typescript const { data, isLoading } = useMembershipTypesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useMembershipTypesModulesQuery({ const { mutate } = useCreateMembershipTypesModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '' }); +mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/memberships-module.md b/skills/hooks-public/references/memberships-module.md index 2462f3e9b..862b0ea49 100644 --- a/skills/hooks-public/references/memberships-module.md +++ b/skills/hooks-public/references/memberships-module.md @@ -7,8 +7,8 @@ React Query hooks for MembershipsModule data operations ## Usage ```typescript -useMembershipsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } } }) -useMembershipsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } } }) +useMembershipsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } } }) +useMembershipsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } } }) useCreateMembershipsModuleMutation({ selection: { fields: { id: true } } }) useUpdateMembershipsModuleMutation({ selection: { fields: { id: true } } }) useDeleteMembershipsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteMembershipsModuleMutation({}) ```typescript const { data, isLoading } = useMembershipsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, membershipsTableId: true, membershipsTableName: true, membersTableId: true, membersTableName: true, membershipDefaultsTableId: true, membershipDefaultsTableName: true, grantsTableId: true, grantsTableName: true, actorTableId: true, limitsTableId: true, defaultLimitsTableId: true, permissionsTableId: true, defaultPermissionsTableId: true, sprtTableId: true, adminGrantsTableId: true, adminGrantsTableName: true, ownerGrantsTableId: true, ownerGrantsTableName: true, membershipType: true, entityTableId: true, entityTableOwnerId: true, prefix: true, actorMaskCheck: true, actorPermCheck: true, entityIdsByMask: true, entityIdsByPerm: true, entityIdsFunction: true, membershipsTableNameTrgmSimilarity: true, membersTableNameTrgmSimilarity: true, membershipDefaultsTableNameTrgmSimilarity: true, grantsTableNameTrgmSimilarity: true, adminGrantsTableNameTrgmSimilarity: true, ownerGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, actorMaskCheckTrgmSimilarity: true, actorPermCheckTrgmSimilarity: true, entityIdsByMaskTrgmSimilarity: true, entityIdsByPermTrgmSimilarity: true, entityIdsFunctionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useMembershipsModulesQuery({ const { mutate } = useCreateMembershipsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '', membershipsTableNameTrgmSimilarity: '', membersTableNameTrgmSimilarity: '', membershipDefaultsTableNameTrgmSimilarity: '', grantsTableNameTrgmSimilarity: '', adminGrantsTableNameTrgmSimilarity: '', ownerGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', actorMaskCheckTrgmSimilarity: '', actorPermCheckTrgmSimilarity: '', entityIdsByMaskTrgmSimilarity: '', entityIdsByPermTrgmSimilarity: '', entityIdsFunctionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/node-type-registry.md b/skills/hooks-public/references/node-type-registry.md index 463fc0827..30031899a 100644 --- a/skills/hooks-public/references/node-type-registry.md +++ b/skills/hooks-public/references/node-type-registry.md @@ -7,8 +7,8 @@ Registry of high-level semantic AST node types using domain-prefixed naming. The ## Usage ```typescript -useNodeTypeRegistriesQuery({ selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } } }) -useNodeTypeRegistryQuery({ name: '', selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } } }) +useNodeTypeRegistriesQuery({ selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useNodeTypeRegistryQuery({ name: '', selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateNodeTypeRegistryMutation({ selection: { fields: { name: true } } }) useUpdateNodeTypeRegistryMutation({ selection: { fields: { name: true } } }) useDeleteNodeTypeRegistryMutation({}) @@ -20,7 +20,7 @@ useDeleteNodeTypeRegistryMutation({}) ```typescript const { data, isLoading } = useNodeTypeRegistriesQuery({ - selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { name: true, slug: true, category: true, displayName: true, description: true, parameterSchema: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, slugTrgmSimilarity: true, categoryTrgmSimilarity: true, displayNameTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useNodeTypeRegistriesQuery({ const { mutate } = useCreateNodeTypeRegistryMutation({ selection: { fields: { name: true } }, }); -mutate({ slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '' }); +mutate({ slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '', nameTrgmSimilarity: '', slugTrgmSimilarity: '', categoryTrgmSimilarity: '', displayNameTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/org-chart-edge-grant.md b/skills/hooks-public/references/org-chart-edge-grant.md index 89e9aa996..7c0f6837b 100644 --- a/skills/hooks-public/references/org-chart-edge-grant.md +++ b/skills/hooks-public/references/org-chart-edge-grant.md @@ -7,8 +7,8 @@ Append-only log of hierarchy edge grants and revocations; triggers apply changes ## Usage ```typescript -useOrgChartEdgeGrantsQuery({ selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } } }) -useOrgChartEdgeGrantQuery({ id: '', selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } } }) +useOrgChartEdgeGrantsQuery({ selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) +useOrgChartEdgeGrantQuery({ id: '', selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) useCreateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } } }) useUpdateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } } }) useDeleteOrgChartEdgeGrantMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgChartEdgeGrantMutation({}) ```typescript const { data, isLoading } = useOrgChartEdgeGrantsQuery({ - selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true } }, + selection: { fields: { id: true, entityId: true, childId: true, parentId: true, grantorId: true, isGrant: true, positionTitle: true, positionLevel: true, createdAt: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgChartEdgeGrantsQuery({ const { mutate } = useCreateOrgChartEdgeGrantMutation({ selection: { fields: { id: true } }, }); -mutate({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }); +mutate({ entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/org-chart-edge.md b/skills/hooks-public/references/org-chart-edge.md index c2c1e4e01..e01a776e5 100644 --- a/skills/hooks-public/references/org-chart-edge.md +++ b/skills/hooks-public/references/org-chart-edge.md @@ -7,8 +7,8 @@ Organizational chart edges defining parent-child reporting relationships between ## Usage ```typescript -useOrgChartEdgesQuery({ selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } } }) -useOrgChartEdgeQuery({ id: '', selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } } }) +useOrgChartEdgesQuery({ selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) +useOrgChartEdgeQuery({ id: '', selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } } }) useCreateOrgChartEdgeMutation({ selection: { fields: { id: true } } }) useUpdateOrgChartEdgeMutation({ selection: { fields: { id: true } } }) useDeleteOrgChartEdgeMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgChartEdgeMutation({}) ```typescript const { data, isLoading } = useOrgChartEdgesQuery({ - selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true } }, + selection: { fields: { id: true, createdAt: true, updatedAt: true, entityId: true, childId: true, parentId: true, positionTitle: true, positionLevel: true, positionTitleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgChartEdgesQuery({ const { mutate } = useCreateOrgChartEdgeMutation({ selection: { fields: { id: true } }, }); -mutate({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }); +mutate({ entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/org-invite.md b/skills/hooks-public/references/org-invite.md index 7f42032c5..3ac8c476d 100644 --- a/skills/hooks-public/references/org-invite.md +++ b/skills/hooks-public/references/org-invite.md @@ -7,8 +7,8 @@ Invitation records sent to prospective members via email, with token-based redem ## Usage ```typescript -useOrgInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } } }) -useOrgInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } } }) +useOrgInvitesQuery({ selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) +useOrgInviteQuery({ id: '', selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } } }) useCreateOrgInviteMutation({ selection: { fields: { id: true } } }) useUpdateOrgInviteMutation({ selection: { fields: { id: true } } }) useDeleteOrgInviteMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgInviteMutation({}) ```typescript const { data, isLoading } = useOrgInvitesQuery({ - selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true } }, + selection: { fields: { id: true, email: true, senderId: true, receiverId: true, inviteToken: true, inviteValid: true, inviteLimit: true, inviteCount: true, multiple: true, data: true, expiresAt: true, createdAt: true, updatedAt: true, entityId: true, inviteTokenTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgInvitesQuery({ const { mutate } = useCreateOrgInviteMutation({ selection: { fields: { id: true } }, }); -mutate({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }); +mutate({ email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/org-permission.md b/skills/hooks-public/references/org-permission.md index fed780e55..575b4d73a 100644 --- a/skills/hooks-public/references/org-permission.md +++ b/skills/hooks-public/references/org-permission.md @@ -7,8 +7,8 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ## Usage ```typescript -useOrgPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) -useOrgPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } } }) +useOrgPermissionsQuery({ selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useOrgPermissionQuery({ id: '', selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateOrgPermissionMutation({ selection: { fields: { id: true } } }) useUpdateOrgPermissionMutation({ selection: { fields: { id: true } } }) useDeleteOrgPermissionMutation({}) @@ -20,7 +20,7 @@ useDeleteOrgPermissionMutation({}) ```typescript const { data, isLoading } = useOrgPermissionsQuery({ - selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true } }, + selection: { fields: { id: true, name: true, bitnum: true, bitstr: true, description: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useOrgPermissionsQuery({ const { mutate } = useCreateOrgPermissionMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', bitnum: '', bitstr: '', description: '' }); +mutate({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/permissions-module.md b/skills/hooks-public/references/permissions-module.md index 026dfa5bb..0c03a733a 100644 --- a/skills/hooks-public/references/permissions-module.md +++ b/skills/hooks-public/references/permissions-module.md @@ -7,8 +7,8 @@ React Query hooks for PermissionsModule data operations ## Usage ```typescript -usePermissionsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } } }) -usePermissionsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } } }) +usePermissionsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } } }) +usePermissionsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } } }) useCreatePermissionsModuleMutation({ selection: { fields: { id: true } } }) useUpdatePermissionsModuleMutation({ selection: { fields: { id: true } } }) useDeletePermissionsModuleMutation({}) @@ -20,7 +20,7 @@ useDeletePermissionsModuleMutation({}) ```typescript const { data, isLoading } = usePermissionsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, defaultTableId: true, defaultTableName: true, bitlen: true, membershipType: true, entityTableId: true, actorTableId: true, prefix: true, getPaddedMask: true, getMask: true, getByMask: true, getMaskByName: true, tableNameTrgmSimilarity: true, defaultTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, getPaddedMaskTrgmSimilarity: true, getMaskTrgmSimilarity: true, getByMaskTrgmSimilarity: true, getMaskByNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = usePermissionsModulesQuery({ const { mutate } = useCreatePermissionsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', getPaddedMaskTrgmSimilarity: '', getMaskTrgmSimilarity: '', getByMaskTrgmSimilarity: '', getMaskByNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/phone-number.md b/skills/hooks-public/references/phone-number.md index 0ce6e26c1..46602ec62 100644 --- a/skills/hooks-public/references/phone-number.md +++ b/skills/hooks-public/references/phone-number.md @@ -7,8 +7,8 @@ User phone numbers with country code, verification, and primary-number managemen ## Usage ```typescript -usePhoneNumbersQuery({ selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) -usePhoneNumberQuery({ id: '', selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } } }) +usePhoneNumbersQuery({ selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } } }) +usePhoneNumberQuery({ id: '', selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } } }) useCreatePhoneNumberMutation({ selection: { fields: { id: true } } }) useUpdatePhoneNumberMutation({ selection: { fields: { id: true } } }) useDeletePhoneNumberMutation({}) @@ -20,7 +20,7 @@ useDeletePhoneNumberMutation({}) ```typescript const { data, isLoading } = usePhoneNumbersQuery({ - selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, ownerId: true, cc: true, number: true, isVerified: true, isPrimary: true, createdAt: true, updatedAt: true, ccTrgmSimilarity: true, numberTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = usePhoneNumbersQuery({ const { mutate } = useCreatePhoneNumberMutation({ selection: { fields: { id: true } }, }); -mutate({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }); +mutate({ ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/phone-numbers-module.md b/skills/hooks-public/references/phone-numbers-module.md index ca8402f01..941288167 100644 --- a/skills/hooks-public/references/phone-numbers-module.md +++ b/skills/hooks-public/references/phone-numbers-module.md @@ -7,8 +7,8 @@ React Query hooks for PhoneNumbersModule data operations ## Usage ```typescript -usePhoneNumbersModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } } }) -usePhoneNumbersModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } } }) +usePhoneNumbersModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) +usePhoneNumbersModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) useCreatePhoneNumbersModuleMutation({ selection: { fields: { id: true } } }) useUpdatePhoneNumbersModuleMutation({ selection: { fields: { id: true } } }) useDeletePhoneNumbersModuleMutation({}) @@ -20,7 +20,7 @@ useDeletePhoneNumbersModuleMutation({}) ```typescript const { data, isLoading } = usePhoneNumbersModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = usePhoneNumbersModulesQuery({ const { mutate } = useCreatePhoneNumbersModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/policy.md b/skills/hooks-public/references/policy.md index 93390d47b..37492d23c 100644 --- a/skills/hooks-public/references/policy.md +++ b/skills/hooks-public/references/policy.md @@ -7,8 +7,8 @@ React Query hooks for Policy data operations ## Usage ```typescript -usePoliciesQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) -usePolicyQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) +usePoliciesQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +usePolicyQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreatePolicyMutation({ selection: { fields: { id: true } } }) useUpdatePolicyMutation({ selection: { fields: { id: true } } }) useDeletePolicyMutation({}) @@ -20,7 +20,7 @@ useDeletePolicyMutation({}) ```typescript const { data, isLoading } = usePoliciesQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, granteeName: true, privilege: true, permissive: true, disabled: true, policyType: true, data: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = usePoliciesQuery({ const { mutate } = useCreatePolicyMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/primary-key-constraint.md b/skills/hooks-public/references/primary-key-constraint.md index 89d9bf465..4d7c23488 100644 --- a/skills/hooks-public/references/primary-key-constraint.md +++ b/skills/hooks-public/references/primary-key-constraint.md @@ -7,8 +7,8 @@ React Query hooks for PrimaryKeyConstraint data operations ## Usage ```typescript -usePrimaryKeyConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) -usePrimaryKeyConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) +usePrimaryKeyConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +usePrimaryKeyConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreatePrimaryKeyConstraintMutation({ selection: { fields: { id: true } } }) useUpdatePrimaryKeyConstraintMutation({ selection: { fields: { id: true } } }) useDeletePrimaryKeyConstraintMutation({}) @@ -20,7 +20,7 @@ useDeletePrimaryKeyConstraintMutation({}) ```typescript const { data, isLoading } = usePrimaryKeyConstraintsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, type: true, fieldIds: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = usePrimaryKeyConstraintsQuery({ const { mutate } = useCreatePrimaryKeyConstraintMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/profiles-module.md b/skills/hooks-public/references/profiles-module.md index 6f1a6eaac..e3a8654da 100644 --- a/skills/hooks-public/references/profiles-module.md +++ b/skills/hooks-public/references/profiles-module.md @@ -7,8 +7,8 @@ React Query hooks for ProfilesModule data operations ## Usage ```typescript -useProfilesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } } }) -useProfilesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } } }) +useProfilesModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) +useProfilesModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } } }) useCreateProfilesModuleMutation({ selection: { fields: { id: true } } }) useUpdateProfilesModuleMutation({ selection: { fields: { id: true } } }) useDeleteProfilesModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteProfilesModuleMutation({}) ```typescript const { data, isLoading } = useProfilesModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, tableName: true, profilePermissionsTableId: true, profilePermissionsTableName: true, profileGrantsTableId: true, profileGrantsTableName: true, profileDefinitionGrantsTableId: true, profileDefinitionGrantsTableName: true, membershipType: true, entityTableId: true, actorTableId: true, permissionsTableId: true, membershipsTableId: true, prefix: true, tableNameTrgmSimilarity: true, profilePermissionsTableNameTrgmSimilarity: true, profileGrantsTableNameTrgmSimilarity: true, profileDefinitionGrantsTableNameTrgmSimilarity: true, prefixTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useProfilesModulesQuery({ const { mutate } = useCreateProfilesModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '', tableNameTrgmSimilarity: '', profilePermissionsTableNameTrgmSimilarity: '', profileGrantsTableNameTrgmSimilarity: '', profileDefinitionGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/ref.md b/skills/hooks-public/references/ref.md index d8b3b24c7..5e0612a30 100644 --- a/skills/hooks-public/references/ref.md +++ b/skills/hooks-public/references/ref.md @@ -7,8 +7,8 @@ A ref is a data structure for pointing to a commit. ## Usage ```typescript -useRefsQuery({ selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } } }) -useRefQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } } }) +useRefsQuery({ selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } } }) +useRefQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } } }) useCreateRefMutation({ selection: { fields: { id: true } } }) useUpdateRefMutation({ selection: { fields: { id: true } } }) useDeleteRefMutation({}) @@ -20,7 +20,7 @@ useDeleteRefMutation({}) ```typescript const { data, isLoading } = useRefsQuery({ - selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true } }, + selection: { fields: { id: true, name: true, databaseId: true, storeId: true, commitId: true, nameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useRefsQuery({ const { mutate } = useCreateRefMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', databaseId: '', storeId: '', commitId: '' }); +mutate({ name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/relation-provision.md b/skills/hooks-public/references/relation-provision.md index 4c6d4bc38..623884631 100644 --- a/skills/hooks-public/references/relation-provision.md +++ b/skills/hooks-public/references/relation-provision.md @@ -14,8 +14,8 @@ Provisions relational structure between tables. Supports four relation types: ## Usage ```typescript -useRelationProvisionsQuery({ selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } } }) -useRelationProvisionQuery({ id: '', selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } } }) +useRelationProvisionsQuery({ selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } } }) +useRelationProvisionQuery({ id: '', selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } } }) useCreateRelationProvisionMutation({ selection: { fields: { id: true } } }) useUpdateRelationProvisionMutation({ selection: { fields: { id: true } } }) useDeleteRelationProvisionMutation({}) @@ -27,7 +27,7 @@ useDeleteRelationProvisionMutation({}) ```typescript const { data, isLoading } = useRelationProvisionsQuery({ - selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true } }, + selection: { fields: { id: true, databaseId: true, relationType: true, sourceTableId: true, targetTableId: true, fieldName: true, deleteAction: true, isRequired: true, junctionTableId: true, junctionTableName: true, junctionSchemaId: true, sourceFieldName: true, targetFieldName: true, useCompositeKey: true, nodeType: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFieldId: true, outJunctionTableId: true, outSourceFieldId: true, outTargetFieldId: true, relationTypeTrgmSimilarity: true, fieldNameTrgmSimilarity: true, deleteActionTrgmSimilarity: true, junctionTableNameTrgmSimilarity: true, sourceFieldNameTrgmSimilarity: true, targetFieldNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -37,5 +37,5 @@ const { data, isLoading } = useRelationProvisionsQuery({ const { mutate } = useCreateRelationProvisionMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '' }); +mutate({ databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '', relationTypeTrgmSimilarity: '', fieldNameTrgmSimilarity: '', deleteActionTrgmSimilarity: '', junctionTableNameTrgmSimilarity: '', sourceFieldNameTrgmSimilarity: '', targetFieldNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/rls-module.md b/skills/hooks-public/references/rls-module.md index b5a36de0b..ad165868d 100644 --- a/skills/hooks-public/references/rls-module.md +++ b/skills/hooks-public/references/rls-module.md @@ -7,8 +7,8 @@ React Query hooks for RlsModule data operations ## Usage ```typescript -useRlsModulesQuery({ selection: { fields: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } } }) -useRlsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } } }) +useRlsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } } }) +useRlsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } } }) useCreateRlsModuleMutation({ selection: { fields: { id: true } } }) useUpdateRlsModuleMutation({ selection: { fields: { id: true } } }) useDeleteRlsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteRlsModuleMutation({}) ```typescript const { data, isLoading } = useRlsModulesQuery({ - selection: { fields: { id: true, databaseId: true, apiId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, sessionCredentialsTableId: true, sessionsTableId: true, usersTableId: true, authenticate: true, authenticateStrict: true, currentRole: true, currentRoleId: true, authenticateTrgmSimilarity: true, authenticateStrictTrgmSimilarity: true, currentRoleTrgmSimilarity: true, currentRoleIdTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useRlsModulesQuery({ const { mutate } = useCreateRlsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', apiId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '', authenticateTrgmSimilarity: '', authenticateStrictTrgmSimilarity: '', currentRoleTrgmSimilarity: '', currentRoleIdTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/schema-grant.md b/skills/hooks-public/references/schema-grant.md index 253b69a09..7b1d1926d 100644 --- a/skills/hooks-public/references/schema-grant.md +++ b/skills/hooks-public/references/schema-grant.md @@ -7,8 +7,8 @@ React Query hooks for SchemaGrant data operations ## Usage ```typescript -useSchemaGrantsQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } } }) -useSchemaGrantQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } } }) +useSchemaGrantsQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } } }) +useSchemaGrantQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } } }) useCreateSchemaGrantMutation({ selection: { fields: { id: true } } }) useUpdateSchemaGrantMutation({ selection: { fields: { id: true } } }) useDeleteSchemaGrantMutation({}) @@ -20,7 +20,7 @@ useDeleteSchemaGrantMutation({}) ```typescript const { data, isLoading } = useSchemaGrantsQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, granteeName: true, createdAt: true, updatedAt: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSchemaGrantsQuery({ const { mutate } = useCreateSchemaGrantMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', granteeName: '' }); +mutate({ databaseId: '', schemaId: '', granteeName: '', granteeNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/schema.md b/skills/hooks-public/references/schema.md index ad8f9bc26..c899e81b0 100644 --- a/skills/hooks-public/references/schema.md +++ b/skills/hooks-public/references/schema.md @@ -7,8 +7,8 @@ React Query hooks for Schema data operations ## Usage ```typescript -useSchemasQuery({ selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } } }) -useSchemaQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } } }) +useSchemasQuery({ selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useSchemaQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateSchemaMutation({ selection: { fields: { id: true } } }) useUpdateSchemaMutation({ selection: { fields: { id: true } } }) useDeleteSchemaMutation({}) @@ -20,7 +20,7 @@ useDeleteSchemaMutation({}) ```typescript const { data, isLoading } = useSchemasQuery({ - selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, name: true, schemaName: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, tags: true, isPublic: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, schemaNameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSchemasQuery({ const { mutate } = useCreateSchemaMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '' }); +mutate({ databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '', nameTrgmSimilarity: '', schemaNameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/secrets-module.md b/skills/hooks-public/references/secrets-module.md index 8146024dc..ccb116b40 100644 --- a/skills/hooks-public/references/secrets-module.md +++ b/skills/hooks-public/references/secrets-module.md @@ -7,8 +7,8 @@ React Query hooks for SecretsModule data operations ## Usage ```typescript -useSecretsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } } }) -useSecretsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } } }) +useSecretsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) +useSecretsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } } }) useCreateSecretsModuleMutation({ selection: { fields: { id: true } } }) useUpdateSecretsModuleMutation({ selection: { fields: { id: true } } }) useDeleteSecretsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteSecretsModuleMutation({}) ```typescript const { data, isLoading } = useSecretsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, tableNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSecretsModulesQuery({ const { mutate } = useCreateSecretsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '' }); +mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/secure-table-provision.md b/skills/hooks-public/references/secure-table-provision.md index ba4f77f79..32af8cb29 100644 --- a/skills/hooks-public/references/secure-table-provision.md +++ b/skills/hooks-public/references/secure-table-provision.md @@ -7,8 +7,8 @@ Provisions security, fields, grants, and policies onto a table. Each row can ind ## Usage ```typescript -useSecureTableProvisionsQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } } }) -useSecureTableProvisionQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } } }) +useSecureTableProvisionsQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } } }) +useSecureTableProvisionQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } } }) useCreateSecureTableProvisionMutation({ selection: { fields: { id: true } } }) useUpdateSecureTableProvisionMutation({ selection: { fields: { id: true } } }) useDeleteSecureTableProvisionMutation({}) @@ -20,7 +20,7 @@ useDeleteSecureTableProvisionMutation({}) ```typescript const { data, isLoading } = useSecureTableProvisionsQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, nodeType: true, useRls: true, nodeData: true, fields: true, grantRoles: true, grantPrivileges: true, policyType: true, policyPrivileges: true, policyRole: true, policyPermissive: true, policyName: true, policyData: true, outFields: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, policyTypeTrgmSimilarity: true, policyRoleTrgmSimilarity: true, policyNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSecureTableProvisionsQuery({ const { mutate } = useCreateSecureTableProvisionMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '' }); +mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', fields: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/sessions-module.md b/skills/hooks-public/references/sessions-module.md index 51c5d9ffd..527eec255 100644 --- a/skills/hooks-public/references/sessions-module.md +++ b/skills/hooks-public/references/sessions-module.md @@ -7,8 +7,8 @@ React Query hooks for SessionsModule data operations ## Usage ```typescript -useSessionsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } } }) -useSessionsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } } }) +useSessionsModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } } }) +useSessionsModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } } }) useCreateSessionsModuleMutation({ selection: { fields: { id: true } } }) useUpdateSessionsModuleMutation({ selection: { fields: { id: true } } }) useDeleteSessionsModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteSessionsModuleMutation({}) ```typescript const { data, isLoading } = useSessionsModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, sessionsTableId: true, sessionCredentialsTableId: true, authSettingsTableId: true, usersTableId: true, sessionsDefaultExpiration: true, sessionsTable: true, sessionCredentialsTable: true, authSettingsTable: true, sessionsTableTrgmSimilarity: true, sessionCredentialsTableTrgmSimilarity: true, authSettingsTableTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSessionsModulesQuery({ const { mutate } = useCreateSessionsModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '' }); +mutate({ databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '', sessionsTableTrgmSimilarity: '', sessionCredentialsTableTrgmSimilarity: '', authSettingsTableTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/site-metadatum.md b/skills/hooks-public/references/site-metadatum.md index c9ae077bc..9302941fb 100644 --- a/skills/hooks-public/references/site-metadatum.md +++ b/skills/hooks-public/references/site-metadatum.md @@ -7,8 +7,8 @@ SEO and social sharing metadata for a site: page title, description, and Open Gr ## Usage ```typescript -useSiteMetadataQuery({ selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } } }) -useSiteMetadatumQuery({ id: '', selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } } }) +useSiteMetadataQuery({ selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } } }) +useSiteMetadatumQuery({ id: '', selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } } }) useCreateSiteMetadatumMutation({ selection: { fields: { id: true } } }) useUpdateSiteMetadatumMutation({ selection: { fields: { id: true } } }) useDeleteSiteMetadatumMutation({}) @@ -20,7 +20,7 @@ useDeleteSiteMetadatumMutation({}) ```typescript const { data, isLoading } = useSiteMetadataQuery({ - selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, title: true, description: true, ogImage: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSiteMetadataQuery({ const { mutate } = useCreateSiteMetadatumMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', siteId: '', title: '', description: '', ogImage: '' }); +mutate({ databaseId: '', siteId: '', title: '', description: '', ogImage: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/site-module.md b/skills/hooks-public/references/site-module.md index 144ac3db3..9fd067189 100644 --- a/skills/hooks-public/references/site-module.md +++ b/skills/hooks-public/references/site-module.md @@ -7,8 +7,8 @@ Site-level module configuration; stores module name and JSON settings used by th ## Usage ```typescript -useSiteModulesQuery({ selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true } } }) -useSiteModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true } } }) +useSiteModulesQuery({ selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } } }) +useSiteModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } } }) useCreateSiteModuleMutation({ selection: { fields: { id: true } } }) useUpdateSiteModuleMutation({ selection: { fields: { id: true } } }) useDeleteSiteModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteSiteModuleMutation({}) ```typescript const { data, isLoading } = useSiteModulesQuery({ - selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true } }, + selection: { fields: { id: true, databaseId: true, siteId: true, name: true, data: true, nameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSiteModulesQuery({ const { mutate } = useCreateSiteModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', siteId: '', name: '', data: '' }); +mutate({ databaseId: '', siteId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/site.md b/skills/hooks-public/references/site.md index d622de95b..9d63dd278 100644 --- a/skills/hooks-public/references/site.md +++ b/skills/hooks-public/references/site.md @@ -7,8 +7,8 @@ Top-level site configuration: branding assets, title, and description for a depl ## Usage ```typescript -useSitesQuery({ selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } } }) -useSiteQuery({ id: '', selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } } }) +useSitesQuery({ selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } } }) +useSiteQuery({ id: '', selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } } }) useCreateSiteMutation({ selection: { fields: { id: true } } }) useUpdateSiteMutation({ selection: { fields: { id: true } } }) useDeleteSiteMutation({}) @@ -20,7 +20,7 @@ useDeleteSiteMutation({}) ```typescript const { data, isLoading } = useSitesQuery({ - selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true } }, + selection: { fields: { id: true, databaseId: true, title: true, description: true, ogImage: true, favicon: true, appleTouchIcon: true, logo: true, dbname: true, titleTrgmSimilarity: true, descriptionTrgmSimilarity: true, dbnameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSitesQuery({ const { mutate } = useCreateSiteMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '' }); +mutate({ databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', dbnameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/sql-migration.md b/skills/hooks-public/references/sql-migration.md index 62b6eea24..3bb10f1c1 100644 --- a/skills/hooks-public/references/sql-migration.md +++ b/skills/hooks-public/references/sql-migration.md @@ -7,8 +7,8 @@ React Query hooks for SqlMigration data operations ## Usage ```typescript -useSqlMigrationsQuery({ selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } } }) -useSqlMigrationQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } } }) +useSqlMigrationsQuery({ selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } } }) +useSqlMigrationQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } } }) useCreateSqlMigrationMutation({ selection: { fields: { id: true } } }) useUpdateSqlMigrationMutation({ selection: { fields: { id: true } } }) useDeleteSqlMigrationMutation({}) @@ -20,7 +20,7 @@ useDeleteSqlMigrationMutation({}) ```typescript const { data, isLoading } = useSqlMigrationsQuery({ - selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true } }, + selection: { fields: { id: true, name: true, databaseId: true, deploy: true, deps: true, payload: true, content: true, revert: true, verify: true, createdAt: true, action: true, actionId: true, actorId: true, nameTrgmSimilarity: true, deployTrgmSimilarity: true, contentTrgmSimilarity: true, revertTrgmSimilarity: true, verifyTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useSqlMigrationsQuery({ const { mutate } = useCreateSqlMigrationMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }); +mutate({ name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '', nameTrgmSimilarity: '', deployTrgmSimilarity: '', contentTrgmSimilarity: '', revertTrgmSimilarity: '', verifyTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/store.md b/skills/hooks-public/references/store.md index 07e008520..a7f21de95 100644 --- a/skills/hooks-public/references/store.md +++ b/skills/hooks-public/references/store.md @@ -7,8 +7,8 @@ A store represents an isolated object repository within a database. ## Usage ```typescript -useStoresQuery({ selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } } }) -useStoreQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } } }) +useStoresQuery({ selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } } }) +useStoreQuery({ id: '', selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } } }) useCreateStoreMutation({ selection: { fields: { id: true } } }) useUpdateStoreMutation({ selection: { fields: { id: true } } }) useDeleteStoreMutation({}) @@ -20,7 +20,7 @@ useDeleteStoreMutation({}) ```typescript const { data, isLoading } = useStoresQuery({ - selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true } }, + selection: { fields: { id: true, name: true, databaseId: true, hash: true, createdAt: true, nameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useStoresQuery({ const { mutate } = useCreateStoreMutation({ selection: { fields: { id: true } }, }); -mutate({ name: '', databaseId: '', hash: '' }); +mutate({ name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/table-grant.md b/skills/hooks-public/references/table-grant.md index e05d6635d..e20a7ff50 100644 --- a/skills/hooks-public/references/table-grant.md +++ b/skills/hooks-public/references/table-grant.md @@ -7,8 +7,8 @@ React Query hooks for TableGrant data operations ## Usage ```typescript -useTableGrantsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } } }) -useTableGrantQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } } }) +useTableGrantsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } } }) +useTableGrantQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } } }) useCreateTableGrantMutation({ selection: { fields: { id: true } } }) useUpdateTableGrantMutation({ selection: { fields: { id: true } } }) useDeleteTableGrantMutation({}) @@ -20,7 +20,7 @@ useDeleteTableGrantMutation({}) ```typescript const { data, isLoading } = useTableGrantsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, privilege: true, granteeName: true, fieldIds: true, isGrant: true, createdAt: true, updatedAt: true, privilegeTrgmSimilarity: true, granteeNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useTableGrantsQuery({ const { mutate } = useCreateTableGrantMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '' }); +mutate({ databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/table-template-module.md b/skills/hooks-public/references/table-template-module.md index cda37ff35..6e420fd15 100644 --- a/skills/hooks-public/references/table-template-module.md +++ b/skills/hooks-public/references/table-template-module.md @@ -7,8 +7,8 @@ React Query hooks for TableTemplateModule data operations ## Usage ```typescript -useTableTemplateModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } } }) -useTableTemplateModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } } }) +useTableTemplateModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } } }) +useTableTemplateModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } } }) useCreateTableTemplateModuleMutation({ selection: { fields: { id: true } } }) useUpdateTableTemplateModuleMutation({ selection: { fields: { id: true } } }) useDeleteTableTemplateModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteTableTemplateModuleMutation({}) ```typescript const { data, isLoading } = useTableTemplateModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, tableId: true, ownerTableId: true, tableName: true, nodeType: true, data: true, tableNameTrgmSimilarity: true, nodeTypeTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useTableTemplateModulesQuery({ const { mutate } = useCreateTableTemplateModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '' }); +mutate({ databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/table.md b/skills/hooks-public/references/table.md index 963c4c5e0..e7ed2f7eb 100644 --- a/skills/hooks-public/references/table.md +++ b/skills/hooks-public/references/table.md @@ -7,8 +7,8 @@ React Query hooks for Table data operations ## Usage ```typescript -useTablesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } } }) -useTableQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } } }) +useTablesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } } }) +useTableQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } } }) useCreateTableMutation({ selection: { fields: { id: true } } }) useUpdateTableMutation({ selection: { fields: { id: true } } }) useDeleteTableMutation({}) @@ -20,7 +20,7 @@ useDeleteTableMutation({}) ```typescript const { data, isLoading } = useTablesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, label: true, description: true, smartTags: true, category: true, module: true, scope: true, useRls: true, timestamps: true, peoplestamps: true, pluralName: true, singularName: true, tags: true, inheritsId: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, labelTrgmSimilarity: true, descriptionTrgmSimilarity: true, moduleTrgmSimilarity: true, pluralNameTrgmSimilarity: true, singularNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useTablesQuery({ const { mutate } = useCreateTableMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '' }); +mutate({ databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', pluralNameTrgmSimilarity: '', singularNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/trigger-function.md b/skills/hooks-public/references/trigger-function.md index 9f9063368..aeb88b4b9 100644 --- a/skills/hooks-public/references/trigger-function.md +++ b/skills/hooks-public/references/trigger-function.md @@ -7,8 +7,8 @@ React Query hooks for TriggerFunction data operations ## Usage ```typescript -useTriggerFunctionsQuery({ selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } } }) -useTriggerFunctionQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } } }) +useTriggerFunctionsQuery({ selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } } }) +useTriggerFunctionQuery({ id: '', selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } } }) useCreateTriggerFunctionMutation({ selection: { fields: { id: true } } }) useUpdateTriggerFunctionMutation({ selection: { fields: { id: true } } }) useDeleteTriggerFunctionMutation({}) @@ -20,7 +20,7 @@ useDeleteTriggerFunctionMutation({}) ```typescript const { data, isLoading } = useTriggerFunctionsQuery({ - selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, name: true, code: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, codeTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useTriggerFunctionsQuery({ const { mutate } = useCreateTriggerFunctionMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', name: '', code: '' }); +mutate({ databaseId: '', name: '', code: '', nameTrgmSimilarity: '', codeTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/trigger.md b/skills/hooks-public/references/trigger.md index faed2e09c..eecb2cb31 100644 --- a/skills/hooks-public/references/trigger.md +++ b/skills/hooks-public/references/trigger.md @@ -7,8 +7,8 @@ React Query hooks for Trigger data operations ## Usage ```typescript -useTriggersQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) -useTriggerQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) +useTriggersQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useTriggerQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateTriggerMutation({ selection: { fields: { id: true } } }) useUpdateTriggerMutation({ selection: { fields: { id: true } } }) useDeleteTriggerMutation({}) @@ -20,7 +20,7 @@ useDeleteTriggerMutation({}) ```typescript const { data, isLoading } = useTriggersQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, event: true, functionName: true, smartTags: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, functionNameTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useTriggersQuery({ const { mutate } = useCreateTriggerMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', functionNameTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/unique-constraint.md b/skills/hooks-public/references/unique-constraint.md index 0757bb6f2..fcab96a9d 100644 --- a/skills/hooks-public/references/unique-constraint.md +++ b/skills/hooks-public/references/unique-constraint.md @@ -7,8 +7,8 @@ React Query hooks for UniqueConstraint data operations ## Usage ```typescript -useUniqueConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) -useUniqueConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } } }) +useUniqueConstraintsQuery({ selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useUniqueConstraintQuery({ id: '', selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateUniqueConstraintMutation({ selection: { fields: { id: true } } }) useUpdateUniqueConstraintMutation({ selection: { fields: { id: true } } }) useDeleteUniqueConstraintMutation({}) @@ -20,7 +20,7 @@ useDeleteUniqueConstraintMutation({}) ```typescript const { data, isLoading } = useUniqueConstraintsQuery({ - selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true } }, + selection: { fields: { id: true, databaseId: true, tableId: true, name: true, description: true, smartTags: true, type: true, fieldIds: true, category: true, module: true, scope: true, tags: true, createdAt: true, updatedAt: true, nameTrgmSimilarity: true, descriptionTrgmSimilarity: true, typeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useUniqueConstraintsQuery({ const { mutate } = useCreateUniqueConstraintMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/user-auth-module.md b/skills/hooks-public/references/user-auth-module.md index 5a24f49f1..284de107a 100644 --- a/skills/hooks-public/references/user-auth-module.md +++ b/skills/hooks-public/references/user-auth-module.md @@ -7,8 +7,8 @@ React Query hooks for UserAuthModule data operations ## Usage ```typescript -useUserAuthModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } } }) -useUserAuthModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } } }) +useUserAuthModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } } }) +useUserAuthModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } } }) useCreateUserAuthModuleMutation({ selection: { fields: { id: true } } }) useUpdateUserAuthModuleMutation({ selection: { fields: { id: true } } }) useDeleteUserAuthModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteUserAuthModuleMutation({}) ```typescript const { data, isLoading } = useUserAuthModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, emailsTableId: true, usersTableId: true, secretsTableId: true, encryptedTableId: true, sessionsTableId: true, sessionCredentialsTableId: true, auditsTableId: true, auditsTableName: true, signInFunction: true, signUpFunction: true, signOutFunction: true, setPasswordFunction: true, resetPasswordFunction: true, forgotPasswordFunction: true, sendVerificationEmailFunction: true, verifyEmailFunction: true, verifyPasswordFunction: true, checkPasswordFunction: true, sendAccountDeletionEmailFunction: true, deleteAccountFunction: true, signInOneTimeTokenFunction: true, oneTimeTokenFunction: true, extendTokenExpires: true, auditsTableNameTrgmSimilarity: true, signInFunctionTrgmSimilarity: true, signUpFunctionTrgmSimilarity: true, signOutFunctionTrgmSimilarity: true, setPasswordFunctionTrgmSimilarity: true, resetPasswordFunctionTrgmSimilarity: true, forgotPasswordFunctionTrgmSimilarity: true, sendVerificationEmailFunctionTrgmSimilarity: true, verifyEmailFunctionTrgmSimilarity: true, verifyPasswordFunctionTrgmSimilarity: true, checkPasswordFunctionTrgmSimilarity: true, sendAccountDeletionEmailFunctionTrgmSimilarity: true, deleteAccountFunctionTrgmSimilarity: true, signInOneTimeTokenFunctionTrgmSimilarity: true, oneTimeTokenFunctionTrgmSimilarity: true, extendTokenExpiresTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useUserAuthModulesQuery({ const { mutate } = useCreateUserAuthModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '' }); +mutate({ databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '', auditsTableNameTrgmSimilarity: '', signInFunctionTrgmSimilarity: '', signUpFunctionTrgmSimilarity: '', signOutFunctionTrgmSimilarity: '', setPasswordFunctionTrgmSimilarity: '', resetPasswordFunctionTrgmSimilarity: '', forgotPasswordFunctionTrgmSimilarity: '', sendVerificationEmailFunctionTrgmSimilarity: '', verifyEmailFunctionTrgmSimilarity: '', verifyPasswordFunctionTrgmSimilarity: '', checkPasswordFunctionTrgmSimilarity: '', sendAccountDeletionEmailFunctionTrgmSimilarity: '', deleteAccountFunctionTrgmSimilarity: '', signInOneTimeTokenFunctionTrgmSimilarity: '', oneTimeTokenFunctionTrgmSimilarity: '', extendTokenExpiresTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/user.md b/skills/hooks-public/references/user.md index 9d3a8cf6b..dcbc09d1f 100644 --- a/skills/hooks-public/references/user.md +++ b/skills/hooks-public/references/user.md @@ -7,8 +7,8 @@ React Query hooks for User data operations ## Usage ```typescript -useUsersQuery({ selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } } }) -useUserQuery({ id: '', selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } } }) +useUsersQuery({ selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } } }) +useUserQuery({ id: '', selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } } }) useCreateUserMutation({ selection: { fields: { id: true } } }) useUpdateUserMutation({ selection: { fields: { id: true } } }) useDeleteUserMutation({}) @@ -20,7 +20,7 @@ useDeleteUserMutation({}) ```typescript const { data, isLoading } = useUsersQuery({ - selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true } }, + selection: { fields: { id: true, username: true, displayName: true, profilePicture: true, searchTsv: true, type: true, createdAt: true, updatedAt: true, searchTsvRank: true, displayNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useUsersQuery({ const { mutate } = useCreateUserMutation({ selection: { fields: { id: true } }, }); -mutate({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }); +mutate({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/users-module.md b/skills/hooks-public/references/users-module.md index 29b816289..d684ec3e8 100644 --- a/skills/hooks-public/references/users-module.md +++ b/skills/hooks-public/references/users-module.md @@ -7,8 +7,8 @@ React Query hooks for UsersModule data operations ## Usage ```typescript -useUsersModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } } }) -useUsersModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } } }) +useUsersModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } } }) +useUsersModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } } }) useCreateUsersModuleMutation({ selection: { fields: { id: true } } }) useUpdateUsersModuleMutation({ selection: { fields: { id: true } } }) useDeleteUsersModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteUsersModuleMutation({}) ```typescript const { data, isLoading } = useUsersModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, tableId: true, tableName: true, typeTableId: true, typeTableName: true, tableNameTrgmSimilarity: true, typeTableNameTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useUsersModulesQuery({ const { mutate } = useCreateUsersModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '' }); +mutate({ databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '', tableNameTrgmSimilarity: '', typeTableNameTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/uuid-module.md b/skills/hooks-public/references/uuid-module.md index d389dd213..b383d5fa0 100644 --- a/skills/hooks-public/references/uuid-module.md +++ b/skills/hooks-public/references/uuid-module.md @@ -7,8 +7,8 @@ React Query hooks for UuidModule data operations ## Usage ```typescript -useUuidModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } } }) -useUuidModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } } }) +useUuidModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } } }) +useUuidModuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } } }) useCreateUuidModuleMutation({ selection: { fields: { id: true } } }) useUpdateUuidModuleMutation({ selection: { fields: { id: true } } }) useDeleteUuidModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteUuidModuleMutation({}) ```typescript const { data, isLoading } = useUuidModulesQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, uuidFunction: true, uuidSeed: true, uuidFunctionTrgmSimilarity: true, uuidSeedTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useUuidModulesQuery({ const { mutate } = useCreateUuidModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '' }); +mutate({ databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '', uuidFunctionTrgmSimilarity: '', uuidSeedTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/view-grant.md b/skills/hooks-public/references/view-grant.md index 4410d7356..061cb016a 100644 --- a/skills/hooks-public/references/view-grant.md +++ b/skills/hooks-public/references/view-grant.md @@ -7,8 +7,8 @@ React Query hooks for ViewGrant data operations ## Usage ```typescript -useViewGrantsQuery({ selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } } }) -useViewGrantQuery({ id: '', selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } } }) +useViewGrantsQuery({ selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } } }) +useViewGrantQuery({ id: '', selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } } }) useCreateViewGrantMutation({ selection: { fields: { id: true } } }) useUpdateViewGrantMutation({ selection: { fields: { id: true } } }) useDeleteViewGrantMutation({}) @@ -20,7 +20,7 @@ useDeleteViewGrantMutation({}) ```typescript const { data, isLoading } = useViewGrantsQuery({ - selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true } }, + selection: { fields: { id: true, databaseId: true, viewId: true, granteeName: true, privilege: true, withGrantOption: true, isGrant: true, granteeNameTrgmSimilarity: true, privilegeTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useViewGrantsQuery({ const { mutate } = useCreateViewGrantMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '' }); +mutate({ databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/view-rule.md b/skills/hooks-public/references/view-rule.md index fb1807bd5..64e0f5f59 100644 --- a/skills/hooks-public/references/view-rule.md +++ b/skills/hooks-public/references/view-rule.md @@ -7,8 +7,8 @@ DO INSTEAD rules for views (e.g., read-only enforcement) ## Usage ```typescript -useViewRulesQuery({ selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } } }) -useViewRuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } } }) +useViewRulesQuery({ selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } } }) +useViewRuleQuery({ id: '', selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } } }) useCreateViewRuleMutation({ selection: { fields: { id: true } } }) useUpdateViewRuleMutation({ selection: { fields: { id: true } } }) useDeleteViewRuleMutation({}) @@ -20,7 +20,7 @@ useDeleteViewRuleMutation({}) ```typescript const { data, isLoading } = useViewRulesQuery({ - selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true } }, + selection: { fields: { id: true, databaseId: true, viewId: true, name: true, event: true, action: true, nameTrgmSimilarity: true, eventTrgmSimilarity: true, actionTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useViewRulesQuery({ const { mutate } = useCreateViewRuleMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', viewId: '', name: '', event: '', action: '' }); +mutate({ databaseId: '', viewId: '', name: '', event: '', action: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/hooks-public/references/view.md b/skills/hooks-public/references/view.md index ef25cd354..62032461d 100644 --- a/skills/hooks-public/references/view.md +++ b/skills/hooks-public/references/view.md @@ -7,8 +7,8 @@ React Query hooks for View data operations ## Usage ```typescript -useViewsQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } } }) -useViewQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } } }) +useViewsQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) +useViewQuery({ id: '', selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } } }) useCreateViewMutation({ selection: { fields: { id: true } } }) useUpdateViewMutation({ selection: { fields: { id: true } } }) useDeleteViewMutation({}) @@ -20,7 +20,7 @@ useDeleteViewMutation({}) ```typescript const { data, isLoading } = useViewsQuery({ - selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true } }, + selection: { fields: { id: true, databaseId: true, schemaId: true, name: true, tableId: true, viewType: true, data: true, filterType: true, filterData: true, securityInvoker: true, isReadOnly: true, smartTags: true, category: true, module: true, scope: true, tags: true, nameTrgmSimilarity: true, viewTypeTrgmSimilarity: true, filterTypeTrgmSimilarity: true, moduleTrgmSimilarity: true, searchScore: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useViewsQuery({ const { mutate } = useCreateViewMutation({ selection: { fields: { id: true } }, }); -mutate({ databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '' }); +mutate({ databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', viewTypeTrgmSimilarity: '', filterTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }); ``` diff --git a/skills/orm-admin/SKILL.md b/skills/orm-admin/SKILL.md index 68d975e5a..26fff5bbf 100644 --- a/skills/orm-admin/SKILL.md +++ b/skills/orm-admin/SKILL.md @@ -51,8 +51,8 @@ See the `references/` directory for detailed per-entity API documentation: - [org-owner-grant](references/org-owner-grant.md) - [app-limit-default](references/app-limit-default.md) - [org-limit-default](references/org-limit-default.md) -- [membership-type](references/membership-type.md) - [org-chart-edge-grant](references/org-chart-edge-grant.md) +- [membership-type](references/membership-type.md) - [app-limit](references/app-limit.md) - [app-achievement](references/app-achievement.md) - [app-step](references/app-step.md) @@ -64,10 +64,10 @@ See the `references/` directory for detailed per-entity API documentation: - [org-grant](references/org-grant.md) - [org-chart-edge](references/org-chart-edge.md) - [org-membership-default](references/org-membership-default.md) -- [invite](references/invite.md) -- [app-level](references/app-level.md) - [app-membership](references/app-membership.md) - [org-membership](references/org-membership.md) +- [invite](references/invite.md) +- [app-level](references/app-level.md) - [org-invite](references/org-invite.md) - [app-permissions-get-padded-mask](references/app-permissions-get-padded-mask.md) - [org-permissions-get-padded-mask](references/org-permissions-get-padded-mask.md) diff --git a/skills/orm-admin/references/app-level-requirement.md b/skills/orm-admin/references/app-level-requirement.md index 0974f67da..7e5a53b53 100644 --- a/skills/orm-admin/references/app-level-requirement.md +++ b/skills/orm-admin/references/app-level-requirement.md @@ -9,7 +9,7 @@ Defines the specific requirements that must be met to achieve a level ```typescript db.appLevelRequirement.findMany({ select: { id: true } }).execute() db.appLevelRequirement.findOne({ id: '', select: { id: true } }).execute() -db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute() +db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.appLevelRequirement.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.appLevelRequirement.findMany({ ```typescript const item = await db.appLevelRequirement.create({ - data: { name: 'value', level: 'value', description: 'value', requiredCount: 'value', priority: 'value' }, + data: { name: 'value', level: 'value', description: 'value', requiredCount: 'value', priority: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/app-level.md b/skills/orm-admin/references/app-level.md index d5d0b05c3..251db0860 100644 --- a/skills/orm-admin/references/app-level.md +++ b/skills/orm-admin/references/app-level.md @@ -9,7 +9,7 @@ Defines available levels that users can achieve by completing requirements ```typescript db.appLevel.findMany({ select: { id: true } }).execute() db.appLevel.findOne({ id: '', select: { id: true } }).execute() -db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute() +db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.appLevel.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.appLevel.findMany({ ```typescript const item = await db.appLevel.create({ - data: { name: 'value', description: 'value', image: 'value', ownerId: 'value' }, + data: { name: 'value', description: 'value', image: 'value', ownerId: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/app-permission.md b/skills/orm-admin/references/app-permission.md index 14eac6378..3b24830bb 100644 --- a/skills/orm-admin/references/app-permission.md +++ b/skills/orm-admin/references/app-permission.md @@ -9,7 +9,7 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ```typescript db.appPermission.findMany({ select: { id: true } }).execute() db.appPermission.findOne({ id: '', select: { id: true } }).execute() -db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute() +db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.appPermission.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.appPermission.findMany({ ```typescript const item = await db.appPermission.create({ - data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value' }, + data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/invite.md b/skills/orm-admin/references/invite.md index 58d4f5fd7..06991a189 100644 --- a/skills/orm-admin/references/invite.md +++ b/skills/orm-admin/references/invite.md @@ -9,7 +9,7 @@ Invitation records sent to prospective members via email, with token-based redem ```typescript db.invite.findMany({ select: { id: true } }).execute() db.invite.findOne({ id: '', select: { id: true } }).execute() -db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute() +db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute() db.invite.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.invite.findMany({ ```typescript const item = await db.invite.create({ - data: { email: 'value', senderId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value' }, + data: { email: 'value', senderId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value', inviteTokenTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/membership-type.md b/skills/orm-admin/references/membership-type.md index f53c9f806..b42d137d5 100644 --- a/skills/orm-admin/references/membership-type.md +++ b/skills/orm-admin/references/membership-type.md @@ -9,7 +9,7 @@ Defines the different scopes of membership (e.g. App Member, Organization Member ```typescript db.membershipType.findMany({ select: { id: true } }).execute() db.membershipType.findOne({ id: '', select: { id: true } }).execute() -db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute() +db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.membershipType.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.membershipType.findMany({ ```typescript const item = await db.membershipType.create({ - data: { name: 'value', description: 'value', prefix: 'value' }, + data: { name: 'value', description: 'value', prefix: 'value', descriptionTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/org-chart-edge-grant.md b/skills/orm-admin/references/org-chart-edge-grant.md index 55c97a1cb..01ba73fe8 100644 --- a/skills/orm-admin/references/org-chart-edge-grant.md +++ b/skills/orm-admin/references/org-chart-edge-grant.md @@ -9,7 +9,7 @@ Append-only log of hierarchy edge grants and revocations; triggers apply changes ```typescript db.orgChartEdgeGrant.findMany({ select: { id: true } }).execute() db.orgChartEdgeGrant.findOne({ id: '', select: { id: true } }).execute() -db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute() +db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute() db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgChartEdgeGrant.findMany({ ```typescript const item = await db.orgChartEdgeGrant.create({ - data: { entityId: 'value', childId: 'value', parentId: 'value', grantorId: 'value', isGrant: 'value', positionTitle: 'value', positionLevel: 'value' }, + data: { entityId: 'value', childId: 'value', parentId: 'value', grantorId: 'value', isGrant: 'value', positionTitle: 'value', positionLevel: 'value', positionTitleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/org-chart-edge.md b/skills/orm-admin/references/org-chart-edge.md index 7fd06a563..b15c2d8d7 100644 --- a/skills/orm-admin/references/org-chart-edge.md +++ b/skills/orm-admin/references/org-chart-edge.md @@ -9,7 +9,7 @@ Organizational chart edges defining parent-child reporting relationships between ```typescript db.orgChartEdge.findMany({ select: { id: true } }).execute() db.orgChartEdge.findOne({ id: '', select: { id: true } }).execute() -db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute() +db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute() db.orgChartEdge.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgChartEdge.findMany({ ```typescript const item = await db.orgChartEdge.create({ - data: { entityId: 'value', childId: 'value', parentId: 'value', positionTitle: 'value', positionLevel: 'value' }, + data: { entityId: 'value', childId: 'value', parentId: 'value', positionTitle: 'value', positionLevel: 'value', positionTitleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/org-invite.md b/skills/orm-admin/references/org-invite.md index 27ea8b4ac..55552314b 100644 --- a/skills/orm-admin/references/org-invite.md +++ b/skills/orm-admin/references/org-invite.md @@ -9,7 +9,7 @@ Invitation records sent to prospective members via email, with token-based redem ```typescript db.orgInvite.findMany({ select: { id: true } }).execute() db.orgInvite.findOne({ id: '', select: { id: true } }).execute() -db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute() +db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute() db.orgInvite.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgInvite.findMany({ ```typescript const item = await db.orgInvite.create({ - data: { email: 'value', senderId: 'value', receiverId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value', entityId: 'value' }, + data: { email: 'value', senderId: 'value', receiverId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value', entityId: 'value', inviteTokenTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-admin/references/org-permission.md b/skills/orm-admin/references/org-permission.md index 5be6a77e0..0ae6ecea1 100644 --- a/skills/orm-admin/references/org-permission.md +++ b/skills/orm-admin/references/org-permission.md @@ -9,7 +9,7 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ```typescript db.orgPermission.findMany({ select: { id: true } }).execute() db.orgPermission.findOne({ id: '', select: { id: true } }).execute() -db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute() +db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.orgPermission.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgPermission.findMany({ ```typescript const item = await db.orgPermission.create({ - data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value' }, + data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-auth/SKILL.md b/skills/orm-auth/SKILL.md index 7e0e0fc02..028e356ce 100644 --- a/skills/orm-auth/SKILL.md +++ b/skills/orm-auth/SKILL.md @@ -15,7 +15,7 @@ ORM client for the auth API — provides typed CRUD operations for 7 tables and // Import the ORM client import { db } from './orm'; -// Available models: roleType, cryptoAddress, phoneNumber, connectedAccount, auditLog, email, user +// Available models: cryptoAddress, roleType, phoneNumber, connectedAccount, auditLog, email, user db..findMany({ select: { id: true } }).execute() db..findOne({ id: '', select: { id: true } }).execute() db..create({ data: { ... }, select: { id: true } }).execute() @@ -28,7 +28,7 @@ db..delete({ where: { id: '' } }).execute() ### Query records ```typescript -const items = await db.roleType.findMany({ +const items = await db.cryptoAddress.findMany({ select: { id: true } }).execute(); ``` @@ -37,8 +37,8 @@ const items = await db.roleType.findMany({ See the `references/` directory for detailed per-entity API documentation: -- [role-type](references/role-type.md) - [crypto-address](references/crypto-address.md) +- [role-type](references/role-type.md) - [phone-number](references/phone-number.md) - [connected-account](references/connected-account.md) - [audit-log](references/audit-log.md) diff --git a/skills/orm-auth/references/audit-log.md b/skills/orm-auth/references/audit-log.md index e7dd7e4ca..34051a10f 100644 --- a/skills/orm-auth/references/audit-log.md +++ b/skills/orm-auth/references/audit-log.md @@ -9,7 +9,7 @@ Append-only audit log of authentication events (sign-in, sign-up, password chang ```typescript db.auditLog.findMany({ select: { id: true } }).execute() db.auditLog.findOne({ id: '', select: { id: true } }).execute() -db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute() +db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute() db.auditLog.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.auditLog.findMany({ ```typescript const item = await db.auditLog.create({ - data: { event: 'value', actorId: 'value', origin: 'value', userAgent: 'value', ipAddress: 'value', success: 'value' }, + data: { event: 'value', actorId: 'value', origin: 'value', userAgent: 'value', ipAddress: 'value', success: 'value', userAgentTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-auth/references/connected-account.md b/skills/orm-auth/references/connected-account.md index aa560d236..2c64abdda 100644 --- a/skills/orm-auth/references/connected-account.md +++ b/skills/orm-auth/references/connected-account.md @@ -9,7 +9,7 @@ OAuth and social login connections linking external service accounts to users ```typescript db.connectedAccount.findMany({ select: { id: true } }).execute() db.connectedAccount.findOne({ id: '', select: { id: true } }).execute() -db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute() +db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute() db.connectedAccount.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.connectedAccount.findMany({ ```typescript const item = await db.connectedAccount.create({ - data: { ownerId: 'value', service: 'value', identifier: 'value', details: 'value', isVerified: 'value' }, + data: { ownerId: 'value', service: 'value', identifier: 'value', details: 'value', isVerified: 'value', serviceTrgmSimilarity: 'value', identifierTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-auth/references/crypto-address.md b/skills/orm-auth/references/crypto-address.md index 10b9cc8ed..ae2816ee2 100644 --- a/skills/orm-auth/references/crypto-address.md +++ b/skills/orm-auth/references/crypto-address.md @@ -9,7 +9,7 @@ Cryptocurrency wallet addresses owned by users, with network-specific validation ```typescript db.cryptoAddress.findMany({ select: { id: true } }).execute() db.cryptoAddress.findOne({ id: '', select: { id: true } }).execute() -db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute() +db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute() db.cryptoAddress.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.cryptoAddress.findMany({ ```typescript const item = await db.cryptoAddress.create({ - data: { ownerId: 'value', address: 'value', isVerified: 'value', isPrimary: 'value' }, + data: { ownerId: 'value', address: 'value', isVerified: 'value', isPrimary: 'value', addressTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-auth/references/phone-number.md b/skills/orm-auth/references/phone-number.md index 1ecf93b35..47710a494 100644 --- a/skills/orm-auth/references/phone-number.md +++ b/skills/orm-auth/references/phone-number.md @@ -9,7 +9,7 @@ User phone numbers with country code, verification, and primary-number managemen ```typescript db.phoneNumber.findMany({ select: { id: true } }).execute() db.phoneNumber.findOne({ id: '', select: { id: true } }).execute() -db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute() +db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute() db.phoneNumber.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.phoneNumber.findMany({ ```typescript const item = await db.phoneNumber.create({ - data: { ownerId: 'value', cc: 'value', number: 'value', isVerified: 'value', isPrimary: 'value' }, + data: { ownerId: 'value', cc: 'value', number: 'value', isVerified: 'value', isPrimary: 'value', ccTrgmSimilarity: 'value', numberTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-auth/references/user.md b/skills/orm-auth/references/user.md index 6daa65e5d..5b33b86d4 100644 --- a/skills/orm-auth/references/user.md +++ b/skills/orm-auth/references/user.md @@ -9,7 +9,7 @@ ORM operations for User records ```typescript db.user.findMany({ select: { id: true } }).execute() db.user.findOne({ id: '', select: { id: true } }).execute() -db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute() +db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute() db.user.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.user.findMany({ ```typescript const item = await db.user.create({ - data: { username: 'value', displayName: 'value', profilePicture: 'value', searchTsv: 'value', type: 'value', searchTsvRank: 'value' }, + data: { username: 'value', displayName: 'value', profilePicture: 'value', searchTsv: 'value', type: 'value', searchTsvRank: 'value', displayNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-objects/references/commit.md b/skills/orm-objects/references/commit.md index 6f3ead99d..4d467fa41 100644 --- a/skills/orm-objects/references/commit.md +++ b/skills/orm-objects/references/commit.md @@ -9,7 +9,7 @@ A commit records changes to the repository. ```typescript db.commit.findMany({ select: { id: true } }).execute() db.commit.findOne({ id: '', select: { id: true } }).execute() -db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute() +db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute() db.commit.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.commit.findMany({ ```typescript const item = await db.commit.create({ - data: { message: 'value', databaseId: 'value', storeId: 'value', parentIds: 'value', authorId: 'value', committerId: 'value', treeId: 'value', date: 'value' }, + data: { message: 'value', databaseId: 'value', storeId: 'value', parentIds: 'value', authorId: 'value', committerId: 'value', treeId: 'value', date: 'value', messageTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-objects/references/ref.md b/skills/orm-objects/references/ref.md index f677081b4..0e4156bb6 100644 --- a/skills/orm-objects/references/ref.md +++ b/skills/orm-objects/references/ref.md @@ -9,7 +9,7 @@ A ref is a data structure for pointing to a commit. ```typescript db.ref.findMany({ select: { id: true } }).execute() db.ref.findOne({ id: '', select: { id: true } }).execute() -db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute() +db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.ref.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.ref.findMany({ ```typescript const item = await db.ref.create({ - data: { name: 'value', databaseId: 'value', storeId: 'value', commitId: 'value' }, + data: { name: 'value', databaseId: 'value', storeId: 'value', commitId: 'value', nameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-objects/references/store.md b/skills/orm-objects/references/store.md index 0716daaff..2a217736e 100644 --- a/skills/orm-objects/references/store.md +++ b/skills/orm-objects/references/store.md @@ -9,7 +9,7 @@ A store represents an isolated object repository within a database. ```typescript db.store.findMany({ select: { id: true } }).execute() db.store.findOne({ id: '', select: { id: true } }).execute() -db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute() +db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.store.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.store.findMany({ ```typescript const item = await db.store.create({ - data: { name: 'value', databaseId: 'value', hash: 'value' }, + data: { name: 'value', databaseId: 'value', hash: 'value', nameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/SKILL.md b/skills/orm-public/SKILL.md index f48b920bc..f79010165 100644 --- a/skills/orm-public/SKILL.md +++ b/skills/orm-public/SKILL.md @@ -1,13 +1,13 @@ --- name: orm-public -description: ORM client for the public API — provides typed CRUD operations for 104 tables and 50 custom operations +description: ORM client for the public API — provides typed CRUD operations for 103 tables and 50 custom operations --- # orm-public -ORM client for the public API — provides typed CRUD operations for 104 tables and 50 custom operations +ORM client for the public API — provides typed CRUD operations for 103 tables and 50 custom operations ## Usage @@ -61,7 +61,6 @@ See the `references/` directory for detailed per-entity API documentation: - [view-table](references/view-table.md) - [view-grant](references/view-grant.md) - [view-rule](references/view-rule.md) -- [table-module](references/table-module.md) - [table-template-module](references/table-template-module.md) - [secure-table-provision](references/secure-table-provision.md) - [relation-provision](references/relation-provision.md) @@ -93,7 +92,6 @@ See the `references/` directory for detailed per-entity API documentation: - [permissions-module](references/permissions-module.md) - [phone-numbers-module](references/phone-numbers-module.md) - [profiles-module](references/profiles-module.md) -- [rls-module](references/rls-module.md) - [secrets-module](references/secrets-module.md) - [sessions-module](references/sessions-module.md) - [user-auth-module](references/user-auth-module.md) @@ -121,25 +119,26 @@ See the `references/` directory for detailed per-entity API documentation: - [ref](references/ref.md) - [store](references/store.md) - [app-permission-default](references/app-permission-default.md) +- [crypto-address](references/crypto-address.md) - [role-type](references/role-type.md) - [org-permission-default](references/org-permission-default.md) -- [crypto-address](references/crypto-address.md) +- [phone-number](references/phone-number.md) - [app-limit-default](references/app-limit-default.md) - [org-limit-default](references/org-limit-default.md) - [connected-account](references/connected-account.md) -- [phone-number](references/phone-number.md) -- [membership-type](references/membership-type.md) - [node-type-registry](references/node-type-registry.md) +- [membership-type](references/membership-type.md) - [app-membership-default](references/app-membership-default.md) +- [rls-module](references/rls-module.md) - [commit](references/commit.md) - [org-membership-default](references/org-membership-default.md) - [audit-log](references/audit-log.md) - [app-level](references/app-level.md) -- [email](references/email.md) - [sql-migration](references/sql-migration.md) +- [email](references/email.md) - [ast-migration](references/ast-migration.md) -- [user](references/user.md) - [app-membership](references/app-membership.md) +- [user](references/user.md) - [hierarchy-module](references/hierarchy-module.md) - [current-user-id](references/current-user-id.md) - [current-ip-address](references/current-ip-address.md) @@ -171,8 +170,8 @@ See the `references/` directory for detailed per-entity API documentation: - [set-password](references/set-password.md) - [verify-email](references/verify-email.md) - [reset-password](references/reset-password.md) -- [remove-node-at-path](references/remove-node-at-path.md) - [bootstrap-user](references/bootstrap-user.md) +- [remove-node-at-path](references/remove-node-at-path.md) - [set-data-at-path](references/set-data-at-path.md) - [set-props-and-commit](references/set-props-and-commit.md) - [provision-database-with-user](references/provision-database-with-user.md) diff --git a/skills/orm-public/references/api-module.md b/skills/orm-public/references/api-module.md index a31dd405d..63b9e2429 100644 --- a/skills/orm-public/references/api-module.md +++ b/skills/orm-public/references/api-module.md @@ -9,7 +9,7 @@ Server-side module configuration for an API endpoint; stores module name and JSO ```typescript db.apiModule.findMany({ select: { id: true } }).execute() db.apiModule.findOne({ id: '', select: { id: true } }).execute() -db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '' }, select: { id: true } }).execute() +db.apiModule.create({ data: { databaseId: '', apiId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.apiModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.apiModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.apiModule.findMany({ ```typescript const item = await db.apiModule.create({ - data: { databaseId: 'value', apiId: 'value', name: 'value', data: 'value' }, + data: { databaseId: 'value', apiId: 'value', name: 'value', data: 'value', nameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/api.md b/skills/orm-public/references/api.md index 9c45c72e7..0d2218b68 100644 --- a/skills/orm-public/references/api.md +++ b/skills/orm-public/references/api.md @@ -9,7 +9,7 @@ API endpoint configurations: each record defines a PostGraphile/PostgREST API wi ```typescript db.api.findMany({ select: { id: true } }).execute() db.api.findOne({ id: '', select: { id: true } }).execute() -db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '' }, select: { id: true } }).execute() +db.api.create({ data: { databaseId: '', name: '', dbname: '', roleName: '', anonRole: '', isPublic: '', nameTrgmSimilarity: '', dbnameTrgmSimilarity: '', roleNameTrgmSimilarity: '', anonRoleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.api.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.api.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.api.findMany({ ```typescript const item = await db.api.create({ - data: { databaseId: 'value', name: 'value', dbname: 'value', roleName: 'value', anonRole: 'value', isPublic: 'value' }, + data: { databaseId: 'value', name: 'value', dbname: 'value', roleName: 'value', anonRole: 'value', isPublic: 'value', nameTrgmSimilarity: 'value', dbnameTrgmSimilarity: 'value', roleNameTrgmSimilarity: 'value', anonRoleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/app-level-requirement.md b/skills/orm-public/references/app-level-requirement.md index 0974f67da..7e5a53b53 100644 --- a/skills/orm-public/references/app-level-requirement.md +++ b/skills/orm-public/references/app-level-requirement.md @@ -9,7 +9,7 @@ Defines the specific requirements that must be met to achieve a level ```typescript db.appLevelRequirement.findMany({ select: { id: true } }).execute() db.appLevelRequirement.findOne({ id: '', select: { id: true } }).execute() -db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '' }, select: { id: true } }).execute() +db.appLevelRequirement.create({ data: { name: '', level: '', description: '', requiredCount: '', priority: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.appLevelRequirement.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.appLevelRequirement.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.appLevelRequirement.findMany({ ```typescript const item = await db.appLevelRequirement.create({ - data: { name: 'value', level: 'value', description: 'value', requiredCount: 'value', priority: 'value' }, + data: { name: 'value', level: 'value', description: 'value', requiredCount: 'value', priority: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/app-level.md b/skills/orm-public/references/app-level.md index d5d0b05c3..251db0860 100644 --- a/skills/orm-public/references/app-level.md +++ b/skills/orm-public/references/app-level.md @@ -9,7 +9,7 @@ Defines available levels that users can achieve by completing requirements ```typescript db.appLevel.findMany({ select: { id: true } }).execute() db.appLevel.findOne({ id: '', select: { id: true } }).execute() -db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '' }, select: { id: true } }).execute() +db.appLevel.create({ data: { name: '', description: '', image: '', ownerId: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.appLevel.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.appLevel.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.appLevel.findMany({ ```typescript const item = await db.appLevel.create({ - data: { name: 'value', description: 'value', image: 'value', ownerId: 'value' }, + data: { name: 'value', description: 'value', image: 'value', ownerId: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/app-permission.md b/skills/orm-public/references/app-permission.md index 14eac6378..3b24830bb 100644 --- a/skills/orm-public/references/app-permission.md +++ b/skills/orm-public/references/app-permission.md @@ -9,7 +9,7 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ```typescript db.appPermission.findMany({ select: { id: true } }).execute() db.appPermission.findOne({ id: '', select: { id: true } }).execute() -db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute() +db.appPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.appPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.appPermission.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.appPermission.findMany({ ```typescript const item = await db.appPermission.create({ - data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value' }, + data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/app.md b/skills/orm-public/references/app.md index 0dd221b3c..8622ad9b7 100644 --- a/skills/orm-public/references/app.md +++ b/skills/orm-public/references/app.md @@ -9,7 +9,7 @@ Mobile and native app configuration linked to a site, including store links and ```typescript db.app.findMany({ select: { id: true } }).execute() db.app.findOne({ id: '', select: { id: true } }).execute() -db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '' }, select: { id: true } }).execute() +db.app.create({ data: { databaseId: '', siteId: '', name: '', appImage: '', appStoreLink: '', appStoreId: '', appIdPrefix: '', playStoreLink: '', nameTrgmSimilarity: '', appStoreIdTrgmSimilarity: '', appIdPrefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.app.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.app.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.app.findMany({ ```typescript const item = await db.app.create({ - data: { databaseId: 'value', siteId: 'value', name: 'value', appImage: 'value', appStoreLink: 'value', appStoreId: 'value', appIdPrefix: 'value', playStoreLink: 'value' }, + data: { databaseId: 'value', siteId: 'value', name: 'value', appImage: 'value', appStoreLink: 'value', appStoreId: 'value', appIdPrefix: 'value', playStoreLink: 'value', nameTrgmSimilarity: 'value', appStoreIdTrgmSimilarity: 'value', appIdPrefixTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/ast-migration.md b/skills/orm-public/references/ast-migration.md index a2bda9429..4fe5950e5 100644 --- a/skills/orm-public/references/ast-migration.md +++ b/skills/orm-public/references/ast-migration.md @@ -9,7 +9,7 @@ ORM operations for AstMigration records ```typescript db.astMigration.findMany({ select: { id: true } }).execute() db.astMigration.findOne({ id: '', select: { id: true } }).execute() -db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute() +db.astMigration.create({ data: { databaseId: '', name: '', requires: '', payload: '', deploys: '', deploy: '', revert: '', verify: '', action: '', actionId: '', actorId: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.astMigration.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.astMigration.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.astMigration.findMany({ ```typescript const item = await db.astMigration.create({ - data: { databaseId: 'value', name: 'value', requires: 'value', payload: 'value', deploys: 'value', deploy: 'value', revert: 'value', verify: 'value', action: 'value', actionId: 'value', actorId: 'value' }, + data: { databaseId: 'value', name: 'value', requires: 'value', payload: 'value', deploys: 'value', deploy: 'value', revert: 'value', verify: 'value', action: 'value', actionId: 'value', actorId: 'value', actionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/audit-log.md b/skills/orm-public/references/audit-log.md index e7dd7e4ca..34051a10f 100644 --- a/skills/orm-public/references/audit-log.md +++ b/skills/orm-public/references/audit-log.md @@ -9,7 +9,7 @@ Append-only audit log of authentication events (sign-in, sign-up, password chang ```typescript db.auditLog.findMany({ select: { id: true } }).execute() db.auditLog.findOne({ id: '', select: { id: true } }).execute() -db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '' }, select: { id: true } }).execute() +db.auditLog.create({ data: { event: '', actorId: '', origin: '', userAgent: '', ipAddress: '', success: '', userAgentTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.auditLog.update({ where: { id: '' }, data: { event: '' }, select: { id: true } }).execute() db.auditLog.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.auditLog.findMany({ ```typescript const item = await db.auditLog.create({ - data: { event: 'value', actorId: 'value', origin: 'value', userAgent: 'value', ipAddress: 'value', success: 'value' }, + data: { event: 'value', actorId: 'value', origin: 'value', userAgent: 'value', ipAddress: 'value', success: 'value', userAgentTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/check-constraint.md b/skills/orm-public/references/check-constraint.md index ff7e00803..3fd611d7c 100644 --- a/skills/orm-public/references/check-constraint.md +++ b/skills/orm-public/references/check-constraint.md @@ -9,7 +9,7 @@ ORM operations for CheckConstraint records ```typescript db.checkConstraint.findMany({ select: { id: true } }).execute() db.checkConstraint.findOne({ id: '', select: { id: true } }).execute() -db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.checkConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', expr: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.checkConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.checkConstraint.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.checkConstraint.findMany({ ```typescript const item = await db.checkConstraint.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', type: 'value', fieldIds: 'value', expr: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', type: 'value', fieldIds: 'value', expr: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', typeTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/commit.md b/skills/orm-public/references/commit.md index 6f3ead99d..4d467fa41 100644 --- a/skills/orm-public/references/commit.md +++ b/skills/orm-public/references/commit.md @@ -9,7 +9,7 @@ A commit records changes to the repository. ```typescript db.commit.findMany({ select: { id: true } }).execute() db.commit.findOne({ id: '', select: { id: true } }).execute() -db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '' }, select: { id: true } }).execute() +db.commit.create({ data: { message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.commit.update({ where: { id: '' }, data: { message: '' }, select: { id: true } }).execute() db.commit.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.commit.findMany({ ```typescript const item = await db.commit.create({ - data: { message: 'value', databaseId: 'value', storeId: 'value', parentIds: 'value', authorId: 'value', committerId: 'value', treeId: 'value', date: 'value' }, + data: { message: 'value', databaseId: 'value', storeId: 'value', parentIds: 'value', authorId: 'value', committerId: 'value', treeId: 'value', date: 'value', messageTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/connected-account.md b/skills/orm-public/references/connected-account.md index aa560d236..2c64abdda 100644 --- a/skills/orm-public/references/connected-account.md +++ b/skills/orm-public/references/connected-account.md @@ -9,7 +9,7 @@ OAuth and social login connections linking external service accounts to users ```typescript db.connectedAccount.findMany({ select: { id: true } }).execute() db.connectedAccount.findOne({ id: '', select: { id: true } }).execute() -db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '' }, select: { id: true } }).execute() +db.connectedAccount.create({ data: { ownerId: '', service: '', identifier: '', details: '', isVerified: '', serviceTrgmSimilarity: '', identifierTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.connectedAccount.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute() db.connectedAccount.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.connectedAccount.findMany({ ```typescript const item = await db.connectedAccount.create({ - data: { ownerId: 'value', service: 'value', identifier: 'value', details: 'value', isVerified: 'value' }, + data: { ownerId: 'value', service: 'value', identifier: 'value', details: 'value', isVerified: 'value', serviceTrgmSimilarity: 'value', identifierTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/connected-accounts-module.md b/skills/orm-public/references/connected-accounts-module.md index 848609464..9b11ba1a5 100644 --- a/skills/orm-public/references/connected-accounts-module.md +++ b/skills/orm-public/references/connected-accounts-module.md @@ -9,7 +9,7 @@ ORM operations for ConnectedAccountsModule records ```typescript db.connectedAccountsModule.findMany({ select: { id: true } }).execute() db.connectedAccountsModule.findOne({ id: '', select: { id: true } }).execute() -db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute() +db.connectedAccountsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.connectedAccountsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.connectedAccountsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.connectedAccountsModule.findMany({ ```typescript const item = await db.connectedAccountsModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value', tableNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/crypto-address.md b/skills/orm-public/references/crypto-address.md index 10b9cc8ed..ae2816ee2 100644 --- a/skills/orm-public/references/crypto-address.md +++ b/skills/orm-public/references/crypto-address.md @@ -9,7 +9,7 @@ Cryptocurrency wallet addresses owned by users, with network-specific validation ```typescript db.cryptoAddress.findMany({ select: { id: true } }).execute() db.cryptoAddress.findOne({ id: '', select: { id: true } }).execute() -db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute() +db.cryptoAddress.create({ data: { ownerId: '', address: '', isVerified: '', isPrimary: '', addressTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.cryptoAddress.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute() db.cryptoAddress.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.cryptoAddress.findMany({ ```typescript const item = await db.cryptoAddress.create({ - data: { ownerId: 'value', address: 'value', isVerified: 'value', isPrimary: 'value' }, + data: { ownerId: 'value', address: 'value', isVerified: 'value', isPrimary: 'value', addressTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/crypto-addresses-module.md b/skills/orm-public/references/crypto-addresses-module.md index e90eade85..212f0e0b8 100644 --- a/skills/orm-public/references/crypto-addresses-module.md +++ b/skills/orm-public/references/crypto-addresses-module.md @@ -9,7 +9,7 @@ ORM operations for CryptoAddressesModule records ```typescript db.cryptoAddressesModule.findMany({ select: { id: true } }).execute() db.cryptoAddressesModule.findOne({ id: '', select: { id: true } }).execute() -db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '' }, select: { id: true } }).execute() +db.cryptoAddressesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', cryptoNetwork: '', tableNameTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.cryptoAddressesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.cryptoAddressesModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.cryptoAddressesModule.findMany({ ```typescript const item = await db.cryptoAddressesModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value', cryptoNetwork: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value', cryptoNetwork: 'value', tableNameTrgmSimilarity: 'value', cryptoNetworkTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/crypto-auth-module.md b/skills/orm-public/references/crypto-auth-module.md index 01c8d12b0..b279df0f4 100644 --- a/skills/orm-public/references/crypto-auth-module.md +++ b/skills/orm-public/references/crypto-auth-module.md @@ -9,7 +9,7 @@ ORM operations for CryptoAuthModule records ```typescript db.cryptoAuthModule.findMany({ select: { id: true } }).execute() db.cryptoAuthModule.findOne({ id: '', select: { id: true } }).execute() -db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '' }, select: { id: true } }).execute() +db.cryptoAuthModule.create({ data: { databaseId: '', schemaId: '', usersTableId: '', secretsTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', addressesTableId: '', userField: '', cryptoNetwork: '', signInRequestChallenge: '', signInRecordFailure: '', signUpWithKey: '', signInWithChallenge: '', userFieldTrgmSimilarity: '', cryptoNetworkTrgmSimilarity: '', signInRequestChallengeTrgmSimilarity: '', signInRecordFailureTrgmSimilarity: '', signUpWithKeyTrgmSimilarity: '', signInWithChallengeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.cryptoAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.cryptoAuthModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.cryptoAuthModule.findMany({ ```typescript const item = await db.cryptoAuthModule.create({ - data: { databaseId: 'value', schemaId: 'value', usersTableId: 'value', secretsTableId: 'value', sessionsTableId: 'value', sessionCredentialsTableId: 'value', addressesTableId: 'value', userField: 'value', cryptoNetwork: 'value', signInRequestChallenge: 'value', signInRecordFailure: 'value', signUpWithKey: 'value', signInWithChallenge: 'value' }, + data: { databaseId: 'value', schemaId: 'value', usersTableId: 'value', secretsTableId: 'value', sessionsTableId: 'value', sessionCredentialsTableId: 'value', addressesTableId: 'value', userField: 'value', cryptoNetwork: 'value', signInRequestChallenge: 'value', signInRecordFailure: 'value', signUpWithKey: 'value', signInWithChallenge: 'value', userFieldTrgmSimilarity: 'value', cryptoNetworkTrgmSimilarity: 'value', signInRequestChallengeTrgmSimilarity: 'value', signInRecordFailureTrgmSimilarity: 'value', signUpWithKeyTrgmSimilarity: 'value', signInWithChallengeTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/database-provision-module.md b/skills/orm-public/references/database-provision-module.md index 323f93b4f..39829e2d6 100644 --- a/skills/orm-public/references/database-provision-module.md +++ b/skills/orm-public/references/database-provision-module.md @@ -9,7 +9,7 @@ Tracks database provisioning requests and their status. The BEFORE INSERT trigge ```typescript db.databaseProvisionModule.findMany({ select: { id: true } }).execute() db.databaseProvisionModule.findOne({ id: '', select: { id: true } }).execute() -db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '' }, select: { id: true } }).execute() +db.databaseProvisionModule.create({ data: { databaseName: '', ownerId: '', subdomain: '', domain: '', modules: '', options: '', bootstrapUser: '', status: '', errorMessage: '', databaseId: '', completedAt: '', databaseNameTrgmSimilarity: '', subdomainTrgmSimilarity: '', domainTrgmSimilarity: '', statusTrgmSimilarity: '', errorMessageTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.databaseProvisionModule.update({ where: { id: '' }, data: { databaseName: '' }, select: { id: true } }).execute() db.databaseProvisionModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.databaseProvisionModule.findMany({ ```typescript const item = await db.databaseProvisionModule.create({ - data: { databaseName: 'value', ownerId: 'value', subdomain: 'value', domain: 'value', modules: 'value', options: 'value', bootstrapUser: 'value', status: 'value', errorMessage: 'value', databaseId: 'value', completedAt: 'value' }, + data: { databaseName: 'value', ownerId: 'value', subdomain: 'value', domain: 'value', modules: 'value', options: 'value', bootstrapUser: 'value', status: 'value', errorMessage: 'value', databaseId: 'value', completedAt: 'value', databaseNameTrgmSimilarity: 'value', subdomainTrgmSimilarity: 'value', domainTrgmSimilarity: 'value', statusTrgmSimilarity: 'value', errorMessageTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/database.md b/skills/orm-public/references/database.md index 86340eb94..79045614f 100644 --- a/skills/orm-public/references/database.md +++ b/skills/orm-public/references/database.md @@ -9,7 +9,7 @@ ORM operations for Database records ```typescript db.database.findMany({ select: { id: true } }).execute() db.database.findOne({ id: '', select: { id: true } }).execute() -db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '' }, select: { id: true } }).execute() +db.database.create({ data: { ownerId: '', schemaHash: '', name: '', label: '', hash: '', schemaHashTrgmSimilarity: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.database.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute() db.database.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.database.findMany({ ```typescript const item = await db.database.create({ - data: { ownerId: 'value', schemaHash: 'value', name: 'value', label: 'value', hash: 'value' }, + data: { ownerId: 'value', schemaHash: 'value', name: 'value', label: 'value', hash: 'value', schemaHashTrgmSimilarity: 'value', nameTrgmSimilarity: 'value', labelTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/default-privilege.md b/skills/orm-public/references/default-privilege.md index 78953f33a..4270e3727 100644 --- a/skills/orm-public/references/default-privilege.md +++ b/skills/orm-public/references/default-privilege.md @@ -9,7 +9,7 @@ ORM operations for DefaultPrivilege records ```typescript db.defaultPrivilege.findMany({ select: { id: true } }).execute() db.defaultPrivilege.findOne({ id: '', select: { id: true } }).execute() -db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '' }, select: { id: true } }).execute() +db.defaultPrivilege.create({ data: { databaseId: '', schemaId: '', objectType: '', privilege: '', granteeName: '', isGrant: '', objectTypeTrgmSimilarity: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.defaultPrivilege.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.defaultPrivilege.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.defaultPrivilege.findMany({ ```typescript const item = await db.defaultPrivilege.create({ - data: { databaseId: 'value', schemaId: 'value', objectType: 'value', privilege: 'value', granteeName: 'value', isGrant: 'value' }, + data: { databaseId: 'value', schemaId: 'value', objectType: 'value', privilege: 'value', granteeName: 'value', isGrant: 'value', objectTypeTrgmSimilarity: 'value', privilegeTrgmSimilarity: 'value', granteeNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/denormalized-table-field.md b/skills/orm-public/references/denormalized-table-field.md index e8e21b99b..f3d98ab0e 100644 --- a/skills/orm-public/references/denormalized-table-field.md +++ b/skills/orm-public/references/denormalized-table-field.md @@ -9,7 +9,7 @@ ORM operations for DenormalizedTableField records ```typescript db.denormalizedTableField.findMany({ select: { id: true } }).execute() db.denormalizedTableField.findOne({ id: '', select: { id: true } }).execute() -db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '' }, select: { id: true } }).execute() +db.denormalizedTableField.create({ data: { databaseId: '', tableId: '', fieldId: '', setIds: '', refTableId: '', refFieldId: '', refIds: '', useUpdates: '', updateDefaults: '', funcName: '', funcOrder: '', funcNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.denormalizedTableField.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.denormalizedTableField.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.denormalizedTableField.findMany({ ```typescript const item = await db.denormalizedTableField.create({ - data: { databaseId: 'value', tableId: 'value', fieldId: 'value', setIds: 'value', refTableId: 'value', refFieldId: 'value', refIds: 'value', useUpdates: 'value', updateDefaults: 'value', funcName: 'value', funcOrder: 'value' }, + data: { databaseId: 'value', tableId: 'value', fieldId: 'value', setIds: 'value', refTableId: 'value', refFieldId: 'value', refIds: 'value', useUpdates: 'value', updateDefaults: 'value', funcName: 'value', funcOrder: 'value', funcNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/emails-module.md b/skills/orm-public/references/emails-module.md index 7aa8b7c01..57ac205a6 100644 --- a/skills/orm-public/references/emails-module.md +++ b/skills/orm-public/references/emails-module.md @@ -9,7 +9,7 @@ ORM operations for EmailsModule records ```typescript db.emailsModule.findMany({ select: { id: true } }).execute() db.emailsModule.findOne({ id: '', select: { id: true } }).execute() -db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute() +db.emailsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.emailsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.emailsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.emailsModule.findMany({ ```typescript const item = await db.emailsModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value', tableNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/encrypted-secrets-module.md b/skills/orm-public/references/encrypted-secrets-module.md index 899ff8b77..73abd7a85 100644 --- a/skills/orm-public/references/encrypted-secrets-module.md +++ b/skills/orm-public/references/encrypted-secrets-module.md @@ -9,7 +9,7 @@ ORM operations for EncryptedSecretsModule records ```typescript db.encryptedSecretsModule.findMany({ select: { id: true } }).execute() db.encryptedSecretsModule.findOne({ id: '', select: { id: true } }).execute() -db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute() +db.encryptedSecretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.encryptedSecretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.encryptedSecretsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.encryptedSecretsModule.findMany({ ```typescript const item = await db.encryptedSecretsModule.create({ - data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value', tableNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/field-module.md b/skills/orm-public/references/field-module.md index 572a2f624..9439e8f56 100644 --- a/skills/orm-public/references/field-module.md +++ b/skills/orm-public/references/field-module.md @@ -9,7 +9,7 @@ ORM operations for FieldModule records ```typescript db.fieldModule.findMany({ select: { id: true } }).execute() db.fieldModule.findOne({ id: '', select: { id: true } }).execute() -db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '' }, select: { id: true } }).execute() +db.fieldModule.create({ data: { databaseId: '', privateSchemaId: '', tableId: '', fieldId: '', nodeType: '', data: '', triggers: '', functions: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.fieldModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.fieldModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.fieldModule.findMany({ ```typescript const item = await db.fieldModule.create({ - data: { databaseId: 'value', privateSchemaId: 'value', tableId: 'value', fieldId: 'value', nodeType: 'value', data: 'value', triggers: 'value', functions: 'value' }, + data: { databaseId: 'value', privateSchemaId: 'value', tableId: 'value', fieldId: 'value', nodeType: 'value', data: 'value', triggers: 'value', functions: 'value', nodeTypeTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/field.md b/skills/orm-public/references/field.md index bc6a094ca..8ca4e0404 100644 --- a/skills/orm-public/references/field.md +++ b/skills/orm-public/references/field.md @@ -9,7 +9,7 @@ ORM operations for Field records ```typescript db.field.findMany({ select: { id: true } }).execute() db.field.findOne({ id: '', select: { id: true } }).execute() -db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '' }, select: { id: true } }).execute() +db.field.create({ data: { databaseId: '', tableId: '', name: '', label: '', description: '', smartTags: '', isRequired: '', defaultValue: '', defaultValueAst: '', isHidden: '', type: '', fieldOrder: '', regexp: '', chk: '', chkExpr: '', min: '', max: '', tags: '', category: '', module: '', scope: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', defaultValueTrgmSimilarity: '', regexpTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.field.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.field.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.field.findMany({ ```typescript const item = await db.field.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', label: 'value', description: 'value', smartTags: 'value', isRequired: 'value', defaultValue: 'value', defaultValueAst: 'value', isHidden: 'value', type: 'value', fieldOrder: 'value', regexp: 'value', chk: 'value', chkExpr: 'value', min: 'value', max: 'value', tags: 'value', category: 'value', module: 'value', scope: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', label: 'value', description: 'value', smartTags: 'value', isRequired: 'value', defaultValue: 'value', defaultValueAst: 'value', isHidden: 'value', type: 'value', fieldOrder: 'value', regexp: 'value', chk: 'value', chkExpr: 'value', min: 'value', max: 'value', tags: 'value', category: 'value', module: 'value', scope: 'value', nameTrgmSimilarity: 'value', labelTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', defaultValueTrgmSimilarity: 'value', regexpTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/foreign-key-constraint.md b/skills/orm-public/references/foreign-key-constraint.md index 208ed418b..6c9dacb2e 100644 --- a/skills/orm-public/references/foreign-key-constraint.md +++ b/skills/orm-public/references/foreign-key-constraint.md @@ -9,7 +9,7 @@ ORM operations for ForeignKeyConstraint records ```typescript db.foreignKeyConstraint.findMany({ select: { id: true } }).execute() db.foreignKeyConstraint.findOne({ id: '', select: { id: true } }).execute() -db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.foreignKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', refTableId: '', refFieldIds: '', deleteAction: '', updateAction: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', deleteActionTrgmSimilarity: '', updateActionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.foreignKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.foreignKeyConstraint.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.foreignKeyConstraint.findMany({ ```typescript const item = await db.foreignKeyConstraint.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', description: 'value', smartTags: 'value', type: 'value', fieldIds: 'value', refTableId: 'value', refFieldIds: 'value', deleteAction: 'value', updateAction: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', description: 'value', smartTags: 'value', type: 'value', fieldIds: 'value', refTableId: 'value', refFieldIds: 'value', deleteAction: 'value', updateAction: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', typeTrgmSimilarity: 'value', deleteActionTrgmSimilarity: 'value', updateActionTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/hierarchy-module.md b/skills/orm-public/references/hierarchy-module.md index 4487340e5..ef1e9c849 100644 --- a/skills/orm-public/references/hierarchy-module.md +++ b/skills/orm-public/references/hierarchy-module.md @@ -9,7 +9,7 @@ ORM operations for HierarchyModule records ```typescript db.hierarchyModule.findMany({ select: { id: true } }).execute() db.hierarchyModule.findOne({ id: '', select: { id: true } }).execute() -db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '' }, select: { id: true } }).execute() +db.hierarchyModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', chartEdgesTableId: '', chartEdgesTableName: '', hierarchySprtTableId: '', hierarchySprtTableName: '', chartEdgeGrantsTableId: '', chartEdgeGrantsTableName: '', entityTableId: '', usersTableId: '', prefix: '', privateSchemaName: '', sprtTableName: '', rebuildHierarchyFunction: '', getSubordinatesFunction: '', getManagersFunction: '', isManagerOfFunction: '', chartEdgesTableNameTrgmSimilarity: '', hierarchySprtTableNameTrgmSimilarity: '', chartEdgeGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', privateSchemaNameTrgmSimilarity: '', sprtTableNameTrgmSimilarity: '', rebuildHierarchyFunctionTrgmSimilarity: '', getSubordinatesFunctionTrgmSimilarity: '', getManagersFunctionTrgmSimilarity: '', isManagerOfFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.hierarchyModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.hierarchyModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.hierarchyModule.findMany({ ```typescript const item = await db.hierarchyModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', chartEdgesTableId: 'value', chartEdgesTableName: 'value', hierarchySprtTableId: 'value', hierarchySprtTableName: 'value', chartEdgeGrantsTableId: 'value', chartEdgeGrantsTableName: 'value', entityTableId: 'value', usersTableId: 'value', prefix: 'value', privateSchemaName: 'value', sprtTableName: 'value', rebuildHierarchyFunction: 'value', getSubordinatesFunction: 'value', getManagersFunction: 'value', isManagerOfFunction: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', chartEdgesTableId: 'value', chartEdgesTableName: 'value', hierarchySprtTableId: 'value', hierarchySprtTableName: 'value', chartEdgeGrantsTableId: 'value', chartEdgeGrantsTableName: 'value', entityTableId: 'value', usersTableId: 'value', prefix: 'value', privateSchemaName: 'value', sprtTableName: 'value', rebuildHierarchyFunction: 'value', getSubordinatesFunction: 'value', getManagersFunction: 'value', isManagerOfFunction: 'value', chartEdgesTableNameTrgmSimilarity: 'value', hierarchySprtTableNameTrgmSimilarity: 'value', chartEdgeGrantsTableNameTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', privateSchemaNameTrgmSimilarity: 'value', sprtTableNameTrgmSimilarity: 'value', rebuildHierarchyFunctionTrgmSimilarity: 'value', getSubordinatesFunctionTrgmSimilarity: 'value', getManagersFunctionTrgmSimilarity: 'value', isManagerOfFunctionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/index.md b/skills/orm-public/references/index.md index aa07f8444..43f45d5e7 100644 --- a/skills/orm-public/references/index.md +++ b/skills/orm-public/references/index.md @@ -9,7 +9,7 @@ ORM operations for Index records ```typescript db.index.findMany({ select: { id: true } }).execute() db.index.findOne({ id: '', select: { id: true } }).execute() -db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.index.create({ data: { databaseId: '', tableId: '', name: '', fieldIds: '', includeFieldIds: '', accessMethod: '', indexParams: '', whereClause: '', isUnique: '', options: '', opClasses: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', accessMethodTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.index.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.index.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.index.findMany({ ```typescript const item = await db.index.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', fieldIds: 'value', includeFieldIds: 'value', accessMethod: 'value', indexParams: 'value', whereClause: 'value', isUnique: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', fieldIds: 'value', includeFieldIds: 'value', accessMethod: 'value', indexParams: 'value', whereClause: 'value', isUnique: 'value', options: 'value', opClasses: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', accessMethodTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/invite.md b/skills/orm-public/references/invite.md index 58d4f5fd7..06991a189 100644 --- a/skills/orm-public/references/invite.md +++ b/skills/orm-public/references/invite.md @@ -9,7 +9,7 @@ Invitation records sent to prospective members via email, with token-based redem ```typescript db.invite.findMany({ select: { id: true } }).execute() db.invite.findOne({ id: '', select: { id: true } }).execute() -db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '' }, select: { id: true } }).execute() +db.invite.create({ data: { email: '', senderId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.invite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute() db.invite.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.invite.findMany({ ```typescript const item = await db.invite.create({ - data: { email: 'value', senderId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value' }, + data: { email: 'value', senderId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value', inviteTokenTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/invites-module.md b/skills/orm-public/references/invites-module.md index 969726254..21a3fa045 100644 --- a/skills/orm-public/references/invites-module.md +++ b/skills/orm-public/references/invites-module.md @@ -9,7 +9,7 @@ ORM operations for InvitesModule records ```typescript db.invitesModule.findMany({ select: { id: true } }).execute() db.invitesModule.findOne({ id: '', select: { id: true } }).execute() -db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '' }, select: { id: true } }).execute() +db.invitesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', emailsTableId: '', usersTableId: '', invitesTableId: '', claimedInvitesTableId: '', invitesTableName: '', claimedInvitesTableName: '', submitInviteCodeFunction: '', prefix: '', membershipType: '', entityTableId: '', invitesTableNameTrgmSimilarity: '', claimedInvitesTableNameTrgmSimilarity: '', submitInviteCodeFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.invitesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.invitesModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.invitesModule.findMany({ ```typescript const item = await db.invitesModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', emailsTableId: 'value', usersTableId: 'value', invitesTableId: 'value', claimedInvitesTableId: 'value', invitesTableName: 'value', claimedInvitesTableName: 'value', submitInviteCodeFunction: 'value', prefix: 'value', membershipType: 'value', entityTableId: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', emailsTableId: 'value', usersTableId: 'value', invitesTableId: 'value', claimedInvitesTableId: 'value', invitesTableName: 'value', claimedInvitesTableName: 'value', submitInviteCodeFunction: 'value', prefix: 'value', membershipType: 'value', entityTableId: 'value', invitesTableNameTrgmSimilarity: 'value', claimedInvitesTableNameTrgmSimilarity: 'value', submitInviteCodeFunctionTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/levels-module.md b/skills/orm-public/references/levels-module.md index 788933a3c..48fcad06d 100644 --- a/skills/orm-public/references/levels-module.md +++ b/skills/orm-public/references/levels-module.md @@ -9,7 +9,7 @@ ORM operations for LevelsModule records ```typescript db.levelsModule.findMany({ select: { id: true } }).execute() db.levelsModule.findOne({ id: '', select: { id: true } }).execute() -db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute() +db.levelsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', stepsTableId: '', stepsTableName: '', achievementsTableId: '', achievementsTableName: '', levelsTableId: '', levelsTableName: '', levelRequirementsTableId: '', levelRequirementsTableName: '', completedStep: '', incompletedStep: '', tgAchievement: '', tgAchievementToggle: '', tgAchievementToggleBoolean: '', tgAchievementBoolean: '', upsertAchievement: '', tgUpdateAchievements: '', stepsRequired: '', levelAchieved: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', stepsTableNameTrgmSimilarity: '', achievementsTableNameTrgmSimilarity: '', levelsTableNameTrgmSimilarity: '', levelRequirementsTableNameTrgmSimilarity: '', completedStepTrgmSimilarity: '', incompletedStepTrgmSimilarity: '', tgAchievementTrgmSimilarity: '', tgAchievementToggleTrgmSimilarity: '', tgAchievementToggleBooleanTrgmSimilarity: '', tgAchievementBooleanTrgmSimilarity: '', upsertAchievementTrgmSimilarity: '', tgUpdateAchievementsTrgmSimilarity: '', stepsRequiredTrgmSimilarity: '', levelAchievedTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.levelsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.levelsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.levelsModule.findMany({ ```typescript const item = await db.levelsModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', stepsTableId: 'value', stepsTableName: 'value', achievementsTableId: 'value', achievementsTableName: 'value', levelsTableId: 'value', levelsTableName: 'value', levelRequirementsTableId: 'value', levelRequirementsTableName: 'value', completedStep: 'value', incompletedStep: 'value', tgAchievement: 'value', tgAchievementToggle: 'value', tgAchievementToggleBoolean: 'value', tgAchievementBoolean: 'value', upsertAchievement: 'value', tgUpdateAchievements: 'value', stepsRequired: 'value', levelAchieved: 'value', prefix: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', stepsTableId: 'value', stepsTableName: 'value', achievementsTableId: 'value', achievementsTableName: 'value', levelsTableId: 'value', levelsTableName: 'value', levelRequirementsTableId: 'value', levelRequirementsTableName: 'value', completedStep: 'value', incompletedStep: 'value', tgAchievement: 'value', tgAchievementToggle: 'value', tgAchievementToggleBoolean: 'value', tgAchievementBoolean: 'value', upsertAchievement: 'value', tgUpdateAchievements: 'value', stepsRequired: 'value', levelAchieved: 'value', prefix: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value', stepsTableNameTrgmSimilarity: 'value', achievementsTableNameTrgmSimilarity: 'value', levelsTableNameTrgmSimilarity: 'value', levelRequirementsTableNameTrgmSimilarity: 'value', completedStepTrgmSimilarity: 'value', incompletedStepTrgmSimilarity: 'value', tgAchievementTrgmSimilarity: 'value', tgAchievementToggleTrgmSimilarity: 'value', tgAchievementToggleBooleanTrgmSimilarity: 'value', tgAchievementBooleanTrgmSimilarity: 'value', upsertAchievementTrgmSimilarity: 'value', tgUpdateAchievementsTrgmSimilarity: 'value', stepsRequiredTrgmSimilarity: 'value', levelAchievedTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/limits-module.md b/skills/orm-public/references/limits-module.md index fcf15b0e9..e5e1b8139 100644 --- a/skills/orm-public/references/limits-module.md +++ b/skills/orm-public/references/limits-module.md @@ -9,7 +9,7 @@ ORM operations for LimitsModule records ```typescript db.limitsModule.findMany({ select: { id: true } }).execute() db.limitsModule.findOne({ id: '', select: { id: true } }).execute() -db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '' }, select: { id: true } }).execute() +db.limitsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', limitIncrementFunction: '', limitDecrementFunction: '', limitIncrementTrigger: '', limitDecrementTrigger: '', limitUpdateTrigger: '', limitCheckFunction: '', prefix: '', membershipType: '', entityTableId: '', actorTableId: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', limitIncrementFunctionTrgmSimilarity: '', limitDecrementFunctionTrgmSimilarity: '', limitIncrementTriggerTrgmSimilarity: '', limitDecrementTriggerTrgmSimilarity: '', limitUpdateTriggerTrgmSimilarity: '', limitCheckFunctionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.limitsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.limitsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.limitsModule.findMany({ ```typescript const item = await db.limitsModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', tableName: 'value', defaultTableId: 'value', defaultTableName: 'value', limitIncrementFunction: 'value', limitDecrementFunction: 'value', limitIncrementTrigger: 'value', limitDecrementTrigger: 'value', limitUpdateTrigger: 'value', limitCheckFunction: 'value', prefix: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', tableName: 'value', defaultTableId: 'value', defaultTableName: 'value', limitIncrementFunction: 'value', limitDecrementFunction: 'value', limitIncrementTrigger: 'value', limitDecrementTrigger: 'value', limitUpdateTrigger: 'value', limitCheckFunction: 'value', prefix: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value', tableNameTrgmSimilarity: 'value', defaultTableNameTrgmSimilarity: 'value', limitIncrementFunctionTrgmSimilarity: 'value', limitDecrementFunctionTrgmSimilarity: 'value', limitIncrementTriggerTrgmSimilarity: 'value', limitDecrementTriggerTrgmSimilarity: 'value', limitUpdateTriggerTrgmSimilarity: 'value', limitCheckFunctionTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/membership-type.md b/skills/orm-public/references/membership-type.md index f53c9f806..b42d137d5 100644 --- a/skills/orm-public/references/membership-type.md +++ b/skills/orm-public/references/membership-type.md @@ -9,7 +9,7 @@ Defines the different scopes of membership (e.g. App Member, Organization Member ```typescript db.membershipType.findMany({ select: { id: true } }).execute() db.membershipType.findOne({ id: '', select: { id: true } }).execute() -db.membershipType.create({ data: { name: '', description: '', prefix: '' }, select: { id: true } }).execute() +db.membershipType.create({ data: { name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.membershipType.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.membershipType.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.membershipType.findMany({ ```typescript const item = await db.membershipType.create({ - data: { name: 'value', description: 'value', prefix: 'value' }, + data: { name: 'value', description: 'value', prefix: 'value', descriptionTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/membership-types-module.md b/skills/orm-public/references/membership-types-module.md index 7c684800a..843db6322 100644 --- a/skills/orm-public/references/membership-types-module.md +++ b/skills/orm-public/references/membership-types-module.md @@ -9,7 +9,7 @@ ORM operations for MembershipTypesModule records ```typescript db.membershipTypesModule.findMany({ select: { id: true } }).execute() db.membershipTypesModule.findOne({ id: '', select: { id: true } }).execute() -db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute() +db.membershipTypesModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.membershipTypesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.membershipTypesModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.membershipTypesModule.findMany({ ```typescript const item = await db.membershipTypesModule.create({ - data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value', tableNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/memberships-module.md b/skills/orm-public/references/memberships-module.md index 776bc63a0..c3550d226 100644 --- a/skills/orm-public/references/memberships-module.md +++ b/skills/orm-public/references/memberships-module.md @@ -9,7 +9,7 @@ ORM operations for MembershipsModule records ```typescript db.membershipsModule.findMany({ select: { id: true } }).execute() db.membershipsModule.findOne({ id: '', select: { id: true } }).execute() -db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '' }, select: { id: true } }).execute() +db.membershipsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', membershipsTableId: '', membershipsTableName: '', membersTableId: '', membersTableName: '', membershipDefaultsTableId: '', membershipDefaultsTableName: '', grantsTableId: '', grantsTableName: '', actorTableId: '', limitsTableId: '', defaultLimitsTableId: '', permissionsTableId: '', defaultPermissionsTableId: '', sprtTableId: '', adminGrantsTableId: '', adminGrantsTableName: '', ownerGrantsTableId: '', ownerGrantsTableName: '', membershipType: '', entityTableId: '', entityTableOwnerId: '', prefix: '', actorMaskCheck: '', actorPermCheck: '', entityIdsByMask: '', entityIdsByPerm: '', entityIdsFunction: '', membershipsTableNameTrgmSimilarity: '', membersTableNameTrgmSimilarity: '', membershipDefaultsTableNameTrgmSimilarity: '', grantsTableNameTrgmSimilarity: '', adminGrantsTableNameTrgmSimilarity: '', ownerGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', actorMaskCheckTrgmSimilarity: '', actorPermCheckTrgmSimilarity: '', entityIdsByMaskTrgmSimilarity: '', entityIdsByPermTrgmSimilarity: '', entityIdsFunctionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.membershipsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.membershipsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.membershipsModule.findMany({ ```typescript const item = await db.membershipsModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', membershipsTableId: 'value', membershipsTableName: 'value', membersTableId: 'value', membersTableName: 'value', membershipDefaultsTableId: 'value', membershipDefaultsTableName: 'value', grantsTableId: 'value', grantsTableName: 'value', actorTableId: 'value', limitsTableId: 'value', defaultLimitsTableId: 'value', permissionsTableId: 'value', defaultPermissionsTableId: 'value', sprtTableId: 'value', adminGrantsTableId: 'value', adminGrantsTableName: 'value', ownerGrantsTableId: 'value', ownerGrantsTableName: 'value', membershipType: 'value', entityTableId: 'value', entityTableOwnerId: 'value', prefix: 'value', actorMaskCheck: 'value', actorPermCheck: 'value', entityIdsByMask: 'value', entityIdsByPerm: 'value', entityIdsFunction: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', membershipsTableId: 'value', membershipsTableName: 'value', membersTableId: 'value', membersTableName: 'value', membershipDefaultsTableId: 'value', membershipDefaultsTableName: 'value', grantsTableId: 'value', grantsTableName: 'value', actorTableId: 'value', limitsTableId: 'value', defaultLimitsTableId: 'value', permissionsTableId: 'value', defaultPermissionsTableId: 'value', sprtTableId: 'value', adminGrantsTableId: 'value', adminGrantsTableName: 'value', ownerGrantsTableId: 'value', ownerGrantsTableName: 'value', membershipType: 'value', entityTableId: 'value', entityTableOwnerId: 'value', prefix: 'value', actorMaskCheck: 'value', actorPermCheck: 'value', entityIdsByMask: 'value', entityIdsByPerm: 'value', entityIdsFunction: 'value', membershipsTableNameTrgmSimilarity: 'value', membersTableNameTrgmSimilarity: 'value', membershipDefaultsTableNameTrgmSimilarity: 'value', grantsTableNameTrgmSimilarity: 'value', adminGrantsTableNameTrgmSimilarity: 'value', ownerGrantsTableNameTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', actorMaskCheckTrgmSimilarity: 'value', actorPermCheckTrgmSimilarity: 'value', entityIdsByMaskTrgmSimilarity: 'value', entityIdsByPermTrgmSimilarity: 'value', entityIdsFunctionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/node-type-registry.md b/skills/orm-public/references/node-type-registry.md index 08d1c2054..ca2790558 100644 --- a/skills/orm-public/references/node-type-registry.md +++ b/skills/orm-public/references/node-type-registry.md @@ -9,7 +9,7 @@ Registry of high-level semantic AST node types using domain-prefixed naming. The ```typescript db.nodeTypeRegistry.findMany({ select: { id: true } }).execute() db.nodeTypeRegistry.findOne({ name: '', select: { id: true } }).execute() -db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '' }, select: { id: true } }).execute() +db.nodeTypeRegistry.create({ data: { slug: '', category: '', displayName: '', description: '', parameterSchema: '', tags: '', nameTrgmSimilarity: '', slugTrgmSimilarity: '', categoryTrgmSimilarity: '', displayNameTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.nodeTypeRegistry.update({ where: { name: '' }, data: { slug: '' }, select: { id: true } }).execute() db.nodeTypeRegistry.delete({ where: { name: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.nodeTypeRegistry.findMany({ ```typescript const item = await db.nodeTypeRegistry.create({ - data: { slug: 'value', category: 'value', displayName: 'value', description: 'value', parameterSchema: 'value', tags: 'value' }, + data: { slug: 'value', category: 'value', displayName: 'value', description: 'value', parameterSchema: 'value', tags: 'value', nameTrgmSimilarity: 'value', slugTrgmSimilarity: 'value', categoryTrgmSimilarity: 'value', displayNameTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { name: true } }).execute(); ``` diff --git a/skills/orm-public/references/org-chart-edge-grant.md b/skills/orm-public/references/org-chart-edge-grant.md index 55c97a1cb..01ba73fe8 100644 --- a/skills/orm-public/references/org-chart-edge-grant.md +++ b/skills/orm-public/references/org-chart-edge-grant.md @@ -9,7 +9,7 @@ Append-only log of hierarchy edge grants and revocations; triggers apply changes ```typescript db.orgChartEdgeGrant.findMany({ select: { id: true } }).execute() db.orgChartEdgeGrant.findOne({ id: '', select: { id: true } }).execute() -db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute() +db.orgChartEdgeGrant.create({ data: { entityId: '', childId: '', parentId: '', grantorId: '', isGrant: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgChartEdgeGrant.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute() db.orgChartEdgeGrant.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgChartEdgeGrant.findMany({ ```typescript const item = await db.orgChartEdgeGrant.create({ - data: { entityId: 'value', childId: 'value', parentId: 'value', grantorId: 'value', isGrant: 'value', positionTitle: 'value', positionLevel: 'value' }, + data: { entityId: 'value', childId: 'value', parentId: 'value', grantorId: 'value', isGrant: 'value', positionTitle: 'value', positionLevel: 'value', positionTitleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/org-chart-edge.md b/skills/orm-public/references/org-chart-edge.md index 7fd06a563..b15c2d8d7 100644 --- a/skills/orm-public/references/org-chart-edge.md +++ b/skills/orm-public/references/org-chart-edge.md @@ -9,7 +9,7 @@ Organizational chart edges defining parent-child reporting relationships between ```typescript db.orgChartEdge.findMany({ select: { id: true } }).execute() db.orgChartEdge.findOne({ id: '', select: { id: true } }).execute() -db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '' }, select: { id: true } }).execute() +db.orgChartEdge.create({ data: { entityId: '', childId: '', parentId: '', positionTitle: '', positionLevel: '', positionTitleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgChartEdge.update({ where: { id: '' }, data: { entityId: '' }, select: { id: true } }).execute() db.orgChartEdge.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgChartEdge.findMany({ ```typescript const item = await db.orgChartEdge.create({ - data: { entityId: 'value', childId: 'value', parentId: 'value', positionTitle: 'value', positionLevel: 'value' }, + data: { entityId: 'value', childId: 'value', parentId: 'value', positionTitle: 'value', positionLevel: 'value', positionTitleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/org-invite.md b/skills/orm-public/references/org-invite.md index 27ea8b4ac..55552314b 100644 --- a/skills/orm-public/references/org-invite.md +++ b/skills/orm-public/references/org-invite.md @@ -9,7 +9,7 @@ Invitation records sent to prospective members via email, with token-based redem ```typescript db.orgInvite.findMany({ select: { id: true } }).execute() db.orgInvite.findOne({ id: '', select: { id: true } }).execute() -db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '' }, select: { id: true } }).execute() +db.orgInvite.create({ data: { email: '', senderId: '', receiverId: '', inviteToken: '', inviteValid: '', inviteLimit: '', inviteCount: '', multiple: '', data: '', expiresAt: '', entityId: '', inviteTokenTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgInvite.update({ where: { id: '' }, data: { email: '' }, select: { id: true } }).execute() db.orgInvite.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgInvite.findMany({ ```typescript const item = await db.orgInvite.create({ - data: { email: 'value', senderId: 'value', receiverId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value', entityId: 'value' }, + data: { email: 'value', senderId: 'value', receiverId: 'value', inviteToken: 'value', inviteValid: 'value', inviteLimit: 'value', inviteCount: 'value', multiple: 'value', data: 'value', expiresAt: 'value', entityId: 'value', inviteTokenTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/org-permission.md b/skills/orm-public/references/org-permission.md index 5be6a77e0..0ae6ecea1 100644 --- a/skills/orm-public/references/org-permission.md +++ b/skills/orm-public/references/org-permission.md @@ -9,7 +9,7 @@ Defines available permissions as named bits within a bitmask, used by the RBAC s ```typescript db.orgPermission.findMany({ select: { id: true } }).execute() db.orgPermission.findOne({ id: '', select: { id: true } }).execute() -db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '' }, select: { id: true } }).execute() +db.orgPermission.create({ data: { name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.orgPermission.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.orgPermission.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.orgPermission.findMany({ ```typescript const item = await db.orgPermission.create({ - data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value' }, + data: { name: 'value', bitnum: 'value', bitstr: 'value', description: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/permissions-module.md b/skills/orm-public/references/permissions-module.md index ea62c00fe..37ce49ae7 100644 --- a/skills/orm-public/references/permissions-module.md +++ b/skills/orm-public/references/permissions-module.md @@ -9,7 +9,7 @@ ORM operations for PermissionsModule records ```typescript db.permissionsModule.findMany({ select: { id: true } }).execute() db.permissionsModule.findOne({ id: '', select: { id: true } }).execute() -db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '' }, select: { id: true } }).execute() +db.permissionsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', defaultTableId: '', defaultTableName: '', bitlen: '', membershipType: '', entityTableId: '', actorTableId: '', prefix: '', getPaddedMask: '', getMask: '', getByMask: '', getMaskByName: '', tableNameTrgmSimilarity: '', defaultTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', getPaddedMaskTrgmSimilarity: '', getMaskTrgmSimilarity: '', getByMaskTrgmSimilarity: '', getMaskByNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.permissionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.permissionsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.permissionsModule.findMany({ ```typescript const item = await db.permissionsModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', tableName: 'value', defaultTableId: 'value', defaultTableName: 'value', bitlen: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value', prefix: 'value', getPaddedMask: 'value', getMask: 'value', getByMask: 'value', getMaskByName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', tableName: 'value', defaultTableId: 'value', defaultTableName: 'value', bitlen: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value', prefix: 'value', getPaddedMask: 'value', getMask: 'value', getByMask: 'value', getMaskByName: 'value', tableNameTrgmSimilarity: 'value', defaultTableNameTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', getPaddedMaskTrgmSimilarity: 'value', getMaskTrgmSimilarity: 'value', getByMaskTrgmSimilarity: 'value', getMaskByNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/phone-number.md b/skills/orm-public/references/phone-number.md index 1ecf93b35..47710a494 100644 --- a/skills/orm-public/references/phone-number.md +++ b/skills/orm-public/references/phone-number.md @@ -9,7 +9,7 @@ User phone numbers with country code, verification, and primary-number managemen ```typescript db.phoneNumber.findMany({ select: { id: true } }).execute() db.phoneNumber.findOne({ id: '', select: { id: true } }).execute() -db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '' }, select: { id: true } }).execute() +db.phoneNumber.create({ data: { ownerId: '', cc: '', number: '', isVerified: '', isPrimary: '', ccTrgmSimilarity: '', numberTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.phoneNumber.update({ where: { id: '' }, data: { ownerId: '' }, select: { id: true } }).execute() db.phoneNumber.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.phoneNumber.findMany({ ```typescript const item = await db.phoneNumber.create({ - data: { ownerId: 'value', cc: 'value', number: 'value', isVerified: 'value', isPrimary: 'value' }, + data: { ownerId: 'value', cc: 'value', number: 'value', isVerified: 'value', isPrimary: 'value', ccTrgmSimilarity: 'value', numberTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/phone-numbers-module.md b/skills/orm-public/references/phone-numbers-module.md index ce5468e2f..4a1590ab7 100644 --- a/skills/orm-public/references/phone-numbers-module.md +++ b/skills/orm-public/references/phone-numbers-module.md @@ -9,7 +9,7 @@ ORM operations for PhoneNumbersModule records ```typescript db.phoneNumbersModule.findMany({ select: { id: true } }).execute() db.phoneNumbersModule.findOne({ id: '', select: { id: true } }).execute() -db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '' }, select: { id: true } }).execute() +db.phoneNumbersModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.phoneNumbersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.phoneNumbersModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.phoneNumbersModule.findMany({ ```typescript const item = await db.phoneNumbersModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value', tableNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/policy.md b/skills/orm-public/references/policy.md index d73ed7e05..f94fdadbd 100644 --- a/skills/orm-public/references/policy.md +++ b/skills/orm-public/references/policy.md @@ -9,7 +9,7 @@ ORM operations for Policy records ```typescript db.policy.findMany({ select: { id: true } }).execute() db.policy.findOne({ id: '', select: { id: true } }).execute() -db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.policy.create({ data: { databaseId: '', tableId: '', name: '', granteeName: '', privilege: '', permissive: '', disabled: '', policyType: '', data: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.policy.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.policy.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.policy.findMany({ ```typescript const item = await db.policy.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', granteeName: 'value', privilege: 'value', permissive: 'value', disabled: 'value', policyType: 'value', data: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', granteeName: 'value', privilege: 'value', permissive: 'value', disabled: 'value', policyType: 'value', data: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', granteeNameTrgmSimilarity: 'value', privilegeTrgmSimilarity: 'value', policyTypeTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/primary-key-constraint.md b/skills/orm-public/references/primary-key-constraint.md index c3e4fb20a..61f0b4ab1 100644 --- a/skills/orm-public/references/primary-key-constraint.md +++ b/skills/orm-public/references/primary-key-constraint.md @@ -9,7 +9,7 @@ ORM operations for PrimaryKeyConstraint records ```typescript db.primaryKeyConstraint.findMany({ select: { id: true } }).execute() db.primaryKeyConstraint.findOne({ id: '', select: { id: true } }).execute() -db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.primaryKeyConstraint.create({ data: { databaseId: '', tableId: '', name: '', type: '', fieldIds: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.primaryKeyConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.primaryKeyConstraint.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.primaryKeyConstraint.findMany({ ```typescript const item = await db.primaryKeyConstraint.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', type: 'value', fieldIds: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', type: 'value', fieldIds: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', typeTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/profiles-module.md b/skills/orm-public/references/profiles-module.md index db21d821e..03a39b23a 100644 --- a/skills/orm-public/references/profiles-module.md +++ b/skills/orm-public/references/profiles-module.md @@ -9,7 +9,7 @@ ORM operations for ProfilesModule records ```typescript db.profilesModule.findMany({ select: { id: true } }).execute() db.profilesModule.findOne({ id: '', select: { id: true } }).execute() -db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '' }, select: { id: true } }).execute() +db.profilesModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', tableName: '', profilePermissionsTableId: '', profilePermissionsTableName: '', profileGrantsTableId: '', profileGrantsTableName: '', profileDefinitionGrantsTableId: '', profileDefinitionGrantsTableName: '', membershipType: '', entityTableId: '', actorTableId: '', permissionsTableId: '', membershipsTableId: '', prefix: '', tableNameTrgmSimilarity: '', profilePermissionsTableNameTrgmSimilarity: '', profileGrantsTableNameTrgmSimilarity: '', profileDefinitionGrantsTableNameTrgmSimilarity: '', prefixTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.profilesModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.profilesModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.profilesModule.findMany({ ```typescript const item = await db.profilesModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', tableName: 'value', profilePermissionsTableId: 'value', profilePermissionsTableName: 'value', profileGrantsTableId: 'value', profileGrantsTableName: 'value', profileDefinitionGrantsTableId: 'value', profileDefinitionGrantsTableName: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value', permissionsTableId: 'value', membershipsTableId: 'value', prefix: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', tableName: 'value', profilePermissionsTableId: 'value', profilePermissionsTableName: 'value', profileGrantsTableId: 'value', profileGrantsTableName: 'value', profileDefinitionGrantsTableId: 'value', profileDefinitionGrantsTableName: 'value', membershipType: 'value', entityTableId: 'value', actorTableId: 'value', permissionsTableId: 'value', membershipsTableId: 'value', prefix: 'value', tableNameTrgmSimilarity: 'value', profilePermissionsTableNameTrgmSimilarity: 'value', profileGrantsTableNameTrgmSimilarity: 'value', profileDefinitionGrantsTableNameTrgmSimilarity: 'value', prefixTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/ref.md b/skills/orm-public/references/ref.md index f677081b4..0e4156bb6 100644 --- a/skills/orm-public/references/ref.md +++ b/skills/orm-public/references/ref.md @@ -9,7 +9,7 @@ A ref is a data structure for pointing to a commit. ```typescript db.ref.findMany({ select: { id: true } }).execute() db.ref.findOne({ id: '', select: { id: true } }).execute() -db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '' }, select: { id: true } }).execute() +db.ref.create({ data: { name: '', databaseId: '', storeId: '', commitId: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.ref.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.ref.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.ref.findMany({ ```typescript const item = await db.ref.create({ - data: { name: 'value', databaseId: 'value', storeId: 'value', commitId: 'value' }, + data: { name: 'value', databaseId: 'value', storeId: 'value', commitId: 'value', nameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/relation-provision.md b/skills/orm-public/references/relation-provision.md index 2ee6d8817..ee02dc5f7 100644 --- a/skills/orm-public/references/relation-provision.md +++ b/skills/orm-public/references/relation-provision.md @@ -16,7 +16,7 @@ Provisions relational structure between tables. Supports four relation types: ```typescript db.relationProvision.findMany({ select: { id: true } }).execute() db.relationProvision.findOne({ id: '', select: { id: true } }).execute() -db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '' }, select: { id: true } }).execute() +db.relationProvision.create({ data: { databaseId: '', relationType: '', sourceTableId: '', targetTableId: '', fieldName: '', deleteAction: '', isRequired: '', junctionTableId: '', junctionTableName: '', junctionSchemaId: '', sourceFieldName: '', targetFieldName: '', useCompositeKey: '', nodeType: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFieldId: '', outJunctionTableId: '', outSourceFieldId: '', outTargetFieldId: '', relationTypeTrgmSimilarity: '', fieldNameTrgmSimilarity: '', deleteActionTrgmSimilarity: '', junctionTableNameTrgmSimilarity: '', sourceFieldNameTrgmSimilarity: '', targetFieldNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.relationProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.relationProvision.delete({ where: { id: '' } }).execute() ``` @@ -35,7 +35,7 @@ const items = await db.relationProvision.findMany({ ```typescript const item = await db.relationProvision.create({ - data: { databaseId: 'value', relationType: 'value', sourceTableId: 'value', targetTableId: 'value', fieldName: 'value', deleteAction: 'value', isRequired: 'value', junctionTableId: 'value', junctionTableName: 'value', junctionSchemaId: 'value', sourceFieldName: 'value', targetFieldName: 'value', useCompositeKey: 'value', nodeType: 'value', nodeData: 'value', grantRoles: 'value', grantPrivileges: 'value', policyType: 'value', policyPrivileges: 'value', policyRole: 'value', policyPermissive: 'value', policyName: 'value', policyData: 'value', outFieldId: 'value', outJunctionTableId: 'value', outSourceFieldId: 'value', outTargetFieldId: 'value' }, + data: { databaseId: 'value', relationType: 'value', sourceTableId: 'value', targetTableId: 'value', fieldName: 'value', deleteAction: 'value', isRequired: 'value', junctionTableId: 'value', junctionTableName: 'value', junctionSchemaId: 'value', sourceFieldName: 'value', targetFieldName: 'value', useCompositeKey: 'value', nodeType: 'value', nodeData: 'value', grantRoles: 'value', grantPrivileges: 'value', policyType: 'value', policyPrivileges: 'value', policyRole: 'value', policyPermissive: 'value', policyName: 'value', policyData: 'value', outFieldId: 'value', outJunctionTableId: 'value', outSourceFieldId: 'value', outTargetFieldId: 'value', relationTypeTrgmSimilarity: 'value', fieldNameTrgmSimilarity: 'value', deleteActionTrgmSimilarity: 'value', junctionTableNameTrgmSimilarity: 'value', sourceFieldNameTrgmSimilarity: 'value', targetFieldNameTrgmSimilarity: 'value', nodeTypeTrgmSimilarity: 'value', policyTypeTrgmSimilarity: 'value', policyRoleTrgmSimilarity: 'value', policyNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/rls-module.md b/skills/orm-public/references/rls-module.md index 3878d9298..31f89bb34 100644 --- a/skills/orm-public/references/rls-module.md +++ b/skills/orm-public/references/rls-module.md @@ -9,7 +9,7 @@ ORM operations for RlsModule records ```typescript db.rlsModule.findMany({ select: { id: true } }).execute() db.rlsModule.findOne({ id: '', select: { id: true } }).execute() -db.rlsModule.create({ data: { databaseId: '', apiId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '' }, select: { id: true } }).execute() +db.rlsModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', sessionCredentialsTableId: '', sessionsTableId: '', usersTableId: '', authenticate: '', authenticateStrict: '', currentRole: '', currentRoleId: '', authenticateTrgmSimilarity: '', authenticateStrictTrgmSimilarity: '', currentRoleTrgmSimilarity: '', currentRoleIdTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.rlsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.rlsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.rlsModule.findMany({ ```typescript const item = await db.rlsModule.create({ - data: { databaseId: 'value', apiId: 'value', schemaId: 'value', privateSchemaId: 'value', sessionCredentialsTableId: 'value', sessionsTableId: 'value', usersTableId: 'value', authenticate: 'value', authenticateStrict: 'value', currentRole: 'value', currentRoleId: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', sessionCredentialsTableId: 'value', sessionsTableId: 'value', usersTableId: 'value', authenticate: 'value', authenticateStrict: 'value', currentRole: 'value', currentRoleId: 'value', authenticateTrgmSimilarity: 'value', authenticateStrictTrgmSimilarity: 'value', currentRoleTrgmSimilarity: 'value', currentRoleIdTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/schema-grant.md b/skills/orm-public/references/schema-grant.md index 01ac45e74..42cfd97ae 100644 --- a/skills/orm-public/references/schema-grant.md +++ b/skills/orm-public/references/schema-grant.md @@ -9,7 +9,7 @@ ORM operations for SchemaGrant records ```typescript db.schemaGrant.findMany({ select: { id: true } }).execute() db.schemaGrant.findOne({ id: '', select: { id: true } }).execute() -db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '' }, select: { id: true } }).execute() +db.schemaGrant.create({ data: { databaseId: '', schemaId: '', granteeName: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.schemaGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.schemaGrant.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.schemaGrant.findMany({ ```typescript const item = await db.schemaGrant.create({ - data: { databaseId: 'value', schemaId: 'value', granteeName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', granteeName: 'value', granteeNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/schema.md b/skills/orm-public/references/schema.md index b79a48fdc..e0c00873a 100644 --- a/skills/orm-public/references/schema.md +++ b/skills/orm-public/references/schema.md @@ -9,7 +9,7 @@ ORM operations for Schema records ```typescript db.schema.findMany({ select: { id: true } }).execute() db.schema.findOne({ id: '', select: { id: true } }).execute() -db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '' }, select: { id: true } }).execute() +db.schema.create({ data: { databaseId: '', name: '', schemaName: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', tags: '', isPublic: '', nameTrgmSimilarity: '', schemaNameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.schema.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.schema.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.schema.findMany({ ```typescript const item = await db.schema.create({ - data: { databaseId: 'value', name: 'value', schemaName: 'value', label: 'value', description: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', isPublic: 'value' }, + data: { databaseId: 'value', name: 'value', schemaName: 'value', label: 'value', description: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', isPublic: 'value', nameTrgmSimilarity: 'value', schemaNameTrgmSimilarity: 'value', labelTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/secrets-module.md b/skills/orm-public/references/secrets-module.md index 2916cd2e5..c115f1a13 100644 --- a/skills/orm-public/references/secrets-module.md +++ b/skills/orm-public/references/secrets-module.md @@ -9,7 +9,7 @@ ORM operations for SecretsModule records ```typescript db.secretsModule.findMany({ select: { id: true } }).execute() db.secretsModule.findOne({ id: '', select: { id: true } }).execute() -db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '' }, select: { id: true } }).execute() +db.secretsModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', tableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.secretsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.secretsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.secretsModule.findMany({ ```typescript const item = await db.secretsModule.create({ - data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value', tableNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/secure-table-provision.md b/skills/orm-public/references/secure-table-provision.md index a541e3a0b..2d4d4935d 100644 --- a/skills/orm-public/references/secure-table-provision.md +++ b/skills/orm-public/references/secure-table-provision.md @@ -9,7 +9,7 @@ Provisions security, fields, grants, and policies onto a table. Each row can ind ```typescript db.secureTableProvision.findMany({ select: { id: true } }).execute() db.secureTableProvision.findOne({ id: '', select: { id: true } }).execute() -db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '' }, select: { id: true } }).execute() +db.secureTableProvision.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', nodeType: '', useRls: '', nodeData: '', fields: '', grantRoles: '', grantPrivileges: '', policyType: '', policyPrivileges: '', policyRole: '', policyPermissive: '', policyName: '', policyData: '', outFields: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', policyTypeTrgmSimilarity: '', policyRoleTrgmSimilarity: '', policyNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.secureTableProvision.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.secureTableProvision.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.secureTableProvision.findMany({ ```typescript const item = await db.secureTableProvision.create({ - data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value', nodeType: 'value', useRls: 'value', nodeData: 'value', grantRoles: 'value', grantPrivileges: 'value', policyType: 'value', policyPrivileges: 'value', policyRole: 'value', policyPermissive: 'value', policyName: 'value', policyData: 'value', outFields: 'value' }, + data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value', nodeType: 'value', useRls: 'value', nodeData: 'value', fields: 'value', grantRoles: 'value', grantPrivileges: 'value', policyType: 'value', policyPrivileges: 'value', policyRole: 'value', policyPermissive: 'value', policyName: 'value', policyData: 'value', outFields: 'value', tableNameTrgmSimilarity: 'value', nodeTypeTrgmSimilarity: 'value', policyTypeTrgmSimilarity: 'value', policyRoleTrgmSimilarity: 'value', policyNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/sessions-module.md b/skills/orm-public/references/sessions-module.md index 73a0d21c1..4ab7267fe 100644 --- a/skills/orm-public/references/sessions-module.md +++ b/skills/orm-public/references/sessions-module.md @@ -9,7 +9,7 @@ ORM operations for SessionsModule records ```typescript db.sessionsModule.findMany({ select: { id: true } }).execute() db.sessionsModule.findOne({ id: '', select: { id: true } }).execute() -db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '' }, select: { id: true } }).execute() +db.sessionsModule.create({ data: { databaseId: '', schemaId: '', sessionsTableId: '', sessionCredentialsTableId: '', authSettingsTableId: '', usersTableId: '', sessionsDefaultExpiration: '', sessionsTable: '', sessionCredentialsTable: '', authSettingsTable: '', sessionsTableTrgmSimilarity: '', sessionCredentialsTableTrgmSimilarity: '', authSettingsTableTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.sessionsModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.sessionsModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.sessionsModule.findMany({ ```typescript const item = await db.sessionsModule.create({ - data: { databaseId: 'value', schemaId: 'value', sessionsTableId: 'value', sessionCredentialsTableId: 'value', authSettingsTableId: 'value', usersTableId: 'value', sessionsDefaultExpiration: 'value', sessionsTable: 'value', sessionCredentialsTable: 'value', authSettingsTable: 'value' }, + data: { databaseId: 'value', schemaId: 'value', sessionsTableId: 'value', sessionCredentialsTableId: 'value', authSettingsTableId: 'value', usersTableId: 'value', sessionsDefaultExpiration: 'value', sessionsTable: 'value', sessionCredentialsTable: 'value', authSettingsTable: 'value', sessionsTableTrgmSimilarity: 'value', sessionCredentialsTableTrgmSimilarity: 'value', authSettingsTableTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/site-metadatum.md b/skills/orm-public/references/site-metadatum.md index 79bbbac5e..bdcac9fec 100644 --- a/skills/orm-public/references/site-metadatum.md +++ b/skills/orm-public/references/site-metadatum.md @@ -9,7 +9,7 @@ SEO and social sharing metadata for a site: page title, description, and Open Gr ```typescript db.siteMetadatum.findMany({ select: { id: true } }).execute() db.siteMetadatum.findOne({ id: '', select: { id: true } }).execute() -db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '' }, select: { id: true } }).execute() +db.siteMetadatum.create({ data: { databaseId: '', siteId: '', title: '', description: '', ogImage: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.siteMetadatum.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.siteMetadatum.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.siteMetadatum.findMany({ ```typescript const item = await db.siteMetadatum.create({ - data: { databaseId: 'value', siteId: 'value', title: 'value', description: 'value', ogImage: 'value' }, + data: { databaseId: 'value', siteId: 'value', title: 'value', description: 'value', ogImage: 'value', titleTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/site-module.md b/skills/orm-public/references/site-module.md index e2d643421..bebc95a00 100644 --- a/skills/orm-public/references/site-module.md +++ b/skills/orm-public/references/site-module.md @@ -9,7 +9,7 @@ Site-level module configuration; stores module name and JSON settings used by th ```typescript db.siteModule.findMany({ select: { id: true } }).execute() db.siteModule.findOne({ id: '', select: { id: true } }).execute() -db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '' }, select: { id: true } }).execute() +db.siteModule.create({ data: { databaseId: '', siteId: '', name: '', data: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.siteModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.siteModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.siteModule.findMany({ ```typescript const item = await db.siteModule.create({ - data: { databaseId: 'value', siteId: 'value', name: 'value', data: 'value' }, + data: { databaseId: 'value', siteId: 'value', name: 'value', data: 'value', nameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/site.md b/skills/orm-public/references/site.md index b9732862b..4fc6c6abe 100644 --- a/skills/orm-public/references/site.md +++ b/skills/orm-public/references/site.md @@ -9,7 +9,7 @@ Top-level site configuration: branding assets, title, and description for a depl ```typescript db.site.findMany({ select: { id: true } }).execute() db.site.findOne({ id: '', select: { id: true } }).execute() -db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '' }, select: { id: true } }).execute() +db.site.create({ data: { databaseId: '', title: '', description: '', ogImage: '', favicon: '', appleTouchIcon: '', logo: '', dbname: '', titleTrgmSimilarity: '', descriptionTrgmSimilarity: '', dbnameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.site.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.site.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.site.findMany({ ```typescript const item = await db.site.create({ - data: { databaseId: 'value', title: 'value', description: 'value', ogImage: 'value', favicon: 'value', appleTouchIcon: 'value', logo: 'value', dbname: 'value' }, + data: { databaseId: 'value', title: 'value', description: 'value', ogImage: 'value', favicon: 'value', appleTouchIcon: 'value', logo: 'value', dbname: 'value', titleTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', dbnameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/sql-migration.md b/skills/orm-public/references/sql-migration.md index 10bde67a6..b169c7464 100644 --- a/skills/orm-public/references/sql-migration.md +++ b/skills/orm-public/references/sql-migration.md @@ -9,7 +9,7 @@ ORM operations for SqlMigration records ```typescript db.sqlMigration.findMany({ select: { id: true } }).execute() db.sqlMigration.findOne({ id: '', select: { id: true } }).execute() -db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '' }, select: { id: true } }).execute() +db.sqlMigration.create({ data: { name: '', databaseId: '', deploy: '', deps: '', payload: '', content: '', revert: '', verify: '', action: '', actionId: '', actorId: '', nameTrgmSimilarity: '', deployTrgmSimilarity: '', contentTrgmSimilarity: '', revertTrgmSimilarity: '', verifyTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.sqlMigration.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.sqlMigration.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.sqlMigration.findMany({ ```typescript const item = await db.sqlMigration.create({ - data: { name: 'value', databaseId: 'value', deploy: 'value', deps: 'value', payload: 'value', content: 'value', revert: 'value', verify: 'value', action: 'value', actionId: 'value', actorId: 'value' }, + data: { name: 'value', databaseId: 'value', deploy: 'value', deps: 'value', payload: 'value', content: 'value', revert: 'value', verify: 'value', action: 'value', actionId: 'value', actorId: 'value', nameTrgmSimilarity: 'value', deployTrgmSimilarity: 'value', contentTrgmSimilarity: 'value', revertTrgmSimilarity: 'value', verifyTrgmSimilarity: 'value', actionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/store.md b/skills/orm-public/references/store.md index 0716daaff..2a217736e 100644 --- a/skills/orm-public/references/store.md +++ b/skills/orm-public/references/store.md @@ -9,7 +9,7 @@ A store represents an isolated object repository within a database. ```typescript db.store.findMany({ select: { id: true } }).execute() db.store.findOne({ id: '', select: { id: true } }).execute() -db.store.create({ data: { name: '', databaseId: '', hash: '' }, select: { id: true } }).execute() +db.store.create({ data: { name: '', databaseId: '', hash: '', nameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.store.update({ where: { id: '' }, data: { name: '' }, select: { id: true } }).execute() db.store.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.store.findMany({ ```typescript const item = await db.store.create({ - data: { name: 'value', databaseId: 'value', hash: 'value' }, + data: { name: 'value', databaseId: 'value', hash: 'value', nameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/table-grant.md b/skills/orm-public/references/table-grant.md index 346dc0b78..d721a9ca7 100644 --- a/skills/orm-public/references/table-grant.md +++ b/skills/orm-public/references/table-grant.md @@ -9,7 +9,7 @@ ORM operations for TableGrant records ```typescript db.tableGrant.findMany({ select: { id: true } }).execute() db.tableGrant.findOne({ id: '', select: { id: true } }).execute() -db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '' }, select: { id: true } }).execute() +db.tableGrant.create({ data: { databaseId: '', tableId: '', privilege: '', granteeName: '', fieldIds: '', isGrant: '', privilegeTrgmSimilarity: '', granteeNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.tableGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.tableGrant.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.tableGrant.findMany({ ```typescript const item = await db.tableGrant.create({ - data: { databaseId: 'value', tableId: 'value', privilege: 'value', granteeName: 'value', fieldIds: 'value', isGrant: 'value' }, + data: { databaseId: 'value', tableId: 'value', privilege: 'value', granteeName: 'value', fieldIds: 'value', isGrant: 'value', privilegeTrgmSimilarity: 'value', granteeNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/table-template-module.md b/skills/orm-public/references/table-template-module.md index ff200d737..14d4e4035 100644 --- a/skills/orm-public/references/table-template-module.md +++ b/skills/orm-public/references/table-template-module.md @@ -9,7 +9,7 @@ ORM operations for TableTemplateModule records ```typescript db.tableTemplateModule.findMany({ select: { id: true } }).execute() db.tableTemplateModule.findOne({ id: '', select: { id: true } }).execute() -db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '' }, select: { id: true } }).execute() +db.tableTemplateModule.create({ data: { databaseId: '', schemaId: '', privateSchemaId: '', tableId: '', ownerTableId: '', tableName: '', nodeType: '', data: '', tableNameTrgmSimilarity: '', nodeTypeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.tableTemplateModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.tableTemplateModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.tableTemplateModule.findMany({ ```typescript const item = await db.tableTemplateModule.create({ - data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value', nodeType: 'value', data: 'value' }, + data: { databaseId: 'value', schemaId: 'value', privateSchemaId: 'value', tableId: 'value', ownerTableId: 'value', tableName: 'value', nodeType: 'value', data: 'value', tableNameTrgmSimilarity: 'value', nodeTypeTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/table.md b/skills/orm-public/references/table.md index 2264dae94..0760fe779 100644 --- a/skills/orm-public/references/table.md +++ b/skills/orm-public/references/table.md @@ -9,7 +9,7 @@ ORM operations for Table records ```typescript db.table.findMany({ select: { id: true } }).execute() db.table.findOne({ id: '', select: { id: true } }).execute() -db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '' }, select: { id: true } }).execute() +db.table.create({ data: { databaseId: '', schemaId: '', name: '', label: '', description: '', smartTags: '', category: '', module: '', scope: '', useRls: '', timestamps: '', peoplestamps: '', pluralName: '', singularName: '', tags: '', inheritsId: '', nameTrgmSimilarity: '', labelTrgmSimilarity: '', descriptionTrgmSimilarity: '', moduleTrgmSimilarity: '', pluralNameTrgmSimilarity: '', singularNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.table.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.table.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.table.findMany({ ```typescript const item = await db.table.create({ - data: { databaseId: 'value', schemaId: 'value', name: 'value', label: 'value', description: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', useRls: 'value', timestamps: 'value', peoplestamps: 'value', pluralName: 'value', singularName: 'value', tags: 'value', inheritsId: 'value' }, + data: { databaseId: 'value', schemaId: 'value', name: 'value', label: 'value', description: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', useRls: 'value', timestamps: 'value', peoplestamps: 'value', pluralName: 'value', singularName: 'value', tags: 'value', inheritsId: 'value', nameTrgmSimilarity: 'value', labelTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', pluralNameTrgmSimilarity: 'value', singularNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/trigger-function.md b/skills/orm-public/references/trigger-function.md index 5554478df..72c89ab93 100644 --- a/skills/orm-public/references/trigger-function.md +++ b/skills/orm-public/references/trigger-function.md @@ -9,7 +9,7 @@ ORM operations for TriggerFunction records ```typescript db.triggerFunction.findMany({ select: { id: true } }).execute() db.triggerFunction.findOne({ id: '', select: { id: true } }).execute() -db.triggerFunction.create({ data: { databaseId: '', name: '', code: '' }, select: { id: true } }).execute() +db.triggerFunction.create({ data: { databaseId: '', name: '', code: '', nameTrgmSimilarity: '', codeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.triggerFunction.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.triggerFunction.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.triggerFunction.findMany({ ```typescript const item = await db.triggerFunction.create({ - data: { databaseId: 'value', name: 'value', code: 'value' }, + data: { databaseId: 'value', name: 'value', code: 'value', nameTrgmSimilarity: 'value', codeTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/trigger.md b/skills/orm-public/references/trigger.md index 449040014..5a95e53ab 100644 --- a/skills/orm-public/references/trigger.md +++ b/skills/orm-public/references/trigger.md @@ -9,7 +9,7 @@ ORM operations for Trigger records ```typescript db.trigger.findMany({ select: { id: true } }).execute() db.trigger.findOne({ id: '', select: { id: true } }).execute() -db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.trigger.create({ data: { databaseId: '', tableId: '', name: '', event: '', functionName: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', functionNameTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.trigger.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.trigger.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.trigger.findMany({ ```typescript const item = await db.trigger.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', event: 'value', functionName: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', event: 'value', functionName: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', eventTrgmSimilarity: 'value', functionNameTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/unique-constraint.md b/skills/orm-public/references/unique-constraint.md index e03cb446a..2703b8054 100644 --- a/skills/orm-public/references/unique-constraint.md +++ b/skills/orm-public/references/unique-constraint.md @@ -9,7 +9,7 @@ ORM operations for UniqueConstraint records ```typescript db.uniqueConstraint.findMany({ select: { id: true } }).execute() db.uniqueConstraint.findOne({ id: '', select: { id: true } }).execute() -db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.uniqueConstraint.create({ data: { databaseId: '', tableId: '', name: '', description: '', smartTags: '', type: '', fieldIds: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', descriptionTrgmSimilarity: '', typeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.uniqueConstraint.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.uniqueConstraint.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.uniqueConstraint.findMany({ ```typescript const item = await db.uniqueConstraint.create({ - data: { databaseId: 'value', tableId: 'value', name: 'value', description: 'value', smartTags: 'value', type: 'value', fieldIds: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', tableId: 'value', name: 'value', description: 'value', smartTags: 'value', type: 'value', fieldIds: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', descriptionTrgmSimilarity: 'value', typeTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/user-auth-module.md b/skills/orm-public/references/user-auth-module.md index 7c6565c87..8a7082ea2 100644 --- a/skills/orm-public/references/user-auth-module.md +++ b/skills/orm-public/references/user-auth-module.md @@ -9,7 +9,7 @@ ORM operations for UserAuthModule records ```typescript db.userAuthModule.findMany({ select: { id: true } }).execute() db.userAuthModule.findOne({ id: '', select: { id: true } }).execute() -db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '' }, select: { id: true } }).execute() +db.userAuthModule.create({ data: { databaseId: '', schemaId: '', emailsTableId: '', usersTableId: '', secretsTableId: '', encryptedTableId: '', sessionsTableId: '', sessionCredentialsTableId: '', auditsTableId: '', auditsTableName: '', signInFunction: '', signUpFunction: '', signOutFunction: '', setPasswordFunction: '', resetPasswordFunction: '', forgotPasswordFunction: '', sendVerificationEmailFunction: '', verifyEmailFunction: '', verifyPasswordFunction: '', checkPasswordFunction: '', sendAccountDeletionEmailFunction: '', deleteAccountFunction: '', signInOneTimeTokenFunction: '', oneTimeTokenFunction: '', extendTokenExpires: '', auditsTableNameTrgmSimilarity: '', signInFunctionTrgmSimilarity: '', signUpFunctionTrgmSimilarity: '', signOutFunctionTrgmSimilarity: '', setPasswordFunctionTrgmSimilarity: '', resetPasswordFunctionTrgmSimilarity: '', forgotPasswordFunctionTrgmSimilarity: '', sendVerificationEmailFunctionTrgmSimilarity: '', verifyEmailFunctionTrgmSimilarity: '', verifyPasswordFunctionTrgmSimilarity: '', checkPasswordFunctionTrgmSimilarity: '', sendAccountDeletionEmailFunctionTrgmSimilarity: '', deleteAccountFunctionTrgmSimilarity: '', signInOneTimeTokenFunctionTrgmSimilarity: '', oneTimeTokenFunctionTrgmSimilarity: '', extendTokenExpiresTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.userAuthModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.userAuthModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.userAuthModule.findMany({ ```typescript const item = await db.userAuthModule.create({ - data: { databaseId: 'value', schemaId: 'value', emailsTableId: 'value', usersTableId: 'value', secretsTableId: 'value', encryptedTableId: 'value', sessionsTableId: 'value', sessionCredentialsTableId: 'value', auditsTableId: 'value', auditsTableName: 'value', signInFunction: 'value', signUpFunction: 'value', signOutFunction: 'value', setPasswordFunction: 'value', resetPasswordFunction: 'value', forgotPasswordFunction: 'value', sendVerificationEmailFunction: 'value', verifyEmailFunction: 'value', verifyPasswordFunction: 'value', checkPasswordFunction: 'value', sendAccountDeletionEmailFunction: 'value', deleteAccountFunction: 'value', signInOneTimeTokenFunction: 'value', oneTimeTokenFunction: 'value', extendTokenExpires: 'value' }, + data: { databaseId: 'value', schemaId: 'value', emailsTableId: 'value', usersTableId: 'value', secretsTableId: 'value', encryptedTableId: 'value', sessionsTableId: 'value', sessionCredentialsTableId: 'value', auditsTableId: 'value', auditsTableName: 'value', signInFunction: 'value', signUpFunction: 'value', signOutFunction: 'value', setPasswordFunction: 'value', resetPasswordFunction: 'value', forgotPasswordFunction: 'value', sendVerificationEmailFunction: 'value', verifyEmailFunction: 'value', verifyPasswordFunction: 'value', checkPasswordFunction: 'value', sendAccountDeletionEmailFunction: 'value', deleteAccountFunction: 'value', signInOneTimeTokenFunction: 'value', oneTimeTokenFunction: 'value', extendTokenExpires: 'value', auditsTableNameTrgmSimilarity: 'value', signInFunctionTrgmSimilarity: 'value', signUpFunctionTrgmSimilarity: 'value', signOutFunctionTrgmSimilarity: 'value', setPasswordFunctionTrgmSimilarity: 'value', resetPasswordFunctionTrgmSimilarity: 'value', forgotPasswordFunctionTrgmSimilarity: 'value', sendVerificationEmailFunctionTrgmSimilarity: 'value', verifyEmailFunctionTrgmSimilarity: 'value', verifyPasswordFunctionTrgmSimilarity: 'value', checkPasswordFunctionTrgmSimilarity: 'value', sendAccountDeletionEmailFunctionTrgmSimilarity: 'value', deleteAccountFunctionTrgmSimilarity: 'value', signInOneTimeTokenFunctionTrgmSimilarity: 'value', oneTimeTokenFunctionTrgmSimilarity: 'value', extendTokenExpiresTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/user.md b/skills/orm-public/references/user.md index 6daa65e5d..5b33b86d4 100644 --- a/skills/orm-public/references/user.md +++ b/skills/orm-public/references/user.md @@ -9,7 +9,7 @@ ORM operations for User records ```typescript db.user.findMany({ select: { id: true } }).execute() db.user.findOne({ id: '', select: { id: true } }).execute() -db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '' }, select: { id: true } }).execute() +db.user.create({ data: { username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.user.update({ where: { id: '' }, data: { username: '' }, select: { id: true } }).execute() db.user.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.user.findMany({ ```typescript const item = await db.user.create({ - data: { username: 'value', displayName: 'value', profilePicture: 'value', searchTsv: 'value', type: 'value', searchTsvRank: 'value' }, + data: { username: 'value', displayName: 'value', profilePicture: 'value', searchTsv: 'value', type: 'value', searchTsvRank: 'value', displayNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/users-module.md b/skills/orm-public/references/users-module.md index 5d2066b93..39dba41ca 100644 --- a/skills/orm-public/references/users-module.md +++ b/skills/orm-public/references/users-module.md @@ -9,7 +9,7 @@ ORM operations for UsersModule records ```typescript db.usersModule.findMany({ select: { id: true } }).execute() db.usersModule.findOne({ id: '', select: { id: true } }).execute() -db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '' }, select: { id: true } }).execute() +db.usersModule.create({ data: { databaseId: '', schemaId: '', tableId: '', tableName: '', typeTableId: '', typeTableName: '', tableNameTrgmSimilarity: '', typeTableNameTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.usersModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.usersModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.usersModule.findMany({ ```typescript const item = await db.usersModule.create({ - data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value', typeTableId: 'value', typeTableName: 'value' }, + data: { databaseId: 'value', schemaId: 'value', tableId: 'value', tableName: 'value', typeTableId: 'value', typeTableName: 'value', tableNameTrgmSimilarity: 'value', typeTableNameTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/uuid-module.md b/skills/orm-public/references/uuid-module.md index 7e0cccf05..1e4b9c7e2 100644 --- a/skills/orm-public/references/uuid-module.md +++ b/skills/orm-public/references/uuid-module.md @@ -9,7 +9,7 @@ ORM operations for UuidModule records ```typescript db.uuidModule.findMany({ select: { id: true } }).execute() db.uuidModule.findOne({ id: '', select: { id: true } }).execute() -db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '' }, select: { id: true } }).execute() +db.uuidModule.create({ data: { databaseId: '', schemaId: '', uuidFunction: '', uuidSeed: '', uuidFunctionTrgmSimilarity: '', uuidSeedTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.uuidModule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.uuidModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.uuidModule.findMany({ ```typescript const item = await db.uuidModule.create({ - data: { databaseId: 'value', schemaId: 'value', uuidFunction: 'value', uuidSeed: 'value' }, + data: { databaseId: 'value', schemaId: 'value', uuidFunction: 'value', uuidSeed: 'value', uuidFunctionTrgmSimilarity: 'value', uuidSeedTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/view-grant.md b/skills/orm-public/references/view-grant.md index 1cbec7d93..f87c1b90a 100644 --- a/skills/orm-public/references/view-grant.md +++ b/skills/orm-public/references/view-grant.md @@ -9,7 +9,7 @@ ORM operations for ViewGrant records ```typescript db.viewGrant.findMany({ select: { id: true } }).execute() db.viewGrant.findOne({ id: '', select: { id: true } }).execute() -db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '' }, select: { id: true } }).execute() +db.viewGrant.create({ data: { databaseId: '', viewId: '', granteeName: '', privilege: '', withGrantOption: '', isGrant: '', granteeNameTrgmSimilarity: '', privilegeTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.viewGrant.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.viewGrant.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.viewGrant.findMany({ ```typescript const item = await db.viewGrant.create({ - data: { databaseId: 'value', viewId: 'value', granteeName: 'value', privilege: 'value', withGrantOption: 'value', isGrant: 'value' }, + data: { databaseId: 'value', viewId: 'value', granteeName: 'value', privilege: 'value', withGrantOption: 'value', isGrant: 'value', granteeNameTrgmSimilarity: 'value', privilegeTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/view-rule.md b/skills/orm-public/references/view-rule.md index 5a72572f2..66b6fad48 100644 --- a/skills/orm-public/references/view-rule.md +++ b/skills/orm-public/references/view-rule.md @@ -9,7 +9,7 @@ DO INSTEAD rules for views (e.g., read-only enforcement) ```typescript db.viewRule.findMany({ select: { id: true } }).execute() db.viewRule.findOne({ id: '', select: { id: true } }).execute() -db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '' }, select: { id: true } }).execute() +db.viewRule.create({ data: { databaseId: '', viewId: '', name: '', event: '', action: '', nameTrgmSimilarity: '', eventTrgmSimilarity: '', actionTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.viewRule.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.viewRule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.viewRule.findMany({ ```typescript const item = await db.viewRule.create({ - data: { databaseId: 'value', viewId: 'value', name: 'value', event: 'value', action: 'value' }, + data: { databaseId: 'value', viewId: 'value', name: 'value', event: 'value', action: 'value', nameTrgmSimilarity: 'value', eventTrgmSimilarity: 'value', actionTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ``` diff --git a/skills/orm-public/references/view.md b/skills/orm-public/references/view.md index 1df426311..c9f0f2467 100644 --- a/skills/orm-public/references/view.md +++ b/skills/orm-public/references/view.md @@ -9,7 +9,7 @@ ORM operations for View records ```typescript db.view.findMany({ select: { id: true } }).execute() db.view.findOne({ id: '', select: { id: true } }).execute() -db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '' }, select: { id: true } }).execute() +db.view.create({ data: { databaseId: '', schemaId: '', name: '', tableId: '', viewType: '', data: '', filterType: '', filterData: '', securityInvoker: '', isReadOnly: '', smartTags: '', category: '', module: '', scope: '', tags: '', nameTrgmSimilarity: '', viewTypeTrgmSimilarity: '', filterTypeTrgmSimilarity: '', moduleTrgmSimilarity: '', searchScore: '' }, select: { id: true } }).execute() db.view.update({ where: { id: '' }, data: { databaseId: '' }, select: { id: true } }).execute() db.view.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.view.findMany({ ```typescript const item = await db.view.create({ - data: { databaseId: 'value', schemaId: 'value', name: 'value', tableId: 'value', viewType: 'value', data: 'value', filterType: 'value', filterData: 'value', securityInvoker: 'value', isReadOnly: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value' }, + data: { databaseId: 'value', schemaId: 'value', name: 'value', tableId: 'value', viewType: 'value', data: 'value', filterType: 'value', filterData: 'value', securityInvoker: 'value', isReadOnly: 'value', smartTags: 'value', category: 'value', module: 'value', scope: 'value', tags: 'value', nameTrgmSimilarity: 'value', viewTypeTrgmSimilarity: 'value', filterTypeTrgmSimilarity: 'value', moduleTrgmSimilarity: 'value', searchScore: 'value' }, select: { id: true } }).execute(); ```